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_PM_BASE_HXX
25 #define ADC_DISPLAY_PM_BASE_HXX
26 
27 
28 
29 // USED SERVICES
30 	// BASE CLASSES
31 	// COMPONENTS
32 	// PARAMETERS
33 #include "hdimpl.hxx"
34 
35 
36 
37 class OuputPage_Environment;
38 namespace csi
39 {
40     namespace xml
41     {
42         class Element;
43     }
44 }
45 class PageDisplay;
46 
47 
48 /** Interface for making a special kind of HTML-Page
49 */
50 class SpecializedPageMaker
51 {
52   public:
~SpecializedPageMaker()53     virtual             ~SpecializedPageMaker() {}
54 
55     virtual void        MakePage() = 0;
56 
57     virtual void        Write_NavBar();
58     virtual void        Write_TopArea();
59     virtual void        Write_DocuArea();
60 //    virtual void        Write_ChildList(
61 //                            ary::SlotAccessId   i_nSlot,
62 //                            const char *        i_nListTitle,
63 //                            const char *        i_nLabel );
64 
65   protected:
66                         SpecializedPageMaker(
67                             PageDisplay &       io_rPage );
68 
69     OuputPage_Environment &
Env() const70                         Env() const             { return *pEnv; }
71     csi::xml::Element & CurOut();
Page()72     PageDisplay &       Page()                  { return *pPage; }
73 
74   private:
75     OuputPage_Environment *
76                         pEnv;
77     csi::xml::Element * pCurOut;
78     PageDisplay *       pPage;
79 };
80 
81 
82 
83 #endif
84 
85