Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

Constants.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 1996-2005 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 
00019 
00020 #ifndef _DWFTK_CONSTANTS_H
00021 #define _DWFTK_CONSTANTS_H
00022 
00023 
00028 
00029 
00030 #include "dwfcore/Core.h"
00031 #include "dwf/Toolkit.h"
00032 
00033 namespace DWFToolkit
00034 {
00035 
00043 class DWFXML
00044 {
00045 
00046 public:
00047 
00051     static const char* const kzNamespace_DWF;
00055     static const char* const kzNamespace_EPlot;
00059     static const char* const kzNamespace_EModel;
00063     static const char* const kzNamespace_ECommon;
00064 
00068     static const char* const kzElement_TOC;
00072     static const char* const kzElement_Page;
00076     static const char* const kzElement_Paper;
00080     static const char* const kzElement_Space;
00084     static const char* const kzElement_Units;
00088     static const char* const kzElement_Global;
00092     static const char* const kzElement_Source;
00096     static const char* const kzElement_Object;
00100     static const char* const kzElement_Objects;
00104     static const char* const kzElement_Section;
00108     static const char* const kzElement_Sections;
00112     static const char* const kzElement_Manifest;
00116     static const char* const kzElement_Bookmark;
00120     static const char* const kzElement_Property;
00124     static const char* const kzElement_Resource;
00128     static const char* const kzElement_Resources;
00132     static const char* const kzElement_Instance;
00136     static const char* const kzElement_Instances;
00140     static const char* const kzElement_Interface;
00144     static const char* const kzElement_Interfaces;
00148     static const char* const kzElement_Properties;
00152     static const char* const kzElement_Dependency;
00156     static const char* const kzElement_Dependencies;
00160     static const char* const kzElement_FontResource;
00164     static const char* const kzElement_ImageResource;
00168     static const char* const kzElement_GraphicResource;
00172     static const char* const kzElement_ObjectDefinition;
00176     static const char* const kzElement_PageObjectDefinition;
00180     static const char* const kzElement_SpaceObjectDefinition;
00184     static const char* const kzElement_GlobalObjectDefinition;
00185 
00189     static const char* const kzAttribute_ID;
00193     static const char* const kzAttribute_Name;
00197     static const char* const kzAttribute_Type;
00201     static const char* const kzAttribute_HRef;
00205     static const char* const kzAttribute_Refs;
00209     static const char* const kzAttribute_MIME;
00213     static const char* const kzAttribute_Role;
00217     static const char* const kzAttribute_Clip;
00221     static const char* const kzAttribute_Show;
00225     static const char* const kzAttribute_Size;
00229     static const char* const kzAttribute_Nodes;
00233     static const char* const kzAttribute_Value;
00237     static const char* const kzAttribute_Units;
00241     static const char* const kzAttribute_Title;
00245     static const char* const kzAttribute_Color;
00249     static const char* const kzAttribute_Width;
00253     static const char* const kzAttribute_Height;
00257     static const char* const kzAttribute_ZOrder;
00261     static const char* const kzAttribute_Object;
00265     static const char* const kzAttribute_Author;
00269     static const char* const kzAttribute_Extents;
00273     static const char* const kzAttribute_Version;
00277     static const char* const kzAttribute_Request;
00281     static const char* const kzAttribute_Scanned;
00285     static const char* const kzAttribute_Children;
00289     static const char* const kzAttribute_Provider;
00293     static const char* const kzAttribute_ObjectID;
00297     static const char* const kzAttribute_Category;
00301     static const char* const kzAttribute_Transform;
00305     static const char* const kzAttribute_PlotOrder;
00309     static const char* const kzAttribute_ColorDepth;
00313     static const char* const kzAttribute_Privilege;
00317     static const char* const kzAttribute_Description;
00321     static const char* const kzAttribute_Orientation;
00325     static const char* const kzAttribute_LogfontName;
00329     static const char* const kzAttribute_InvertColors;
00333     static const char* const kzAttribute_CreationTime;
00337     static const char* const kzAttribute_CanonicalName;
00341     static const char* const kzAttribute_CharacterCode;
00345     static const char* const kzAttribute_ParentObjectID;
00349     static const char* const kzAttribute_OriginalExtents;
00353     static const char* const kzAttribute_ModificationTime;
00357     static const char* const kzAttribute_ScannedResolution;
00361     static const char* const kzAttribute_EffectiveResolution;
00362 
00363 
00364 
00368     static const wchar_t* const kzRole_Graphics2d;
00372     static const wchar_t* const kzRole_Graphics3d;
00376     static const wchar_t* const kzRole_Descriptor;
00380     static const wchar_t* const kzRole_Thumbnail;
00384     static const wchar_t* const kzRole_Graphics2dOverlay;
00388     static const wchar_t* const kzRole_Graphics2dMarkup;
00392     static const wchar_t* const kzRole_RmlMarkup;
00396     static const wchar_t* const kzRole_Preview;
00400     static const wchar_t* const kzRole_OverlayPreview;
00404     static const wchar_t* const kzRole_MarkupPreview;
00408     static const wchar_t* const kzRole_RasterOverlay;
00412     static const wchar_t* const kzRole_RasterMarkup;
00416     static const wchar_t* const kzRole_Font;
00420     static const wchar_t* const kzRole_Metadata;
00424     static const wchar_t* const kzRole_PackageSignature;
00428     static const wchar_t* const kzRole_SectionSignature;
00432     static const wchar_t* const kzRole_FilesetSignature;
00436     static const wchar_t* const kzRole_ObjectDefinition;
00440     static const wchar_t* const kzRole_MarkupObjectDefinition;
00444     static const wchar_t* const kzRole_Texture;
00445 
00446 };
00447 
00448     //
00449     // required for win32 dll external linkage
00450     //
00451 #ifdef  _DWFCORE_WIN32_SYSTEM
00452 #ifndef DWFTK_STATIC
00453 
00454 _declspec(selectany) const char* const DWFXML::kzNamespace_DWF                   = "dwf:";
00455 _declspec(selectany) const char* const DWFXML::kzNamespace_EPlot                 = "ePlot:";
00456 _declspec(selectany) const char* const DWFXML::kzNamespace_EModel                = "eModel:";
00457 _declspec(selectany) const char* const DWFXML::kzNamespace_ECommon               = "eCommon:";
00458 
00459 _declspec(selectany) const char* const DWFXML::kzElement_TOC                     = "Toc";
00460 _declspec(selectany) const char* const DWFXML::kzElement_Page                    = "Page";
00461 _declspec(selectany) const char* const DWFXML::kzElement_Paper                   = "Paper";
00462 _declspec(selectany) const char* const DWFXML::kzElement_Space                   = "Space";
00463 _declspec(selectany) const char* const DWFXML::kzElement_Units                   = "Units";
00464 _declspec(selectany) const char* const DWFXML::kzElement_Global                  = "Global";
00465 _declspec(selectany) const char* const DWFXML::kzElement_Source                  = "Source";
00466 _declspec(selectany) const char* const DWFXML::kzElement_Object                  = "Object";
00467 _declspec(selectany) const char* const DWFXML::kzElement_Objects                 = "Objects";
00468 _declspec(selectany) const char* const DWFXML::kzElement_Section                 = "Section";
00469 _declspec(selectany) const char* const DWFXML::kzElement_Sections                = "Sections";
00470 _declspec(selectany) const char* const DWFXML::kzElement_Manifest                = "Manifest";
00471 _declspec(selectany) const char* const DWFXML::kzElement_Bookmark                = "Bookmark";
00472 _declspec(selectany) const char* const DWFXML::kzElement_Property                = "Property";
00473 _declspec(selectany) const char* const DWFXML::kzElement_Resource                = "Resource";
00474 _declspec(selectany) const char* const DWFXML::kzElement_Resources               = "Resources";
00475 _declspec(selectany) const char* const DWFXML::kzElement_Instance                = "Instance";
00476 _declspec(selectany) const char* const DWFXML::kzElement_Instances               = "Instances";
00477 _declspec(selectany) const char* const DWFXML::kzElement_Interface               = "Interface";
00478 _declspec(selectany) const char* const DWFXML::kzElement_Interfaces              = "Interfaces";
00479 _declspec(selectany) const char* const DWFXML::kzElement_Properties              = "Properties";
00480 _declspec(selectany) const char* const DWFXML::kzElement_Dependency              = "Dependency";
00481 _declspec(selectany) const char* const DWFXML::kzElement_Dependencies            = "Dependencies";
00482 _declspec(selectany) const char* const DWFXML::kzElement_FontResource            = "FontResource";
00483 _declspec(selectany) const char* const DWFXML::kzElement_ImageResource           = "ImageResource";
00484 _declspec(selectany) const char* const DWFXML::kzElement_GraphicResource         = "GraphicResource";
00485 _declspec(selectany) const char* const DWFXML::kzElement_ObjectDefinition        = "ObjectDefinition";
00486 _declspec(selectany) const char* const DWFXML::kzElement_PageObjectDefinition    = "PageObjectDefinition";
00487 _declspec(selectany) const char* const DWFXML::kzElement_SpaceObjectDefinition   = "SpaceObjectDefinition";
00488 _declspec(selectany) const char* const DWFXML::kzElement_GlobalObjectDefinition  = "GlobalObjectDefinition";
00489 
00490 _declspec(selectany) const char* const DWFXML::kzAttribute_ID                    = "id";
00491 _declspec(selectany) const char* const DWFXML::kzAttribute_Name                  = "name";
00492 _declspec(selectany) const char* const DWFXML::kzAttribute_Type                  = "type";
00493 _declspec(selectany) const char* const DWFXML::kzAttribute_HRef                  = "href";
00494 _declspec(selectany) const char* const DWFXML::kzAttribute_Refs                  = "refs";
00495 _declspec(selectany) const char* const DWFXML::kzAttribute_MIME                  = "mime";
00496 _declspec(selectany) const char* const DWFXML::kzAttribute_Role                  = "role";
00497 _declspec(selectany) const char* const DWFXML::kzAttribute_Clip                  = "clip";
00498 _declspec(selectany) const char* const DWFXML::kzAttribute_Show                  = "show";
00499 _declspec(selectany) const char* const DWFXML::kzAttribute_Size                  = "size";
00500 _declspec(selectany) const char* const DWFXML::kzAttribute_Nodes                 = "nodes";
00501 _declspec(selectany) const char* const DWFXML::kzAttribute_Value                 = "value";
00502 _declspec(selectany) const char* const DWFXML::kzAttribute_Units                 = "units";
00503 _declspec(selectany) const char* const DWFXML::kzAttribute_Title                 = "title";
00504 _declspec(selectany) const char* const DWFXML::kzAttribute_Color                 = "color";
00505 _declspec(selectany) const char* const DWFXML::kzAttribute_Width                 = "width";
00506 _declspec(selectany) const char* const DWFXML::kzAttribute_Height                = "height";
00507 _declspec(selectany) const char* const DWFXML::kzAttribute_ZOrder                = "zOrder";
00508 _declspec(selectany) const char* const DWFXML::kzAttribute_Object                = "object";
00509 _declspec(selectany) const char* const DWFXML::kzAttribute_Author                = "author";
00510 _declspec(selectany) const char* const DWFXML::kzAttribute_Extents               = "extents";
00511 _declspec(selectany) const char* const DWFXML::kzAttribute_Version               = "version";
00512 _declspec(selectany) const char* const DWFXML::kzAttribute_Request               = "request";
00513 _declspec(selectany) const char* const DWFXML::kzAttribute_Scanned               = "scanned";
00514 _declspec(selectany) const char* const DWFXML::kzAttribute_Children              = "children";
00515 _declspec(selectany) const char* const DWFXML::kzAttribute_Provider              = "provider";
00516 _declspec(selectany) const char* const DWFXML::kzAttribute_ObjectID              = "objectId";
00517 _declspec(selectany) const char* const DWFXML::kzAttribute_Category              = "category";
00518 _declspec(selectany) const char* const DWFXML::kzAttribute_Transform             = "transform";
00519 _declspec(selectany) const char* const DWFXML::kzAttribute_PlotOrder             = "plotOrder";
00520 _declspec(selectany) const char* const DWFXML::kzAttribute_ColorDepth            = "colorDepth";
00521 _declspec(selectany) const char* const DWFXML::kzAttribute_Privilege             = "privilege";
00522 _declspec(selectany) const char* const DWFXML::kzAttribute_Description           = "description";
00523 _declspec(selectany) const char* const DWFXML::kzAttribute_Orientation           = "orientation";
00524 _declspec(selectany) const char* const DWFXML::kzAttribute_LogfontName           = "logfontName";
00525 _declspec(selectany) const char* const DWFXML::kzAttribute_InvertColors          = "invertColors";
00526 _declspec(selectany) const char* const DWFXML::kzAttribute_CreationTime          = "creationTime";
00527 _declspec(selectany) const char* const DWFXML::kzAttribute_CanonicalName         = "canonicalName";
00528 _declspec(selectany) const char* const DWFXML::kzAttribute_CharacterCode         = "characterCode";
00529 _declspec(selectany) const char* const DWFXML::kzAttribute_ParentObjectID        = "parentObjectId";
00530 _declspec(selectany) const char* const DWFXML::kzAttribute_OriginalExtents       = "originalExtents";
00531 _declspec(selectany) const char* const DWFXML::kzAttribute_ModificationTime      = "modificationTime";
00532 _declspec(selectany) const char* const DWFXML::kzAttribute_ScannedResolution     = "scannedResolution";
00533 _declspec(selectany) const char* const DWFXML::kzAttribute_EffectiveResolution   = "effectiveResolution";
00534 
00535 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Graphics2d              = L"2d streaming graphics";
00536 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Graphics3d              = L"3d streaming graphics";   
00537 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Descriptor              = L"descriptor";
00538 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Thumbnail               = L"thumbnail";
00539 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Graphics2dOverlay       = L"2d vector overlay";
00540 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Graphics2dMarkup        = L"2d vector markup";
00541 _declspec(selectany) const wchar_t* const DWFXML::kzRole_RmlMarkup               = L"RML markup";
00542 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Preview                 = L"preview";
00543 _declspec(selectany) const wchar_t* const DWFXML::kzRole_OverlayPreview          = L"overlay preview";
00544 _declspec(selectany) const wchar_t* const DWFXML::kzRole_MarkupPreview           = L"markup preview";
00545 _declspec(selectany) const wchar_t* const DWFXML::kzRole_RasterOverlay           = L"raster overlay";
00546 _declspec(selectany) const wchar_t* const DWFXML::kzRole_RasterMarkup            = L"raster markup";
00547 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Font                    = L"font";
00548 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Metadata                = L"metadata";
00549 _declspec(selectany) const wchar_t* const DWFXML::kzRole_PackageSignature        = L"package signature";
00550 _declspec(selectany) const wchar_t* const DWFXML::kzRole_SectionSignature        = L"section signature";
00551 _declspec(selectany) const wchar_t* const DWFXML::kzRole_FilesetSignature        = L"fileset signature";
00552 _declspec(selectany) const wchar_t* const DWFXML::kzRole_ObjectDefinition        = L"object definition";
00553 _declspec(selectany) const wchar_t* const DWFXML::kzRole_MarkupObjectDefinition  = L"markup object definition";
00554 _declspec(selectany) const wchar_t* const DWFXML::kzRole_Texture                 = L"texture";
00555 
00556 #endif
00557 #endif
00558 
00559 }
00560 
00561 
00562 #endif

Generated on Tue May 17 12:38:50 2005 for Autodesk DWF Toolkit by  doxygen 1.4.1