/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX #define INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX #include #include #include #include class ScTablePage : public SfxTabPage { friend class VclPtr; static const sal_uInt16 pPageTableRanges[]; public: static VclPtr Create ( vcl::Window* pParent, const SfxItemSet* rCoreSet ); static const sal_uInt16* GetRanges () { return pPageTableRanges; } virtual bool FillItemSet ( SfxItemSet* rCoreSet ) override; virtual void Reset ( const SfxItemSet* rCoreSet ) override; using SfxTabPage::DeactivatePage; virtual sfxpg DeactivatePage ( SfxItemSet* pSet = NULL ) override; virtual void DataChanged ( const DataChangedEvent& rDCEvt ) override; virtual ~ScTablePage(); virtual void dispose() override; private: ScTablePage( vcl::Window* pParent, const SfxItemSet& rCoreSet ); void ShowImage(); private: VclPtr m_pBtnTopDown; VclPtr m_pBtnLeftRight; VclPtr m_pBmpPageDir; VclPtr m_pBtnPageNo; VclPtr m_pEdPageNo; VclPtr m_pBtnHeaders; VclPtr m_pBtnGrid; VclPtr m_pBtnNotes; VclPtr m_pBtnObjects; VclPtr m_pBtnCharts; VclPtr m_pBtnDrawings; VclPtr m_pBtnFormulas; VclPtr m_pBtnNullVals; VclPtr m_pLbScaleMode; VclPtr m_pBxScaleAll; VclPtr m_pEdScaleAll; VclPtr m_pGrHeightWidth; VclPtr m_pEdScalePageWidth; VclPtr m_pEdScalePageHeight; VclPtr m_pBxScalePageNum; VclPtr m_pEdScalePageNum; private: // Handler: DECL_LINK_TYPED(PageDirHdl, Button*, void); DECL_LINK_TYPED( PageNoHdl, Button*, void ); DECL_LINK_TYPED(ScaleHdl, ListBox&, void); }; #endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */