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_PM_ALDEF_HXX 25 #define ADC_DISPLAY_HTML_PM_ALDEF_HXX 26 27 // BASE CLASSES 28 #include "pm_base.hxx" 29 // USED SERVICES 30 #include <ary/cpp/c_types4cpp.hxx> 31 using ary::cpp::De_id; 32 33 namespace ary 34 { 35 namespace cpp 36 { 37 class DefineEntity; 38 } 39 } 40 41 class Docu_Display; 42 class NavigationBar; 43 44 45 46 47 48 class PageMaker_AllDefs : public SpecializedPageMaker 49 { 50 public: 51 PageMaker_AllDefs( 52 PageDisplay & io_rPage ); 53 54 virtual ~PageMaker_AllDefs(); 55 56 virtual void MakePage(); 57 58 private: 59 typedef std::vector<De_id> List_Ids; 60 typedef List_Ids::const_iterator ids_iterator; 61 62 virtual void Write_NavBar(); 63 virtual void Write_TopArea(); 64 virtual void Write_DocuArea(); 65 virtual void Write_DefinesList(); 66 virtual void Write_MacrosList(); 67 void Write_Define( 68 De_id i_nId ); 69 void Write_Macro( 70 De_id i_nId ); 71 void Write_DefsDocu( 72 csi::xml::Element & o_rOut, 73 const ary::cpp::DefineEntity & 74 i_rTextReplacement ); 75 76 // DATA 77 Dyn<Docu_Display> pDocuDisplay; 78 Dyn<NavigationBar> pNavi; 79 }; 80 81 82 83 84 #endif 85