To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51235





------- Additional comments from [EMAIL PROTECTED] Sun Feb 19 03:27:24 -0800 
2006 -------
------- Additional Comment #7 From Stefan Nikolaus 2006-02-19 00:41 -------
> Sheet1 in the example contains a table of one column, one row.
> that, not a table of 256 x 65536 with one cell filled.


That's for sure.

> The cells in the file are what default-cell-style-name refers to.


No, the default cell style refers to all cells in this column (therefore it is
called column style) which have:
1. no own cell style set
2. no default cell style in the respective row style set
(see below)

> If an application is capable of handling more columns/rows, it is supposed
> to fill the rest with empty cells, see "Basic Table Model" in the
> specification.  


Yes, that's right. But that does not imply, that these empty cells have no
style. They have just no content, but they have an associated style.
Proof: Set the default cell style of an empty sheet to black background. Save
it. Load it. What happens?
So, if we agree on empty cells have a style, KSpread's behaviour is right. It
uses for the cells in the column, the cell style, which is set in the column
style.
Because the filled-in empty cells do not specify an own style, we have to look
in the row styles first. If there's no default cell style set, we look in the
column style for a default cell style. If there would be no default cell
style, then and only then we would fall back to the default cell style of the
document. But in this case there's one, so we have to use it. Very easy,
isn't it?!

> The reason for introducing default-cell-style-name was to avoid adding the
> same style name to each cell element, just for brevity.


Sure, this statement does not collide with anything explained above.
BTW: In KSpread we always have 32767x32767 tables and in OO.o Calc you have a
similar table size, at least not a 1x1 table.

> Whole-column formats, separate from individual cells, aren't in the
> specification (apart from what's in the column style). If you need them,
> they have to be included in a future version of the format.


No, they are already in as described above.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to