Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sw / dpage.hxx
blobae6cecfb3e80be575fcda743a655c683fe9d68ff
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dpage.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _DPAGE_HXX
31 #define _DPAGE_HXX
33 #ifndef _FM_FMPAGE_HXX
34 #include <bf_svx/fmpage.hxx>
35 #endif
37 #ifndef _SVDOBJ_HXX
38 #include <bf_svx/svdobj.hxx>
39 #endif
40 namespace binfilter {
42 class SdrPageGridFrameList;
43 class SwDrawDocument;
44 class SwDoc;
46 class SwDPage : public FmFormPage, public SdrObjUserCall
48 SdrPageGridFrameList* pGridLst;
49 SwDoc& rDoc;
51 public:
52 SwDPage(SwDrawDocument& rNewModel, BOOL bMasterPage=FALSE);
53 ~SwDPage();
55 // #i3694#
56 // This GetOffset() method is not needed anymore, it even leads to errors.
57 // virtual Point GetOffset() const;
58 virtual SdrObject* ReplaceObject( SdrObject* pNewObj, ULONG nObjNum );
64 virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage();
67 } //namespace binfilter
68 #endif // _DPAGE_HXX