[Libreoffice-bugs] [Bug 39974] FORMATTING: LO Writer on Linux garbles document layout with forms for particular document originally created by old OOo due to UnxForceExtLeading

2015-04-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39974

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
   See Also||https://bz.apache.org/ooo/s
   ||how_bug.cgi?id=60945
 Resolution|--- |NOTABUG
Summary|FORMATTING: LO Writer on|FORMATTING: LO Writer on
   |Linux garbles document  |Linux garbles document
   |layout with forms   |layout with forms for
   ||particular document
   ||originally created by old
   ||OOo due to
   ||UnxForceExtLeading

--- Comment #12 from Michael Stahl mst...@redhat.com ---
figured it out, the different layout on Windows and Linux
is solely due to the UnxForceZeroExtLeading compatibility
flag in the settings.xml of the document:

  config:config-item config:name=UnxForceZeroExtLeading
config:type=booleantrue/config:config-item

this causes a different external leading to be used for
particular fonts, and this particular document happens
to have its layout completely mangled then.

apparently the document was created by OOo older than 2.2,
that's why it has the compatibility flag so it is formatted
exactly as OOo  2.2 would format it; see OOo issue 60945.

presumably the handling of the compatibility flag is broken
in LO 4.3 and was fixed for 4.4.

so somewhat surprisingly, this turns out to be not a bug but a feature.

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


[Libreoffice-bugs] [Bug 39974] FORMATTING: LO Writer on Linux garbles document layout with forms for particular document originally created by old OOo due to UnxForceExtLeading

2015-04-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39974

--- Comment #13 from Michael Stahl mst...@redhat.com ---
there is apparently no UI for this flag in Tools-Options
but the following BASIC macro can turn it off (need to save and
re-load the document after running the macro to get the new layout).


Sub Main

settings = ThisComponent.createInstance(com.sun.star.document.Settings)

settings.UnxForceZeroExtLeading = false

End Sub

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


[Libreoffice-bugs] [Bug 39974] FORMATTING: LO Writer on Linux garbles document layout with forms for particular document originally created by old OOo due to UnxForceExtLeading

2015-04-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39974

--- Comment #14 from HansPL hans...@ib-lederer.de ---
Well… that's one really obscure setting I never heard about… thank you for
digging it out, Michael!  
The macro workaround is OK for me since it's just about one-time fixing some
old forms.  Nevertheless, shouldn't such a flag be available in Compatibility
Options?

Thanks again, Hans

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