-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add font style for Field elements #1774
Conversation
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.
RTF Changes
There are test cases for all of these changes. I apologize - I do not know why my commit message, which is now shown immediately above, |
Changed 1 doc-block comment suggested by Scrutinizer.
That Pull Request is "Fix PHPUnit tests on Develop Branch".
I'm not sure if I need to do something about "resolve conflicts". Tests weren't working because fixes were required to AbstractWebServerEmbeddedTest.php, for which there was a pull request for a change which had not yet been merged, so I borrowed the code from that change. Now that it has been merged, it no longer needs to be part of this change, but I'm not sure how to disentangle it. Please let me know what I should be doing, if anything. |
Still having trouble with the commit message. Trying to re-enter what it should have been with this Add font style for Field elements Add the ability to use a Font Style with Field elements, and have Word2007 writer use that style. Also, Word seems to require that w:rtl be specified inline rather than as part of a named style. Test cases are added for both changes. |
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Checklist:
composer run-script check --timeout=0
and no errors were reported