LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XTextViewTextRangeSupplier Interface Reference

supplies access to a document model position at a view-dependent pixel position. More...

import"XTextViewTextRangeSupplier.idl";

Inheritance diagram for XTextViewTextRangeSupplier:
XInterface

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

Detailed Description

supplies access to a document model position at a view-dependent pixel position.

Since
LibreOffice 7.2

Member Function Documentation

◆ createTextRangeByPixelPosition()

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.

Returns
the text range of the document position.

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