2002-03-08 07:45:36 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 08:33:10 -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:33:10 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:33:10 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:33:10 -05:00
|
|
|
* $RCSfile: dsply_da.hxx,v $
|
|
|
|
* $Revision: 1.4 $
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:33:10 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-03-08 07:45:36 -06:00
|
|
|
*
|
2008-04-10 08:33:10 -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:33:10 -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:33:10 -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_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
|