Difference between revisions of "Documentation/DevGuide/Charts/Handling Chart Documents"
From Apache OpenOffice Wiki
< Documentation | DevGuide
(Initial author Sun Microsystems, Inc.) |
OOoWikiBot (Talk | contribs) m (FINAL VERSION FOR L10N) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|NextPage=Documentation/DevGuide/Charts/Creating and Adding a Chart to a Spreadsheet | |NextPage=Documentation/DevGuide/Charts/Creating and Adding a Chart to a Spreadsheet | ||
}} | }} | ||
− | {{DISPLAYTITLE:Handling Chart Documents}} | + | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Charts/{{SUBPAGENAME}}}} |
+ | {{DISPLAYTITLE:Handling Chart Documents}} | ||
=== Creating Charts === | === Creating Charts === | ||
The <idl>com.sun.star.table.XTableChartsSupplier</idl> interface of the <idl>com.sun.star.sheet.Spreadsheet</idl> service is used to create and insert a new chart into a Calc document. This creates a chart that uses data from the <idl>com.sun.star.chart.XChartDataArray</idl> interface of the underlying cell range. A generic way to create charts is to insert an OLE-Shape into a draw page and transform it into a chart setting a class-id. | The <idl>com.sun.star.table.XTableChartsSupplier</idl> interface of the <idl>com.sun.star.sheet.Spreadsheet</idl> service is used to create and insert a new chart into a Calc document. This creates a chart that uses data from the <idl>com.sun.star.chart.XChartDataArray</idl> interface of the underlying cell range. A generic way to create charts is to insert an OLE-Shape into a draw page and transform it into a chart setting a class-id. | ||
{{PDL1}} | {{PDL1}} | ||
− | [[Category: Charts]] | + | |
+ | [[Category:Documentation/Developer's Guide/Charts]] |
Latest revision as of 12:21, 15 May 2009
- Handling Chart Documents
Creating Charts
The com.sun.star.table.XTableChartsSupplier interface of the com.sun.star.sheet.Spreadsheet service is used to create and insert a new chart into a Calc document. This creates a chart that uses data from the com.sun.star.chart.XChartDataArray interface of the underlying cell range. A generic way to create charts is to insert an OLE-Shape into a draw page and transform it into a chart setting a class-id.
Content on this page is licensed under the Public Documentation License (PDL). |