<%

'*****************************************************************************
' Microsoft Content Management Server
'
' File: SDReportExportObjects.INC
'
' Purpose:
'   ASP server-side include file that generates information about the Exported
'   objects. This file is included by the main report file.
'
' GLOBAL DEPENDENCIES:
'
'*****************************************************************************


%>

<!-- #include file="SDReportExportObjectType.INC" -->

<%
	' do the preliminary setup work. Create a helper object that encapsulates
	' all of the details about the object type to be dumped out in the report.
	' The function that generates the HTML for the objects requries a tag in 
	' the report XML that provides details on the export objects (specifically
	' their type). In addition, the function may need a string description of 
	' the container and item types should it wish to dynamically generate 
	' filenames for images and other stuff 

	dim pObjectTypeInfo
	set pObjectTypeInfo = new CObjectTypeInfo
%>

<H3 Class="Heading3">Channels and Pages</H3>

<%
	call pObjectTypeInfo.Initialize( pReportXMLTag.ExportedObjects.ChannelsAndPostings, _
									 "Channel", _
									 "Posting" )
	
	' call a helper function that generates the HTML for this object
	' type
	call generateHTMLForObjectType( pObjectTypeInfo )

%>

<HR SIZE="1">

<H3 Class="Heading3">Template Galleries and Templates</H3>

<%
	call pObjectTypeInfo.Initialize( pReportXMLTag.ExportedObjects.TemplatesAndGalleries, _
									 "TemplateGallery", _
									 "Template" )
	
	' call a helper function that generates the HTML for this object
	' type
	call generateHTMLForObjectType( pObjectTypeInfo )

%>

<HR SIZE="1">

<H3 Class="Heading3">Resource Galleries and Resources</H3>

<%
	call pObjectTypeInfo.Initialize( pReportXMLTag.ExportedObjects.ResourcesAndGalleries, _
									 "ResourceGallery", _
									 "Resource" )
	
	' call a helper function that generates the HTML for this object
	' type
	call generateHTMLForObjectType( pObjectTypeInfo )

%>

<HR SIZE="1">

<H3 Class="Heading3">User Rights Groups</H3>

<%
	call pObjectTypeInfo.Initialize( pReportXMLTag.ExportedObjects.UserRolesAndRightsGroups, _
									 "RightsGroup", _
									 "User" )
	
	' call a helper function that generates the HTML for this object
	' type
	call generateHTMLForObjectType( pObjectTypeInfo )

%>


