diff options
Diffstat (limited to 'offapi/com/sun/star/text/XTextPortionAppend.idl')
-rw-r--r-- | offapi/com/sun/star/text/XTextPortionAppend.idl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/XTextPortionAppend.idl b/offapi/com/sun/star/text/XTextPortionAppend.idl index a1aaf5872e40..3c6c478efa93 100644 --- a/offapi/com/sun/star/text/XTextPortionAppend.idl +++ b/offapi/com/sun/star/text/XTextPortionAppend.idl @@ -53,6 +53,31 @@ interface XTextPortionAppend : com::sun::star::uno::XInterface raises( com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::UnknownPropertyException ); + /** inserts a new text portion to the paragraph at a given position. + + <p> The sequence can contain all the properties defined by the service <type scope="com::sun::star::text">TextPortion. + </p> + + @param + Text contains the text to be inserted. + + @param + CharacterAndParagraphProperties can contain all the properties defined by the service + <type scope="com::sun::star::text">Paragraph. + + @param + TextRange specifies the position of the insert. + + @since LibreOffice 4.0 + + */ + 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 ); + }; |