| From | Sent On | Attachments |
|---|---|---|
| Andreas J. Guelzow | Jul 2, 2009 10:43 am | |
| Patrick Durusau | Jul 2, 2009 12:11 pm | |
| Andreas J. Guelzow | Jul 2, 2009 1:11 pm | |
| Eike Rathke | Jul 7, 2009 4:27 am | |
| Andreas J. Guelzow | Jul 7, 2009 7:47 am | |
| Eike Rathke | Jul 15, 2009 6:36 am |
| Subject: | Re: [office] table:style-name vs table:default-cell-style-name | |
|---|---|---|
| From: | Andreas J. Guelzow (ague...@pyrshep.ca) | |
| Date: | Jul 2, 2009 1:11:26 pm | |
| List: | org.oasis-open.lists.office | |
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 <ague...@pyrshep.ca>
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php





