DocumentPresentationsPart.h

00001 //
00002 //  Copyright (c) 2006 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE CORRECTNESS
00008 //  OF THIS CODE OR ANY DERIVATIVE WORKS WHICH INCORPORATE IT. AUTODESK
00009 //  PROVIDES THE CODE ON AN "AS-IS" BASIS AND EXPLICITLY DISCLAIMS ANY
00010 //  LIABILITY, INCLUDING CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00011 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00012 //
00013 //  Use, duplication, or disclosure by the U.S. Government is subject to
00014 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00015 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00016 //  Data and Computer Software), as applicable.
00017 //
00018 //  $Header: //DWF/Development/Components/Internal/DWF Toolkit/v7.6/develop/global/src/dwf/dwfx/DocumentPresentationsPart.h#1 $
00019 //  $DateTime: 2008/02/20 08:38:28 $
00020 //  $Author: appacsviewers $
00021 //  $Change: 84992 $
00022 //  $Revision: #1 $
00023 //
00024 //
00025 
00026 #ifndef _DWFTK_DOCUMENTPRESENTATIONSPART_H
00027 #define _DWFTK_DOCUMENTPRESENTATIONSPART_H
00028 
00029 
00030 #include "dwf/opc/XMLPart.h"
00031 
00032 namespace DWFToolkit
00033 {
00034 
00035 //
00036 // fwd declaration
00037 //
00038 class DWFPackageContentPresentations;
00039 
00040 class DWFXDocumentPresentationsPart : public OPCXMLPart
00041 {
00042 
00043 public:
00044 
00045     _DWFTK_API
00046     DWFXDocumentPresentationsPart( DWFPackageContentPresentations* pPackageContentPresentations )
00047         throw();
00048 
00049     _DWFTK_API
00050     virtual ~DWFXDocumentPresentationsPart()
00051         throw();
00052 
00053 
00054     _DWFTK_API
00055     DWFPackageContentPresentations* const presentations() const
00056         throw()
00057     {
00058         return _pPackageContentPresentations;
00059     }
00060 
00061 #ifndef DWFTK_READ_ONLY
00062 
00063     _DWFTK_API
00064     virtual void serializeXML( DWFXMLSerializer& rSerializer )
00065         throw( DWFException );
00066 
00067 #endif
00068 
00069 private:
00070 
00071     DWFPackageContentPresentations* _pPackageContentPresentations;
00072 
00073 
00074 private:
00075 
00076     //
00077     // Not implemented
00078     //
00079     DWFXDocumentPresentationsPart( const DWFXDocumentPresentationsPart& );
00080     DWFXDocumentPresentationsPart& operator=( const DWFXDocumentPresentationsPart& );
00081 
00082 };
00083 
00084 }
00085 
00086 #endif

Generated on Tue Jan 6 22:40:03 2009 for Autodesk DWF Toolkit by  doxygen 1.4.5