OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (OFFICE-3358) chart:titleincorrectness



    [ http://tools.oasis-open.org/issues/browse/OFFICE-3358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20697#action_20697 ] 

Andreas Guelzow  commented on OFFICE-3358:
------------------------------------------

I am quoting from ODF 1.0:

The <chart:title> element represents a main title object in a chart document. This element
can contain fixed text or it can contain a <table:cell-address> element pointing to the text
that should be displayed as the title. 

this contradicts the schema that says: 

<define name="chart-title">
<element name="chart:title">
<ref name="chart-title-attlist"/>
<optional>
<ref name="text-p"/>
</optional>
</element>
</define>

So <table:cell-address> cannot be an element but must be an attribute, but the closest attribute in the schema is:

<define name="chart-title-attlist" combine="interleave">
<optional>
<attribute name="table:cell-range">
<ref name="cellAddress"/>
</attribute>
</optional>

so we have 2 different attribute names: table:cell-range and table:cell-address. There is nothing about this in the errata (yet).

-------------------------------------------

ODF 1.1 says the same thing

-------------------------------------------

In ODF 1.2 CD5 we have:

            <optional>
                <attribute name="table:cell-range">
                    <ref name="cellRangeAddressList"/>
                </attribute>
            </optional>

Note the change in type. The description is now consistent with the schema, except that the description fails to say where the text comes from if the cellRangeAddressList contains several cells.


> chart:title incorrectness
> -------------------------
>
>                 Key: OFFICE-3358
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3358
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Bug
>            Reporter: Andreas Guelzow 
>
> In 11.2.1 <chart:title> we have:
> "The text of a title is specified by a child <text:p> element or a table:cell-range attribute. If a
> child <text:p> element and a table:cell-range attribute are both present, the text specified
> by the table:cell-range attribute is used as the title. "
> The last sentence is surely not quite right and should be:
> "...,the text contained in the cell specified
> by the table:cell-range attribute is used as the title"
> or something like that.
> Moreover:
> "By default, the content of a child <text:p> element is displayed as the title."
> What does "by default" mean here? If there is no child <text:p> element nor a table:cell-range attribute then there cannot be any title obtained from such a child element.
> Finally,
> in ODF 1.1 the attribute was called  table:cell-address, are we really changing that to table:cell-range? SInce table cell range can contain a list of cell address ranges, how is the title derived from such a list?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]