Hi,
胡其图 píše v Ne 25. 12. 2011 v 20:40 +0800:
I added a top-down left-right button in toolbar (called .uno
VerticalTextL2R), and add it to the model Presentation and Drawing
successfully but failed in Writer.
I know to add a button, first modify some xml file, and I did it
these model and worked, and then add some function in .sdi file, that
handle the button events, but I can't find where the Writer's function
to be added(I have finded the sdi file to sd and sc).
please give me some advice or tell me who can help me?
It would be best if you attached the code you have so far [of course if
you can do that] - that makes it much easier to see what is wrong.
Either way, the Writer's .sdi files are in sw/sdi/; you probably want
sw/sdi/_textsh.sdi .
For some inspiration, I think you might want to have a look at the
patches in
https://bugs.freedesktop.org/show_bug.cgi?id=32559#c4
Regards,
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.