AlterOffice
AlterOffice 3.4 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
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 
156 
157 
179  double justify( [in] double nSize )
181 
182 
215  double combinedJustify( [in] sequence< XTextLayout > aNextLayouts, [in] double nSize )
217 
218 
229  TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint );
230 
231 
252  Caret getCaret( [in] long nInsertionIndex,
253  [in] boolean bExcludeLigatures )
255 
256 
282  long getNextInsertionIndex( [in] long nStartIndex,
283  [in] long nCaretAdvancement,
284  [in] boolean bExcludeLigatures )
286 
287 
306  XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex,
307  [in] long nEndIndex )
309 
310 
331  XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex,
332  [in] long nEndIndex )
334 
335 
349  double getBaselineOffset();
350 
351 
359  byte getMainTextDirection();
360 
361 
366  XCanvasFont getFont();
367 
368 
373  StringContext getText();
374 
375 
376 };
377 
378 }; }; }; };
379 
380 /* 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
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