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


Hi All!

Sorry for my belated report!
I was busy with university stuff during weeks 1-2-3, but I was able to
start work last week.

The first goal Tomaž and Kendy want me to achieve is to have the colors of
the currently opened document available as a palette.
To achieve this I added a method for getting all the colors to the SwDoc
class, and I tried calling it from the palette toolbar code, but apparently
the code pointer[1] given in the task description is not for the toolbar
used in Writer or Draw, neither the ctor nor the methods of
SvxColorDockingWindow
get called when clicking the color toolbar.

What I found instead is that SvxColorToolBoxControl[2] methods get called
when the color toolbar in Writer is used. It seems to use UNO to listen to
status changes.

Right now I'm trying to figure out if this is the code for the toolbar
where I have to make the changes, and how I'm going to achieve
bidirectional communication between SwDoc and the toolbar code.

If anyone has any insights about this, please don't hesitate to share them!
Thank you!

All the best,
Krisztian Pinter

[1]
http://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/colrctrl.cxx
[2] http://opengrok.libreoffice.org/xref
/core/svx/source/tbxctrls/tbcontrl.cxx#2315

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.