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

unpublished interface XTextPortionAppend
Usage Restrictions
not published
Description
.

Methods' Summary
appendTextPortion appends a new text portion to the paragraph at the end of the text.  
insertTextPortion inserts a new text portion to the paragraph at a given position.  
Methods' Details
appendTextPortion
XTextRange
appendTextPortion( [in] string  Text,
[in] ::com::sun::star::beans::PropertyValues  CharacterAndParagraphProperties )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::beans::UnknownPropertyException );

Description
appends a new text portion to the paragraph at the end of the text.

The sequence can contain all the properties defined by the service

Parameter Text
contains the text to be appended.
Parameter CharacterAndParagraphProperties
can contain all the properties defined by the service
insertTextPortion
XTextRange
insertTextPortion( [in] string  Text,
[in] ::com::sun::star::beans::PropertyValues  CharacterAndParagraphProperties,
[in] XTextRange  TextRange )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::beans::UnknownPropertyException );

Description
inserts a new text portion to the paragraph at a given position.

The sequence can contain all the properties defined by the service

Parameter Text
contains the text to be inserted.
Parameter CharacterAndParagraphProperties
can contain all the properties defined by the service
Parameter TextRange
specifies the position of the insert.
Since
LibreOffice 4.0
Top of Page