LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
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
26published 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;
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: */
provides access to the Text of a TextFrame.
Definition XTextFrame.idl:28
describes the object's position in a text.
Definition XTextRange.idl:34
WrapTextMode
enumeration values specify the text wrap around objects in a text.
Definition WrapTextMode.idl:27
TextContentAnchorType
specify how the text content is attached to its surrounding text.
Definition TextContentAnchorType.idl:28
Definition Ambiguous.idl:20
This abstract service specifies the general characteristics of all Shapes.
Definition Shape.idl:32
short VertOrient
determines the vertical orientation of the object.
Definition Shape.idl:65
com::sun::star::awt::Point EndPositionInHoriL2R
determines the end position of the shape in horizontal left-to-right layout
Definition Shape.idl:180
long RightMargin
contains the right margin of the object.
Definition Shape.idl:86
service com::sun::star::drawing::Shape
Definition Shape.idl:28
com::sun::star::text::XTextRange TextRange
contains a text range where the shape should be anchored to.
Definition Shape.idl:127
short HoriOrientRelation
determines the environment of the object to which the orientation is related.
Definition Shape.idl:59
com::sun::star::text::XTextFrame AnchorFrame
contains the text frame the current frame is anchored to.
Definition Shape.idl:39
short WrapInfluenceOnPosition
determines the influence of the text wrap on the positioning of the shape
Definition Shape.idl:138
long HoriOrientPosition
contains the horizontal position of the object (1/100 mm).
Definition Shape.idl:52
long TopMargin
contains the top margin of the object.
Definition Shape.idl:90
long BottomMargin
contains the bottom margin of the object.
Definition Shape.idl:94
long VertOrientPosition
contains the vertical position of the object (1/100 mm).
Definition Shape.idl:72
boolean Opaque
determines if the object is opaque or transparent for text.
Definition Shape.idl:114
short AnchorPageNo
contains the number of the page where the objects are anchored.
Definition Shape.idl:34
com::sun::star::awt::Point StartPositionInHoriL2R
determines the start position of the shape in horizontal left-to-right layout
Definition Shape.idl:169
boolean SurroundContour
determines if the text wraps around the contour of the object.
Definition Shape.idl:107
boolean SurroundAnchorOnly
determines if the text of the paragraph in which the object is anchored, wraps around the object.
Definition Shape.idl:103
long LeftMargin
contains the left margin of the object.
Definition Shape.idl:82
com::sun::star::drawing::HomogenMatrix3 TransformationInHoriL2R
determines the transformation of the shape in horizontal left-to-right layout
Definition Shape.idl:150
boolean ContourOutside
the text flows only around the contour of the object.
Definition Shape.idl:111
com::sun::star::text::WrapTextMode Surround
determines the type of the surrounding text.
Definition Shape.idl:99
boolean AllowOverlap
This defines if the shape is allowed to overlap with other anchored objects.
Definition Shape.idl:185
com::sun::star::text::TextContentAnchorType AnchorType
specifies how the text content is attached to its surrounding Text.
Definition Shape.idl:43
short VertOrientRelation
determines the environment of the object to which the orientation is related.
Definition Shape.idl:79
short PositionLayoutDir
determines layout direction the position attributes of the shape is given
Definition Shape.idl:158
short HoriOrient
determines the horizontal orientation of the object.
Definition Shape.idl:48
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition Point.idl:28
specifies a homogeneous matrix by three homogeneous lines
Definition HomogenMatrix3.idl:27