merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / text / TextCursor.idl
blob2882fd5ab2fa22a0418edaf32a93afb8f1611b3b
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_TextCursor_idl__
28 #define __com_sun_star_text_TextCursor_idl__
30 #ifndef __com_sun_star_text_TextRange_idl__
31 #include <com/sun/star/text/TextRange.idl>
32 #endif
34 #ifndef __com_sun_star_text_XTextCursor_idl__
35 #include <com/sun/star/text/XTextCursor.idl>
36 #endif
38 #ifndef __com_sun_star_text_XWordCursor_idl__
39 #include <com/sun/star/text/XWordCursor.idl>
40 #endif
42 #ifndef __com_sun_star_text_XSentenceCursor_idl__
43 #include <com/sun/star/text/XSentenceCursor.idl>
44 #endif
46 #ifndef __com_sun_star_text_XParagraphCursor_idl__
47 #include <com/sun/star/text/XParagraphCursor.idl>
48 #endif
50 #ifndef __com_sun_star_beans_XPropertySet_idl__
51 #include <com/sun/star/beans/XPropertySet.idl>
52 #endif
54 #ifndef __com_sun_star_beans_XPropertyState_idl__
55 #include <com/sun/star/beans/XPropertyState.idl>
56 #endif
58 #ifndef __com_sun_star_beans_XMultiPropertyStates_idl__
59 #include <com/sun/star/beans/XMultiPropertyStates.idl>
60 #endif
62 #ifndef __com_sun_star_document_XDocumentInsertable_idl__
63 #include <com/sun/star/document/XDocumentInsertable.idl>
64 #endif
66 #ifndef __com_sun_star_util_XSortable_idl__
67 #include <com/sun/star/util/XSortable.idl>
68 #endif
71 //=============================================================================
73 module com { module sun { module star { module text {
75 //=============================================================================
77 // DocMerge from xml: service com::sun::star::text::TextCursor
78 /** A <type>TextCursor</type> is a <type>TextRange</type> which can be moved
79 within a <type>Text</type> object.
80 @see TextRange
82 published service TextCursor
84 // DocMerge: empty anyway
85 service com::sun::star::text::TextRange;
87 interface com::sun::star::text::XTextCursor;
89 // DocMerge: empty anyway
90 [optional] interface com::sun::star::text::XWordCursor;
92 // DocMerge: empty anyway
93 [optional] interface com::sun::star::text::XSentenceCursor;
95 // DocMerge: empty anyway
96 [optional] interface com::sun::star::text::XParagraphCursor;
99 // DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertySet
100 /** This interface gives access to the properties of the range that is
101 selected by the cursor.
103 interface com::sun::star::beans::XPropertySet;
106 // DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertyState
107 /** This interface gives access to the state of the properties of the
108 range that is selected by the cursor.
110 interface com::sun::star::beans::XPropertyState;
111 interface com::sun::star::beans::XMultiPropertyStates;
114 // DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::document::XDocumentInsertable
115 /** This optional interface makes it possible to insert a document
116 from an external source at the cursor position.
118 [optional] interface com::sun::star::document::XDocumentInsertable;
121 // DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::util::XSortable
122 /** This optional interface makes it possible to sort the contents at
123 the cursor position.
125 [optional] interface com::sun::star::util::XSortable;
129 //=============================================================================
131 }; }; }; };
133 /*=============================================================================
135 =============================================================================*/
136 #endif