[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] table:style-name vs table:default-cell-style-name
On Thu, 2009-07-02 at 15:11 -0400, Patrick Durusau wrote: > Andreas, > > Andreas J. Guelzow wrote: > > A table:table-row can have both or any of the attributes > > table:style-name and table:default-cell-style-name > > They both seem to set the style of a table-cell in that row that doesn't > > have its own style. > > > > > Is this in response to my note on Office-1566, > table:default-cell-style-name? It was inspired by it. > > The reason I ask is that the amended text that I have applied reads: > > "Cells contained in a row without a table:style-name attribute value and > that are defined by a <table:table:cell> element use this default cell > style." By the way , I assume you applied: ...<table:table-cell>... > > This attribute is relevant if and only if the row is missing a > table:style-name attribute. > > In that case the table:default-cell-style-name attribute supplies the > name of the style to be applied. > > If there is a table:style-name attribute with a value on the row, then > even if there were a table:default-cell-style-name attribute with a > value, it is ignored. I have no problem with that, but it caused me to wonder why we have 2 attributes for <table:table-row> that both seem to set the default-style for cells in that row. If I understand it right to figure out the style of a cell we have in order: style given in table:table-cell style given as table:style-name attribute of table:table-row style given as table:default-cell-style-name attribute of table:table-row style given as table:default-cell-style-name attribute of table:table-column style given as default-style for table cells. So I wonder about 2 things: Why are there 2 attributes for table:table-row that do essentially the same thing. Why are we jumping over the table level, ie. do not have table:style-name or table:default-cell-style-name attributes for table:table. Andreas -- Andreas J. Guelzow <aguelzow@pyrshep.ca>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]