LibreOffice LibreOffice 25.2 SDK API Reference

XTextPortionAppend.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21 module com { module sun { module star { module text {
22
23
26 interface XTextPortionAppend : com::sun::star::uno::XInterface
27{
28
41 com::sun::star::text::XTextRange appendTextPortion(
42 [in] string Text,
43 [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties )
44 raises( com::sun::star::lang::IllegalArgumentException,
45 com::sun::star::beans::UnknownPropertyException,
46 com::sun::star::beans::PropertyVetoException );
47
66 com::sun::star::text::XTextRange insertTextPortion(
67 [in] string Text,
68 [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties,
69 [in] com::sun::star::text::XTextRange TextRange)
70 raises( com::sun::star::lang::IllegalArgumentException,
71 com::sun::star::beans::UnknownPropertyException,
72 com::sun::star::beans::PropertyVetoException );
73
74};
75
76
77}; }; }; };
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::beans::PropertyVetoException
This exception is thrown when a proposed change to a property represents an unacceptable value.
Definition: PropertyVetoException.idl:31
com::sun::star::beans::UnknownPropertyException
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:31
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::text::XTextPortionAppend
allows inserting and appending formatted text portions.
Definition: XTextPortionAppend.idl:27
com::sun::star::text::XTextPortionAppend::insertTextPortion
com::sun::star::text::XTextRange insertTextPortion([in] string Text, [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties, [in] com::sun::star::text::XTextRange TextRange)
inserts a new text portion to the paragraph at a given position.
com::sun::star::text::XTextPortionAppend::appendTextPortion
com::sun::star::text::XTextRange appendTextPortion([in] string Text, [in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties)
appends a new text portion to the paragraph at the end of the text.
com::sun::star::text::XTextRange
describes the object's position in a text.
Definition: XTextRange.idl:34
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::beans::PropertyValues
sequence< PropertyValue > PropertyValues
specifies a sequence of PropertyValue instances.
Definition: PropertyValues.idl:27
com
Definition: Ambiguous.idl:20
com::sun::star::text::TextRange
points to a sequence of characters within a Text.
Definition: TextRange.idl:39
com::sun::star::text::Text
is an independent piece of text which consists of a series of one or more paragraphs.
Definition: Text.idl:40