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


Hi Dag,

Dag Wieers píše v Pá 10. 02. 2012 v 16:36 +0100:

I found a bug in LibreOffice causing style:rel-width and style:rel-height 
not to accept "scale" as a possible value. In fact the behavior seems to 
be to default to 100% if anything except percentages are provided.

     https://bugs.freedesktop.org/show_bug.cgi?id=45884

I reported the bug, but wanted to investigate this issue. However in 
opengrok any queries for style:rel-width, scale or a combination give very 
few results and nothing I was really expecting.

Can someone point me to where I should start debugging this ?

So I think (but have no proof, I was only searching in opengrok), that
it is here:

http://opengrok.libreoffice.org/xref/core/xmloff/source/text/XMLTextFrameContext.cxx#933

It seems to count on the possibility of the 'scale' value, but why does
it not work for you needs to be debugged, I suppose.

I'd first try if this pointer is really the right thing (in debugger, or
via a printf), and if yes, you need to continue further what happens
with this setting, and why does it not work in your case.

Hope that helps,
Kendy


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.