LibreOffice
LibreOffice 24.2 SDK API Reference
|
supplies access to a document model position at a view-dependent pixel position. More...
import"XTextViewTextRangeSupplier.idl";
Public Member Functions | |
com::sun::star::text::XTextRange | createTextRangeByPixelPosition ([in] com::sun::star::awt::Point PixelPosition) |
creates the text range of the document model position at a view-dependent pixel position. 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... | |
supplies access to a document model position at a view-dependent pixel position.
com::sun::star::text::XTextRange createTextRangeByPixelPosition | ( | [in] com::sun::star::awt::Point | PixelPosition | ) |
creates the text range of the document model position at a view-dependent pixel position.
Note that in case the model position is a graphic, then the model position of its anchor is returned.