LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
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.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 

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: