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

--- Comment #12 from Justin L <jl...@mail.com> ---
Created attachment 144642
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144642&action=edit
0pgMar.odt: minimal reproducer test when saving to .doc or .docx

I think the problem is in SW code handling sections, because writerfilter
passes the top margin property all the way to unostyles.cxx. Likely, because
everything is a default value, the property isn't being SET, and so is never
exported.

The problem is avoidable by forcing a non-default value in PropertyMap.cxx
-Insert( PROP_TOP_MARGIN, uno::makeAny( std::max<sal_Int32>(nTopMargin, 0) ) );
+Insert( PROP_TOP_MARGIN, uno::makeAny( std::max<sal_Int32>(nTopMargin, 1) ) );

-- 
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