summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/rendering/XTextLayout.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/rendering/XTextLayout.idl')
-rw-r--r--offapi/com/sun/star/rendering/XTextLayout.idl74
1 files changed, 26 insertions, 48 deletions
diff --git a/offapi/com/sun/star/rendering/XTextLayout.idl b/offapi/com/sun/star/rendering/XTextLayout.idl
index 2f4dad0e1..11b61baa6 100644
--- a/offapi/com/sun/star/rendering/XTextLayout.idl
+++ b/offapi/com/sun/star/rendering/XTextLayout.idl
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -27,46 +27,24 @@
#ifndef __com_sun_star_rendering_XTextLayout_idl__
#define __com_sun_star_rendering_XTextLayout_idl__
-#ifndef __com_sun_star_uno_XInterface_idl__
-#include <com/sun/star/uno/XInterface.idl>
-#endif
-#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/lang/IllegalArgumentException.idl>
-#endif
-#ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__
#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
-#endif
-#ifndef __com_sun_star_geometry_RealPoint2D_idl__
#include <com/sun/star/geometry/RealPoint2D.idl>
-#endif
-#ifndef __com_sun_star_geometry_RealBezierSegment2D_idl__
#include <com/sun/star/geometry/RealBezierSegment2D.idl>
-#endif
-#ifndef __com_sun_star_geometry_RealRectangle2D_idl__
#include <com/sun/star/geometry/RealRectangle2D.idl>
-#endif
-#ifndef __com_sun_star_rendering_ViewState_idl__
#include <com/sun/star/rendering/ViewState.idl>
-#endif
-#ifndef __com_sun_star_rendering_RenderState_idl__
#include <com/sun/star/rendering/RenderState.idl>
-#endif
-#ifndef __com_sun_star_rendering_StringContext_idl__
#include <com/sun/star/rendering/StringContext.idl>
-#endif
-#ifndef __com_sun_star_rendering_TextHit_idl__
#include <com/sun/star/rendering/TextHit.idl>
-#endif
-#ifndef __com_sun_star_rendering_Caret_idl__
#include <com/sun/star/rendering/Caret.idl>
-#endif
module com { module sun { module star { module rendering {
-interface XCanvas;
-interface XCanvasFont;
-interface XPolyPolygon2D;
+published interface XCanvas;
+published interface XCanvasFont;
+published interface XPolyPolygon2D;
/** This is the central interface for text layouting.<p>
@@ -92,7 +70,7 @@ interface XPolyPolygon2D;
@since OOo 2.0
*/
-interface XTextLayout : ::com::sun::star::uno::XInterface
+published interface XTextLayout : ::com::sun::star::uno::XInterface
{
/** Extract the polygonal shapes of the layouted text.<p>
@@ -102,12 +80,12 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@returns a sequence of <type>XPolyPolygon2D</type> in font
coordinate space, one for every glyph.
*/
- sequence<XPolyPolygon2D> queryTextShapes();
+ sequence<XPolyPolygon2D> queryTextShapes();
//-------------------------------------------------------------------------
/** Query the ink bounding boxes for every glyph in the layouted
- text.<p>
+ text.<p>
Ink, or tight bounding boxes in this case means that for
e.g. an "a", the bounding box for the
@@ -120,7 +98,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@see <member>XTextLayout::queryMeasures()</member>
*/
- sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures();
+ sequence<::com::sun::star::geometry::RealRectangle2D > queryInkMeasures();
//-------------------------------------------------------------------------
@@ -137,7 +115,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@see <member>XTextLayout::queryInkMeasures()</member>
*/
- sequence<::com::sun::star::geometry::RealRectangle2D> queryMeasures();
+ sequence<::com::sun::star::geometry::RealRectangle2D> queryMeasures();
//-------------------------------------------------------------------------
@@ -159,7 +137,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@see <member>XTextLayout::applyLogicalAdvancements()</member>
*/
- sequence<double> queryLogicalAdvancements();
+ sequence<double> queryLogicalAdvancements();
//-------------------------------------------------------------------------
@@ -184,7 +162,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
characters in the text.
*/
void applyLogicalAdvancements( [in] sequence< double > aAdvancements )
- raises (com::sun::star::lang::IllegalArgumentException);
+ raises (com::sun::star::lang::IllegalArgumentException);
//-------------------------------------------------------------------------
@@ -197,7 +175,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@return the overall bounding box for the given layout, in font
coordinate space.
*/
- ::com::sun::star::geometry::RealRectangle2D queryTextBounds();
+ ::com::sun::star::geometry::RealRectangle2D queryTextBounds();
//-------------------------------------------------------------------------
@@ -223,7 +201,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
if nSize is 0 or negative.
*/
double justify( [in] double nSize )
- raises (com::sun::star::lang::IllegalArgumentException);
+ raises (com::sun::star::lang::IllegalArgumentException);
//-------------------------------------------------------------------------
@@ -257,10 +235,10 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
might even be significantly larger than nSize.
@throws <type>com::sun::star::lang::IllegalArgumentException</type>
- if one of the parameters are not in the valid range.
+ if one of the parameters are not in the valid range.
*/
double combinedJustify( [in] sequence< XTextLayout > aNextLayouts, [in] double nSize )
- raises (com::sun::star::lang::IllegalArgumentException);
+ raises (com::sun::star::lang::IllegalArgumentException);
//-------------------------------------------------------------------------
@@ -274,7 +252,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
underlying character index for.
*/
- TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint );
+ TextHit getTextHit( [in] ::com::sun::star::geometry::RealPoint2D aHitPoint );
//-------------------------------------------------------------------------
@@ -282,7 +260,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
This method generates caret information for a given insertion
point in the layout text.<p>
-
+
@param nInsertionIndex
The insertion index, as e.g. returned by
<member>XTextLayout::getTextHit()</member>. This value must be
@@ -298,9 +276,9 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
@throws <type>com::sun::star::lang::IndexOutOfBoundsException</type>
if nInsertionIndex is outside the permissible range.
*/
- Caret getCaret( [in] long nInsertionIndex,
+ Caret getCaret( [in] long nInsertionIndex,
[in] boolean bExcludeLigatures )
- raises (com::sun::star::lang::IndexOutOfBoundsException);
+ raises (com::sun::star::lang::IndexOutOfBoundsException);
//-------------------------------------------------------------------------
@@ -324,10 +302,10 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
if nStartIndex or nCaretAdvancement is outside the permissible
range.
*/
- long getNextInsertionIndex( [in] long nStartIndex,
- [in] long nCaretAdvancement,
+ long getNextInsertionIndex( [in] long nStartIndex,
+ [in] long nCaretAdvancement,
[in] boolean bExcludeLigatures )
- raises (com::sun::star::lang::IndexOutOfBoundsException);
+ raises (com::sun::star::lang::IndexOutOfBoundsException);
//-------------------------------------------------------------------------
@@ -349,7 +327,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
if nStartIndex or nEndIndex are outside the permissible
range.
*/
- XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex,
+ XPolyPolygon2D queryVisualHighlighting( [in] long nStartIndex,
[in] long nEndIndex )
raises (com::sun::star::lang::IndexOutOfBoundsException);
@@ -375,7 +353,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
if nStartIndex or nEndIndex are outside the permissible
range.
*/
- XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex,
+ XPolyPolygon2D queryLogicalHighlighting( [in] long nStartIndex,
[in] long nEndIndex )
raises (com::sun::star::lang::IndexOutOfBoundsException);
@@ -419,7 +397,7 @@ interface XTextLayout : ::com::sun::star::uno::XInterface
/** Request the text this layout contains.
- @returns the text this layout contains.
+ @returns the text this layout contains.
*/
StringContext getText();