1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: pm_class.hxx,v $
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_HTML_PM_CLASS_HXX
32 #define ADC_DISPLAY_HTML_PM_CLASS_HXX
38 #include "pm_base.hxx"
51 class ChildList_Display
;
55 class PageMaker_Class
: public SpecializedPageMaker
72 PageDisplay
& io_rPage
,
73 const ary::cpp::Class
&
76 virtual ~PageMaker_Class();
78 virtual void MakePage();
81 enum E_MemberProtection
{ mp_public
= 0, mp_protected
, mp_private
, mp_MAX
};
83 virtual void Write_NavBar();
84 virtual void Write_TopArea();
85 virtual void Write_DocuArea();
86 virtual void Write_ChildList(
87 ary::SlotAccessId i_nSlot
,
88 E_ChidList i_eChildListIndex
,
89 const char * i_sLabel
,
90 const char * i_sListTitle
,
91 csi::xml::Element
& o_rPublic
,
92 csi::xml::Element
& o_rProtected
,
93 csi::xml::Element
& o_rPrivate
);
94 void Write_ChildList_forClasses(
95 csi::xml::Element
& o_rPublic
,
96 csi::xml::Element
& o_rProtected
,
97 csi::xml::Element
& o_rPrivate
,
98 const char * i_sLabel
,
99 const char * i_sListTitle
,
102 void Write_ChildLists();
103 static const char * ChildListLabel(
104 const char * i_sLabel
,
105 E_MemberProtection i_eMpr
);
106 csi::html::DefListDefinition
&
107 Setup_MemberSegment_Out(
108 E_MemberProtection i_eMpr
);
109 void Create_NaviSubRow(
110 E_MemberProtection i_eMpr
);
111 void Write_BaseHierarchy();
112 void Write_DerivedList();
114 const ary::cpp::Class
&
115 Me() const { return *pMe
; }
117 const ary::cpp::Class
*
119 Dyn
<ChildList_Display
>
121 Dyn
<NavigationBar
> pNavi
;
123 Dyn
<csi::xml::Element
>
124 pProtectionArea
[mp_MAX
];
126 bool bChildLists_Exist
[3*cl_MAX
];