Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: chart ::

unpublished interface XDiagramPositioning
Usage Restrictions
not published
Description
allow for different positioning options for a diagram
See also
Diagram

Methods' Summary
setAutomaticDiagramPositioning the diagram will be placed automtically  
isAutomaticDiagramPositioning  
setDiagramPositionExcludingAxes place the inner diagram part excluding any axes, labels and titles  
isExcludingDiagramPositioning  
calculateDiagramPositionExcludingAxes  
setDiagramPositionIncludingAxes place the outer diagram part including the axes and axes labels, but excluding the axes titles.  
calculateDiagramPositionIncludingAxes  
setDiagramPositionIncludingAxesAndAxisTitles place the diagram including the axes, axes labels and axes titles. For the placement the current axis titles are taken into account, so the titles must be initialized properly before this method is called.  
calculateDiagramPositionIncludingAxesAndAxisTitles  
Methods' Details
setAutomaticDiagramPositioning
void
setAutomaticDiagramPositioning();

Description
the diagram will be placed automtically
isAutomaticDiagramPositioning
boolean
isAutomaticDiagramPositioning();

Returns
whether the diagram is placed automtically
setDiagramPositionExcludingAxes
void
setDiagramPositionExcludingAxes( [in] ::com::sun::star::awt::Rectangle  PositionRect );

Description
place the inner diagram part excluding any axes, labels and titles
Parameter PositionRect
specifies the position and size in 100/th mm
isExcludingDiagramPositioning
boolean
isExcludingDiagramPositioning();

Returns
true in case the diagram position was set with method setDiagramPositionExcludingAxes
calculateDiagramPositionExcludingAxes
::com::sun::star::awt::Rectangle
calculateDiagramPositionExcludingAxes();

Returns
the position rectangle of the inner diagram part excluding any axes, labels and titles. Position and size are given in 100/th mm. It might be necessary to calculate the positioning so this method can be expensive and the result may depend on different other settings.
setDiagramPositionIncludingAxes
void
setDiagramPositionIncludingAxes( [in] ::com::sun::star::awt::Rectangle  PositionRect );

Description
place the outer diagram part including the axes and axes labels, but excluding the axes titles.
Parameter PositionRect
specifies the position and size in 100/th mm
calculateDiagramPositionIncludingAxes
::com::sun::star::awt::Rectangle
calculateDiagramPositionIncludingAxes();

Returns
the position rectangle of the diagram including the axes and axes labels, but excluding the axes titles. Position and size are given in 100/th mm. It might be necessary to calculate the positioning so this method can be expensive and the result may depend on different other settings.
setDiagramPositionIncludingAxesAndAxisTitles
void
setDiagramPositionIncludingAxesAndAxisTitles( [in] ::com::sun::star::awt::Rectangle  PositionRect );

Description
place the diagram including the axes, axes labels and axes titles. For the placement the current axis titles are taken into account, so the titles must be initialized properly before this method is called.
Parameter PositionRect
specifies the position and size in 100/th mm
calculateDiagramPositionIncludingAxesAndAxisTitles
::com::sun::star::awt::Rectangle
calculateDiagramPositionIncludingAxesAndAxisTitles();

Returns
the position rectangle of the diagram including the axes, axes labels and axes titles. Position and size are given in 100/th mm. It might be necessary to calculate the positioning so this method can be expensive and the result may depend on different other settings.
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.