LibreOffice
LibreOffice 7.2 SDK API Reference
Public Member Functions | List of all members
XControllerBorder Interface Reference

allows to retrieve information about controller's border. More...

import"XControllerBorder.idl";

Inheritance diagram for XControllerBorder:
XInterface

Public Member Functions

BorderWidths getBorder ()
 allows to get current border sizes of the document. More...
 
void addBorderResizeListener ([in] XBorderResizeListener xListener)
 adds the specified listener to receive events about controller's border resizing. More...
 
void removeBorderResizeListener ([in] XBorderResizeListener xListener)
 removes the specified listener. More...
 
::com::sun::star::awt::Rectangle queryBorderedArea ([in] ::com::sun::star::awt::Rectangle aPreliminaryRectangle)
 allows to get suggestion for resizing of object area surrounded by the border. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

allows to retrieve information about controller's border.

Member Function Documentation

◆ addBorderResizeListener()

void addBorderResizeListener ( [in] XBorderResizeListener  xListener)

adds the specified listener to receive events about controller's border resizing.

◆ getBorder()

BorderWidths getBorder ( )

allows to get current border sizes of the document.

Returns
BorderWidths representing the sizes of border

◆ queryBorderedArea()

::com::sun::star::awt::Rectangle queryBorderedArea ( [in] ::com::sun::star::awt::Rectangle  aPreliminaryRectangle)

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

◆ removeBorderResizeListener()

void removeBorderResizeListener ( [in] XBorderResizeListener  xListener)

removes the specified listener.


The documentation for this interface was generated from the following file: