[Libreoffice-bugs] [Bug 72511] Comment note on a DOC from MS Word for Mac 2008 appears wrongly on Writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 24 09:18:21 UTC 2020


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

--- Comment #15 from Justin L <jluth at mail.com> ---
repro 7.0+.  LO indents doc comment, but not docx.

(In reply to Gordo from comment #11)
> MS Word [2013] shows the indentation in the docx.  Writer does not.

However, using Word 2016, it does not indent either the doc or the docx.


So I looked for the reason why Writer does not indent for docx (and you will
notice that in the paragraph properties the margin is 0). The reason is because
of an exception :-)
writerfilter/source/dmapper/DomainMapper_Impl.cxx:1663: ::finishParagraph
calling TextAppend->finishParagraph
writerfilter/source/dmapper/DomainMapper_Impl.cxx:1893: finishParagraph()
com.sun.star.beans.UnknownPropertyException message: Unknown property:
ParaStyleName

So, because of an exception with unknown comment property ParaStyleName, it
ignores all of the following properties (like <w:ind w:left="2268"/>). In other
words, docx works by accident...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200424/6a0844f1/attachment.htm>


More information about the Libreoffice-bugs mailing list