bump product version to 6.3.0.0.beta1
[LibreOffice.git] / sd / source / ui / inc / prntopts.hxx
blob18e1fd08d5ade78bc24b4e7a61297c22b3f7e32c
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_SD_SOURCE_UI_INC_PRNTOPTS_HXX
21 #define INCLUDED_SD_SOURCE_UI_INC_PRNTOPTS_HXX
23 #include <vcl/button.hxx>
24 #include <vcl/layout.hxx>
25 #include <sfx2/tabdlg.hxx>
27 class SdPrintOptions : public SfxTabPage
29 friend class SdModule;
31 private:
32 VclPtr<VclFrame> m_pFrmContent;
33 VclPtr<CheckBox> m_pCbxDraw;
34 VclPtr<CheckBox> m_pCbxNotes;
35 VclPtr<CheckBox> m_pCbxHandout;
36 VclPtr<CheckBox> m_pCbxOutline;
37 VclPtr<RadioButton> m_pRbtColor;
38 VclPtr<RadioButton> m_pRbtGrayscale;
39 VclPtr<RadioButton> m_pRbtBlackWhite;
40 VclPtr<CheckBox> m_pCbxPagename;
41 VclPtr<CheckBox> m_pCbxDate;
42 VclPtr<CheckBox> m_pCbxTime;
43 VclPtr<CheckBox> m_pCbxHiddenPages;
44 VclPtr<RadioButton> m_pRbtDefault;
45 VclPtr<RadioButton> m_pRbtPagesize;
46 VclPtr<RadioButton> m_pRbtPagetile;
47 VclPtr<RadioButton> m_pRbtBooklet;
48 VclPtr<CheckBox> m_pCbxFront;
49 VclPtr<CheckBox> m_pCbxBack;
50 VclPtr<CheckBox> m_pCbxPaperbin;
52 DECL_LINK( ClickCheckboxHdl, Button*, void );
53 DECL_LINK( ClickBookletHdl, Button*, void );
55 void updateControls();
57 using OutputDevice::SetDrawMode;
58 public:
59 SdPrintOptions( vcl::Window* pParent, const SfxItemSet& rInAttrs);
60 virtual ~SdPrintOptions() override;
61 virtual void dispose() override;
63 static VclPtr<SfxTabPage> Create( TabPageParent, const SfxItemSet* );
65 virtual bool FillItemSet( SfxItemSet* ) override;
66 virtual void Reset( const SfxItemSet * ) override;
68 void SetDrawMode();
69 virtual void PageCreated(const SfxAllItemSet& aSet) override;
72 #endif // INCLUDED_SD_SOURCE_UI_INC_PRNTOPTS_HXX
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */