LibreOffice
LibreOffice 24.2 SDK API Reference
XTextLayout.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 
21 module com { module sun { module star { module rendering {
22 
23 interface XCanvas;
24 interface XCanvasFont;
25 interface XPolyPolygon2D;
26 
52 {
61  sequence<XPolyPolygon2D> queryTextShapes();
62 
63 
78  sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures();
79 
80 
94  sequence<::com::sun::star::geometry::RealRectangle2D> queryMeasures();
95 
96 
119  sequence<double> queryLogicalAdvancements();
120 
121 
142  void applyLogicalAdvancements( [in] sequence< double > aAdvancements )
144 
145 
168  sequence<boolean> queryKashidaPositions();
169 
170 
189  void applyKashidaPositions( [in] sequence< boolean > aPositions )
191 
192 
203 
204 
226  double justify( [in] double nSize )
228 
229 
262  double combinedJustify( [in] sequence< XTextLayout > aNextLayouts, [in] double nSize )
264 
265 
276  TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint );
277 
278 
299  Caret getCaret( [in] long nInsertionIndex,
300  [in] boolean bExcludeLigatures )
302 
303 
329  long getNextInsertionIndex( [in] long nStartIndex,
330  [in] long nCaretAdvancement,
331  [in] boolean bExcludeLigatures )
333 
334 
353  XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex,
354  [in] long nEndIndex )
356 
357 
378  XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex,
379  [in] long nEndIndex )
381 
382 
396  double getBaselineOffset();
397 
398 
406  byte getMainTextDirection();
407 
408 
413  XCanvasFont getFont();
414 
415 
420  StringContext getText();
421 
422 
423 };
424 
425 }; }; }; };
426 
427 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interface provides access to a specific, XCanvas-dependent font incarnation. ...
Definition: XCanvasFont.idl:31
This exception is thrown to indicate that a container has been accessed with an illegal index...
Definition: IndexOutOfBoundsException.idl:30
Definition: Ambiguous.idl:20
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:29
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
Collection of string-related arguments used on all canvas text interfaces.
Definition: StringContext.idl:31
This structure contains the necessary information for a two-dimensional rectangle.
Definition: RealRectangle2D.idl:40
Generic interface for poly-polygons in 2D.
Definition: XPolyPolygon2D.idl:26
base interface of all UNO interfaces
Definition: XInterface.idl:45
This is the central interface for text layouting.
Definition: XTextLayout.idl:51
This structure contains the caret information.
Definition: Caret.idl:29
This structure contains hit information for XTextLayout.
Definition: TextHit.idl:29