(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 ::

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 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.