2002-03-08 07:45:36 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 08:42:18 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05:00
|
|
|
* $RCSfile: pm_base.hxx,v $
|
|
|
|
* $Revision: 1.5 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05: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.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05: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).
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:42:18 -05: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.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef ADC_DISPLAY_PM_BASE_HXX
|
|
|
|
#define ADC_DISPLAY_PM_BASE_HXX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// USED SERVICES
|
|
|
|
// BASE CLASSES
|
|
|
|
// COMPONENTS
|
|
|
|
// PARAMETERS
|
|
|
|
#include "hdimpl.hxx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class OuputPage_Environment;
|
|
|
|
class csi::xml::Element;
|
|
|
|
class PageDisplay;
|
|
|
|
|
|
|
|
|
|
|
|
/** Interface for making a special kind of HTML-Page
|
|
|
|
*/
|
|
|
|
class SpecializedPageMaker
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~SpecializedPageMaker() {}
|
|
|
|
|
|
|
|
virtual void MakePage() = 0;
|
|
|
|
|
|
|
|
virtual void Write_NavBar();
|
|
|
|
virtual void Write_TopArea();
|
|
|
|
virtual void Write_DocuArea();
|
2006-06-19 05:56:54 -05:00
|
|
|
// virtual void Write_ChildList(
|
|
|
|
// ary::SlotAccessId i_nSlot,
|
|
|
|
// const char * i_nListTitle,
|
|
|
|
// const char * i_nLabel );
|
2002-03-08 07:45:36 -06:00
|
|
|
|
|
|
|
protected:
|
|
|
|
SpecializedPageMaker(
|
|
|
|
PageDisplay & io_rPage );
|
|
|
|
|
|
|
|
OuputPage_Environment &
|
2007-11-02 10:31:40 -05:00
|
|
|
Env() const { return *pEnv; }
|
2002-03-08 07:45:36 -06:00
|
|
|
csi::xml::Element & CurOut();
|
|
|
|
PageDisplay & Page() { return *pPage; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
OuputPage_Environment *
|
|
|
|
pEnv;
|
|
|
|
csi::xml::Element * pCurOut;
|
|
|
|
PageDisplay * pPage;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|