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