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

--- Comment #2 from Panos Stokas <[email protected]> ---
Created attachment 184552
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184552&action=edit
Flat XML documents before and after pasting to compare the changes to
ooo:configuration-settings

This should be helpful:

When pasting the formula code (from LO's own formula editor to Writer),
LibreOffice changes several settings under <config:config-item-set
config:name="ooo:configuration-settings">.

Specifically, it changes the following to TRUE:

AddFrameOffsets
HeaderSpacingBelowLastPara
TabsRelativeToIndent
TableRowKeep
MsWordCompTrailingBlanks
MsWordCompMinLineHeightByFly
TabOverMargin
ApplyParagraphMarkFormatToNumbering
SurroundTextWrapSmall
FrameAutowidthWithMorePara
NoNumberingShowFollowBy

When I manually reverted (by editing the fodt file) these to FALSE, the problem
was fixed.

I'm pretty certain that this settings change may be caused by other reasons,
not just pasting formula code.

I must point to the severity of this bug: unless the author notices the issue
early, there is no way to revert these settings except through manual editing
of the flat XML file. Book authors using LO may have to waste several hours to
do manual reverting of each and every instance of styled text.

BTW, I noticed that after pasting the formula code LO also adds the following
markup to the document (although this may be normal behavior):

<style:default-page-layout>
   <style:page-layout-properties style:layout-grid-standard-mode="true"/>
</style:default-page-layout>

Anyway, I'm attaching two documents (before and after the paste) for diff
comparison to anyone who would try to fix the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to