LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
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
20module com { module sun { module star { module i18n {
21
25published interface XCollator: com::sun::star::uno::XInterface
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
85 [in] long nCollatorOptions );
86
102 long loadCollatorAlgorithm( [in] string aAlgorithmName,
104 [in] long nCollatorOptions );
105
114 sequence <string> listCollatorAlgorithms(
115 [in] ::com::sun::star::lang::Locale aLocale );
116
130 [in] string aAlgorithmName,
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: */
sequence< string > listCollatorAlgorithms([in] ::com::sun::star::lang::Locale aLocale)
List all collator algorithms for a given locale.
long loadCollatorAlgorithm([in] string aAlgorithmName, [in] ::com::sun::star::lang::Locale aLocale, [in] long nCollatorOptions)
Load a particular collator algorithm for the locale.
long compareString([in] string aStr1, [in] string aStr2)
Compare 2 strings in specific locale and algorithm.
void loadCollatorAlgorithmWithEndUserOption([in] string aAlgorithmName, [in] ::com::sun::star::lang::Locale aLocale, [in] sequence< long > aCollatorOptions)
Load a collator algorithm with options chosen by end user.
long compareSubstring([in] string aStr1, [in] long nOff1, [in] long nLen1, [in] string aStr2, [in] long nOff2, [in] long nLen2)
Compare 2 substrings in specific locale and algorithm.
sequence< long > listCollatorOptions([in] string aAlgorithmName)
List all end user collator options for a given algorithm.
long loadDefaultCollator([in] ::com::sun::star::lang::Locale aLocale, [in] long nCollatorOptions)
Load the collator with default algorithm defined in locale data.
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
Definition Ambiguous.idl:20
object represents a specific geographical, political, or cultural region.
Definition Locale.idl:34