LibreOffice Module cui (master)  1
optjsearch.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 #ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
21 #define INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
22 
24 #include <sfx2/tabdlg.hxx>
25 #include <vcl/weld.hxx>
26 
27 class SfxItemSet;
28 
30 {
31 private:
32  std::unique_ptr<weld::CheckButton> m_xMatchCase;
33  std::unique_ptr<weld::CheckButton> m_xMatchFullHalfWidth;
34  std::unique_ptr<weld::CheckButton> m_xMatchHiraganaKatakana;
35  std::unique_ptr<weld::CheckButton> m_xMatchContractions;
36  std::unique_ptr<weld::CheckButton> m_xMatchMinusDashChoon;
37  std::unique_ptr<weld::CheckButton> m_xMatchRepeatCharMarks;
38  std::unique_ptr<weld::CheckButton> m_xMatchVariantFormKanji;
39  std::unique_ptr<weld::CheckButton> m_xMatchOldKanaForms;
40  std::unique_ptr<weld::CheckButton> m_xMatchDiziDuzu;
41  std::unique_ptr<weld::CheckButton> m_xMatchBavaHafa;
42  std::unique_ptr<weld::CheckButton> m_xMatchTsithichiDhizi;
43  std::unique_ptr<weld::CheckButton> m_xMatchHyuiyuByuvyu;
44  std::unique_ptr<weld::CheckButton> m_xMatchSesheZeje;
45  std::unique_ptr<weld::CheckButton> m_xMatchIaiya;
46  std::unique_ptr<weld::CheckButton> m_xMatchKiku;
47  std::unique_ptr<weld::CheckButton> m_xMatchProlongedSoundMark;
48 
49  std::unique_ptr<weld::CheckButton> m_xIgnorePunctuation;
50  std::unique_ptr<weld::CheckButton> m_xIgnoreWhitespace;
51  std::unique_ptr<weld::CheckButton> m_xIgnoreMiddleDot;
52 
55 
57 
58 public:
59  SvxJSearchOptionsPage(TabPageParent pParent, const SfxItemSet& rSet);
60  virtual ~SvxJSearchOptionsPage() override;
61  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet* rSet);
62 
63  virtual void Reset( const SfxItemSet* rSet ) override;
64  virtual bool FillItemSet( SfxItemSet* rSet ) override;
65 
66  void EnableSaveOptions( bool bVal ) { bSaveOptions = bVal; }
67 
70 };
71 
72 
73 #endif
74 
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::CheckButton > m_xIgnoreWhitespace
Definition: optjsearch.hxx:50
std::unique_ptr< weld::CheckButton > m_xMatchContractions
Definition: optjsearch.hxx:35
TransliterationFlags GetTransliterationFlags_Impl()
Definition: optjsearch.cxx:108
std::unique_ptr< weld::CheckButton > m_xMatchFullHalfWidth
Definition: optjsearch.hxx:33
std::unique_ptr< weld::CheckButton > m_xIgnorePunctuation
Definition: optjsearch.hxx:49
std::unique_ptr< weld::CheckButton > m_xMatchBavaHafa
Definition: optjsearch.hxx:41
std::unique_ptr< weld::CheckButton > m_xMatchHiraganaKatakana
Definition: optjsearch.hxx:34
std::unique_ptr< weld::CheckButton > m_xMatchVariantFormKanji
Definition: optjsearch.hxx:38
std::unique_ptr< weld::CheckButton > m_xMatchTsithichiDhizi
Definition: optjsearch.hxx:42
virtual void Reset(const SfxItemSet *rSet) override
Definition: optjsearch.cxx:155
std::unique_ptr< weld::CheckButton > m_xMatchCase
Definition: optjsearch.hxx:32
std::unique_ptr< weld::CheckButton > m_xMatchProlongedSoundMark
Definition: optjsearch.hxx:47
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optjsearch.cxx:206
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: optjsearch.cxx:59
TransliterationFlags
std::unique_ptr< weld::CheckButton > m_xMatchSesheZeje
Definition: optjsearch.hxx:44
std::unique_ptr< weld::CheckButton > m_xMatchOldKanaForms
Definition: optjsearch.hxx:39
std::unique_ptr< weld::CheckButton > m_xIgnoreMiddleDot
Definition: optjsearch.hxx:51
std::unique_ptr< weld::CheckButton > m_xMatchIaiya
Definition: optjsearch.hxx:45
virtual ~SvxJSearchOptionsPage() override
Definition: optjsearch.cxx:54
std::unique_ptr< weld::CheckButton > m_xMatchKiku
Definition: optjsearch.hxx:46
TransliterationFlags nTransliterationFlags
Definition: optjsearch.hxx:53
void SetTransliterationFlags(TransliterationFlags nSettings)
Definition: optjsearch.cxx:64
TransliterationFlags GetTransliterationFlags() const
Definition: optjsearch.hxx:68
std::unique_ptr< weld::CheckButton > m_xMatchDiziDuzu
Definition: optjsearch.hxx:40
std::unique_ptr< weld::CheckButton > m_xMatchMinusDashChoon
Definition: optjsearch.hxx:36
std::unique_ptr< weld::CheckButton > m_xMatchHyuiyuByuvyu
Definition: optjsearch.hxx:43
SvxJSearchOptionsPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: optjsearch.cxx:28
std::unique_ptr< weld::CheckButton > m_xMatchRepeatCharMarks
Definition: optjsearch.hxx:37
void EnableSaveOptions(bool bVal)
Definition: optjsearch.hxx:66