module com { module sun { module star { module text {
/** specifies the service of shapes in a text document
*/
published service Shape
{
service com::sun::star::drawing::Shape; /** contains the number of the page where the objects are anchored. <p>Thevalueisvalidonlyifthe AnchorTypeis TextContentAnchorType::AT_PAGE.</p>
*/
[property] short AnchorPageNo; /** contains the text frame the current frame is anchored to. <p>Thevalueisvalidonlyifthe AnchorTypeisTextContentAnchorType::AT_FRAME.</p>
*/
[property] com::sun::star::text::XTextFrame AnchorFrame; /** specifies how the text content is attached to its surrounding Text.
*/
[optional, property] com::sun::star::text::TextContentAnchorType AnchorType; /** determines the horizontal orientation of the object.
@seecom::sun::star::text::HoriOrientation
*/
[property] short HoriOrient; /** contains the horizontal position of the object (1/100 mm). <p>ItisonlyvalidifHoriOrientiscom::sun::star::text::HoriOrientation::NONE.</p>
*/
[property] long HoriOrientPosition;
/** determines the environment of the object to which the orientation isrelated.
@seecom::sun::star::text::RelOrientation
*/
[property] short HoriOrientRelation;
/** determines the vertical orientation of the object.
@seecom::sun::star::text::VertOrientation
*/
[property] short VertOrient;
/** contains the vertical position of the object (1/100 mm).
ItisonlyvalidifVertOrientis com::sun::star::text::VertOrientation::NONE.
*/
[property] long VertOrientPosition;
/** determines the environment of the object to which the orientation is related.
@seecom::sun::star::text::RelOrientation
*/
[property] short VertOrientRelation; /** contains the left margin of the object.
*/
[property] long LeftMargin;
/** contains the right margin of the object.
*/
[property] long RightMargin;
/** contains the top margin of the object.
*/
[property] long TopMargin;
/** contains the bottom margin of the object.
*/
[property] long BottomMargin; /** determines the type of the surrounding text.
@deprecated
*/
[property] com::sun::star::text::WrapTextMode Surround; /** determines if the text of the paragraph in which the object isanchored,wrapsaroundtheobject.
*/
[property] boolean SurroundAnchorOnly;
/** determines if the text wraps around the contour of the object.
*/
[property] boolean SurroundContour;
/** the text flows only around the contour of the object.
*/
[property] boolean ContourOutside; /** determines if the object is opaque or transparent for text.
*/
[property] boolean Opaque; /** contains a text range where the shape should be anchored to. <p>Therearetwodifferentwaystogetnewlycreatedshapesintothe textdocument.OneofthemistousetheinsertTextContent()methodof thecom::sun::star::text::XSimpleText.Theotheristocalltheadd() methodofthecom::sun::star::drawing::XShapesinterface. Tobeabletodetermineananchorpositionforshapethatareanchoredatacertain textpositionthepropertyTextRangeisused.</p>
@sinceOOo2.0
*/
[optional, readonly, property] com::sun::star::drawing::HomogenMatrix3 TransformationInHoriL2R; /** determines layout direction the position attributes of the shape isgiven
<p>Validvaluesaregivenby#PositionLayoutDir</p>
@sinceOOo2.0
*/
[optional, property] short PositionLayoutDir; /** determines the start position of the shape in horizontal left-to-right layout
@sinceOOo2.0
*/
[optional, readonly, property] com::sun::star::awt::Point StartPositionInHoriL2R; /** determines the end position of the shape in horizontal left-to-right layout
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.