LibreOffice
LibreOffice 6.4 SDK API Reference
XHyphenator.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 #ifndef __com_sun_star_linguistic2_XHyphenator_idl__
20 #define __com_sun_star_linguistic2_XHyphenator_idl__
21 
22 
30 
31 
32 module com { module sun { module star { module linguistic2 {
33 
54 {
90  [in] string aWord,
91  [in] com::sun::star::lang::Locale aLocale,
92  [in] short nMaxLeading,
93  [in] com::sun::star::beans::PropertyValues aProperties )
95 
137  [in] string aWord,
138  [in] com::sun::star::lang::Locale aLocale,
139  [in] short nIndex,
140  [in] com::sun::star::beans::PropertyValues aProperties )
142 
169  [in] string aWord,
170  [in] com::sun::star::lang::Locale aLocale,
171  [in] com::sun::star::beans::PropertyValues aProperties )
173 
174 };
175 
176 
177 }; }; }; };
178 
179 #endif
180 
181 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::linguistic2::XHyphenator::hyphenate
com::sun::star::linguistic2::XHyphenatedWord hyphenate([in] string aWord, [in] com::sun::star::lang::Locale aLocale, [in] short nMaxLeading, [in] com::sun::star::beans::PropertyValues aProperties)
tries to find a valid hyphenation position relative to the beginning of a word.
com::sun::star::linguistic2::XHyphenatedWord
gives information obtained by a successful hyphenation attempt.
Definition: XHyphenatedWord.idl:37
XPossibleHyphens.idl
com::sun::star::linguistic2::XPossibleHyphens
Gives information about a word's possible hyphenation points.
Definition: XPossibleHyphens.idl:43
com::sun::star::linguistic2::XHyphenator::queryAlternativeSpelling
com::sun::star::linguistic2::XHyphenatedWord queryAlternativeSpelling([in] string aWord, [in] com::sun::star::lang::Locale aLocale, [in] short nIndex, [in] com::sun::star::beans::PropertyValues aProperties)
checks whether hyphenation at a position in a word will result in an alternative spelling or not.
XSupportedLocales.idl
Locale.idl
XHyphenatedWord.idl
XDictionaryList.idl
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48
com::sun::star::linguistic2::XHyphenator
provides functionality for hyphenation of single words.
Definition: XHyphenator.idl:54
com
Definition: Ambiguous.idl:22
com::sun::star::beans::PropertyValues
sequence< PropertyValue > PropertyValues
specifies a sequence of PropertyValue instances.
Definition: PropertyValues.idl:31
PropertyValues.idl
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::linguistic2::XSupportedLocales
Offers information about which languages are supported by the object.
Definition: XSupportedLocales.idl:43
IllegalArgumentException.idl
com::sun::star::linguistic2::XHyphenator::createPossibleHyphens
com::sun::star::linguistic2::XPossibleHyphens createPossibleHyphens([in] string aWord, [in] com::sun::star::lang::Locale aLocale, [in] com::sun::star::beans::PropertyValues aProperties)
returns information about all possible hyphenation positions of a word.