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#pragma once
21
23#include <sfx2/tabdlg.hxx>
24#include <vcl/weld.hxx>
25
26class SfxItemSet;
27
29{
30private:
31 std::unique_ptr<weld::CheckButton> m_xMatchCase;
32 std::unique_ptr<weld::CheckButton> m_xMatchFullHalfWidth;
33 std::unique_ptr<weld::CheckButton> m_xMatchHiraganaKatakana;
34 std::unique_ptr<weld::CheckButton> m_xMatchContractions;
35 std::unique_ptr<weld::CheckButton> m_xMatchMinusDashChoon;
36 std::unique_ptr<weld::CheckButton> m_xMatchRepeatCharMarks;
37 std::unique_ptr<weld::CheckButton> m_xMatchVariantFormKanji;
38 std::unique_ptr<weld::CheckButton> m_xMatchOldKanaForms;
39 std::unique_ptr<weld::CheckButton> m_xMatchDiziDuzu;
40 std::unique_ptr<weld::CheckButton> m_xMatchBavaHafa;
41 std::unique_ptr<weld::CheckButton> m_xMatchTsithichiDhizi;
42 std::unique_ptr<weld::CheckButton> m_xMatchHyuiyuByuvyu;
43 std::unique_ptr<weld::CheckButton> m_xMatchSesheZeje;
44 std::unique_ptr<weld::CheckButton> m_xMatchIaiya;
45 std::unique_ptr<weld::CheckButton> m_xMatchKiku;
46 std::unique_ptr<weld::CheckButton> m_xMatchProlongedSoundMark;
47
48 std::unique_ptr<weld::CheckButton> m_xIgnorePunctuation;
49 std::unique_ptr<weld::CheckButton> m_xIgnoreWhitespace;
50 std::unique_ptr<weld::CheckButton> m_xIgnoreMiddleDot;
51
54
56
57public:
59 virtual ~SvxJSearchOptionsPage() override;
60 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rSet);
61
62 virtual void Reset( const SfxItemSet* rSet ) override;
63 virtual bool FillItemSet( SfxItemSet* rSet ) override;
64
65 void EnableSaveOptions( bool bVal ) { bSaveOptions = bVal; }
66
69};
70
71/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::CheckButton > m_xMatchHyuiyuByuvyu
Definition: optjsearch.hxx:42
std::unique_ptr< weld::CheckButton > m_xIgnoreWhitespace
Definition: optjsearch.hxx:49
std::unique_ptr< weld::CheckButton > m_xMatchVariantFormKanji
Definition: optjsearch.hxx:37
std::unique_ptr< weld::CheckButton > m_xMatchDiziDuzu
Definition: optjsearch.hxx:39
TransliterationFlags GetTransliterationFlags() const
Definition: optjsearch.hxx:67
std::unique_ptr< weld::CheckButton > m_xMatchTsithichiDhizi
Definition: optjsearch.hxx:41
TransliterationFlags GetTransliterationFlags_Impl()
Definition: optjsearch.cxx:107
std::unique_ptr< weld::CheckButton > m_xIgnorePunctuation
Definition: optjsearch.hxx:48
std::unique_ptr< weld::CheckButton > m_xMatchContractions
Definition: optjsearch.hxx:34
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optjsearch.cxx:205
virtual ~SvxJSearchOptionsPage() override
Definition: optjsearch.cxx:54
void EnableSaveOptions(bool bVal)
Definition: optjsearch.hxx:65
std::unique_ptr< weld::CheckButton > m_xMatchSesheZeje
Definition: optjsearch.hxx:43
virtual void Reset(const SfxItemSet *rSet) override
Definition: optjsearch.cxx:154
std::unique_ptr< weld::CheckButton > m_xMatchOldKanaForms
Definition: optjsearch.hxx:38
std::unique_ptr< weld::CheckButton > m_xMatchKiku
Definition: optjsearch.hxx:45
std::unique_ptr< weld::CheckButton > m_xMatchHiraganaKatakana
Definition: optjsearch.hxx:33
std::unique_ptr< weld::CheckButton > m_xMatchIaiya
Definition: optjsearch.hxx:44
std::unique_ptr< weld::CheckButton > m_xMatchRepeatCharMarks
Definition: optjsearch.hxx:36
std::unique_ptr< weld::CheckButton > m_xMatchProlongedSoundMark
Definition: optjsearch.hxx:46
std::unique_ptr< weld::CheckButton > m_xMatchFullHalfWidth
Definition: optjsearch.hxx:32
void SetTransliterationFlags(TransliterationFlags nSettings)
Definition: optjsearch.cxx:63
SvxJSearchOptionsPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optjsearch.cxx:28
std::unique_ptr< weld::CheckButton > m_xMatchMinusDashChoon
Definition: optjsearch.hxx:35
std::unique_ptr< weld::CheckButton > m_xIgnoreMiddleDot
Definition: optjsearch.hxx:50
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: optjsearch.cxx:58
std::unique_ptr< weld::CheckButton > m_xMatchBavaHafa
Definition: optjsearch.hxx:40
std::unique_ptr< weld::CheckButton > m_xMatchCase
Definition: optjsearch.hxx:31
TransliterationFlags nTransliterationFlags
Definition: optjsearch.hxx:52
TransliterationFlags