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: [office] Source table for charts (revised proposal)


as announced in the last TC call, I would like to revise the proposal as
follows. Reason is that the former proposal did not take into account
that a few more sections have to be adapted, and also could lead to the
impression that there is always one table that contains the entire chart

10.1 Introduction to Chart Documents

[This section essentially says the same as the new "Source Document" 
section below. I suggest that we remove it]

10.2.? Source Document

[This section is new]

The xlink:href attribute specifies the document which provides the data
for the chart. The following values are supported:

- ".": The data is provided by the chart document itself. Tt is
taken from the <table:table> element inside the <chart:chart> element.
- "..": The data is provided by the document into which the chart is
embedded. This is only supported if the chart is actually embedded into
another document.
- A relative IRI: The data is provided by an embedded object
referenced by the IRI. This embedded object must be within the same
package as the chart itself.

All cell range addresses that are specified within a chart relate to the
document referenced by the xlink:href attribute.

If the attribute xlink:href is omitted, its value is assumed to be ".." 
if the <chart:plot-area> element has a table:cell-range-address
attribute. See section 10.5.3. Otherwise it is assumed to be ".".

<define name="chart-chart-attlist" combine="interleave">
             <attribute name="xlink:href">
                 <ref name="anyURI"/>
             <attribute name="xslink:type">

10.5.3 Plot Area Data Attributes

[This section currently reads]

If a chart is embedded in a document that provides the data for the
chart, the table:cell-range-address attribute reflects the ranges from
which all the data for the chart comes. The range given here is
interpreted by the chart as consecutive series.

[suggested change:]

If the data for the chart is provided by another document than the chart
document itself (for example by the document into which the chart
document is embedded, see section 10.2.?), then the
table:cell-range-address attribute defines the ranges in that providing
document that contain the data. This data is interpreted by the chart
as consecutive series.

If the chart data should be taken from the table element contained in
the <chart:chart> element itself, then the attribute
table:cell-range-address must be omitted.

Best regards


Michael Brauer, Technical Architect Software Engineering
Sun Microsystems GmbH             Nagelsweg 55
D-20097 Hamburg, Germany          michael.brauer@sun.com
http://sun.com/staroffice         +49 40 23646 500

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
	   D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

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