The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

unpublished service Shape
Usage Restrictions
not published
Description
specifies the service of shapes in a spreadsheet document

Included Services - Summary
::com::sun::star::drawing::Shape
(referenced entity's summary:)
This abstract service specifies the general characteristics of all ::com::sun::star::drawing::Shapes.
Properties' Summary
[ readonly ] ::com::sun::star::uno::XInterface
Anchor
contains the object where this shape is anchored on.  
long
HoriOrientPosition
contains the horizontal position of the object (1/100 mm).  
long
VertOrientPosition
contains the vertical position of the object (1/100 mm).  
Included Services - Details
::com::sun::star::drawing::Shape
(referenced entity's summary:)
This abstract service specifies the general characteristics of all ::com::sun::star::drawing::Shapes.
Properties' Details
Anchor
[ readonly ] ::com::sun::star::uno::XInterface Anchor;
Description
contains the object where this shape is anchored on.

Possible objects are XSpreadsheet and XCell.

HoriOrientPosition
long HoriOrientPosition;
Description
contains the horizontal position of the object (1/100 mm).

The position is relative to the anchor object.

If the underlying table layout direction is left to right the position is the difference of the left top edge of the anchor object and the left top edge of the drawing object.

If the underlying table layout direction is right to left the position is the difference of the right top edge of the anchor object and the right top edge of the drawing object.

VertOrientPosition
long VertOrientPosition;
Description
contains the vertical position of the object (1/100 mm).

The position is relative to the anchor object.

If the underlying table layout direction is left to right the position is the difference of the left top edge of the anchor object and the left top edge of the drawing object.

If the underlying table layout direction is right to left the position is the difference of the right top edge of the anchor object and the right top edge of the drawing object.


 
Top of Page

Apache Software Foundation

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

Apache, the Apache feather logo, and OpenOffice 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.