(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

deprecated interface XRelativeTextContentInsert
Usage Restrictions
deprecated
Description
makes it possible to insert new text contents before or after existing text contents.
Developers Guide
Text - Inserting a Paragraph where no Cursor can go

Methods' Summary
insertTextContentBefore inserts text the new text content before of the successor argument.  
insertTextContentAfter inserts text the new text content after the predecessor argument.  
Methods' Details
insertTextContentBefore
void
insertTextContentBefore( [in] XTextContent  xNewContent,
[in] 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
void
insertTextContentAfter( [in] XTextContent  xNewContent,
[in] 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

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.