Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


hi Yury,

On 16.05.2015 13:00, Yury wrote:
Currently, when exporting a document with formulas in it to word2003 .DOC,
previews' lower edges are place too high in the respective lines of the text
(bug 88697). To me it seems like instead of the line's lower edge Y
coordinate the line's baseline's Y coordinate is used -- but only for the
generation and placement of the bitmapped preview -- opening the respective
formula in word2003 regenerates the preview in the correct form.

Where in the source (module, function(s)) are the coordinates for the
(formulas on export) preview images determined? I'd like to have it quick
fixed and wouldn't mind attempting to fix it myself.

most likely the preview image is created from:
SfxObjectShell::CreatePreviewMetaFile_Impl()

called somehow by:
comphelper::EmbeddedObjectContainer::GetGraphicReplacementStream()

did you try if this setting has any effect?

Tools->Options...->LibreOffice Writer->Formatting Aids
"Math baseline alignment"

apparently this was a new feature in OOo 3.4, maybe there are some
obscure bugs with it still?  did OOo 3.3 perform better?


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.