1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef ADC_DISPLAY_HFI_PROPERTY_HXX
21 #define ADC_DISPLAY_HFI_PROPERTY_HXX
27 #include "hi_factory.hxx"
30 #include <ary/idl/i_comrela.hxx>
32 class HF_SubTitleTable
;
34 class HF_IdlDataMember
: public HtmlFactory_Idl
38 const client
& ce
) const;
41 Environment
& io_rEnv
,
42 HF_SubTitleTable
& o_table
);
43 virtual ~HF_IdlDataMember() {}
46 virtual void write_Title(
47 const client
& i_ce
) const;
49 virtual void write_Declaration(
50 const client
& i_ce
) const = 0;
52 virtual void write_Description(
53 const client
& i_ce
) const;
55 void enter_ContentCell() const;
56 void leave_ContentCell() const;
61 class HF_IdlProperty
: public HF_IdlDataMember
65 Environment
& io_rEnv
,
66 HF_SubTitleTable
& o_table
)
67 : HF_IdlDataMember(io_rEnv
, o_table
) {}
68 virtual ~HF_IdlProperty();
70 virtual void write_Declaration(
71 const client
& i_ce
) const;
74 class HF_IdlAttribute
: public HF_IdlDataMember
78 Environment
& io_rEnv
,
79 HF_SubTitleTable
& o_table
)
80 : HF_IdlDataMember(io_rEnv
, o_table
) {}
81 virtual ~HF_IdlAttribute();
84 virtual void write_Declaration(
85 const client
& i_ce
) const;
89 class HF_IdlEnumValue
: public HF_IdlDataMember
93 Environment
& io_rEnv
,
94 HF_SubTitleTable
& o_table
)
95 : HF_IdlDataMember(io_rEnv
, o_table
) {}
96 virtual ~HF_IdlEnumValue();
99 virtual void write_Declaration(
100 const client
& i_ce
) const;
103 class HF_IdlConstant
: public HF_IdlDataMember
107 Environment
& io_rEnv
,
108 HF_SubTitleTable
& o_table
)
109 : HF_IdlDataMember(io_rEnv
, o_table
) {}
110 virtual ~HF_IdlConstant();
113 virtual void write_Declaration(
114 const client
& i_ce
) const;
118 class HF_IdlStructElement
: public HF_IdlDataMember
122 Environment
& io_rEnv
,
123 HF_SubTitleTable
& o_table
)
124 : HF_IdlDataMember(io_rEnv
, o_table
) {}
125 virtual ~HF_IdlStructElement();
128 virtual void write_Declaration(
129 const client
& i_ce
) const;
132 class HF_IdlCommentedRelationElement
: public HF_IdlDataMember
135 HF_IdlCommentedRelationElement(
136 Environment
& io_rEnv
,
137 HF_SubTitleTable
& o_table
,
138 const ary::idl::CommentedRelation
& i_relation
)
139 : HF_IdlDataMember(io_rEnv
, o_table
)
140 , m_relation( i_relation
)
143 virtual ~HF_IdlCommentedRelationElement();
145 typedef ::ary::idl::CommentedRelation comref
;
147 static void produce_LinkDoc(
148 Environment
& io_env
,
150 Xml::Element
& io_context
,
151 const comref
& i_commentedRef
,
152 const E_DocType i_docType
);
155 virtual void write_Title(
156 const client
& i_ce
) const;
157 virtual void write_Declaration(
158 const client
& i_ce
) const;
159 virtual void write_Description(
160 const client
& i_ce
) const;
162 static void produce_Summary( Environment
& io_env
,
163 Xml::Element
& io_context
,
164 const comref
& i_commentedRef
,
165 const client
& i_rScopeGivingCe
);
167 static String
get_LocalLinkName( Environment
& io_env
,
168 const comref
& i_commentedRef
);
171 const ary::idl::CommentedRelation
& m_relation
;
176 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */