Skip to content

Conversation

@ernst77
Copy link
Owner

@ernst77 ernst77 commented Aug 20, 2020

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Checklist:

  • I have run composer run-script check --timeout=0 and no errors were reported
  • The new code is covered by unit tests (check build/coverage for coverage report)
  • I have updated the documentation to describe the changes

oleibman and others added 14 commits November 17, 2019 02:38
Otherwise, colors will not be as expected for RTF and ODT.
1. Converter is currently expecting colors as strings of hex digits,
   but PhpWord allows specification of colors by named constant, so
   result is random when one of those is used. This change handles
   all the named colors.
2. Table needs \pard at end; formatting may be wrong without it.
3. RTF writer will no longer ignore paragraph style for TextRun.
4. RTF writer will no longer ignore paragraph and font style for Title.
5. Add support for RTF headers and footers.
6. Add support for right-to-left in font.
7. Add support for PageBreakBefore and LineHeight for paragraphs.
8. Add support for PageNumberingStart for sections.

There are test cases for all of these changes.
1. Add support for font styles for fields, and write those to Word docs.
2. Word seems to require explicit inline w:rtl tag even when rtl is specified
   in a named style. Without this tag, words are placed in ltr order.
   Allow PhpWord doc to specify rtl in named style and have it
   display correctly in resulting doc.
3. A recent change incorrectly changed how noProof tag was generated,
   omitting the third parameter of 4 parameters in the call. There was
   no test case for this change. The call is now corrected, and a
   test case has been added.
Changed 1 doc-block comment suggested by Scrutinizer.
Changes to doc-blocks and code suggested by Scrutinizer.
Some more editorial changes.
That Pull Request is "Fix PHPUnit tests on Develop Branch".
Fix PHPUnit tests on develop branch
Add font style for Field elements
Add support for several features for the RTF writer
Added support for "cloudConvert" images
@ernst77 ernst77 merged commit bd50ee2 into ernst77:develop Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants