Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: chart2 :: data ::

unpublished service DataSequence
Usage Restrictions
not published
Description
describes a container for a sequence of values.

With the interface XDataSequence it is possible to transfer a complete sequence of values.

With the optional ::com::sun::star::container::XIndexReplace it is possible to modify single elements, if the corresponding DataProvider supports modification of its values.


Exported Interfaces - Summary
XDataSequence

provides read- and write-access to the underlying data.

XNumericalDataSequence

you may implement this interface to allow a fast acces to numerical data. With this interface you can get a sequence of double values. (details)

XTextualDataSequence

you may implement this interface to allow a fast acces to textual data. With this interface you can get a sequence of string values. (details)

::com::sun::star::container::XIndexReplace

provides read- and write-access to single elements of the underlying data. (details)

::com::sun::star::util::XCloneable

Allows creating copies of data sequences. If this interface is not supported, the same object will be shared if used by multiple objects. (details)

::com::sun::star::util::XModifyBroadcaster

is used to broadcast change events whenever the content (data) or the range representations change.

::com::sun::star::beans::XPropertySet

the property interface by which the properties of all supported services are exchanged

Properties' Summary
DataSequenceRole
Role
The role of the series inside a data series. This may be any string. However some strings are predefined and should always be used in the same way.  
boolean
IncludeHiddenCells
[ OPTIONAL ]
If set to false false, values from hidden cells are not returned.  
sequence< long >
HiddenValues
[ OPTIONAL ]
a sequence of indexes that identify values that are hidden in the underlying data provider.  
Exported Interfaces - Details
XDataSequence
Description
provides read- and write-access to the underlying data.
XNumericalDataSequence
Usage Restrictions
optional
Description
you may implement this interface to allow a fast acces to numerical data. With this interface you can get a sequence of double values.
XTextualDataSequence
Usage Restrictions
optional
Description
you may implement this interface to allow a fast acces to textual data. With this interface you can get a sequence of string values.
::com::sun::star::container::XIndexReplace
Usage Restrictions
optional
Description
provides read- and write-access to single elements of the underlying data.

Only when supporting this interface, it is possible for client applications to modify the content of the data that is provided by this DataSequence.

::com::sun::star::util::XCloneable
Usage Restrictions
optional
Description
Allows creating copies of data sequences. If this interface is not supported, the same object will be shared if used by multiple objects.

Cloning is especially useful when using identifiers. A cloned data sequence will get a new identifier while the source range representation is identical to the original one.

Note that, when this interface is not implemented the releasing of identifiers at the XDataProvider will not work properly, because more than one object may use the same identifier. So, when an object releases the identifier, another object might use a stale identifier.

::com::sun::star::util::XModifyBroadcaster
Description
is used to broadcast change events whenever the content (data) or the range representations change.
::com::sun::star::beans::XPropertySet
Description
the property interface by which the properties of all supported services are exchanged
Properties' Details
Role
DataSequenceRole Role;
Description
The role of the series inside a data series. This may be any string. However some strings are predefined and should always be used in the same way.
See also
DataSequenceRole
IncludeHiddenCells
boolean IncludeHiddenCells;
Usage Restrictions
optional
Description
If set to false false, values from hidden cells are not returned.
HiddenValues
sequence< long > HiddenValues;
Usage Restrictions
optional
Description
a sequence of indexes that identify values that are hidden in the underlying data provider.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.