LibreOffice
LibreOffice 24.2 SDK API Reference
XCollator.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 module com { module sun { module star { module i18n {
21 
26 {
52  long compareSubstring( [in] string aStr1, [in] long nOff1, [in] long nLen1,
53  [in] string aStr2, [in] long nOff2, [in] long nLen2 );
54 
68  long compareString( [in] string aStr1, [in] string aStr2 );
69 
84  long loadDefaultCollator( [in] ::com::sun::star::lang::Locale aLocale,
85  [in] long nCollatorOptions );
86 
102  long loadCollatorAlgorithm( [in] string aAlgorithmName,
103  [in] ::com::sun::star::lang::Locale aLocale,
104  [in] long nCollatorOptions );
105 
114  sequence <string> listCollatorAlgorithms(
115  [in] ::com::sun::star::lang::Locale aLocale );
116 
129  void loadCollatorAlgorithmWithEndUserOption(
130  [in] string aAlgorithmName,
131  [in] ::com::sun::star::lang::Locale aLocale,
132  [in] sequence<long> aCollatorOptions );
133 
142  sequence <long> listCollatorOptions( [in] string aAlgorithmName );
143 
144 };
145 
146 
147 }; }; }; };
148 
149 
150 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:20
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:33
provides locale-sensitive collation algorithms for string comparison.
Definition: XCollator.idl:25
base interface of all UNO interfaces
Definition: XInterface.idl:45