2002-03-08 13:45:36 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* $RCSfile: pm_index.hxx,v $
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2007-11-02 15:34:04 +00:00
|
|
|
* $Revision: 1.4 $
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2007-11-02 15:34:04 +00:00
|
|
|
* last change: $Author: hr $ $Date: 2007-11-02 16:32:46 $
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* The Contents of this file are made available subject to
|
|
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* GNU Lesser General Public License Version 2.1
|
|
|
|
* =============================================
|
|
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License version 2.1, as published by the Free Software Foundation.
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* This library 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 for more details.
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
2005-09-07 16:36:34 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
2002-03-08 13:45:36 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef ADC_DISPLAY_HTML_PM_INDEX_HXX
|
|
|
|
#define ADC_DISPLAY_HTML_PM_INDEX_HXX
|
|
|
|
|
2007-11-02 15:34:04 +00:00
|
|
|
// BASE CLASSES
|
2002-03-08 13:45:36 +00:00
|
|
|
#include "pm_base.hxx"
|
2007-11-02 15:34:04 +00:00
|
|
|
#include <ary/ary_disp.hxx>
|
|
|
|
#include <cosv/tpl/processor.hxx>
|
|
|
|
// USED SERVICES
|
2002-03-08 13:45:36 +00:00
|
|
|
namespace adcdisp
|
|
|
|
{
|
|
|
|
class IndexList;
|
|
|
|
}
|
2007-11-02 15:34:04 +00:00
|
|
|
namespace ary
|
|
|
|
{
|
|
|
|
namespace cpp
|
|
|
|
{
|
|
|
|
class Namespace;
|
|
|
|
class Class;
|
|
|
|
class Enum;
|
|
|
|
class Typedef;
|
|
|
|
class Function;
|
|
|
|
class Variable;
|
|
|
|
class EnumValue;
|
|
|
|
class Define;
|
|
|
|
class Macro;
|
|
|
|
}
|
|
|
|
}
|
2002-03-08 13:45:36 +00:00
|
|
|
|
|
|
|
class NavigationBar;
|
|
|
|
|
2007-11-02 15:34:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-03-08 13:45:36 +00:00
|
|
|
class PageMaker_Index : public SpecializedPageMaker,
|
2007-11-02 15:34:04 +00:00
|
|
|
public ary::Display,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Namespace>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Class>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Enum>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Typedef>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Function>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Variable>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::EnumValue>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Define>,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Macro>
|
2002-03-08 13:45:36 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
PageMaker_Index(
|
|
|
|
PageDisplay & io_rPage,
|
|
|
|
char i_c );
|
|
|
|
|
|
|
|
virtual ~PageMaker_Index();
|
|
|
|
|
|
|
|
virtual void MakePage();
|
|
|
|
|
2007-11-02 15:34:04 +00:00
|
|
|
private:
|
|
|
|
// Interface csv::ConstProcessor<>
|
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Namespace &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Class &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Enum &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Typedef &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Function &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Variable &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::EnumValue &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Define &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
virtual void do_Process(
|
2002-03-08 13:45:36 +00:00
|
|
|
const ary::cpp::Macro &
|
|
|
|
i_rData );
|
2007-11-02 15:34:04 +00:00
|
|
|
// Interface ary::cpp::Display:
|
|
|
|
virtual const ary::cpp::Gate *
|
|
|
|
inq_Get_ReFinder() const;
|
|
|
|
// Locals
|
2002-03-08 13:45:36 +00:00
|
|
|
virtual void Write_NavBar();
|
|
|
|
virtual void Write_TopArea();
|
|
|
|
virtual void Write_CompleteAlphabeticalList();
|
|
|
|
|
|
|
|
void Write_CeIndexEntry(
|
2007-11-02 15:34:04 +00:00
|
|
|
const ary::cpp::CodeEntity &
|
2002-03-08 13:45:36 +00:00
|
|
|
i_rCe,
|
|
|
|
const char * i_sType,
|
|
|
|
const char * i_sOwnerType );
|
|
|
|
|
|
|
|
// DATA
|
|
|
|
Dyn<NavigationBar> pNavi;
|
|
|
|
char c;
|
|
|
|
adcdisp::IndexList *
|
|
|
|
pCurIndex;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-02 15:34:04 +00:00
|
|
|
#endif
|