bump product version to 5.0.4.1
[LibreOffice.git] / cui / source / inc / optasian.hxx
blob39d18ef48976eb4b24059973049d68a0a6e62c44
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 .
19 #ifndef INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX
20 #define INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX
22 #include <sfx2/tabdlg.hxx>
23 #include <vcl/group.hxx>
24 #include <vcl/button.hxx>
25 #include <vcl/fixed.hxx>
26 #include <vcl/lstbox.hxx>
27 #include <vcl/edit.hxx>
28 #include <svx/langbox.hxx>
29 struct SvxAsianLayoutPage_Impl;
30 class SvxAsianLayoutPage : public SfxTabPage
32 VclPtr<RadioButton> m_pCharKerningRB;
33 VclPtr<RadioButton> m_pCharPunctKerningRB;
35 VclPtr<RadioButton> m_pNoCompressionRB;
36 VclPtr<RadioButton> m_pPunctCompressionRB;
37 VclPtr<RadioButton> m_pPunctKanaCompressionRB;
39 VclPtr<FixedText> m_pLanguageFT;
40 VclPtr<SvxLanguageBox> m_pLanguageLB;
41 VclPtr<CheckBox> m_pStandardCB;
43 VclPtr<FixedText> m_pStartFT;
44 VclPtr<Edit> m_pStartED;
45 VclPtr<FixedText> m_pEndFT;
46 VclPtr<Edit> m_pEndED;
47 VclPtr<FixedText> m_pHintFT;
49 SvxAsianLayoutPage_Impl* pImpl;
51 DECL_LINK(LanguageHdl, void *);
52 DECL_LINK(ChangeStandardHdl, CheckBox*);
53 DECL_LINK(ModifyHdl, Edit*);
55 public:
56 SvxAsianLayoutPage( vcl::Window* pParent, const SfxItemSet& rSet );
57 virtual ~SvxAsianLayoutPage();
58 virtual void dispose() SAL_OVERRIDE;
60 static VclPtr<SfxTabPage> Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
61 static const sal_uInt16* GetRanges();
62 virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
63 virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
66 #endif
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */