diff options
Diffstat (limited to 'offapi/com/sun/star/text/XParagraphAppend.idl')
-rw-r--r-- | offapi/com/sun/star/text/XParagraphAppend.idl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/offapi/com/sun/star/text/XParagraphAppend.idl b/offapi/com/sun/star/text/XParagraphAppend.idl index 9c2ce13ec87b..343ca9eede29 100644 --- a/offapi/com/sun/star/text/XParagraphAppend.idl +++ b/offapi/com/sun/star/text/XParagraphAppend.idl @@ -37,7 +37,7 @@ interface XParagraphAppend : com::sun::star::uno::XInterface { /** appends a new and empty paragraph at the end of the text. - <p>The properties are applied to the new paragraph. + <p>The properties are applied to the last paragraph before the new paragraph is inserted. </p> @param @@ -45,10 +45,11 @@ interface XParagraphAppend : com::sun::star::uno::XInterface <type scope="com::sun::star::text">Paragraph. */ - com::sun::star::text::XTextRange appendParagraph( [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties ) + com::sun::star::text::XTextRange finishParagraph( [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties ) raises( com::sun::star::lang::IllegalArgumentException, com::sun::star::beans::UnknownPropertyException ); - /** appends a new and empty paragraph at the end of the text. + + /** inserts a new and empty paragraph to the text at a given position. <p>The properties are applied to the last paragraph before the new paragraph is inserted. </p> @@ -57,8 +58,14 @@ interface XParagraphAppend : com::sun::star::uno::XInterface CharacterAndParagraphProperties can contain all the properties defined by the service <type scope="com::sun::star::text">Paragraph. + @param + TextRange specifies the position of the insertion. + + @since LibreOffice 4.0 + */ - com::sun::star::text::XTextRange finishParagraph( [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties ) + com::sun::star::text::XTextRange finishParagraphInsert( [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 ); |