https://bugs.documentfoundation.org/show_bug.cgi?id=101203
Bug ID: 101203
Summary: centered style lost them export docx to html
Product: LibreOffice
Version: 5.1.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 126471
--> https://bugs.documentfoundation.org/attachment.cgi?id=126471&action=edit
simplest docx with centered line
Open simplest docx (attached) with one centered line in Writer - everything is
ok.
Save it as HTML and open in browser - line will not be centered.
It happens because writer saved in head -> style tag default styles for p
(looks like generated from default paragraph style defined in original docx
file.
In styles there are text-align: center is defined for p element.
Later in body <p align="center" is used for centering paragraphs, but style
definition overrides this and paragraph stays centered left.
To fix it for centering elements instead of align="center" style="text-align:
center" should be used.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs