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