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


Hi devs,

I began investigating this bug: https://bugs.freedesktop.org/show_bug.cgi?id=35862

The bug is that the "Increase Font"/"Decrease Font" button should be useable when one
selects text of multiple sizes in Writer.

I tried to find where the button was being used and found that the button for, for example, increasing the font size has an ID referenced as FN_GROW_FONT_SIZE. I put print statements for any references I found and was able to find the code that is executed when the button is clicked, but I don't know what code activates/deactivates the actual buttons. I suspect that since this functionality is available in Impress but not Writer (which is what the bug is about), there could be some clue if we consider where the code between Writer/Impress differs.

Currently I suspect the file svx/sdi/svx.sdi might have information, in the definition of

SfxVoidItem Grow SID_GROW_FONT_SIZE

but I don't know how this hooks in with the application.

As I am new to LibreOffice, I'm wondering if anyone has any ideas where I can look next?

Thanks!
Jordan

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.