fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / tptable.hxx
blob46042b8548962fd5c46c12906aa95ff9bcd51dc9
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_SC_SOURCE_UI_INC_TPTABLE_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
23 #include <sfx2/tabdlg.hxx>
24 #include <vcl/fixed.hxx>
25 #include <vcl/lstbox.hxx>
26 #include <vcl/field.hxx>
28 class ScTablePage : public SfxTabPage
30 friend class VclPtr<ScTablePage>;
31 static const sal_uInt16 pPageTableRanges[];
32 public:
33 static VclPtr<SfxTabPage> Create ( vcl::Window* pParent,
34 const SfxItemSet* rCoreSet );
35 static const sal_uInt16* GetRanges () { return pPageTableRanges; }
36 virtual bool FillItemSet ( SfxItemSet* rCoreSet ) SAL_OVERRIDE;
37 virtual void Reset ( const SfxItemSet* rCoreSet ) SAL_OVERRIDE;
38 using SfxTabPage::DeactivatePage;
39 virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) SAL_OVERRIDE;
40 virtual void DataChanged ( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
42 virtual ~ScTablePage();
43 virtual void dispose() SAL_OVERRIDE;
44 private:
45 ScTablePage( vcl::Window* pParent, const SfxItemSet& rCoreSet );
46 void ShowImage();
48 private:
49 VclPtr<RadioButton> m_pBtnTopDown;
50 VclPtr<RadioButton> m_pBtnLeftRight;
51 VclPtr<FixedImage> m_pBmpPageDir;
52 VclPtr<CheckBox> m_pBtnPageNo;
53 VclPtr<NumericField> m_pEdPageNo;
55 VclPtr<CheckBox> m_pBtnHeaders;
56 VclPtr<CheckBox> m_pBtnGrid;
57 VclPtr<CheckBox> m_pBtnNotes;
58 VclPtr<CheckBox> m_pBtnObjects;
59 VclPtr<CheckBox> m_pBtnCharts;
60 VclPtr<CheckBox> m_pBtnDrawings;
61 VclPtr<CheckBox> m_pBtnFormulas;
62 VclPtr<CheckBox> m_pBtnNullVals;
64 VclPtr<ListBox> m_pLbScaleMode;
65 VclPtr<VclHBox> m_pBxScaleAll;
66 VclPtr<MetricField> m_pEdScaleAll;
67 VclPtr<VclGrid> m_pGrHeightWidth;
68 VclPtr<NumericField> m_pEdScalePageWidth;
69 VclPtr<NumericField> m_pEdScalePageHeight;
70 VclPtr<VclHBox> m_pBxScalePageNum;
71 VclPtr<NumericField> m_pEdScalePageNum;
73 private:
75 // Handler:
76 DECL_LINK(PageDirHdl, void *);
77 DECL_LINK( PageNoHdl, CheckBox* );
78 DECL_LINK(ScaleHdl, void *);
81 #endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */