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


Hi Albert,

I have worked on this bug before I heard that you had already worked on it. Did you work any further on it? Maybe we can callaborate on it?

I have found the place where the number of sheets is set. This is in
http://opengrok.libreoffice.org/xref/calc/sc/source/core/tool/appoptio.cxx#88

Please let me know.

Greetings,
Rob Snelders

On 18-05-11 08:39, Albert Thuswaldner wrote:
Hi Kohei,
Thanks for your help.

On Mon, May 9, 2011 at 21:19, Kohei Yoshida<kyoshida@novell.com>  wrote:
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?

The page entry was in the tree but the tab page itself showed up
empty. However, I have solved this part now! :)
There was an additional place in the code that needed to be modified.

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.

I've mostly focused on the configuration part as of yet, now I will
focus on this part.
Thanks for the hint.

Great to see you working on this, BTW.

Kohei

--
Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida@novell.com>


/Albert
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

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.