Inserting a Paragraph where no Cursor can go

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 11:17, 25 October 2019 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The service has an optional interface which is available in Text services in Writer. The intention of this interface is to insert paragraphs in positions where no cursor or text portion can be located to use the insertTextContent() method. These situation occurs when text sections or text tables are at the start or end of the document, or if they follow each other directly.

 void insertTextContentBefore( [in] com::sun::star::text::XTextContent xNewContent,
                               [in] com::sun::star::text::XTextContent xSuccessor) 
 void insertTextContentAfter( [in] com::sun::star::text::XTextContent xNewContent, 
                              [in] com::sun::star::text::XTextContent xPredecessor) 

The only supported text contents are as new content, and and as successor or predecessor.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages