/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_UNOTOOLS_COLLATORWRAPPER_HXX #define INCLUDED_UNOTOOLS_COLLATORWRAPPER_HXX #include #include #include namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::i18n { class XCollator; } namespace com::sun::star::lang { struct Locale; } class UNOTOOLS_DLLPUBLIC CollatorWrapper { private: css::uno::Reference< css::i18n::XCollator > mxInternationalCollator; public: CollatorWrapper ( const css::uno::Reference< css::uno::XComponentContext > &rxContext); sal_Int32 compareString ( const OUString& s1, const OUString& s2) const; css::uno::Sequence< OUString > listCollatorAlgorithms ( const css::lang::Locale& rLocale) const; sal_Int32 loadDefaultCollator ( const css::lang::Locale& rLocale, sal_Int32 nOption); void loadCollatorAlgorithm ( const OUString& rAlgorithm, const css::lang::Locale& rLocale, sal_Int32 nOption); }; #endif // INCLUDED_UNOTOOLS_COLLATORWRAPPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 3-3.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-09-24tdf#157388: LibreLogo sqrt undefinedJulien Nabet
2023-03-19tdf#147906: Use python's math.hypot() for Pythagorean additionadityasingh22
2022-12-13gb_var2file: remove now unused chunk-size parameterChristian Lohmaier
2022-12-05LibreLogo: fix SVG export of font features and text portionsLászló Németh
2022-12-05LibreLogo: fix parsing argument of default Logo commandsLászló Németh
2022-12-05tdf#105575 LibreLogo: hide turtle during lockingLászló Németh
2022-12-05tdf#105575 LibreLogo: speed up by lock (re)paintLászló Németh
2022-12-05LibreLogo: LABEL/TEXT: add more character formattingLászló Németh
2022-11-21tdf#113592 LibreLogo: update fallback localizationLászló Németh
2022-09-30LibreLogo: fix ast, gug, hsb and sid language supportLászló Németh
2022-04-22LibreLogo: add basic HTML formatting support to LABELLászló Németh
2021-11-04Resolves: tdf#97046 ensure build system variables start with gb_Sabyasachi Bhoi
2021-10-02Related: tdf#80713 add KeyIds to LibreLogo stringsAndras Timar
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2020-11-02Fix typosAndrea Gelmini
2020-08-25tdf#92287 Make LibreLogo icons theme basedMaxim Monastirsky
2020-07-17Follow up tdf#132022: Remove Tango icons for LibreLogoRizal Muttaqin
2020-06-26LibreLogo: add command FONTTRANSPARENCYLászló Németh
2020-05-14fix python 3.8 deprecation warningsNoel Grandin
2020-04-09pyuno,*: kill Python 2 support with fireMichael Stahl
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
2019-06-07sanitize LibreLogo callsLászló Németh
2019-04-25LibreLogo: fix RANGE with a single function argumentLászló Németh
2019-04-18Don't set LANG env var by accidentStephan Bergmann
2019-03-13tdf#124035 LibreLogo: support starting colon in variable namesLászló Németh
2018-11-08Adapt LibreLogo.py to Python 3.7 re.sub changeStephan Bergmann
2018-11-06Removed not-used variableAndrea Gelmini
2018-11-06LibreLogo: function calls and definitions can be in any orderLászló Németh
2018-11-05Fix typoAndrea Gelmini
2018-11-05tdf#120413 LibreLogo: handle complex Logo expressionsLászló Németh
2018-11-05LibreLogo: stop program immediately at pressing CancelLászló Németh
2018-10-26LibreLogo: support backslash escape sequence for apostrophesLászló Németh
2018-10-26LibreLogo: add unit tests for program compilationLászló Németh
2018-10-25LibreLogo: add unit testsLászló Németh
2018-10-10tdf#120422 LibreLogo: fix page and line formatting of "magic wand"László Németh
2018-09-30LibreLogo: fix regression of line drawingLászló Németh