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

interface XRelativeTextContentRemove

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