Files
libreoffice/sw/inc/dpage.hxx

65 lines
2.2 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 16:15:01 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef _DPAGE_HXX
#define _DPAGE_HXX
#include <svx/fmpage.hxx>
#include <svx/svdobj.hxx>
class SdrPageGridFrameList;
class SwDrawDocument;
2000-11-27 06:50:16 +00:00
class SwDoc;
2000-09-18 16:15:01 +00:00
class SwDPage : public FmFormPage, public SdrObjUserCall
{
2000-11-27 06:50:16 +00:00
SdrPageGridFrameList* pGridLst;
SwDoc& rDoc;
2000-09-18 16:15:01 +00:00
public:
SwDPage(SwDrawDocument& rNewModel, sal_Bool bMasterPage=sal_False);
2000-09-18 16:15:01 +00:00
~SwDPage();
// #i3694#
// This GetOffset() method is not needed anymore, it even leads to errors.
// virtual Point GetOffset() const;
virtual SdrObject* ReplaceObject( SdrObject* pNewObj, sal_uLong nObjNum );
2000-09-18 16:15:01 +00:00
virtual const SdrPageGridFrameList* GetGridFrameList(const SdrPageView* pPV,
const Rectangle *pRect) const;
sal_Bool RequestHelp( Window* pWindow, SdrView* pView, const HelpEvent& rEvt );
2000-11-27 06:50:16 +00:00
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage();
2000-09-18 16:15:01 +00:00
};
#endif // _DPAGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */