LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | Public Attributes | List of all members
TextContent Service Referencepublished

is an object which can be anchored in a text, like instances of TextFrame or TextField. More...

import "TextContent.idl";

Inheritance diagram for TextContent:
XTextContent XComponent XInterface BaseFrame BaseIndexMark Bookmark ContentIndexMark DocumentIndexMark InContentMetadata Paragraph TextField TextSection TextTable UserIndexMark

Exported Interfaces

interface com::sun::star::text::XTextContent
 This interface is used for the attachment of this text content to the surrounding text. More...
 

Public Attributes

com::sun::star::text::TextContentAnchorType AnchorType
 specifies how the text content is attached to its surrounding Text. More...
 
sequence
< com::sun::star::text::TextContentAnchorType
AnchorTypes
 contains the anchor type of the text content. More...
 
com::sun::star::text::WrapTextMode TextWrap
 specifies if the text content is a shape and how the text is wrapped around the shape. More...
 

Additional Inherited Members

- Public Member Functions inherited from XTextContent
void attach ([in] com::sun::star::text::XTextRange xTextRange) raises ( com::sun::star::lang::IllegalArgumentException )
 is called when this object gets embedded in a text. More...
 
com::sun::star::text::XTextRange getAnchor ()
 

Detailed Description

is an object which can be anchored in a text, like instances of TextFrame or TextField.

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

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

See Also
TextField
TextTable
TextFrame
TextSection
TextGraphicObject
TextEmbeddedObject
Developers Guide
Text - Editing Text - Text Contents Other Than Strings

Exported Interfaces

This interface is used for the attachment of this text content to the surrounding text.

Member Data Documentation

com::sun::star::text::TextContentAnchorType AnchorType
optionalproperty

specifies how the text content is attached to its surrounding Text.

sequence<com::sun::star::text::TextContentAnchorType> AnchorTypes
optionalpropertyreadonly

contains the anchor type of the text content.

See Also
com::sun::star::text::TextContentAnchorType
com::sun::star::text::WrapTextMode TextWrap
optionalproperty

specifies if the text content is a shape and how the text is wrapped around the shape.


The documentation for this service was generated from the following file: