(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XPlotter

Methods' Summary
getCoordinateSystemTypeID Each Plotter implicit uses a certain type of logic coordinate system for interpreting data as coordinates. For example a bar-chart uses a cartesian coordinate system for interpreting x- and y-values from a spreadsheet as cartesian coordinates. In contrast the pie chart assumes a polar coordinate system. The type of this implicit used source coordinate system has to be returned here. The returned type of an implementation never changes.  
init For each type of shapes ('logic' or 'illogic') there exists one container. The Plotter will create shapes and then add (or remove) them from these containers.  
setScales For each dimension of the 'logic source coordinate system' the XPlotter object needs a Scale to decide which shapes need to be created and maybe logically clipped. The XPlotter object becomes the new owner of the given scales and directions and needs to keep them alive. Nobody else will change them. Pay attention that a 'Scale' can have several breaks.  
setTransformation  
Methods' Details
getCoordinateSystemTypeID
CoordinateSystemTypeID
getCoordinateSystemTypeID();

Description
Each Plotter implicit uses a certain type of logic coordinate system for interpreting data as coordinates. For example a bar-chart uses a cartesian coordinate system for interpreting x- and y-values from a spreadsheet as cartesian coordinates. In contrast the pie chart assumes a polar coordinate system. The type of this implicit used source coordinate system has to be returned here. The returned type of an implementation never changes.
init
void
init( [in] ::com::sun::star::drawing::XShapes  xLogicTarget,
[in] ::com::sun::star::drawing::XShapes  xFinalTarget,
[in] ::com::sun::star::lang::XMultiServiceFactory  xFactory );

Description
For each type of shapes ('logic' or 'illogic') there exists one container. The Plotter will create shapes and then add (or remove) them from these containers.

The lifetime of the container has to be handled by the calling object. The calling object must assure that the container will exist longer than the XPlotter Object.

...
setScales
void
setScales( [in] sequence< ScaleData >  rScales );

Description
For each dimension of the 'logic source coordinate system' the XPlotter object needs a Scale to decide which shapes need to be created and maybe logically clipped. The XPlotter object becomes the new owner of the given scales and directions and needs to keep them alive. Nobody else will change them. Pay attention that a 'Scale' can have several breaks.
setTransformation
void
setTransformation( [in] XTransformation  xTransformationToLogicTarget,
[in] XTransformation  xTransformationToFinalPage );

Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.