-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Text Align not correct work #704
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
Comments
When you use addText and set the align to \PhpOffice\PhpWord\SimpleType\Jc::END alignment not works. For example change alignment in Sample_08_ParagraphPagination.php to \PhpOffice\PhpWord\SimpleType\Jc::END and view bug. У меня выравнивание текста справа не работает - проверить можно легко в файле Sample_08_ParagraphPagination.php указать выравнивание \PhpOffice\PhpWord\SimpleType\Jc::END и увидеть, что выровнено слева. Выравнивание не работает не в простом тексте, ни в тексте внутри ячейки таблицы. |
@Ryuzakix3, could you, please, provide a code sample to reproduce the problem? I played around with Thanks. |
Generated document is not displayed correctly in ms word 2007, and kingsoft office. But in libreoffice displayed normal Вы меня поняли совершенно правильно, именно так и делаю. |
Unfortunately, I do not have Microsoft Office installation available to test on, so I tried WPS Office 2016 and found one interesting thing. WPS Office Writer uses I will take some time to find out what to do with that stuff. Thanks for the report! |
@Sohorev, I pushed some changes to Please, use Good luck! |
When you use addText and set the align to "start" or "left" in the paragraphstyle than is the word file corrupt but when you use only "end" or nothing as align, than is the word file ok.
The text was updated successfully, but these errors were encountered: