Update ooo320-m1
[ooovba.git] / autodoc / source / display / html / dsply_op.hxx
blob2166d25a2703bde0a0ccbd98298391e588c2f99e
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: dsply_op.hxx,v $
10 * $Revision: 1.4 $
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 ************************************************************************/
31 #ifndef ADC_DISPLAY_HTML_DSPLY_OP_HXX
32 #define ADC_DISPLAY_HTML_DSPLY_OP_HXX
34 // BASE CLASSES
35 #include <ary/ary_disp.hxx>
36 #include <cosv/tpl/processor.hxx>
37 // USED SERVICES
38 #include <ary/cpp/c_ce.hxx>
40 namespace ary
42 namespace cpp
44 class Function;
47 namespace csi
49 namespace xml
51 class Element;
55 class OuputPage_Environment;
56 class PageDisplay;
57 class Docu_Display;
62 class OperationsDisplay : public ary::Display,
63 public csv::ConstProcessor<ary::cpp::Function>
65 public:
66 OperationsDisplay(
67 OuputPage_Environment &
68 io_rInfo );
69 virtual ~OperationsDisplay();
71 void PrepareForStdMembers();
72 void PrepareForStaticMembers();
73 void Create_Files();
75 private:
76 // Interface csv::ConstProcessor<>:
77 virtual void do_Process(
78 const ary::cpp::Function &
79 i_rData );
80 // Interface ary::Display:
81 virtual const ary::cpp::Gate *
82 inq_Get_ReFinder() const;
84 // Locals
85 typedef ary::cpp::Lid SourceFileId;
86 typedef std::map< SourceFileId, DYN PageDisplay* > Map_FileId2PagePtr;
88 PageDisplay & FindPage_for(
89 const ary::cpp::Function &
90 i_rData );
91 void Display_SglOperation(
92 csi::xml::Element & rOut,
93 const ary::cpp::Function &
94 i_rData );
95 // DATA
96 Map_FileId2PagePtr aMap_GlobalFunctionsDisplay;
97 Dyn<PageDisplay> pClassMembersDisplay;
99 OuputPage_Environment *
100 pEnv;
101 Dyn<Docu_Display> pDocuShow;
107 #endif