Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: table ::

interface XTableCharts
Base Interfaces
XTableCharts
┗ ::com::sun::star::container::XNameAccess
   ┗ ::com::sun::star::container::XElementAccess

::com::sun::star::container::XNameAccess
(referenced interface's summary:)
is used to access named objects within a container.
Description
provides methods to access charts via name and to insert and remove charts.
See also
TableCharts

Methods' Summary
addNewByName creates a chart and adds it to the collection.  
removeByName removes a chart from the collection.  
Methods' Details
addNewByName
void
addNewByName( [in] string  aName,
[in] ::com::sun::star::awt::Rectangle  aRect,
[in] sequence< CellRangeAddress >  aRanges,
[in] boolean  bColumnHeaders,
[in] boolean  bRowHeaders );

Description
creates a chart and adds it to the collection.
Parameter aName
is the name of the chart. This name is used to reference the chart in the collection.
Parameter aRect
contains the rectangular location of the chart within the table (in 1/100th mm).
Parameter aRanges
all cell ranges containing the source data of the chart.
Parameter bColumnHeaders
if set to true, the topmost row of the source data will be used to set labels for the category axis or the legend.
Parameter bRowHeaders
if set to true, the leftmost column of the source data will be used to set labels for the category axis or the legend.
removeByName
void
removeByName( [in] string  aName );

Description
removes a chart from the collection.
Parameter aName
is the name of the chart to remove.
Top of Page

Apache Software Foundation

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

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