Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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