19 #ifndef __com_sun_star_rendering_XTextLayout_idl__
20 #define __com_sun_star_rendering_XTextLayout_idl__
35 module
com { module sun { module star { module rendering {
38 interface XCanvasFont;
39 interface XPolyPolygon2D;
229 double combinedJustify( [in] sequence< XTextLayout > aNextLayouts, [in]
double nSize )
267 [in]
boolean bExcludeLigatures )
297 [in]
long nCaretAdvancement,
298 [in]
boolean bExcludeLigatures )
321 [in]
long nEndIndex )
346 [in]
long nEndIndex )
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:35
This interface provides access to a specific, XCanvas-dependent font incarnation.
Definition: XCanvasFont.idl:44
Generic interface for poly-polygons in 2D.
Definition: XPolyPolygon2D.idl:35
This is the central interface for text layouting.
Definition: XTextLayout.idl:66
void applyLogicalAdvancements([in] sequence< double > aAdvancements)
Apply explicit advancements for every character in the layout string.
long getNextInsertionIndex([in] long nStartIndex, [in] long nCaretAdvancement, [in] boolean bExcludeLigatures)
This method calculates a new insertion index.
double combinedJustify([in] sequence< XTextLayout > aNextLayouts, [in] double nSize)
Justify a number of text layouts to the given size.
double getBaselineOffset()
This method yields the baseline offset.
sequence< double > queryLogicalAdvancements()
Query the advancements for every character in the input string.
StringContext getText()
Request the text this layout contains.
Caret getCaret([in] long nInsertionIndex, [in] boolean bExcludeLigatures)
This method converts an insertion index to a caret.
sequence<::com::sun::star::geometry::RealRectangle2D > queryMeasures()
Query the logical bounding boxes of every character in the given text string.
TextHit getTextHit([in] ::com::sun::star::geometry::RealPoint2D aHitPoint)
This method determines the hit position in the text.
sequence< XPolyPolygon2D > queryTextShapes()
Extract the polygonal shapes of the layouted text.
XPolyPolygon2D queryVisualHighlighting([in] long nStartIndex, [in] long nEndIndex)
This method generates a highlight polygon.
byte getMainTextDirection()
This method returns the main writing direction.
sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures()
Query the ink bounding boxes for every glyph in the layouted text.
XCanvasFont getFont()
Request the associated font for this layout.
XPolyPolygon2D queryLogicalHighlighting([in] long nStartIndex, [in] long nEndIndex)
This method generates a highlight polygon.
::com::sun::star::geometry::RealRectangle2D queryTextBounds()
Query the overall bounding box of the text.
double justify([in] double nSize)
Justify the text to the given size.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:32
This structure contains the necessary information for a two-dimensional rectangle.
Definition: RealRectangle2D.idl:43
This structure contains the caret information.
Definition: Caret.idl:32
Collection of string-related arguments used on all canvas text interfaces.
Definition: StringContext.idl:34
This structure contains hit information for XTextLayout.
Definition: TextHit.idl:32