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_HFI_SERVICE_HXX 29 #define ADC_DISPLAY_HFI_SERVICE_HXX 30 31 32 // USED SERVICES 33 // BASE CLASSES 34 #include "hi_factory.hxx" 35 // COMPONENTS 36 // PARAMETERS 37 #include <ary/idl/i_comrela.hxx> 38 39 class HF_NaviSubRow; 40 class HF_SubTitleTable; 41 42 class HF_IdlService : public HtmlFactory_Idl 43 { 44 public: 45 typedef ::ary::idl::CommentedRelation comref; 46 typedef ::ary::StdConstIterator< comref > comref_list; 47 48 HF_IdlService( 49 Environment & io_rEnv, 50 Xml::Element & o_rOut ); 51 virtual ~HF_IdlService(); 52 53 void Produce_byData( 54 const client & i_ce ) const; 55 private: 56 // Overwritten from HtmlFactory_Idl: 57 virtual void produce_SummaryDeclaration( 58 Xml::Element & o_row, 59 const client & i_ce ) const; 60 61 // Locals 62 DYN HF_NaviSubRow & make_Navibar( 63 const client & i_ce ) const; 64 65 void produce_Link( 66 Xml::Element & o_row, 67 type_id i_type ) const; 68 void produce_LinkSummary( 69 const client & i_ce, 70 Xml::Element & o_row, 71 const comref & i_commentedRef ) const; 72 73 void produce_MemberDetails( /// of property 74 HF_SubTitleTable & o_table, 75 const client & i_ce ) const; 76 77 void produce_CommentedRelations( 78 const client & i_ce, 79 comref_list & it_list, 80 const String & i_summaryTitle, 81 const String & i_summaryLabel, 82 const String & i_detailsTitle, 83 const String & i_detailsLabel, 84 const E_DocType i_docType ) const; 85 86 }; 87 88 89 90 // IMPLEMENTATION 91 92 extern const String 93 C_sCePrefix_Service; 94 95 96 97 #endif 98 99 100