The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

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

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.