opc/Constants.h

Go to the documentation of this file.
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/opc/Constants.h#1 $
00019 //  $DateTime: 2008/02/20 08:38:28 $
00020 //  $Author: appacsviewers $
00021 //  $Change: 84992 $
00022 //  $Revision: #1 $
00023 //
00024 
00025 #ifndef _DWFTK_OPCCONSTANTS_H
00026 #define _DWFTK_OPCCONSTANTS_H
00027 
00028 
00033 
00034 
00035 #include "dwfcore/Core.h"
00036 #include "dwf/Toolkit.h"
00037 
00038 
00046 class OPCXML
00047 {
00048 
00049 public:
00050 
00054     static const char* const kzSchemaID_CoreProperties;
00055 
00059     static const char* const kzNamespaceURI_ContentTypes;
00063     static const char* const kzNamespaceURI_CoreProperties;
00067     static const char* const kzNamespaceURI_Relationsips;
00071     static const char* const kzNamespaceURI_DublinCore;
00075     static const char* const kzNamespaceURI_DublinCoreTerms;
00079     static const char* const kzNamespaceURI_XSI;
00083     static const char* const kzNamespace_DublinCore;
00087     static const char* const kzNamespace_DublinCoreTerms;
00091     static const char* const kzNamespace_XSI;
00092 
00096     static const char* const kzElement_Relationships;
00100     static const char* const kzElement_Relationship;
00104     static const char* const kzElement_Types;
00108     static const char* const kzElement_Default;
00112     static const char* const kzElement_Override;
00116     static const char* const kzElement_CoreProperties;
00117 
00121     static const char* const kzAttribute_TargetMode;
00125     static const char* const kzAttribute_Target;
00129     static const char* const kzAttribute_Type;
00133     static const char* const kzAttribute_Id;
00137     static const char* const kzAttribute_ContentType;
00141     static const char* const kzAttribute_Extension;
00145     static const char* const kzAttribute_PartName;
00146 
00150     static const char* const kzAttributeVal_TargetMode_Internal;
00154     static const char* const kzAttributeVal_TargetMode_External;
00155 
00159     static const char* const kzRelationship_Thumbnail;
00163     static const char* const kzRelationship_CoreProperties;
00164 
00165     //
00166     // Properties in the OPC Namespace
00167     //
00171     static const char* const kzCoreProperty_Keywords;
00175     static const char* const kzCoreProperty_ContentType;
00179     static const char* const kzCoreProperty_Category;
00183     static const char* const kzCoreProperty_Version;
00187     static const char* const kzCoreProperty_Revision;
00191     static const char* const kzCoreProperty_LastModifiedBy;
00195     static const char* const kzCoreProperty_LastPrinted;
00199     static const char* const kzCoreProperty_ContentStatus;
00200 
00201     //
00202     // Properties in the Dublin Core Namespace
00203     //
00207     static const char* const kzCoreProperty_Creator;
00211     static const char* const kzCoreProperty_Identifier;
00215     static const char* const kzCoreProperty_Title;
00219     static const char* const kzCoreProperty_Subject;
00223     static const char* const kzCoreProperty_Description;
00227     static const char* const kzCoreProperty_Language;
00228 
00229     //
00230     // Properties in the Dublin Core Namespace - under terms
00231     //
00235     static const char* const kzCoreProperty_Created;
00239     static const char* const kzCoreProperty_Modified;
00240 
00241 };
00242 
00243 
00244     //
00245     // required for win32 dll external linkage
00246     //
00247 #ifdef  _DWFCORE_WIN32_SYSTEM
00248 #ifndef DWFTK_STATIC
00249 
00250 //DNT_Start
00251 
00252 _declspec(selectany) const char* const OPCXML::kzSchemaID_CoreProperties = "6B241FB3-E174-4B01-9685-60381F320DA7";
00253 
00254 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_ContentTypes = "http://schemas.openxmlformats.org/package/2006/content-types";
00255 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_CoreProperties = "http://schemas.openxmlformats.org/package/2006/metadata/core-properties";
00256 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_Relationsips = "http://schemas.openxmlformats.org/package/2006/relationships";
00257 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_DublinCore = "http://purl.org/dc/elements/1.1/";
00258 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_DublinCoreTerms = "http://purl.org/dc/terms/";
00259 _declspec(selectany) const char* const OPCXML::kzNamespaceURI_XSI = "http://www.w3.org/2001/XMLSchema-instance";
00260 _declspec(selectany) const char* const OPCXML::kzNamespace_DublinCore = "dc:";
00261 _declspec(selectany) const char* const OPCXML::kzNamespace_DublinCoreTerms = "dcterms:";
00262 _declspec(selectany) const char* const OPCXML::kzNamespace_XSI = "xsi:";
00263 
00264 _declspec(selectany) const char* const OPCXML::kzElement_Relationships = "Relationships";
00265 _declspec(selectany) const char* const OPCXML::kzElement_Relationship = "Relationship";
00266 _declspec(selectany) const char* const OPCXML::kzElement_Types = "Types";
00267 _declspec(selectany) const char* const OPCXML::kzElement_Default = "Default";
00268 _declspec(selectany) const char* const OPCXML::kzElement_Override = "Override";
00269 _declspec(selectany) const char* const OPCXML::kzElement_CoreProperties = "coreProperties";
00270 
00271 _declspec(selectany) const char* const OPCXML::kzAttribute_TargetMode = "TargetMode";
00272 _declspec(selectany) const char* const OPCXML::kzAttribute_Target = "Target";
00273 _declspec(selectany) const char* const OPCXML::kzAttribute_Type = "Type";
00274 _declspec(selectany) const char* const OPCXML::kzAttribute_Id = "Id";
00275 _declspec(selectany) const char* const OPCXML::kzAttribute_ContentType = "ContentType";
00276 _declspec(selectany) const char* const OPCXML::kzAttribute_Extension = "Extension";
00277 _declspec(selectany) const char* const OPCXML::kzAttribute_PartName = "PartName";
00278 
00279 _declspec(selectany) const char* const OPCXML::kzAttributeVal_TargetMode_Internal = "Internal";
00280 _declspec(selectany) const char* const OPCXML::kzAttributeVal_TargetMode_External = "External";
00281 
00282 _declspec(selectany) const char* const OPCXML::kzRelationship_Thumbnail = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail";
00283 _declspec(selectany) const char* const OPCXML::kzRelationship_CoreProperties = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";
00284 
00285 //
00286 // Properties in the OPC Namespace
00287 //
00288 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Keywords = "keywords";
00289 _declspec(selectany) const char* const OPCXML::kzCoreProperty_ContentType = "contentType";
00290 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Category = "category";
00291 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Version = "version";
00292 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Revision = "revision";
00293 _declspec(selectany) const char* const OPCXML::kzCoreProperty_LastModifiedBy = "lastModifiedBy";
00294 _declspec(selectany) const char* const OPCXML::kzCoreProperty_LastPrinted = "lastPrinted";
00295 _declspec(selectany) const char* const OPCXML::kzCoreProperty_ContentStatus = "contentStatus";
00296 //
00297 // Properties in the Dublin Core Namespace
00298 //
00299 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Creator = "creator";
00300 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Identifier = "identifier";
00301 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Title = "title";
00302 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Subject = "subject";
00303 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Description = "description";
00304 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Language = "language";
00305 //
00306 // Properties in the Dublin Core Namespace - under terms
00307 //
00308 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Created = "created";
00309 _declspec(selectany) const char* const OPCXML::kzCoreProperty_Modified = "modified";
00310 
00311 //DNT_End
00312 
00313 
00314 #endif
00315 #endif
00316 
00317 #endif

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