1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef ADC_DISPLAY_HTML_CHD_UDK2_HXX
29 #define ADC_DISPLAY_HTML_CHD_UDK2_HXX
30 
31 // BASE CLASSES
32 #include <autodoc/dsp_html_std.hxx>
33 // USED SERVICES
34 #include <cosv/ploc.hxx>
35 
36 namespace ary
37 {
38 namespace cpp
39 {
40     class Namespace;
41     class Gate;
42 }
43 }
44 
45 class OuputPage_Environment;
46 
47 
48 
49 
50 class CppHtmlDisplay_Udk2 : public autodoc::HtmlDisplay_UdkStd
51 {
52   public:
53 						CppHtmlDisplay_Udk2();
54 						~CppHtmlDisplay_Udk2();
55   private:
56     // Interface CppHtmlDisplay_UdkStd:
57     virtual void        do_Run(
58                             const char *        i_sOutputDirectory,
59                             const ary::cpp::Gate &
60                                                 i_rAryGate,
61                             const display::CorporateFrame &
62                                                 i_rLayout );
63 
64     // Local
65     void                SetRunData(
66                             const char *        i_sOutputDirectory,
67                             const ary::cpp::Gate &
68                                                 i_rAryGate,
69                             const display::CorporateFrame &
70                                                 i_rLayout );
71 
72     void                Create_Css_File();
73     void                Create_Overview_File();
74     void                Create_Help_File();
75     void                Create_AllDefs_File();
76     void                CreateFiles_InSubTree_Namespaces();
77     void                CreateFiles_InSubTree_Index();
78 
79     void                RecursiveDisplay_Namespace(
80                             const ary::cpp::Namespace &
81                                                 i_rNsp );
82     void                DisplayFiles_InNamespace(
83                             const ary::cpp::Namespace &
84                                                 i_rNsp );
85     const ary::cpp::Gate &
86                         Gate() const;
87 	// DATA
88     Dyn<OuputPage_Environment>
89                         pCurPageEnv;
90 };
91 
92 
93 
94 
95 #endif
96