In a message dated 2008.05.12 14:36 -0500, mike scott wrote:
Actually cell styles seem to do most of the job, apart from cell size
which I suppose is really a row/column property. ... Should there be
row/column styles then?
I would think that cell style would include width/height as all cells
of a given column are the same width, and all cells of a given row are
the same height.
Quite - so width and height are really properties of a column or row
rather than an individual cell, which have no say in the matter.
Except that merged cells could be fun...
Which is, I think, why cell style would *not* include width or height, as
they are properties of column or row respectively, and thus no way they
could be independently specified for a cell. However, one can envision
column or row styles having other default properties which might be
overridden by a cell style/property; alignment would be an obvious, fairly
useful, example.
Merged cells are not really a problem, either, because of the usual property
inheritance conventions for merged cells: inherit the total width and height
(because, again, these are not cell properties), but inherit the properties
of the topmost, leftmost, cell. For example, merging B4-B5-C4-C5 would
result in a merged cell having the cell properties of B4, including any
properties that would inherit from column B or row 4.
[That said, though, these matters are already handled much better in Calc
than in Writer's tables (which I dearly wish we could fix). But that's a
related topic for another time.]
--
John
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]