DWFToolkit::DWFContentPresentationResource Class Reference

Inheritance diagram for DWFToolkit::DWFContentPresentationResource:

Inheritance graph
[legend]
Collaboration diagram for DWFToolkit::DWFContentPresentationResource:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class is used to create and publish presentations for a section.

Since:
7.2
This class is used to create and publish presentations for a section. This class also has the default implementation for the content presentation document.

Definition at line 48 of file ContentPresentationResource.h.

Public Member Functions

_DWFTK_API DWFContentPresentationResource (DWFPackageReader *pPackageReader) throw ()
_DWFTK_API DWFContentPresentationResource (const DWFString &zRole) throw ()
virtual _DWFTK_API ~DWFContentPresentationResource () throw ()
virtual _DWFTK_API DWFInputStreamgetInputStream (bool bCache=false) throw ( DWFException )
_DWFTK_API const DWFXMLNamespaceaddNamespace (const DWFString &zNamespace, const DWFString &zXMLNS) throw ( DWFException )
_DWFTK_API void serializeXML (DWFXMLSerializer &rSerializer, unsigned int nFlags) throw ( DWFException )


Constructor & Destructor Documentation

_DWFTK_API DWFToolkit::DWFContentPresentationResource::DWFContentPresentationResource DWFPackageReader pPackageReader  )  throw ()
 

Constructor

This constructor is generally only used by the parsing process when the DWFPackageReader associated with (and providing read access to) the DWF package file is available. The subsequent binding makes it possible to read resource content data from the DWF package.

Parameters:
pPackageReader Provides access to resource content in the DWF package.
Exceptions:
None 

_DWFTK_API DWFToolkit::DWFContentPresentationResource::DWFContentPresentationResource const DWFString zRole  )  throw ()
 

Constructor

This constructor is meant for publishers intending to include this resource in the DWF package.

Parameters:
zRole Describes the role of the document. Roles known (but not restricted) to the toolkit currently are:
Exceptions:
None 

virtual _DWFTK_API DWFToolkit::DWFContentPresentationResource::~DWFContentPresentationResource  )  throw () [virtual]
 

Destructor

Exceptions:
None 


Member Function Documentation

_DWFTK_API const DWFXMLNamespace& DWFToolkit::DWFContentPresentationResource::addNamespace const DWFString zNamespace,
const DWFString zXMLNS
throw ( DWFException ) [virtual]
 

Reimplemented from DWFCore::DWFXMLSerializableBase.

virtual _DWFTK_API DWFInputStream* DWFToolkit::DWFContentPresentationResource::getInputStream bool  bCache = false  )  throw ( DWFException ) [virtual]
 

Provides a stream for reading the resource data.

This method implementation differs from the base class in that an in-memory representation of the entire document is generated on the fly from the current state of the contained objects and instances.

Parameters:
bCache This parameter is ignored.
Returns:
A pointer to a data stream. The caller is responsible for releasing the pointer with the DWFCORE_FREE_OBJECT macro.
Exceptions:
DWFException 

Reimplemented from DWFToolkit::DWFResource.

_DWFTK_API void DWFToolkit::DWFContentPresentationResource::serializeXML DWFXMLSerializer rSerializer,
unsigned int  nFlags
throw ( DWFException ) [virtual]
 

Reimplemented from DWFToolkit::DWFResource.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:40:40 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5