1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_text_TextCursor_idl__
24#define __com_sun_star_text_TextCursor_idl__
25
26#ifndef __com_sun_star_text_TextRange_idl__
27#include <com/sun/star/text/TextRange.idl>
28#endif
29
30#ifndef __com_sun_star_text_XTextCursor_idl__
31#include <com/sun/star/text/XTextCursor.idl>
32#endif
33
34#ifndef __com_sun_star_text_XWordCursor_idl__
35#include <com/sun/star/text/XWordCursor.idl>
36#endif
37
38#ifndef __com_sun_star_text_XSentenceCursor_idl__
39#include <com/sun/star/text/XSentenceCursor.idl>
40#endif
41
42#ifndef __com_sun_star_text_XParagraphCursor_idl__
43#include <com/sun/star/text/XParagraphCursor.idl>
44#endif
45
46#ifndef __com_sun_star_beans_XPropertySet_idl__
47#include <com/sun/star/beans/XPropertySet.idl>
48#endif
49
50#ifndef __com_sun_star_beans_XPropertyState_idl__
51#include <com/sun/star/beans/XPropertyState.idl>
52#endif
53
54#ifndef __com_sun_star_beans_XMultiPropertyStates_idl__
55#include <com/sun/star/beans/XMultiPropertyStates.idl>
56#endif
57
58#ifndef __com_sun_star_document_XDocumentInsertable_idl__
59#include <com/sun/star/document/XDocumentInsertable.idl>
60#endif
61
62#ifndef __com_sun_star_util_XSortable_idl__
63#include <com/sun/star/util/XSortable.idl>
64#endif
65
66
67//=============================================================================
68
69 module com {  module sun {  module star {  module text {
70
71//=============================================================================
72
73// DocMerge from xml: service com::sun::star::text::TextCursor
74/** A <type>TextCursor</type> is a <type>TextRange</type> which can be moved
75	within a <type>Text</type> object.
76    @see TextRange
77 */
78published service TextCursor
79{
80	// DocMerge: empty anyway
81	service com::sun::star::text::TextRange;
82
83    interface com::sun::star::text::XTextCursor;
84
85    // DocMerge: empty anyway
86	[optional] interface com::sun::star::text::XWordCursor;
87
88	// DocMerge: empty anyway
89	[optional] interface com::sun::star::text::XSentenceCursor;
90
91	// DocMerge: empty anyway
92	[optional] interface com::sun::star::text::XParagraphCursor;
93
94
95	// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertySet
96	/** This interface gives access to the properties of the range that is
97				selected by the cursor.
98	 */
99	interface com::sun::star::beans::XPropertySet;
100
101
102	// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertyState
103	/** This interface gives access to the state of the properties of the
104				range that is selected by the cursor.
105	 */
106	interface com::sun::star::beans::XPropertyState;
107	interface com::sun::star::beans::XMultiPropertyStates;
108
109
110	// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::document::XDocumentInsertable
111	/** This optional interface makes it possible to insert a document
112				from an external source at the cursor position.
113	 */
114	[optional] interface com::sun::star::document::XDocumentInsertable;
115
116
117	// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::util::XSortable
118	/** This optional interface makes it possible to sort the contents at
119				the cursor position.
120	 */
121	[optional] interface com::sun::star::util::XSortable;
122
123};
124
125//=============================================================================
126
127}; }; }; };
128
129/*=============================================================================
130
131=============================================================================*/
132#endif
133