LibreOffice Module i18npool (master) 1
indexentrysupplier_asian.hxx
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#pragma once
21
22
24#include <osl/module.h>
25
26namespace i18npool {
27
28
29
30
32public:
33 IndexEntrySupplier_asian( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
34 virtual ~IndexEntrySupplier_asian() override;
35
36 OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,
37 const css::lang::Locale& rLocale, const OUString& rAlgorithm ) override;
38 OUString SAL_CALL getIndexKey( const OUString& rIndexEntry,
39 const OUString& rPhoneticEntry, const css::lang::Locale& rLocale) override;
40 sal_Int16 SAL_CALL compareIndexEntry(
41 const OUString& rIndexEntry1, const OUString& rPhoneticEntry1,
42 const css::lang::Locale& rLocale1,
43 const OUString& rIndexEntry2, const OUString& rPhoneticEntry2,
44 const css::lang::Locale& rLocale2 ) override;
45 OUString SAL_CALL getPhoneticCandidate( const OUString& rIndexEntry,
46 const css::lang::Locale& rLocale ) override;
47#ifndef DISABLE_DYNLOADING
48private:
49 oslModule hModule;
50#endif
51};
52
53}
54
55/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
OUString SAL_CALL getIndexCharacter(const OUString &rIndexEntry, const css::lang::Locale &rLocale, const OUString &rAlgorithm) override
sal_Int16 SAL_CALL compareIndexEntry(const OUString &rIndexEntry1, const OUString &rPhoneticEntry1, const css::lang::Locale &rLocale1, const OUString &rIndexEntry2, const OUString &rPhoneticEntry2, const css::lang::Locale &rLocale2) override
OUString SAL_CALL getPhoneticCandidate(const OUString &rIndexEntry, const css::lang::Locale &rLocale) override
OUString SAL_CALL getIndexKey(const OUString &rIndexEntry, const OUString &rPhoneticEntry, const css::lang::Locale &rLocale) override
IndexEntrySupplier_asian(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
Constant values shared between i18npool and, for example, the number formatter.