1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef ADC_DISPLAY_HFI_METHOD_HXX
30 #define ADC_DISPLAY_HFI_METHOD_HXX
36 #include "hi_factory.hxx"
39 #include <ary/idl/i_param.hxx>
40 #include <ary/doc/d_oldidldocu.hxx>
50 class HF_FunctionDeclaration
;
52 class HF_IdlMethod
: public HtmlFactory_Idl
55 typedef ary::StdConstIterator
<ary::idl::Parameter
> param_list
;
58 Environment
& io_rEnv
,
59 Xml::Element
& o_cell
);
60 virtual ~HF_IdlMethod();
63 const String
& i_sName
,
64 type_id i_nReturnType
,
65 param_list
& i_rParams
,
66 type_list
& i_rExceptions
,
69 const client
& i_ce
) const;
71 void write_Declaration(
72 const String
& i_sName
,
73 type_id i_nReturnType
,
74 param_list
& i_rParams
,
75 type_list
& i_rExceptions
,
77 bool i_bEllipse
) const;
79 // HF_IdlTypeText & o_type,
80 // Xml::Element & o_names,
81 // const ary::idl::Parameter &
84 Xml::Element
* write_Param(
85 HF_FunctionDeclaration
&
87 const ary::idl::Parameter
&
89 void enter_ContentCell() const;
90 void leave_ContentCell() const;
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */