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] Tue Apr 18 10:58:58 -0700 
2006 -------
Hi,

my name is Stefan Nikolaus. One of the KOffice people.

I don't consider this issue as artificial.

Let me try to explain my sight:
The "default-cell-style-name" is an attribute of the "table:column" element. 
Further attributes are the visibility and the column's style. The latter 
contains settings for the width and wether this should be optimized.

The visibility applies to the whole column, not only the used area saved in 
the file. Otherwise, you'll get an odd behaviour, if the adjacent column has a 
different width.

The column's style defining the width applies to the whole column. Otherwise, 
you'll also get an odd behaviour, if the width differs from default column's 
width.

The width optimization should also apply for newly added content in the 
column. So, it applies also to the whole column.

It would be inconsistent, if the "default-cell-style-name" attribute would be 
the only one, that applies not to the whole column.



The relevant section in the spec is the third paragraph in 8.1 Basic table 
model. Let's disassemble this and explain it on an example:

"Spreadsheet applications typically operate on large tables that have a fixed 
application dependent row and column number, but may have an unused area."
Spreadsheet application's sheet dimensions: 2x2 (a killer app!)

"Only the used area of the table is saved in files."
We occupy only the first cell and save our doc:
Document's table dimension: 1x1

"When loading a table with empty or incomplete rows into a spreadsheet 
application, empty rows typically introduce a default row (just as in an 
empty sheet),"
We speak of a spreadsheet application, so the default row has a 2x1 dimension.

"and incomplete rows are filled with empty cells (just like in an empty 
sheet)."
The first row becomes also a 2x1 row.

That we speak of incomplete and empty rows with respect to the spreadsheet 
application's dimension says the following sentence:
"All other applications typically have fixed size tables."

Now to the rendering:
"Incomplete rows are basically rendered as if they had the necessary number of 
empty cells,"
If we got
  <row>
  <cell>1</cell>
  </row>
or
  <row>
  <cell>1</cell>
  <cell/>
  </row>
, both have to be the same.

"and the same applies to empty rows."
  <row/>
becomes
  <row>
  <cell/>
  <cell/>
  </row>

As the spec refers to the application's dimension, the 
"default-cell-style-name" applies to all cells in a row (or column).


Hopefully, this explains my interpretation. At least, it should show that this 
is not artificial. For me, there's not even an ambiguity. But I'm only human. 
If you can show me where I'm wrong, I would be thankful.

Regards,
Stefan Nikolaus


---------------------------------------------------------------------
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