https://bugs.documentfoundation.org/show_bug.cgi?id=95010

Eike Rathke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |low
           Hardware|Other                       |All
            Version|5.1.0.0.alpha0+ Master      |Inherited From OOo

--- Comment #3 from Eike Rathke <[email protected]> ---
(In reply to Yousuf (Jay) Philips from comment #2)
> The LO code shows that 'numfile' always outputs 1, though it should output
> the number of worksheets in a file. So only 3 of the features (recalc,
> release, system) actually output something useful in this function.

It's even more convoluted.. in Excel "numfile" returns the number of all sheets
in all open files because historically one sheet was one file before Workbooks
existed that could have more than one sheet. So actually that was the number of
open files, which may had made sense when the number of open files on a system
was limited to 255 (or less?). How helpful is that nowadays? Though this is
also specified in ODFF with "Number of active worksheets in files".

Maybe we could do that as well, I'm not sure about "get all docshells of type
Calc and count sheets", but as said I consider this totally unimportant.

For unsupported but known arguments we should return #N/A error instead of
Err:502 (illegal argument). Not necessary to reopen this bug, I'll just use the
bug number.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to