:: com :: sun :: star :: text ::

service TextContent
Description
is an object which can be anchored in a text, like instances of ::com::sun::star::text::TextFrame or ::com::sun::star::text::TextFields .

If the concrete ::com::sun::star::text::TextContent has a textual representation which fades into the surrounding text, then ::com::sun::star::text::XTextField is used.

If the concrete ::com::sun::star::text::TextContent has a "floating" object, like a graphic, ::com::sun::star::drawing::XShape is used.

See also
::com::sun::star::text::TextField, ::com::sun::star::text::TextTable, ::com::sun::star::text::TextFrame, ::com::sun::star::text::TextSection, ::com::sun::star::text::TextGraphicObject, ::com::sun::star::text::TextEmbeddedObject
Developers Guide
Exported Interfaces
::com::sun::star::text::XTextContent
Description
This interface is used for the attachment of this text content to the surrounding text.
Properties' Summary
::com::sun::star::text::TextContentAnchorType
AnchorType
[ OPTIONAL ]
specifies how the text content is attached to its surrounding ::com::sun::star::drawing::Text .  
[ readonly ] sequence< ::com::sun::star::text::TextContentAnchorType >
AnchorTypes
[ OPTIONAL ]
contains the anchor type of the text content.  
::com::sun::star::text::WrapTextMode
TextWrap
[ OPTIONAL ]
specifies if the text content is a shape and how the text is wrapped around the shape.  
Properties' Details
AnchorType
::com::sun::star::text::TextContentAnchorType AnchorType;
Usage Restrictions
optional
Description
specifies how the text content is attached to its surrounding ::com::sun::star::drawing::Text .
AnchorTypes
[ readonly ] sequence< ::com::sun::star::text::TextContentAnchorType > AnchorTypes;
Usage Restrictions
optional
Description
contains the anchor type of the text content.
See also
::com::sun::star::text::TextContentAnchorType
TextWrap
::com::sun::star::text::WrapTextMode TextWrap;
Usage Restrictions
optional
Description
specifies if the text content is a shape and how the text is wrapped around the shape.

 
Top of Page