LibreOffice
LibreOffice 7.3 SDK API Reference
XFlatParagraph.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#ifndef __com_sun_star_text_XFlatParagraph_idl__
21#define __com_sun_star_text_XFlatParagraph_idl__
22
28
29
30module com { module sun { module star { module text {
31
32
39{
40
46 string getText();
47
54 boolean isModified();
55
67 void setChecked( [in] long nType, [in] boolean bVal );
68
78 boolean isChecked( [in] long nType );
79
95 com::sun::star::lang::Locale getLanguageOfText( [in] long nPos, [in] long nLen )
97
114 [in] long nLen )
116
134 void changeText( [in] long nPos, [in] long nLen, [in] string NewText,
135 [in] sequence<::com::sun::star::beans::PropertyValue> aAttributes )
137
152 void changeAttributes( [in] long nPos, [in] long nLen,
153 [in] sequence<::com::sun::star::beans::PropertyValue> aAttributes )
155
161 sequence< long > getLanguagePortions();
162};
163
164
165}; }; }; };
166
167#endif
168
169/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
provides functionality to ...
Definition: XFlatParagraph.idl:39
boolean isChecked([in] long nType)
returns whether the respective text node has already been processed
sequence< long > getLanguagePortions()
get a list of indexes that separate each two different languages
string getText()
get the content of the paragraph
com::sun::star::lang::Locale getLanguageOfText([in] long nPos, [in] long nLen)
get the language of the specific text
void changeAttributes([in] long nPos, [in] long nLen, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes)
replace the attributes of the specific text with the given set of attributes.
void setChecked([in] long nType, [in] boolean bVal)
change the "checked" flag of the respective text node, i.e., mark the text node as "processed"
void changeText([in] long nPos, [in] long nLen, [in] string NewText, [in] sequence<::com::sun::star::beans::PropertyValue > aAttributes)
replace the specific text with new text.
com::sun::star::lang::Locale getPrimaryLanguageOfText([in] long nPos, [in] long nLen)
get the single most probable language of the specific text, especially after getLanguageOfText fails
boolean isModified()
check whether the content has been modified
provides functionality to markup text.
Definition: XTextMarkup.idl:37
Definition: Accessible.idl:22
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:38