Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.