interface XRelativeTextContentInsert in module com::sun::star::text::

(Global Index)

[ DEPRECATED ]

Syntax

interface XRelativeTextContentInsert : com::sun::star::uno::XInterface ;

Description

makes it possible to insert new text contents before or after existing text contents.

Method Summary

insertTextContentBefore inserts text the new text content before of the successor argument.

insertTextContentAfter inserts text the new text content after the predecessor argument.

Known Services Which Export this Interface

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

Method Details



insertTextContentBefore

Syntax

void insertTextContentBefore (
com::sun::star::text::XTextContent xNewContent,
com::sun::star::text::XTextContent xSuccessor )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

inserts text the new text content before of the successor argument.

This is helpful to insert paragraphs before of text tables.


insertTextContentAfter

Syntax

void insertTextContentAfter (
com::sun::star::text::XTextContent xNewContent,
com::sun::star::text::XTextContent xPredecessor )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

inserts text the new text content after the predecessor argument.

This is helpful to insert paragraphs after text tables escpecially in headers, footers or text frames.

Top of Page