LibreOffice LibreOffice 6.1 SDK API Reference

XTextConvert.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 #ifndef __com_sun_star_text_XTextConvert_idl__
20 #define __com_sun_star_text_XTextConvert_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <com/sun/star/beans/PropertyValues.idl>
24 #include <com/sun/star/lang/IllegalArgumentException.idl>
25 #include <com/sun/star/beans/PropertyVetoException,idl>
26 #include <com/sun/star/beans/UnknownPropertyException.idl>
27 #include <com/sun/star/text/XTextRange.idl>
28 #include <com/sun/star/text/XTextContent.idl>
29 #include <com/sun/star/text/XTextTable.idl>
30
31
32
33
34 module com { module sun { module star { module text {
35
36
39 interface XTextConvert : com::sun::star::uno::XInterface
40 {
41
55 ::com::sun::star::text::XTextContent convertToTextFrame(
56 [in] com::sun::star::text::XTextRange Start,
57 [in] com::sun::star::text::XTextRange End,
58 [in] com::sun::star::beans::PropertyValues FrameProperties )
59 raises( com::sun::star::lang::IllegalArgumentException,
60 com::sun::star::beans::UnknownPropertyException,
61 com::sun::star::beans::PropertyVetoException );
62
76 ::com::sun::star::text::XTextTable convertToTable(
77 [in] sequence< sequence< sequence< com::sun::star::text::XTextRange > > > TableRanges,
78 [in] sequence< sequence< com::sun::star::beans::PropertyValues > > CellProperties,
79 [in] sequence< com::sun::star::beans::PropertyValues > RowProperties,
80 [in] com::sun::star::beans::PropertyValues TableProperties )
81 raises( com::sun::star::lang::IllegalArgumentException,
82 com::sun::star::beans::UnknownPropertyException );
83
84
85 };
86
87
88 }; }; }; };
89
90 #endif
91
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XTextRange.idl
com::sun::star::text::CellProperties
service that holds all cell properties of a text table cell in a text document.
Definition: CellProperties.idl:38
XTextContent.idl
com::sun::star::text::XTextContent
enables objects to be inserted into a text and to provide their location in a text once they are inse...
Definition: XTextContent.idl:34
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
PropertyValues.idl
com::sun::star::beans::UnknownPropertyException
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:34
com::sun::star::text::XTextConvert
allows converting selections of text to frames or tables.
Definition: XTextConvert.idl:39
com::sun::star::beans::PropertyValues
sequence< PropertyValue > PropertyValues
specifies a sequence of PropertyValue instances.
Definition: PropertyValues.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:29
XInterface.idl
com::sun::star::beans::PropertyVetoException
This exception is thrown when a proposed change to a property represents an unacceptable value...
Definition: PropertyVetoException.idl:34
com::sun::star::text::XTextRange
describes the object&#39;s position in a text.
Definition: XTextRange.idl:37
XTextTable.idl
UnknownPropertyException.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::text::XTextTable
manages a text table.
Definition: XTextTable.idl:42