(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: frame ::

unpublished interface XControllerBorder
Usage Restrictions
not published
Description
allows to retrieve information about controller's border.

Methods' Summary
getBorder allows to get current border sizes of the document.  
addBorderResizeListener adds the specified listener to receive events about controller's border resizing.  
removeBorderResizeListener removes the specified listener.  
queryBorderedArea allows to get suggestion for resizing of object area surrounded by the border.  
Methods' Details
getBorder
BorderWidths
getBorder();

Description
allows to get current border sizes of the document.
Returns
BorderWidths representing the sizes of border
addBorderResizeListener
void
addBorderResizeListener( [in] XBorderResizeListener  xListener );

Description
adds the specified listener to receive events about controller's border resizing.
removeBorderResizeListener
void
removeBorderResizeListener( [in] XBorderResizeListener  xListener );

Description
removes the specified listener.
queryBorderedArea
::com::sun::star::awt::Rectangle
queryBorderedArea( [in] ::com::sun::star::awt::Rectangle  aPreliminaryRectangle );

Description
allows to get suggestion for resizing of object area surrounded by the border.

If the view is going to be resized/moved this method can be used to get suggested object area. Pixels are used as units.

Returns
suggestion for the resizing
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

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.

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.