LibreOffice Module cui (master)  1
optasian.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 #ifndef INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX
20 #define INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX
21 
22 #include <memory>
23 #include <sfx2/tabdlg.hxx>
24 #include <svx/langbox.hxx>
25 
28 {
29  std::unique_ptr<SvxAsianLayoutPage_Impl> pImpl;
30 
31  std::unique_ptr<weld::RadioButton> m_xCharKerningRB;
32  std::unique_ptr<weld::RadioButton> m_xCharPunctKerningRB;
33  std::unique_ptr<weld::RadioButton> m_xNoCompressionRB;
34  std::unique_ptr<weld::RadioButton> m_xPunctCompressionRB;
35  std::unique_ptr<weld::RadioButton> m_xPunctKanaCompressionRB;
36  std::unique_ptr<weld::Label> m_xLanguageFT;
37  std::unique_ptr<SvxLanguageBox> m_xLanguageLB;
38  std::unique_ptr<weld::CheckButton> m_xStandardCB;
39  std::unique_ptr<weld::Label> m_xStartFT;
40  std::unique_ptr<weld::Entry> m_xStartED;
41  std::unique_ptr<weld::Label> m_xEndFT;
42  std::unique_ptr<weld::Entry> m_xEndED;
43  std::unique_ptr<weld::Label> m_xHintFT;
44 
45  DECL_LINK(LanguageHdl, weld::ComboBox&, void);
46  DECL_LINK(ChangeStandardHdl, weld::ToggleButton&, void);
47  DECL_LINK(ModifyHdl, weld::Entry&, void);
48 
49 public:
50  SvxAsianLayoutPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet );
51  virtual ~SvxAsianLayoutPage() override;
52 
53  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* rAttrSet );
54  static const sal_uInt16* GetRanges();
55  virtual bool FillItemSet( SfxItemSet* rSet ) override;
56  virtual void Reset( const SfxItemSet* rSet ) override;
57 };
58 
59 #endif
60 
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::Label > m_xEndFT
Definition: optasian.hxx:41
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: optasian.cxx:139
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
Definition: optasian.cxx:134
std::unique_ptr< weld::RadioButton > m_xPunctCompressionRB
Definition: optasian.hxx:34
static const sal_uInt16 * GetRanges()
Definition: optasian.cxx:372
std::unique_ptr< SvxAsianLayoutPage_Impl > pImpl
Definition: optasian.hxx:29
std::unique_ptr< weld::Label > m_xHintFT
Definition: optasian.hxx:43
std::unique_ptr< weld::RadioButton > m_xNoCompressionRB
Definition: optasian.hxx:33
std::unique_ptr< weld::RadioButton > m_xPunctKanaCompressionRB
Definition: optasian.hxx:35
std::unique_ptr< weld::Label > m_xStartFT
Definition: optasian.hxx:39
std::unique_ptr< weld::RadioButton > m_xCharKerningRB
Definition: optasian.hxx:31
virtual ~SvxAsianLayoutPage() override
Definition: optasian.cxx:130
std::unique_ptr< weld::Label > m_xLanguageFT
Definition: optasian.hxx:36
virtual void Reset(const SfxItemSet *rSet) override
Definition: optasian.cxx:189
SvxAsianLayoutPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: optasian.cxx:103
DECL_LINK(LanguageHdl, weld::ComboBox &, void)
std::unique_ptr< SvxLanguageBox > m_xLanguageLB
Definition: optasian.hxx:37
std::unique_ptr< weld::Entry > m_xStartED
Definition: optasian.hxx:40
std::unique_ptr< weld::Entry > m_xEndED
Definition: optasian.hxx:42
std::unique_ptr< weld::RadioButton > m_xCharPunctKerningRB
Definition: optasian.hxx:32
std::unique_ptr< weld::CheckButton > m_xStandardCB
Definition: optasian.hxx:38