LibreOffice: com/sun/star/text/Shape.idl Source File

LibreOffice LibreOffice 5.4 SDK API Reference

Shape.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 #ifndef __com_sun_star_text_Shape_idl__
20 #define __com_sun_star_text_Shape_idl__
21
22 #include <com/sun/star/text/TextContent.idl>
23 #include <com/sun/star/text/XTextFrame.idl>
24 #include <com/sun/star/text/XTextRange.idl>
25 #include <com/sun/star/drawing/Shape.idl>
26 #include <com/sun/star/text/TextContentAnchorType.idl>
27 #include <com/sun/star/text/WrapTextMode.idl>
28
29
30 module com { module sun { module star { module text {
31
32
35 published service Shape
36 {
37 service com::sun::star::drawing::Shape;
43 [property] short AnchorPageNo;
48 [property] com::sun::star::text::XTextFrame AnchorFrame;
52 [optional, property] com::sun::star::text::TextContentAnchorType AnchorType;
57 [property] short HoriOrient;
61 [property] long HoriOrientPosition;
62
68 [property] short HoriOrientRelation;
69
74 [property] short VertOrient;
75
81 [property] long VertOrientPosition;
82
83
88 [property] short VertOrientRelation;
91 [property] long LeftMargin;
92
95 [property] long RightMargin;
96
99 [property] long TopMargin;
100
103 [property] long BottomMargin;
108 [property] com::sun::star::text::WrapTextMode Surround;
112 [property] boolean SurroundAnchorOnly;
113
116 [property] boolean SurroundContour;
117
120 [property] boolean ContourOutside;
123 [property] boolean Opaque;
136 [property] com::sun::star::text::XTextRange TextRange;
137
147 [optional, property] short WrapInfluenceOnPosition;
148
159 [optional, readonly, property] com::sun::star::drawing::HomogenMatrix3 TransformationInHoriL2R;
167 [optional, property] short PositionLayoutDir;
178 [optional, readonly, property] com::sun::star::awt::Point StartPositionInHoriL2R;
189 [optional, readonly, property] com::sun::star::awt::Point EndPositionInHoriL2R;
190 };
191
192
193 }; }; }; };
194
195 #endif
196
197 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::text::Shape::TopMargin
long TopMargin
contains the top margin of the object.
Definition: Shape.idl:99
XTextRange.idl
com::sun::star::text::XTextFrame
provides access to the Text of a TextFrame.
Definition: XTextFrame.idl:32
com::sun::star::text::Shape::BottomMargin
long BottomMargin
contains the bottom margin of the object.
Definition: Shape.idl:103
com::sun::star::text::Shape::PositionLayoutDir
short PositionLayoutDir
determines layout direction the position attributes of the shape is given
Definition: Shape.idl:167
com::sun::star::text::Shape::VertOrientPosition
long VertOrientPosition
contains the vertical position of the object (1/100 mm).
Definition: Shape.idl:81
com::sun::star::awt::Point
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition: Point.idl:29
com::sun::star::text::TextContentAnchorType
TextContentAnchorType
specify how the text content is attached to its surrounding text.
Definition: TextContentAnchorType.idl:29
WrapTextMode.idl
com::sun::star::text::Shape::TransformationInHoriL2R
com::sun::star::drawing::HomogenMatrix3 TransformationInHoriL2R
determines the transformation of the shape in horizontal left-to-right layout
Definition: Shape.idl:159
Shape.idl
com::sun::star::text::Shape::LeftMargin
long LeftMargin
contains the left margin of the object.
Definition: Shape.idl:91
com
Definition: Ambiguous.idl:22
com::sun::star::text::Shape::RightMargin
long RightMargin
contains the right margin of the object.
Definition: Shape.idl:95
com::sun::star::text::Shape::Opaque
boolean Opaque
determines if the object is opaque or transparent for text.
Definition: Shape.idl:123
com::sun::star::drawing::Shape
This abstract service specifies the general characteristics of all Shapes.
Definition: Shape.idl:43
com::sun::star::text::Shape::SurroundAnchorOnly
boolean SurroundAnchorOnly
determines if the text of the paragraph in which the object is anchored, wraps around the object...
Definition: Shape.idl:112
com::sun::star::text::Shape::HoriOrient
short HoriOrient
determines the horizontal orientation of the object.
Definition: Shape.idl:57
XTextFrame.idl
com::sun::star::text::XTextRange
describes the object&#39;s position in a text.
Definition: XTextRange.idl:37
com::sun::star::text::Shape::WrapInfluenceOnPosition
short WrapInfluenceOnPosition
determines the influence of the text wrap on the positioning of the shape
Definition: Shape.idl:147
com::sun::star::text::Shape
specifies the service of shapes in a text document
Definition: Shape.idl:35
com::sun::star::text::Shape::Surround
com::sun::star::text::WrapTextMode Surround
determines the type of the surrounding text.
Definition: Shape.idl:108
com::sun::star::text::Shape::HoriOrientPosition
long HoriOrientPosition
contains the horizontal position of the object (1/100 mm).
Definition: Shape.idl:61
com::sun::star::text::Shape::TextRange
com::sun::star::text::XTextRange TextRange
contains a text range where the shape should be anchored to.
Definition: Shape.idl:136
com::sun::star::drawing::HomogenMatrix3
specifies a homogeneous matrix by three homogeneous lines
Definition: HomogenMatrix3.idl:30
com::sun::star::text::Shape::ContourOutside
boolean ContourOutside
the text flows only around the contour of the object.
Definition: Shape.idl:120
TextContentAnchorType.idl
com::sun::star::text::Shape::SurroundContour
boolean SurroundContour
determines if the text wraps around the contour of the object.
Definition: Shape.idl:116
com::sun::star::text::WrapTextMode
WrapTextMode
enumeration values specify the text wrap around objects in a text.
Definition: WrapTextMode.idl:28
com::sun::star::text::Shape::StartPositionInHoriL2R
com::sun::star::awt::Point StartPositionInHoriL2R
determines the start position of the shape in horizontal left-to-right layout
Definition: Shape.idl:178
com::sun::star::text::Shape::AnchorFrame
com::sun::star::text::XTextFrame AnchorFrame
contains the text frame the current frame is anchored to.
Definition: Shape.idl:48
com::sun::star::text::Shape::EndPositionInHoriL2R
com::sun::star::awt::Point EndPositionInHoriL2R
determines the end position of the shape in horizontal left-to-right layout
Definition: Shape.idl:189
com::sun::star::text::Shape::VertOrientRelation
short VertOrientRelation
determines the environment of the object to which the orientation is related.
Definition: Shape.idl:88
com::sun::star::text::Shape::VertOrient
short VertOrient
determines the vertical orientation of the object.
Definition: Shape.idl:74
com::sun::star::text::Shape::AnchorType
com::sun::star::text::TextContentAnchorType AnchorType
specifies how the text content is attached to its surrounding Text.
Definition: Shape.idl:52
TextContent.idl
com::sun::star::text::Shape::HoriOrientRelation
short HoriOrientRelation
determines the environment of the object to which the orientation is related.
Definition: Shape.idl:68