Difference between revisions of "Documentation/DevGuide/Charts/Handling Chart Documents"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Documentation/Developers Guide/Charts)
m (FINAL VERSION FOR L10N)
 
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.

Latest revision as of 12:21, 15 May 2009



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).
Personal tools
In other languages