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

deprecated interface XRelativeTextContentRemove
Usage Restrictions
deprecated
Description
makes it possible to remove text contents before or after existing text contents.

Methods' Summary
removeTextContentBefore removes the text content that precedes the argument.  
removeTextContentAfter removes the text content that follows the argument.  
Methods' Details
removeTextContentBefore
void
removeTextContentBefore( [in] XTextContent  xSuccessor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
removes the text content that precedes the argument.

This is helpful to remove empty paragraphs before text tables.

removeTextContentAfter
void
removeTextContentAfter( [in] XTextContent  xPredecessor )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
removes the text content that follows the argument.

This is helpful to remove empty paragraphs following text tables especially in headers, footers or text frames.

Top of Page