On Sun, 2011-05-08 at 17:09 +0200, Albert Thuswaldner wrote:
Dear List,
As a first attempt to contribute some code to LO, I've started hacking
on his:
https://bugs.freedesktop.org/show_bug.cgi?id=33293
I think I have come quite far with implementing the changes to the
configuration dialog (see the patch). Here there is still some things
to do, like figuring out why the contents of the tab page isn't
showing up. Any hints?
So, when you say the contents of the tag page isn't showing up, do you
mean the page entry is not in the tree on the left at all, or the entry
is there but the page shows up empty?
Also why are many of the same resource id's defined both in
libs-core/svx/source/src/app.hrc and
libs-core/svx/inc/svx/dialogs.hrc?
I have no clue about this. Maybe it's a remnant of one of those code
relocation efforts that took place awhile ago in the OOo code?
For the other part of problem i.e, how to actually set the number of
sheets for a new spreadsheet, I am completely lost. I haven't found
where in the code this should be done, (using opengrok.+ guessing).
Could someone please give me a hint on how to go about finding this?
How is a new spreadsheet generated? xml template? through using the
internal api?
Check around the ScTable class. That's the class that implements each
sheet instance. Especially pay close attention to its constructor, and
assuming that it gets called three times during the startup of Calc, you
can perhaps set a break point in there to see who instaniates it 3
times, and trace back from there.
Great to see you working on this, BTW.
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>
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.