2002-03-08 07:45:36 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2005-09-07 11:27:16 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:27:16 -05:00
|
|
|
* $RCSfile: dsply_da.hxx,v $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2007-11-02 10:26:52 -05:00
|
|
|
* $Revision: 1.3 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2007-11-02 10:26:52 -05:00
|
|
|
* last change: $Author: hr $ $Date: 2007-11-02 16:25:33 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:27:16 -05: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 07:45:36 -06:00
|
|
|
*
|
|
|
|
*
|
2005-09-07 11:27:16 -05: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 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:27:16 -05: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 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:27:16 -05: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 07:45:36 -06:00
|
|
|
*
|
2005-09-07 11:27:16 -05: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 07:45:36 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef ADC_DISPLAY_HTML_DSPLY_DA_HXX
|
|
|
|
#define ADC_DISPLAY_HTML_DSPLY_DA_HXX
|
|
|
|
|
2007-11-02 10:26:52 -05:00
|
|
|
// BASE CLASSES
|
|
|
|
#include <ary/ary_disp.hxx>
|
|
|
|
#include <cosv/tpl/processor.hxx>
|
2002-03-08 07:45:36 -06:00
|
|
|
// USED SERVICES
|
2007-11-02 10:26:52 -05:00
|
|
|
#include <ary/cpp/c_ce.hxx>
|
2002-03-08 07:45:36 -06:00
|
|
|
|
|
|
|
namespace ary
|
|
|
|
{
|
|
|
|
namespace cpp
|
|
|
|
{
|
|
|
|
class Variable;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
namespace csi
|
|
|
|
{
|
|
|
|
namespace xml
|
|
|
|
{
|
|
|
|
class Element;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-11-02 10:26:52 -05:00
|
|
|
|
|
|
|
|
2002-03-08 07:45:36 -06:00
|
|
|
class OuputPage_Environment;
|
|
|
|
class PageDisplay;
|
|
|
|
class Docu_Display;
|
|
|
|
|
2007-11-02 10:26:52 -05:00
|
|
|
class DataDisplay : public ary::Display,
|
|
|
|
public csv::ConstProcessor<ary::cpp::Variable>
|
2002-03-08 07:45:36 -06:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
DataDisplay(
|
|
|
|
OuputPage_Environment &
|
|
|
|
io_rInfo );
|
|
|
|
virtual ~DataDisplay();
|
|
|
|
|
|
|
|
void PrepareForConstants();
|
|
|
|
void PrepareForVariables();
|
|
|
|
void PrepareForStdMembers();
|
|
|
|
void PrepareForStaticMembers();
|
|
|
|
|
|
|
|
void Create_Files();
|
|
|
|
|
|
|
|
private:
|
2007-11-02 10:26:52 -05:00
|
|
|
// Interface csv::ConstProcessor<>:
|
|
|
|
virtual void do_Process(
|
|
|
|
const ary::cpp::Variable &
|
|
|
|
i_rData );
|
2002-03-08 07:45:36 -06:00
|
|
|
// Interface ary::cpp::Display:
|
2007-11-02 10:26:52 -05:00
|
|
|
virtual const ary::cpp::Gate *
|
2002-03-08 07:45:36 -06:00
|
|
|
inq_Get_ReFinder() const;
|
|
|
|
|
|
|
|
// Locals
|
2007-11-02 10:26:52 -05:00
|
|
|
typedef ary::cpp::Lid SourceFileId;
|
2002-03-08 07:45:36 -06:00
|
|
|
typedef std::map< SourceFileId, DYN PageDisplay* > Map_FileId2PagePtr;
|
|
|
|
|
|
|
|
PageDisplay & FindPage_for(
|
|
|
|
const ary::cpp::Variable &
|
|
|
|
i_rData );
|
|
|
|
void Display_SglDatum(
|
|
|
|
csi::xml::Element & rOut,
|
|
|
|
const ary::cpp::Variable &
|
|
|
|
i_rData );
|
|
|
|
// DATA
|
|
|
|
Map_FileId2PagePtr aMap_GlobalDataDisplay;
|
|
|
|
Dyn<PageDisplay> pClassMembersDisplay;
|
|
|
|
|
|
|
|
OuputPage_Environment *
|
|
|
|
pEnv;
|
|
|
|
Dyn<Docu_Display> pDocuShow;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-02 10:26:52 -05:00
|
|
|
#endif
|