Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.3 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, 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.