LibreOffice LibreOffice 25.2 SDK API Reference

XSimpleText.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
22 module com { module sun { module star { module text {
23
24
29published interface XSimpleText: com::sun::star::text::XTextRange
30{
31
38 com::sun::star::text::XTextCursor createTextCursor();
39
40
54 com::sun::star::text::XTextCursor createTextCursorByRange( [in] com::sun::star::text::XTextRange aTextPosition );
55
56
95 void insertString( [in] com::sun::star::text::XTextRange xRange,
96 [in] string aString,
97 [in] boolean bAbsorb );
98
99
103 void insertControlCharacter( [in] com::sun::star::text::XTextRange xRange,
104 [in] short nControlCharacter,
105 [in] boolean bAbsorb )
106 raises( com::sun::star::lang::IllegalArgumentException );
107
108};
109
110
111}; }; }; };
112
113/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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::XSimpleText
is the main interface for a distinct text unit, i.e.
Definition: XSimpleText.idl:30
com::sun::star::text::XSimpleText::insertControlCharacter
void insertControlCharacter([in] com::sun::star::text::XTextRange xRange, [in] short nControlCharacter, [in] boolean bAbsorb)
inserts a control character (like a paragraph break or a hard space) into the text.
com::sun::star::text::XSimpleText::createTextCursorByRange
com::sun::star::text::XTextCursor createTextCursorByRange([in] com::sun::star::text::XTextRange aTextPosition)
com::sun::star::text::XSimpleText::insertString
void insertString([in] com::sun::star::text::XTextRange xRange, [in] string aString, [in] boolean bAbsorb)
inserts a string of characters into the text.
com::sun::star::text::XSimpleText::createTextCursor
com::sun::star::text::XTextCursor createTextCursor()
com::sun::star::text::XTextCursor
extends a text range by method to modify its position.
Definition: XTextCursor.idl:28
com::sun::star::text::XTextRange
describes the object's position in a text.
Definition: XTextRange.idl:34
com
Definition: Ambiguous.idl:20