blob: 10842084240bfb013a01b4d1f2b71ce452a01d69 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_text_TextCursor_idl__
#define __com_sun_star_text_TextCursor_idl__
#ifndef __com_sun_star_text_TextRange_idl__
#include <com/sun/star/text/TextRange.idl>
#endif
#ifndef __com_sun_star_text_XTextCursor_idl__
#include <com/sun/star/text/XTextCursor.idl>
#endif
#ifndef __com_sun_star_text_XWordCursor_idl__
#include <com/sun/star/text/XWordCursor.idl>
#endif
#ifndef __com_sun_star_text_XSentenceCursor_idl__
#include <com/sun/star/text/XSentenceCursor.idl>
#endif
#ifndef __com_sun_star_text_XParagraphCursor_idl__
#include <com/sun/star/text/XParagraphCursor.idl>
#endif
#ifndef __com_sun_star_beans_XPropertySet_idl__
#include <com/sun/star/beans/XPropertySet.idl>
#endif
#ifndef __com_sun_star_beans_XPropertyState_idl__
#include <com/sun/star/beans/XPropertyState.idl>
#endif
#ifndef __com_sun_star_beans_XMultiPropertyStates_idl__
#include <com/sun/star/beans/XMultiPropertyStates.idl>
#endif
#ifndef __com_sun_star_document_XDocumentInsertable_idl__
#include <com/sun/star/document/XDocumentInsertable.idl>
#endif
#ifndef __com_sun_star_util_XSortable_idl__
#include <com/sun/star/util/XSortable.idl>
#endif
//=============================================================================
module com { module sun { module star { module text {
//=============================================================================
// DocMerge from xml: service com::sun::star::text::TextCursor
/** A <type>TextCursor</type> is a <type>TextRange</type> which can be moved
within a <type>Text</type> object.
@see TextRange
*/
published service TextCursor
{
// DocMerge: empty anyway
service com::sun::star::text::TextRange;
interface com::sun::star::text::XTextCursor;
// DocMerge: empty anyway
[optional] interface com::sun::star::text::XWordCursor;
// DocMerge: empty anyway
[optional] interface com::sun::star::text::XSentenceCursor;
// DocMerge: empty anyway
[optional] interface com::sun::star::text::XParagraphCursor;
// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertySet
/** This interface gives access to the properties of the range that is
selected by the cursor.
*/
interface com::sun::star::beans::XPropertySet;
// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::beans::XPropertyState
/** This interface gives access to the state of the properties of the
range that is selected by the cursor.
*/
interface com::sun::star::beans::XPropertyState;
interface com::sun::star::beans::XMultiPropertyStates;
// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::document::XDocumentInsertable
/** This optional interface makes it possible to insert a document
from an external source at the cursor position.
*/
[optional] interface com::sun::star::document::XDocumentInsertable;
// DocMerge from xml: service com::sun::star::text::TextCursor: interface com::sun::star::util::XSortable
/** This optional interface makes it possible to sort the contents at
the cursor position.
*/
[optional] interface com::sun::star::util::XSortable;
};
//=============================================================================
}; }; }; };
/*=============================================================================
=============================================================================*/
#endif