API change: sheet index from short to long

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Jul 30 08:33:50 PDT 2013

On Jul 30, 2013 10:41 AM, "Kohei Yoshida" <kohei.yoshida at suse.de> wrote:
> Norbert's thread reminded me of one thing we said we were going to do for
4.0,and turned out we haven't done it yet.
> That is to switch the type of sheet index from the current short to long,
to support the increased number of sheets that we now support in Calc core.
> Ok. We missed the boat, clearly. But this is something we'll definitely
have to do at some point. Any suggestion as to when we should do this?

I did not follow up on it as it will also require to change the printing
api. The printing api needs to support the same number of pages which
requires quite a bit of work.

Additionally we are currently memory bound in most cases because even an
empty sheet is large enough to make 32bit computers crash with out of
memory exceptions for the supported 32000 sheets.

So currently I think it is really low priority and we can work on that if
we think that there are real use cases. Until then we have limited
ourselves anyway to "only" 10000 sheets.

Regards Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130730/bff04280/attachment.html>

More information about the LibreOffice mailing list