1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
22 #include <sfx2/tabdlg.hxx>
23 #include <svx/langbox.hxx>
25 struct SvxAsianLayoutPage_Impl
;
26 class SvxAsianLayoutPage
: public SfxTabPage
28 std::unique_ptr
<SvxAsianLayoutPage_Impl
> pImpl
;
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
;
44 DECL_LINK(LanguageHdl
, weld::ComboBox
&, void);
45 DECL_LINK(ChangeStandardHdl
, weld::Toggleable
&, void);
46 DECL_LINK(ModifyHdl
, weld::Entry
&, void);
49 SvxAsianLayoutPage(weld::Container
* pPage
, weld::DialogController
* pController
,
50 const SfxItemSet
& rSet
);
51 virtual ~SvxAsianLayoutPage() override
;
53 static std::unique_ptr
<SfxTabPage
>
54 Create(weld::Container
* pPage
, weld::DialogController
* pController
, const SfxItemSet
* rAttrSet
);
55 static const WhichRangesContainer
& GetRanges();
57 virtual OUString
GetAllStrings() override
;
59 virtual bool FillItemSet(SfxItemSet
* rSet
) override
;
60 virtual void Reset(const SfxItemSet
* rSet
) override
;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */