Difference between revisions of "Documentation/DevGuide/Charts/Accessing Existing 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/Working With Charts
 
|NextPage=Documentation/DevGuide/Charts/Working With Charts
 
}}
 
}}
{{DISPLAYTITLE:Accessing Existing Chart Documents}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Charts/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:Accessing Existing Chart Documents}}
 
To get a container of all charts contained in a spreadsheet document, use the <idl>com.sun.star.table.XTableChartsSupplier</idl> of the service <idl>com.sun.star.sheet.Spreadsheet</idl>, which is available at single spreadsheets.
 
To get a container of all charts contained in a spreadsheet document, use the <idl>com.sun.star.table.XTableChartsSupplier</idl> of the service <idl>com.sun.star.sheet.Spreadsheet</idl>, which is available at single spreadsheets.
  

Latest revision as of 12:22, 15 May 2009



To get a container of all charts contained in a spreadsheet document, use the com.sun.star.table.XTableChartsSupplier of the service com.sun.star.sheet.Spreadsheet, which is available at single spreadsheets.

To get all OLE-shapes of a draw page, use the interface com.sun.star.drawing.XDrawPage, that is based on com.sun.star.container.XIndexAccess. You can iterate over all shapes on the draw page and check their CLSID property to find out, whether the found object is a chart.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages