LibreOffice
LibreOffice 6.4 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 
30 module 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: */
XInterface.idl
com::sun::star::text::XFlatParagraph::isChecked
boolean isChecked([in] long nType)
returns whether the respective text node has already been processed
XTextMarkup.idl
com::sun::star::text::XFlatParagraph::isModified
boolean isModified()
check whether the content has been modified
com::sun::star::text::XFlatParagraph
provides functionality to ...
Definition: XFlatParagraph.idl:39
PropertyValue.idl
Locale.idl
com::sun::star::text::XFlatParagraph::getPrimaryLanguageOfText
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
com::sun::star::text::XFlatParagraph::setChecked
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"
com::sun::star::text::XTextMarkup
provides functionality to markup text.
Definition: XTextMarkup.idl:37
com::sun::star::text::XFlatParagraph::changeText
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
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48
com
Definition: Ambiguous.idl:22
com::sun::star::text::XFlatParagraph::getLanguageOfText
com::sun::star::lang::Locale getLanguageOfText([in] long nPos, [in] long nLen)
get the language of the specific text
com::sun::star::text::XFlatParagraph::getText
string getText()
get the content of the paragraph
com::sun::star::text::XFlatParagraph::changeAttributes
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.
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::text::XFlatParagraph::getLanguagePortions
sequence< long > getLanguagePortions()
get a list of indexes that separate each two different languages
IllegalArgumentException.idl