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-3665) Allow data pilotsource cell range to be referenced by textural name.



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

Kohei Yoshida commented on OFFICE-3665:
---------------------------------------

Here is the proposed change in the schema.

Remove the following current definition

<define name="table-source-cell-range-attlist" combine="interleave">
    <attribute name="table:cell-range-address">
        <ref name="cellRangeAddress"/>
    </attribute>
</define>

with the following new definition.

<define name="table-source-cell-range-attlist" combine="interleave">
    <choice>
        <attribute name="table:cell-range-address">
            <ref name="cellRangeAddress"/>
        </attribute>
        <group>
            <attribute name="table:name">    
                <ref name="string"/>
            </attribute>
            <optional>
                <attribute name="table:cell-range-address">
                    <ref name="cellRangeAddress"/>
                </attribute>
            </optional>
        </group>
    </choice>
</define>

The new schema allows the <table:source-cell-range> to have either

1) the table:cell-range-address attribute, or
2) the table:name attribute and optionally the table:cell-range-address attribute.

The optional table:cell-range-address is intended for backword compatibility, but the application should not be required to have this attribute when the table:name attribute is present.

> Allow data pilot source cell range to be referenced by textural name.
> ---------------------------------------------------------------------
>
>                 Key: OFFICE-3665
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3665
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: New Feature
>          Components: Table
>    Affects Versions: ODF 1.2 CD 06
>            Reporter: Kohei Yoshida
>             Fix For: ODF-Next
>
>
> Currently, a data pilot table data specifies its source data cell range via <table:source-cell-range> element.  This element has the table:cell-range-address attribute to specify the range.
> The new feature being proposed herein will allow specifying the source data by textural name, which corresponds with the name of a named range defined by the table:named-range element.  Such name shall be given in the table:name attribute of the <table:source-cell-range> element.
> The precondition is that the document contains a named range whose name equals the name specified in the <table:source-cell-range> element.
> Example:
> <table:named-expressions>
>     <table:named-range table:name="MyData" table:base-cell-address="$Data.$B$4" table:cell-range-address="$Data.$A$1:.$B$4"/>
> </table:named-expressions>
> <table:data-pilot-tables>
>     <table:data-pilot-table table:name="DataPilot1">
>         <table:source-cell-range table:name="MyData"/>
>         ....
>     </table:data-pilot-table>
> </table:data-pilot-tables>

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