LibreOffice
LibreOffice 24.8 SDK API Reference
|
allows inserting and appending formatted text portions. More...
import <XTextPortionAppend.idl;
allows inserting and appending formatted text portions.
com::sun::star::text::XTextRange appendTextPortion | ( | [in] string | Text, | |||
[in] com::sun::star::beans::PropertyValues | CharacterAndParagraphProperties ) | |||||
raises | ( | com::sun::star::lang::IllegalArgumentException, | ||||
com::sun::star::beans::UnknownPropertyException, | ||||||
com::sun::star::beans::PropertyVetoException ) |
com::sun::star::text::XTextRange insertTextPortion | ( | [in] string | Text, | |||
[in] com::sun::star::beans::PropertyValues | CharacterAndParagraphProperties, | |||||
[in] com::sun::star::text::XTextRange | TextRange ) | |||||
raises | ( | com::sun::star::lang::IllegalArgumentException, | ||||
com::sun::star::beans::UnknownPropertyException, | ||||||
com::sun::star::beans::PropertyVetoException ) |
inserts a new text portion to the paragraph at a given position.
<p> The sequence can contain all the properties defined by the service TextPortion.
Text | contains the text to be inserted. |
CharacterAndParagraphProperties | can contain all the properties defined by the service Paragraph. |
TextRange | specifies the position of the insert. |