bump product version to 5.0.4.1
[LibreOffice.git] / cui / source / options / optjsearch.hxx
blob26fed46c9c3a331577ce59bc6fd84efa10f84296
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
21 #define INCLUDED_CUI_SOURCE_OPTIONS_OPTJSEARCH_HXX
23 #include <vcl/fixed.hxx>
24 #include <vcl/button.hxx>
25 #include <sfx2/tabdlg.hxx>
27 namespace vcl { class Window; }
28 class SfxItemSet;
32 class SvxJSearchOptionsPage : public SfxTabPage
34 private:
35 VclPtr<CheckBox> m_pMatchCase;
36 VclPtr<CheckBox> m_pMatchFullHalfWidth;
37 VclPtr<CheckBox> m_pMatchHiraganaKatakana;
38 VclPtr<CheckBox> m_pMatchContractions;
39 VclPtr<CheckBox> m_pMatchMinusDashChoon;
40 VclPtr<CheckBox> m_pMatchRepeatCharMarks;
41 VclPtr<CheckBox> m_pMatchVariantFormKanji;
42 VclPtr<CheckBox> m_pMatchOldKanaForms;
43 VclPtr<CheckBox> m_pMatchDiziDuzu;
44 VclPtr<CheckBox> m_pMatchBavaHafa;
45 VclPtr<CheckBox> m_pMatchTsithichiDhizi;
46 VclPtr<CheckBox> m_pMatchHyuiyuByuvyu;
47 VclPtr<CheckBox> m_pMatchSesheZeje;
48 VclPtr<CheckBox> m_pMatchIaiya;
49 VclPtr<CheckBox> m_pMatchKiku;
50 VclPtr<CheckBox> m_pMatchProlongedSoundMark;
52 VclPtr<CheckBox> m_pIgnorePunctuation;
53 VclPtr<CheckBox> m_pIgnoreWhitespace;
54 VclPtr<CheckBox> m_pIgnoreMiddleDot;
56 sal_Int32 nTransliterationFlags;
57 bool bSaveOptions;
59 sal_Int32 GetTransliterationFlags_Impl();
61 public:
62 SvxJSearchOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet );
63 virtual ~SvxJSearchOptionsPage();
64 virtual void dispose() SAL_OVERRIDE;
65 static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rSet );
67 virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
68 virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
70 bool IsSaveOptions() const { return bSaveOptions; }
71 void EnableSaveOptions( bool bVal ) { bSaveOptions = bVal; }
73 sal_Int32 GetTransliterationFlags() const { return nTransliterationFlags; }
74 void SetTransliterationFlags( sal_Int32 nSettings );
79 #endif
81 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */