LibreOffice
LibreOffice 24.2 SDK API Reference
|
is an independent piece of text which consists of a series of one or more paragraphs. More...
import"Text.idl";
Exported Interfaces | |
interface | com::sun::star::container::XEnumerationAccess |
This is the factory for an enumeration of the paragraphs in this text. More... | |
interface | XText |
provides a cursor factory and the possibility to insert and remove contents. More... | |
interface | XTextRangeCompare |
optional interface to compare positions of TextRange instances within this text. More... | |
interface | XTextRangeMover |
makes it possible to change the position of paragraphs. More... | |
interface | XRelativeTextContentInsert |
makes it possible to insert a new text content, before or after existing text contents. More... | |
Public Attributes | |
::com::sun::star::beans::PropertyValues | StartRedline |
contains the properties of a redline at the start of the document. More... | |
::com::sun::star::beans::PropertyValues | EndRedline |
contains the properties of a redline at the start of the document. More... | |
Additional Inherited Members | |
Public Member Functions inherited from XEnumerationAccess | |
com::sun::star::container::XEnumeration | createEnumeration () |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
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... | |
Public Member Functions inherited from XText | |
void | insertTextContent ([in] com::sun::star::text::XTextRange xRange, [in] com::sun::star::text::XTextContent xContent, [in] boolean bAbsorb) raises ( com::sun::star::lang::IllegalArgumentException ) |
inserts a content, such as a text table, text frame or text field. More... | |
void | removeTextContent ([in] com::sun::star::text::XTextContent xContent) raises ( com::sun::star::container::NoSuchElementException ) |
removes the specified content from the text object. More... | |
Public Member Functions inherited from XSimpleText | |
com::sun::star::text::XTextCursor | createTextCursor () |
com::sun::star::text::XTextCursor | createTextCursorByRange ([in] com::sun::star::text::XTextRange aTextPosition) |
void | insertString ([in] com::sun::star::text::XTextRange xRange, [in] string aString, [in] boolean bAbsorb) |
inserts a string of characters into the text. More... | |
void | insertControlCharacter ([in] com::sun::star::text::XTextRange xRange, [in] short nControlCharacter, [in] boolean bAbsorb) raises ( com::sun::star::lang::IllegalArgumentException ) |
inserts a control character (like a paragraph break or a hard space) into the text. More... | |
Public Member Functions inherited from XTextRange | |
XText | getText () |
XTextRange | getStart () |
XTextRange | getEnd () |
string | getString () |
void | setString ([in] string aString) |
the whole string of characters of this piece of text is replaced. More... | |
Protected Member Functions inherited from XTextRangeCompare | |
short | compareRegionStarts ([in] XTextRange xR1, [in] XTextRange xR2) raises ( com::sun::star::lang::IllegalArgumentException ) |
short | compareRegionEnds ([in] XTextRange xR1, [in] XTextRange xR2) raises ( com::sun::star::lang::IllegalArgumentException ) |
Protected Member Functions inherited from XTextRangeMover | |
void | moveTextRange ([in] com::sun::star::text::XTextRange xRange, [in] short nParagraphs) |
moves the contents to which xRange refers forward or backward. More... | |
Protected Member Functions inherited from XRelativeTextContentInsert | |
void | insertTextContentBefore ([in] XTextContent xNewContent, [in] XTextContent xSuccessor) raises ( com::sun::star::lang::IllegalArgumentException ) |
inserts text the new text content before of the successor argument. More... | |
void | insertTextContentAfter ([in] XTextContent xNewContent, [in] XTextContent xPredecessor) raises ( com::sun::star::lang::IllegalArgumentException ) |
inserts text the new text content after the predecessor argument. More... | |
is an independent piece of text which consists of a series of one or more paragraphs.
This service is used, for example, for the text of a TextDocument or the text in a cell or TextFrame.
This is the factory for an enumeration of the paragraphs in this text.
This interface is mainly useful for exporting the text to a data format.
|
optional |
makes it possible to insert a new text content, before or after existing text contents.
interface XText |
provides a cursor factory and the possibility to insert and remove contents.
|
optional |
optional interface to compare positions of TextRange instances within this text.
|
optional |
makes it possible to change the position of paragraphs.
|
optionalpropertymaybevoid |
contains the properties of a redline at the start of the document.
The sequence contains the following properties
string RedlineAuthor
com::sun::star::util::DateTime RedlineDate_Time
string RedlineComment
string RedlineType
string RedlineIdentifier
boolean IsCollapsed
boolean IsStart
boolean MergeLastPara
[maybevoid] com::sun::star::text::XText RedlineText (maybevoid)
com::sun::star::beans::PropertyValues RedlineSuccessorData (contains the same properties except for the RedlineSuccessorData)
|
optionalproperty |
contains the properties of a redline at the start of the document.
The sequence contains the following properties
string RedlineAuthor
com::sun::star::util::DateTime RedlineDate_Time
string RedlineComment
string RedlineType
string RedlineIdentifier
boolean IsCollapsed
boolean IsStart
boolean MergeLastPara
[maybevoid] com::sun::star::text::XText RedlineText (maybevoid)
com::sun::star::beans::PropertyValues RedlineSuccessorData (contains the same properties except for the RedlineSuccessorData)