:: 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 preceeds 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 preceeds 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 followin text tables espacially in headers, footers or text frames.

Top of Page