home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 April A / Pcwk4a98.iso / Lotus / Notes46 / LOTUS006.DSK / VDKHOME / STYLE / STYLE.DDD next >
Text File  |  1995-11-05  |  2KB  |  74 lines

  1. # $Id: style.ddd 1.8 1995/04/18 02:08:08 ameyer Exp $
  2. # Copyright (C) 1987-1995 Verity, Inc.
  3. #
  4. # Document Dataset Descriptor
  5. #
  6. $control: 1
  7. descriptor:
  8.   /collection = yes
  9. {
  10.   data-table:   _df
  11.     /num-records=1
  12.     /max-records=1
  13.   {
  14.     # Header information for partition management
  15.     constant:   _DBVERSION      text "vdk11"
  16.     fixwidth:   _DDDSTAMP       4  date
  17.     varwidth:   _DOCIDX         _dv
  18.     fixwidth:   _PARTDESC       32 text
  19.  
  20.     fixwidth:    _SPARE1        16 text
  21.     fixwidth:    _SPARE2        4 signed-integer
  22.   }
  23.   data-table:   _df
  24.     /offset=64
  25.   {
  26.     # Required internal fields per document
  27.     constant:    _TYPE        text "Notes V4"
  28.     autoval:    _STYLE          sirepath
  29.     fixwidth:   _DOCID          4 unsigned-integer
  30.     fixwidth:   _SECURITY       4 unsigned-integer
  31.       /minmax = yes
  32.     fixwidth:    _INDEX_DATE    4 date
  33.       /minmax = yes
  34.   }
  35.  
  36. ######## DO NOT MODIFY ABOVE THIS LINE ########
  37.  
  38.   data-table:   dkf
  39.   {
  40.     # Must have a VdkVgwKey - this is the primary key to the document
  41.     # The field type can be changed to fixwidth integer or text as needed
  42.  
  43. # Switch this definition for fixed (rather than var) keys
  44. #    fixwidth:   VdkVgwKey       4 unsigned-integer
  45. #      /_hexdata = yes             
  46.     varwidth:   VdkVgwKey    dkv
  47.       /indexed = yes
  48.       /minmax  = yes
  49.   }
  50.  
  51.   data-table:   ddf
  52.   {
  53.     # User fields go here. Default is a single dispatch field 
  54. #    dispatch:  DOC
  55. #    varwidth:  DOC_FN          ddv
  56.  
  57.  
  58.     # Notes specific field 
  59.     varwidth:   _NOTES_FIELDPARA _dv    
  60.       /_hexdata = yes
  61.     varwidth:   _SEQUENCE_TIME _dv      
  62.       /_hexdata = yes
  63.     fixwidth:   _CreationDate   4 date
  64.     fixwidth:   _RevisionDate   4 date
  65.     fixwidth:   TDK_VERITY_DATE 4 date
  66.     fixwidth:   TDK_VERITY_REV_DATE 4 date
  67.     varwidth:   TDK_VERITY_TITLE   _dv
  68.  
  69.     # Do Not Modify the next line without changing ftvindex.c   
  70.     # Notes numeric fields 
  71. $INCLUDE "style.dts" 
  72.   }
  73. }
  74.