LibreOffice
LibreOffice 24.2 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 
20 
21  module com { module sun { module star { module text {
22 
23 
26 published service Shape
27 {
34  [property] short AnchorPageNo;
48  [property] short HoriOrient;
52  [property] long HoriOrientPosition;
53 
59  [property] short HoriOrientRelation;
60 
65  [property] short VertOrient;
66 
72  [property] long VertOrientPosition;
73 
74 
79  [property] short VertOrientRelation;
82  [property] long LeftMargin;
83 
86  [property] long RightMargin;
87 
90  [property] long TopMargin;
91 
94  [property] long BottomMargin;
103  [property] boolean SurroundAnchorOnly;
104 
107  [property] boolean SurroundContour;
108 
111  [property] boolean ContourOutside;
114  [property] boolean Opaque;
128 
138  [optional, property] short WrapInfluenceOnPosition;
139 
158  [optional, property] short PositionLayoutDir;
169  [optional, readonly, property] com::sun::star::awt::Point StartPositionInHoriL2R;
180  [optional, readonly, property] com::sun::star::awt::Point EndPositionInHoriL2R;
181 
185  [optional, property] boolean AllowOverlap;
186 };
187 
188 
189 }; }; }; };
190 
191 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
long TopMargin
contains the top margin of the object.
Definition: Shape.idl:90
provides access to the Text of a TextFrame.
Definition: XTextFrame.idl:27
long BottomMargin
contains the bottom margin of the object.
Definition: Shape.idl:94
short PositionLayoutDir
determines layout direction the position attributes of the shape is given
Definition: Shape.idl:158
long VertOrientPosition
contains the vertical position of the object (1/100 mm).
Definition: Shape.idl:72
boolean AllowOverlap
This defines if the shape is allowed to overlap with other anchored objects.
Definition: Shape.idl:185
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition: Point.idl:27
TextContentAnchorType
specify how the text content is attached to its surrounding text.
Definition: TextContentAnchorType.idl:27
com::sun::star::drawing::HomogenMatrix3 TransformationInHoriL2R
determines the transformation of the shape in horizontal left-to-right layout
Definition: Shape.idl:150
long LeftMargin
contains the left margin of the object.
Definition: Shape.idl:82
Definition: Ambiguous.idl:20
long RightMargin
contains the right margin of the object.
Definition: Shape.idl:86
boolean Opaque
determines if the object is opaque or transparent for text.
Definition: Shape.idl:114
This abstract service specifies the general characteristics of all Shapes.
Definition: Shape.idl:31
boolean SurroundAnchorOnly
determines if the text of the paragraph in which the object is anchored, wraps around the object...
Definition: Shape.idl:103
short HoriOrient
determines the horizontal orientation of the object.
Definition: Shape.idl:48
describes the object's position in a text.
Definition: XTextRange.idl:33
short WrapInfluenceOnPosition
determines the influence of the text wrap on the positioning of the shape
Definition: Shape.idl:138
specifies the service of shapes in a text document
Definition: Shape.idl:26
com::sun::star::text::WrapTextMode Surround
determines the type of the surrounding text.
Definition: Shape.idl:99
long HoriOrientPosition
contains the horizontal position of the object (1/100 mm).
Definition: Shape.idl:52
com::sun::star::text::XTextRange TextRange
contains a text range where the shape should be anchored to.
Definition: Shape.idl:127
specifies a homogeneous matrix by three homogeneous lines
Definition: HomogenMatrix3.idl:26
boolean ContourOutside
the text flows only around the contour of the object.
Definition: Shape.idl:111
boolean SurroundContour
determines if the text wraps around the contour of the object.
Definition: Shape.idl:107
WrapTextMode
enumeration values specify the text wrap around objects in a text.
Definition: WrapTextMode.idl:26
com::sun::star::awt::Point StartPositionInHoriL2R
determines the start position of the shape in horizontal left-to-right layout
Definition: Shape.idl:169
com::sun::star::text::XTextFrame AnchorFrame
contains the text frame the current frame is anchored to.
Definition: Shape.idl:39
com::sun::star::awt::Point EndPositionInHoriL2R
determines the end position of the shape in horizontal left-to-right layout
Definition: Shape.idl:180
short VertOrientRelation
determines the environment of the object to which the orientation is related.
Definition: Shape.idl:79
short VertOrient
determines the vertical orientation of the object.
Definition: Shape.idl:65
com::sun::star::text::TextContentAnchorType AnchorType
specifies how the text content is attached to its surrounding Text.
Definition: Shape.idl:43
short HoriOrientRelation
determines the environment of the object to which the orientation is related.
Definition: Shape.idl:59