https://bugs.documentfoundation.org/show_bug.cgi?id=98620

--- Comment #32 from Justin L <jl...@mail.com> ---
Created attachment 145289
  --> https://bugs.documentfoundation.org/attachment.cgi?id=145289&action=edit
inheritedTextDirection.odt: hard to determine paragraph style value from page
styles...

The reason it works for .ODT is because the LTR/RTL settings are stored in the
page style. The default paragraph style is set to inherit from the environment
(i.e. the page style).

The reason it does not export to .docx is because the export code says that if
the paragraph style is set to inherit from the environment, look at the locale
setting (since it doesn't know which page style to look at.)

This is the same thing I was saying in comment #28
> 2.) LO inherits RES_FRAMEDIR all the way back to the page style, but MSO
> effectively only inherits back to the parent-less paragraph styles. So, on
> export, every parentless page style needs to ensure that it writes a w:bidi
> value.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to