https://bugs.freedesktop.org/show_bug.cgi?id=45284
Bug #: 45284
Summary: formulas in writer file exported to word are sized
incorrectly
Classification: Unclassified
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Formula Editor
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 56202
--> https://bugs.freedesktop.org/attachment.cgi?id=56202
remove appending of the hard-coded font sizes (made against git checkout)
This is about formulas in writer file which is being exported (saved as)
microsoft word .doc file.
The current conversion routines in starmath/ subdir append hard-coded font
sizes ("size 12" to normal content, "size 8" to super- and subscripts etc.),
regardless of what is set in LibreOffice formula editor's settings. That is, of
course, completely wrong approach. This way formulas are, in fact, corrupted.
There are many tickets for this issue filed in OOO bugzilla, by the way.
One way of correcting this is proposed in a patch attached, pending the
implementation of "completely correct" way of exporting font sizes in formulas
to .doc (in ole streams attributes). This patch just removes the code which
adds "size %d {" and corresponding "}".
"Works for me", as now I'm able to export many-formulas document to word's .doc
and not have to *edit* each and every of those, if something other than "size
12" is required (I still have to double-click each and every of those to
correct the previews, but that's another problem, albeit related).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs