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

struct GraphicCrop
Description
describes the cropping of graphic objects. Cropping means to show only parts of the object.

Negative values cut the visible area; positive values extend the visible area by filling it with background color. The absolute sum of top and bottom crop must be smaller than the objects original height. The absolute sum of the left and right crop must be smaller than the object's original width.

If this property is applied to a graphic object, then this object will correct these values if necessary.


Elements' Summary
Top contains the top value to cut (if negative) or to extend (if positive)  
Bottom contains the bottom value to cut (if negative) or to extend (if positive)  
Left contains the left value to cut (if negative) or to extend (if positive)  
Right contains the right value to cut (if negative) or to extend (if positive)  
Elements' Details
Top
long Top;
Description
contains the top value to cut (if negative) or to extend (if positive)
Bottom
long Bottom;
Description
contains the bottom value to cut (if negative) or to extend (if positive)
Left
long Left;
Description
contains the left value to cut (if negative) or to extend (if positive)
Right
long Right;
Description
contains the right value to cut (if negative) or to extend (if positive)
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.