1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ADC_DISPLAY_HTML_CHD_UDK2_HXX
25 #define ADC_DISPLAY_HTML_CHD_UDK2_HXX
26 
27 // BASE CLASSES
28 #include <autodoc/dsp_html_std.hxx>
29 // USED SERVICES
30 #include <cosv/ploc.hxx>
31 
32 namespace ary
33 {
34 namespace cpp
35 {
36     class Namespace;
37     class Gate;
38 }
39 }
40 
41 class OuputPage_Environment;
42 
43 
44 
45 
46 class CppHtmlDisplay_Udk2 : public autodoc::HtmlDisplay_UdkStd
47 {
48   public:
49 						CppHtmlDisplay_Udk2();
50 						~CppHtmlDisplay_Udk2();
51   private:
52     // Interface CppHtmlDisplay_UdkStd:
53     virtual void        do_Run(
54                             const char *        i_sOutputDirectory,
55                             const ary::cpp::Gate &
56                                                 i_rAryGate,
57                             const display::CorporateFrame &
58                                                 i_rLayout );
59 
60     // Local
61     void                SetRunData(
62                             const char *        i_sOutputDirectory,
63                             const ary::cpp::Gate &
64                                                 i_rAryGate,
65                             const display::CorporateFrame &
66                                                 i_rLayout );
67 
68     void                Create_Css_File();
69     void                Create_Overview_File();
70     void                Create_Help_File();
71     void                Create_AllDefs_File();
72     void                CreateFiles_InSubTree_Namespaces();
73     void                CreateFiles_InSubTree_Index();
74 
75     void                RecursiveDisplay_Namespace(
76                             const ary::cpp::Namespace &
77                                                 i_rNsp );
78     void                DisplayFiles_InNamespace(
79                             const ary::cpp::Namespace &
80                                                 i_rNsp );
81     const ary::cpp::Gate &
82                         Gate() const;
83 	// DATA
84     Dyn<OuputPage_Environment>
85                         pCurPageEnv;
86 };
87 
88 
89 
90 
91 #endif
92