Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished struct RelativeSize
Usage Restrictions
not published
Description
Gives a position relative to some size defined by other means. Values from 0 to 1 cover the entire reference rectangle. Values may also be greater than one, meaning a bigger size than the reference size. Negative values are not allowed.

Elements' Summary
Primary The extension in the primary direction. The direction is defined by the object using this point.  
Secondary The extension in the secondary direction. The direction is defined by the object using this point.  
Elements' Details
Primary
double Primary;
Description
The extension in the primary direction. The direction is defined by the object using this point.

Typically, the direction is determined by an ::Orientation. Another typical use would be the direction of a given orientation-angle.

The values are relative to the page or an object. Values between 0 and 1 span the complete bounding rectangle of the page/object.

For a western ::Orientation this is the width.

Secondary
double Secondary;
Description
The extension in the secondary direction. The direction is defined by the object using this point.

Typically, the direction is determined by an ::Orientation. Another typical use would be the direction perpendicular to a given orientation-angle.

The values are relative to the page or an object. Values between 0 and 1 span the complete bounding rectangle of the page/object.

For a western ::Orientation this is the height.

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.