home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / STDTYPES.IDL < prev    next >
Text File  |  1995-12-13  |  7KB  |  122 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15. #ifndef _STDTYPES_
  16. #define _STDTYPES_
  17.  
  18. #ifndef _ODTYPESB_
  19. #include "ODTypesB.idl"
  20. #endif
  21.  
  22. //==============================================================================
  23. // Theory of Operation
  24. //==============================================================================
  25.  
  26. /*
  27.   This file is used to store all the standard persistent types. It must
  28.   be compiled by the SOM compiler with -D EMIT_GLOBAL_CONSTANTS
  29. */
  30.  
  31. //==============================================================================
  32. // Constants
  33. //==============================================================================
  34.  
  35. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  36. #pragma somemittypes on
  37. #endif
  38.  
  39. const  ODValueType  kODBoolean     = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Boolean";
  40. const  ODValueType  kODUShort       = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:UShort";
  41. const  ODValueType  kODSShort       = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SShort";
  42. const  ODValueType  kODULong      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULong";
  43. const  ODValueType  kODSLong      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SLong";
  44.  
  45. const  ODValueType  kODISOStr      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStr";
  46. const  ODValueType  kODISOStrList   = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStrList";
  47.  
  48. #ifdef _PLATFORM_MACINTOSH_
  49. const  ODValueType  kODMacIText    = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:IntlText";
  50. #endif
  51. #ifdef _PLATFORM_OS2_
  52. const  ODValueType  kODOS2IText    = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:OS2IText";
  53. #endif
  54. const  ODValueType  kODIntlText    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IntlText";
  55.  
  56. const  ODValueType  kODTime_T     = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Time_T";
  57. #ifdef _PLATFORM_OS2_
  58. const  ODValueType  kODDate       = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Date";
  59. #endif
  60.  
  61. const  ODValueType  kODPoint      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Point";
  62. const  ODValueType  kODRect        = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Rect";
  63. const  ODValueType  kODPolygon      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Polygon";
  64.  
  65. const  ODValueType  kODIconFamily    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily";
  66. const  ODValueType  kODIconFamilyMac    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Macintosh";
  67. const  ODValueType  kODIconFamilyWin    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Windows";
  68. const  ODValueType  kODIconFamilyOS2    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:OS2";
  69. const  ODValueType  kODIconFamilyAIX    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:AIX";
  70.  
  71. const  ODValueType  kODTransform    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Transform";
  72.  
  73. const  ODValueType  kODEditor      = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Editor";
  74.  
  75. const  ODType      kODStrongStorageUnitRef  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
  76. const  ODType      kODWeakStorageUnitRef    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
  77.  
  78. const  ODType      kODStrongStorageUnitRefs  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
  79. const  ODType      kODWeakStorageUnitRefs    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
  80.  
  81. const  ODValueType  kODLinkSpec    = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:LinkSpec";
  82. const  ODValueType  kODCloneKind  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:CloneKind";
  83.  
  84. const  ODValueType  kODObjectType  = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ObjectType";
  85.  
  86. #ifdef _PLATFORM_MACINTOSH_
  87.  
  88. const ODPropertyName  kODTypeQuickDrawPageSetup      = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:QuickDrawPageSetup";
  89. const ODPropertyName  kODTypeGXPageSetup        = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:GXPageSetup";
  90.  
  91. #endif //_PLATFORM_MACINTOSH_
  92.  
  93. #ifdef _PLATFORM_OS2_
  94. const ODValueType kODHashTable        = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:HashTable";  /*watson*/
  95. const ODValueType kODPartDescription  = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:PartDescription";/*watson*/
  96. const ODValueType kODPOINTL   = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:POINTL";
  97. const ODType kODFileType      = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FileType";
  98. const ODType kODFileTypeEA    = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FileTypeEA";
  99. const ODType kODDragitem      = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:Dragitem";
  100. const ODType kODDragOperation = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:DragOperation";
  101. const ODType kODSelectedRMF   = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:SelectedRMF";   
  102. const ODType kODSelectedKind  = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:SelectedKind";  
  103.  
  104. // standard types for IBM core parts (will be eventually replaced by CIL standard names
  105. // kODRGB2 is a RGB2 structure
  106. const ODType kODRGB2         = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:RGB2";
  107. // kODFontNameSize is a string of the font size and name in the same format as OS/2 presparams
  108. const ODType kODFontNameSize = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FontNameSize";
  109. #endif
  110.  
  111. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  112. #pragma somemittypes off
  113. #endif
  114.  
  115. module OpenDoc_StdTypes
  116. {
  117.   const string OpenDoc_StdTypes_Version = "1.0.";
  118. };
  119.  
  120. #endif  // _STDTYPES_
  121.  
  122.