merge the formfield patch from ooo-build
[ooovba.git] / autodoc / source / display / idl / hfi_method.hxx
blobf9dbee7ac30eda04268a0755860da75c3317dff7
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: hfi_method.hxx,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ADC_DISPLAY_HFI_METHOD_HXX
32 #define ADC_DISPLAY_HFI_METHOD_HXX
36 // USED SERVICES
37 // BASE CLASSES
38 #include "hi_factory.hxx"
39 // COMPONENTS
40 // PARAMETERS
41 #include <ary/idl/i_param.hxx>
42 #include <ary/doc/d_oldidldocu.hxx>
43 typedef ary::doc::OldIdlDocu CodeInfo;
44 #include "hfi_linklist.hxx"
48 namespace csi
50 namespace idl
52 class Parameter;
56 class HF_FunctionDeclaration;
58 class HF_IdlMethod : public HtmlFactory_Idl
60 public:
61 typedef ary::StdConstIterator<ary::idl::Parameter> param_list;
63 HF_IdlMethod(
64 Environment & io_rEnv,
65 Xml::Element & o_cell );
66 virtual ~HF_IdlMethod();
68 void Produce_byData(
69 const String & i_sName,
70 type_id i_nReturnType,
71 param_list & i_rParams,
72 type_list & i_rExceptions,
73 bool i_bOneway,
74 bool i_bEllipse,
75 const client & i_ce ) const;
76 private:
77 void write_Declaration(
78 const String & i_sName,
79 type_id i_nReturnType,
80 param_list & i_rParams,
81 type_list & i_rExceptions,
82 bool i_bOneway,
83 bool i_bEllipse ) const;
84 // void write_Param(
85 // HF_IdlTypeText & o_type,
86 // Xml::Element & o_names,
87 // const ary::idl::Parameter &
88 // i_param ) const;
90 Xml::Element * write_Param(
91 HF_FunctionDeclaration &
92 o_decl,
93 const ary::idl::Parameter &
94 i_param ) const;
95 void enter_ContentCell() const;
96 void leave_ContentCell() const;
101 // IMPLEMENTATION
105 #endif