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