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_NAMSP_HXX 29 #define ADC_DISPLAY_HTML_PM_NAMSP_HXX 30 31 32 33 // USED SERVICES 34 // BASE CLASSES 35 #include "pm_base.hxx" 36 // COMPONENTS 37 // PARAMETERS 38 39 class ChildList_Display; 40 class NavigationBar; 41 42 class PageMaker_Namespace : public SpecializedPageMaker 43 { 44 public: 45 PageMaker_Namespace( 46 PageDisplay & io_rPage ); 47 48 virtual ~PageMaker_Namespace(); 49 50 virtual void MakePage(); 51 52 private: 53 virtual void Write_NavBar(); 54 virtual void Write_TopArea(); 55 virtual void Write_DocuArea(); 56 virtual void Write_ChildList( 57 ary::SlotAccessId i_nSlot, 58 const char * i_nListTitle, 59 const char * i_nLabel ); 60 void Write_ChildLists_forClasses( 61 const char * i_sListTitle, 62 const char * i_sLabel, 63 ary::cpp::E_ClassKey i_eFilter ); 64 65 const ary::cpp::Namespace & 66 Me() const { return *pMe; } 67 // DATA 68 const ary::cpp::Namespace * 69 pMe; 70 Dyn<ChildList_Display> 71 pChildDisplay; 72 Dyn<NavigationBar> pNavi; 73 }; 74 75 76 77 #endif 78 79