LibreOffice
LibreOffice 6.2 SDK API Reference
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::TextContentAnchorTypeAnchorTypes
 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 ()
 
- Public Member Functions inherited from XComponent
void dispose ()
 The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. More...
 
void addEventListener ([in] XEventListener xListener)
 adds an event listener to the object. More...
 
void removeEventListener ([in] XEventListener aListener)
 removes an event listener from the listener list. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

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: