cl-olefs

OLE File System tools for Common Lisp
git clone https://logand.com/git/cl-olefs.git/
Log | Files | Refs

enums.lisp (9531B)


      1 ;;; Copyright (C) 2011, 2012, 2013 Tomas Hlavaty <tom@logand.com>
      2 ;;;
      3 ;;; Permission is hereby granted, free of charge, to any person
      4 ;;; obtaining a copy of this software and associated documentation
      5 ;;; files (the "Software"), to deal in the Software without
      6 ;;; restriction, including without limitation the rights to use, copy,
      7 ;;; modify, merge, publish, distribute, sublicense, and/or sell copies
      8 ;;; of the Software, and to permit persons to whom the Software is
      9 ;;; furnished to do so, subject to the following conditions:
     10 ;;;
     11 ;;; The above copyright notice and this permission notice shall be
     12 ;;; included in all copies or substantial portions of the Software.
     13 ;;;
     14 ;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     15 ;;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     16 ;;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
     17 ;;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
     18 ;;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
     19 ;;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     20 ;;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
     21 ;;; DEALINGS IN THE SOFTWARE.
     22 
     23 (in-package :olefs)
     24 
     25 (defenum RecordType ()
     26   ;; [MS-PST].pdf
     27   (RT_Document #x03E8)
     28   (RT_DocumentAtom #x03E9)
     29   (RT_EndDocumentAtom #x03EA)
     30   (RT_Slide #x03EE)
     31   (RT_SlideAtom #x03EF)
     32   (RT_Notes #x03F0)
     33   (RT_NotesAtom #x03F1)
     34   (RT_Environment #x03F2)
     35   (RT_SlidePersistAtom #x03F3)
     36   (RT_MainMaster #x03F8)
     37   (RT_SlideShowSlideInfoAtom #x03F9)
     38   (RT_SlideViewInfo #x03FA)
     39   (RT_GuideAtom #x03FB)
     40   (RT_ViewInfoAtom #x03FD)
     41   (RT_SlideViewInfoAtom #x03FE)
     42   (RT_VbaInfo #x03FF)
     43   (RT_VbaInfoAtom #x0400)
     44   (RT_SlideShowDocInfoAtom #x0401)
     45   (RT_Summary #x0402)
     46   (RT_DocRoutingSlipAtom #x0406)
     47   (RT_OutlineViewInfo #x0407)
     48   (RT_SorterViewInfo #x0408)
     49   (RT_ExternalObjectList #x0409)
     50   (RT_ExternalObjectListAtom #x040A)
     51   (RT_DrawingGroup #x040B)
     52   (RT_Drawing #x040C)
     53   (RT_GridSpacing10Atom #x040D)
     54   (RT_RoundTripTheme12Atom #x040E)
     55   (RT_RoundTripColorMapping12Atom #x040F)
     56   (RT_NamedShows #x0410)
     57   (RT_NamedShow #x0411)
     58   (RT_NamedShowSlidesAtom #x0412)
     59   (RT_NotesTextViewInfo9 #x0413)
     60   (RT_NormalViewSetInfo9 #x0414)
     61   (RT_NormalViewSetInfo9Atom #x0415)
     62   (RT_RoundTripOriginalMainMasterId12Atom #x041C)
     63   (RT_RoundTripCompositeMasterId12Atom #x041D)
     64   (RT_RoundTripContentMasterInfo12Atom #x041E)
     65   (RT_RoundTripShapeId12Atom #x041F)
     66   (RT_RoundTripHFPlaceholder12Atom #x0420)
     67   (RT_RoundTripContentMasterId12Atom #x0422)
     68   (RT_RoundTripOArtTextStyles12Atom #x0423)
     69   (RT_RoundTripHeaderFooterDefaults12Atom #x0424)
     70   (RT_RoundTripDocFlags12Atom #x0425)
     71   (RT_RoundTripShapeCheckSumForCL12Atom #x0426)
     72   (RT_RoundTripNotesMasterTextStyles12Atom #x0427)
     73   (RT_RoundTripCustomTableStyles12Atom #x0428)
     74   (RT_List #x07D0)
     75   (RT_FontCollection #x07D5)
     76   (RT_FontCollection10 #x07D6)
     77   (RT_BookmarkCollection #x07E3)
     78   (RT_SoundCollection #x07E4)
     79   (RT_SoundCollectionAtom #x07E5)
     80   (RT_Sound #x07E6)
     81   (RT_SoundDataBlob #x07E7)
     82   (RT_BookmarkSeedAtom #x07E9)
     83   (RT_ColorSchemeAtom #x07F0)
     84   (RT_BlipCollection9 #x07F8)
     85   (RT_BlipEntity9Atom #x07F9)
     86   (RT_ExternalObjectRefAtom #x0BC1)
     87   (RT_PlaceholderAtom #x0BC3)
     88   (RT_ShapeAtom #x0BDB)
     89   (RT_ShapeFlags10Atom #x0BDC)
     90   (RT_RoundTripNewPlaceholderId12Atom #x0BDD)
     91   (RT_OutlineTextRefAtom #x0F9E)
     92   (RT_TextHeaderAtom #x0F9F)
     93   (RT_TextCharsAtom #x0FA0)
     94   (RT_StyleTextPropAtom #x0FA1)
     95   (RT_MasterTextPropAtom #x0FA2)
     96   (RT_TextMasterStyleAtom #x0FA3)
     97   (RT_TextCharFormatExceptionAtom #x0FA4)
     98   (RT_TextParagraphFormatExceptionAtom #x0FA5)
     99   (RT_TextRulerAtom #x0FA6)
    100   (RT_TextBookmarkAtom #x0FA7)
    101   (RT_TextBytesAtom #x0FA8)
    102   (RT_TextSpecialInfoDefaultAtom #x0FA9)
    103   (RT_TextSpecialInfoAtom #x0FAA)
    104   (RT_DefaultRulerAtom #x0FAB)
    105   (RT_StyleTextProp9Atom #x0FAC)
    106   (RT_TextMasterStyle9Atom #x0FAD)
    107   (RT_OutlineTextProps9 #x0FAE)
    108   (RT_OutlineTextPropsHeader9Atom #x0FAF)
    109   (RT_TextDefaults9Atom #x0FB0)
    110   (RT_StyleTextProp10Atom #x0FB1)
    111   (RT_TextMasterStyle10Atom #x0FB2)
    112   (RT_OutlineTextProps10 #x0FB3)
    113   (RT_TextDefaults10Atom #x0FB4)
    114   (RT_OutlineTextProps11 #x0FB5)
    115   (RT_StyleTextProp11Atom #x0FB6)
    116   (RT_FontEntityAtom #x0FB7)
    117   (RT_FontEmbedDataBlob #x0FB8)
    118   (RT_CString #x0FBA)
    119   (RT_MetaFile #x0FC1)
    120   (RT_ExternalOleObjectAtom #x0FC3)
    121   (RT_Kinsoku #x0FC8)
    122   (RT_Handout #x0FC9)
    123   (RT_ExternalOleEmbed #x0FCC)
    124   (RT_ExternalOleEmbedAtom #x0FCD)
    125   (RT_ExternalOleLink #x0FCE)
    126   (RT_BookmarkEntityAtom #x0FD0)
    127   (RT_ExternalOleLinkAtom #x0FD1)
    128   (RT_KinsokuAtom #x0FD2)
    129   (RT_ExternalHyperlinkAtom #x0FD3)
    130   (RT_ExternalHyperlink #x0FD7)
    131   (RT_SlideNumberMetaCharAtom #x0FD8)
    132   (RT_HeadersFooters #x0FD9)
    133   (RT_HeadersFootersAtom #x0FDA)
    134   (RT_TextInteractiveInfoAtom #x0FDF)
    135   (RT_ExternalHyperlink9 #x0FE4)
    136   (RT_RecolorInfoAtom #x0FE7)
    137   (RT_ExternalOleControl #x0FEE)
    138   (RT_SlideListWithText #x0FF0)
    139   (RT_AnimationInfoAtom #x0FF1)
    140   (RT_InteractiveInfo #x0FF2)
    141   (RT_InteractiveInfoAtom #x0FF3)
    142   (RT_UserEditAtom #x0FF5)
    143   (RT_CurrentUserAtom #x0FF6)
    144   (RT_DateTimeMetaCharAtom #x0FF7)
    145   (RT_GenericDateMetaCharAtom #x0FF8)
    146   (RT_HeaderMetaCharAtom #x0FF9)
    147   (RT_FooterMetaCharAtom #x0FFA)
    148   (RT_ExternalOleControlAtom #x0FFB)
    149   (RT_ExternalMediaAtom #x1004)
    150   (RT_ExternalVideo #x1005)
    151   (RT_ExternalAviMovie #x1006)
    152   (RT_ExternalMciMovie #x1007)
    153   (RT_ExternalMidiAudio #x100D)
    154   (RT_ExternalCdAudio #x100E)
    155   (RT_ExternalWavAudioEmbedded #x100F)
    156   (RT_ExternalWavAudioLink #x1010)
    157   (RT_ExternalOleObjectStg #x1011)
    158   (RT_ExternalCdAudioAtom #x1012)
    159   (RT_ExternalWavAudioEmbeddedAtom #x1013)
    160   (RT_AnimationInfo #x1014)
    161   (RT_RtfDateTimeMetaCharAtom #x1015)
    162   (RT_ExternalHyperlinkFlagsAtom #x1018)
    163   (RT_ProgTags #x1388)
    164   (RT_ProgStringTag #x1389)
    165   (RT_ProgBinaryTag #x138A)
    166   (RT_BinaryTagDataBlob #x138B)
    167   (RT_PrintOptionsAtom #x1770)
    168   (RT_PersistDirectoryAtom #x1772)
    169   (RT_PresentationAdvisorFlags9Atom #x177A)
    170   (RT_HtmlDocInfo9Atom #x177B)
    171   (RT_HtmlPublishInfoAtom #x177C)
    172   (RT_HtmlPublishInfo9 #x177D)
    173   (RT_BroadcastDocInfo9 #x177E)
    174   (RT_BroadcastDocInfo9Atom #x177F)
    175   (RT_EnvelopeFlags9Atom #x1784)
    176   (RT_EnvelopeData9Atom #x1785)
    177   (RT_VisualShapeAtom #x2AFB)
    178   (RT_HashCodeAtom #x2B00)
    179   (RT_VisualPageAtom #x2B01)
    180   (RT_BuildList #x2B02)
    181   (RT_BuildAtom #x2B03)
    182   (RT_ChartBuild #x2B04)
    183   (RT_ChartBuildAtom #x2B05)
    184   (RT_DiagramBuild #x2B06)
    185   (RT_DiagramBuildAtom #x2B07)
    186   (RT_ParaBuild #x2B08)
    187   (RT_ParaBuildAtom #x2B09)
    188   (RT_LevelInfoAtom #x2B0A)
    189   (RT_RoundTripAnimationAtom12Atom #x2B0B)
    190   (RT_RoundTripAnimationHashAtom12Atom #x2B0D)
    191   (RT_Comment10 #x2EE0)
    192   (RT_Comment10Atom #x2EE1)
    193   (RT_CommentIndex10 #x2EE4)
    194   (RT_CommentIndex10Atom #x2EE5)
    195   (RT_LinkedShape10Atom #x2EE6)
    196   (RT_LinkedSlide10Atom #x2EE7)
    197   (RT_SlideFlags10Atom #x2EEA)
    198   (RT_SlideTime10Atom #x2EEB)
    199   (RT_DiffTree10 #x2EEC)
    200   (RT_Diff10 #x2EED)
    201   (RT_Diff10Atom #x2EEE)
    202   (RT_SlideListTableSize10Atom #x2EEF)
    203   (RT_SlideListEntry10Atom #x2EF0)
    204   (RT_SlideListTable10 #x2EF1)
    205   (RT_CryptSession10Container #x2F14)
    206   (RT_FontEmbedFlags10Atom #x32C8)
    207   (RT_FilterPrivacyFlags10Atom #x36B0)
    208   (RT_DocToolbarStates10Atom #x36B1)
    209   (RT_PhotoAlbumInfo10Atom #x36B2)
    210   (RT_SmartTagStore11Container #x36B3)
    211   (RT_RoundTripSlideSyncInfo12 #x3714)
    212   (RT_RoundTripSlideSyncInfoAtom12 #x3715)
    213   (RT_TimeConditionContainer #xF125)
    214   (RT_TimeNode #xF127)
    215   (RT_TimeCondition #xF128)
    216   (RT_TimeModifier #xF129)
    217   (RT_TimeBehaviorContainer #xF12A)
    218   (RT_TimeAnimateBehaviorContainer #xF12B)
    219   (RT_TimeColorBehaviorContainer #xF12C)
    220   (RT_TimeEffectBehaviorContainer #xF12D)
    221   (RT_TimeMotionBehaviorContainer #xF12E)
    222   (RT_TimeRotationBehaviorContainer #xF12F)
    223   (RT_TimeScaleBehaviorContainer #xF130)
    224   (RT_TimeSetBehaviorContainer #xF131)
    225   (RT_TimeCommandBehaviorContainer #xF132)
    226   (RT_TimeBehavior #xF133)
    227   (RT_TimeAnimateBehavior #xF134)
    228   (RT_TimeColorBehavior #xF135)
    229   (RT_TimeEffectBehavior #xF136)
    230   (RT_TimeMotionBehavior #xF137)
    231   (RT_TimeRotationBehavior #xF138)
    232   (RT_TimeScaleBehavior #xF139)
    233   (RT_TimeSetBehavior #xF13A)
    234   (RT_TimeCommandBehavior #xF13B)
    235   (RT_TimeClientVisualElement #xF13C)
    236   (RT_TimePropertyList #xF13D)
    237   (RT_TimeVariantList #xF13E)
    238   (RT_TimeAnimationValueList #xF13F)
    239   (RT_TimeIterateData #xF140)
    240   (RT_TimeSequenceData #xF141)
    241   (RT_TimeVariant #xF142)
    242   (RT_TimeAnimationValue #xF143)
    243   (RT_TimeExtTimeNodeContainer #xF144)
    244   (RT_TimeSlaveContainer #xF145)
    245   
    246   ;; [MS-ODRAW].pdf
    247   (RT_OfficeArtBlipEMF #xF01A)
    248   (RT_OfficeArtBlipWMF #xF01B)
    249   (RT_OfficeArtBlipPICT #xF01C)
    250   (RT_OfficeArtBlipJPEG1 #xF01D)
    251   (RT_OfficeArtBlipPNG #xF01E)
    252   (RT_OfficeArtBlipDIB #xF01F)
    253   (RT_OfficeArtBlipTIFF #xF029)
    254   (RT_OfficeArtBlipJPEG2 #xF02A)
    255 
    256   (RT_OfficeArtDggContainer #xF000)
    257   (RT_OfficeArtBStoreContainer #xF001)
    258   (RT_OfficeArtDgContainer #xF002)
    259   (RT_OfficeArtSpgrContainer #xF003)
    260   (RT_OfficeArtSpContainer #xF004)
    261   (RT_OfficeArtFDGGBlock #xF006)
    262   (RT_OfficeArtFBSE #xF007)
    263   (RT_OfficeArtFDG #xF008)
    264   (RT_OfficeArtFSPGR #xF009)
    265   (RT_OfficeArtFSP #xF00A)
    266   (RT_OfficeArtFOPT #xF00B)
    267   (RT_OfficeArtClientTextbox #xF00D)
    268   (RT_OfficeArtClientAnchor #xF010)
    269   (RT_OfficeArtClientData #xF011)
    270   (RT_OfficeArtFRITContainer #xF118)
    271   (RT_OfficeArtColorMRUContainer #xF11A)
    272   (RT_OfficeArtSplitMenuColorContainer #xF11E)
    273   (RT_OfficeArtTertiaryFOPT #xF122))
    274 
    275 (defenum OfficeArtFOPTEOPID ()
    276   (pib #x0104)
    277   (fillColor #x0181)
    278   (fillOpacity #x0182)
    279   (fillBackColor #x0183)
    280   (fillBackOpacity #x0184)
    281   (fillCrMod #x0185)
    282   (fillBlip #x0186)
    283   (fillBlipName #x0187)
    284   (fillBlipFlags #x0188)
    285   (fillWidth #x0189)
    286   
    287   (fillAngle #x018B))