home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / utility / ezmgr / easymgr.sdf < prev    next >
Text File  |  1995-08-02  |  12KB  |  427 lines

  1. (enum SexType
  2.   (enumerator notValid  0             )
  3.   (enumerator male    1    "Male")
  4.   (enumerator female    2    "Female")
  5. )
  6.  
  7. (enum EmailType
  8.   (enumerator notValid         0    "")
  9.   (enumerator internet         1    "Internet")
  10.   (enumerator compuServe     2    "CompuServe")
  11.   (enumerator mciMail         3    "MCI Mail")
  12.   (enumerator americaOnLine    4    "America Online")
  13.   (enumerator prodigy         5    "Prodigy")
  14.   (enumerator x400              6       "X400")
  15. )
  16.  
  17. (enum GroupType
  18.   (enumerator notValid       0    "")
  19.   (enumerator emailGroup     1    "Email Group")
  20.   (enumerator faxGroup       2    "Fax Group")
  21.   (enumerator telGroup       3    "Telephone Group")
  22.   (enumerator personGroup    4    "Person Group")
  23.   (enumerator businessGroup  5    "Business Group")
  24.   (enumerator otherGroup     100  "Other Group")
  25. )
  26.  
  27. (enum LookWhatChoices
  28.   (enumerator lookAddress       0x01  "Postal Address")
  29.   (enumerator lookTelephone     0x02  "Telephone Number")
  30.   (enumerator lookFax           0x04  "Fax Number")
  31.   (enumerator lookEmailAdd      0x08  "Email Address")
  32.   (enumerator lookBirthDate     0x10  "Birth Date")
  33.   (enumerator lookMarriageDate  0x20  "Marriage Date")
  34.   (enumerator lookRelationships 0x40  "Relationships")
  35. )
  36.  
  37. (enum ExportDataChoice
  38.   (enumerator exportEmail            0x01   "Email Addresses")
  39.   (enumerator exportFax              0x02   "Fax Numbers")
  40.   (enumerator exportTel              0x04   "Telephone Numbers")
  41.   (enumerator exportPostal           0x08   "Postal Addresses")
  42.   (enumerator exportEmailAndFax      0x10   "Email Addresses And Fax Numbers")
  43.   (enumerator exportList             0x20   "List Data")
  44.  
  45.   // OR of all the possible values
  46.   (enumerator exportAll              0x2F   "All")
  47. )
  48.  
  49. (enum ExportTargetName
  50.   (enumerator exportTargetCIM1x         0x01   "DosCIM 1.x or DosCIM 2.1.x")
  51.   (enumerator exportTargetCIM2x         0x02   "DosCIM 2.2.x or WinCIM 2.x")
  52.   (enumerator exportTargetTabTextFile   0x03   "Tab Separated Text File")
  53.   (enumerator exportTargetCommaTextFile 0x04   "Comma Separated Text File")
  54. )
  55.  
  56. (enum ExportDataSource
  57.   (enumerator exportSourceList          0x01  "")
  58.   (enumerator exportSourceDatabase      0x02  "")
  59.   (enumerator exportSourceAll           0x03  "")
  60. )
  61.  
  62. (class ExportChoiceSchema
  63.   (attribute target GiEnum
  64.     (property qualifierName "ExportTargetName")
  65.   )
  66.   // this is actually OR of possible ExportDataChoice emtrs
  67.   (attribute dataChoices GiInt32
  68.     (property qualifierName "ExportDataChoice")
  69.   )
  70.   // where from the data is expected
  71.   (attribute dataSource GiEnum
  72.     (property qualifierName "ExportDataSource")
  73.   )
  74.   (attribute objectClassNames GiString)
  75.   (attribute rootDir GiString)
  76.   (attribute dosRelativePath GiString)  
  77. )
  78.  
  79. // (enum ImportTargetName
  80. // //  (enumerator importTargetCIM1x      0x01   "DosCIM 1.x or DosCIM 2.1.x")
  81. // //  (enumerator importTargetCIM2x      0x02   "DosCIM 2.2.x or WinCIM 2.x")
  82. //   (enumerator importTargetTabTextFile   0x03   "Tab Separated Text File")
  83. //   (enumerator importTargetCommaTextFile 0x04   "Comma Separated Text File")
  84. // )
  85.  
  86. (enum CIMImportNameByDefault
  87.   (enumerator DefaultIsPerson     0x01 "Name Is A Person")
  88.   (enumerator DefaultIsBusiness   0x02 "Name Is A Business")
  89. )
  90.  
  91. (class Group
  92.   (classProperty firstLevelEditable giTrue)
  93.   (attribute name GiString
  94.      (property key giTrue)
  95.      (property displayName "Group Name")
  96.   )
  97. //  (attribute type GiEnum
  98. //    (property qualifierName "GroupType")
  99. //    (property displayName "Group Type")
  100. //  )
  101. //  (attribute memberClassName GiString
  102. //    (property displayName "Group Of")
  103. //  )
  104.   (attribute members GiSet
  105.     // currently, can't have multiple classes, and base class is not supported
  106.     // so let the user choose from person objects atleast
  107. //    (property qualifierName "Person Business Group")
  108. //    (property qualifierName "Person")
  109.     (property displayName "Members")
  110.   )
  111.   (attribute comments GiString
  112.     (property displayName "Comments")
  113.   )
  114. )
  115.  
  116. (class Person
  117.    (classProperty firstLevelEditable giTrue)
  118.    (attribute name GiString
  119.       (property key giTrue)
  120.       (property displayName "Name")
  121.    )
  122.    (attribute alias GiString
  123.       (property displayName "Alias")
  124.    )
  125. //   (attribute group GiInstance
  126. //      (property qualifierName "Group")
  127. //      (property displayName "Group")
  128. //      (property selectButton giTrue)
  129. //   )
  130.    (attribute livingWith GiInstance
  131.       (property qualifierName "Person")
  132.       (property selectButton giTrue)
  133.       (property displayName "Living With")
  134.    )
  135.    (attribute livingSet GiSet
  136.       (property qualifierName "Person")
  137. //      (property archive giFalse)
  138.       (property userReadable giFalse)
  139.       (property displayName "Living Together")
  140.    )
  141.    (attribute homeAddress GiInstance
  142.       (property qualifierName "PostalAddress")
  143.       (property displayName "Home Address")
  144.       (property userEditable giFalse)
  145.       (property editButton giTrue)
  146.    )
  147.    (attribute homeTelSet GiSet
  148.       (property qualifierName "Phone")
  149.       (property displayName "Home Tel Numbers")
  150.       (property editButton giTrue)
  151.    )
  152.    (attribute homeFaxSet GiSet
  153.       (property qualifierName "Phone")
  154.       (property displayName "Home Fax Numbers")
  155.       (property editButton giTrue)
  156.    )
  157.  
  158. //   (attribute workingAt GiInstance
  159. //      (property qualifierName "Business")
  160. //      (property displayName "Working At")
  161. // // workaround
  162. // //      (property selectButton giTrue)
  163. //
  164. //      (property editButton giTrue)
  165. //   )
  166.  
  167.    (attribute workingWith GiInstance
  168.       (property qualifierName "Person")
  169.       (property displayName "Working With")
  170.       (property selectButton giTrue)
  171.    )
  172.  
  173.    (attribute workingSet GiSet
  174.       (property qualifierName "Person")
  175. //      (property archive giFalse)
  176.       (property userReadable giFalse)
  177.       (property displayName "Working Together")
  178.    )
  179.  
  180.    (attribute companyName GiString
  181.       (property displayName "Company Name")
  182.    )
  183.  
  184.    (attribute workAddress GiInstance
  185.       (property qualifierName "PostalAddress")
  186.       (property displayName "Work Address")
  187.       (property userEditable giFalse)
  188.       (property editButton giTrue)
  189.    )
  190.  
  191.    (attribute workTelSet GiSet
  192.       (property qualifierName "Phone")
  193.       (property displayName "Work Tel Numbers")
  194.       (property editButton giTrue)
  195.    )
  196.  
  197.    (attribute workFaxSet GiSet
  198.       (property qualifierName "Phone")
  199.       (property displayName "Work Fax Numbers")
  200.       (property editButton giTrue)
  201.    )
  202.  
  203.    (attribute emailSet GiSet
  204.       (property qualifierName "Email")
  205.       (property displayName "Email Address")
  206.       (property editButton giTrue)
  207.    )
  208.  
  209.    (attribute birthDate GiDate
  210.       (property displayName "Birth Date")
  211.    )
  212.  
  213.    (attribute marriageDate GiDate
  214.       (property displayName "Marriage Date")
  215.    )
  216.  
  217.    (attribute sex GiEnum
  218.       (property qualifierName "SexType")
  219.       (property displayName "Sex")
  220.    )
  221.  
  222.    (attribute father GiInstance
  223.       (property qualifierName "Person")
  224.       (property displayName "Father")
  225.       (property selectButton giTrue)
  226.    )
  227.  
  228.    (attribute mother GiInstance
  229.       (property qualifierName "Person")
  230.       (property displayName "Mother")
  231.       (property selectButton giTrue)
  232.    )
  233.  
  234.    (attribute spouse GiInstance
  235.       (property qualifierName "Person")
  236.       (property displayName "Spouse")
  237.       (property selectButton giTrue)
  238.    )
  239.  
  240.    (attribute children GiSet
  241.       (property qualifierName "Person")
  242.       (property displayName "Children")
  243.       (property userEditable giFalse)
  244.       (property archive giFalse)
  245.    )
  246.  
  247.    (attribute comment GiString
  248.       (property displayName "Comments")
  249.    )
  250. )
  251.  
  252. (class Business
  253.    (classProperty firstLevelEditable giTrue)
  254.    (attribute businessName GiString
  255.       (property key giTrue)
  256.       (property displayName "Business Name")
  257.    )
  258.    (attribute additionalName GiString
  259.       (property displayName "Additional Name")
  260.    )
  261.    (attribute address GiInstance
  262.       (property qualifierName "PostalAddress")
  263.       (property displayName "Postal Address")
  264.       (property editButton giTrue)
  265.       (property userEditable giFalse)
  266.    )
  267.    (attribute telSet GiSet
  268.       (property qualifierName "Phone")
  269.       (property displayName "Tel Numbers")
  270.       (property editButton giTrue)
  271.    )
  272.    (attribute faxSet GiSet
  273.       (property qualifierName "Phone")
  274.       (property displayName "Fax Numbers")
  275.       (property editButton giTrue)
  276.    )
  277.    (attribute emailSet GiSet
  278.       (property qualifierName "Email")
  279.       (property displayName "Email Address")
  280.       (property editButton giTrue)
  281.    )
  282.    (attribute comment GiString
  283.       (property displayName "Comments")
  284.    )
  285. )
  286.  
  287. (class PostalAddress
  288.    (classProperty displayRule "street, city, state, zip, country")
  289.  
  290.    (attribute street GiString
  291.      (property displayName "Street")
  292.    )
  293.    (attribute city GiString
  294.       (property displayName "City")
  295.    )
  296.    (attribute state GiString
  297.       (property displayName "State")
  298.    )
  299.    (attribute zip GiString
  300.       (property displayName "Zip")
  301.    )
  302.    (attribute country GiString
  303.       (property displayName "Country")
  304.    )
  305. )
  306.  
  307. (class Phone
  308.    (classProperty displayRule "phoneNumber, description")
  309.  
  310.    (attribute phoneNumber GiString
  311.       (property displayName "Phone Number")
  312.    )
  313.    (attribute description GiString
  314.       (property displayName "Comment")
  315.    )
  316. )
  317.  
  318. (class Email
  319.    (attribute emailAddress GiString
  320.       (property key giTrue)
  321.       (property displayName "Email Address")
  322.    )
  323.    (attribute emailType GiEnum
  324.       (property qualifierName "EmailType")
  325.       (property displayName "Email Format")
  326.    )
  327. )
  328.  
  329. (class TableCellSchema
  330.    (attribute attrName GiString
  331.    )
  332.    (attribute displayName GiString
  333.    )
  334.    (attribute columnWidth GiInt32
  335.    )
  336. )
  337.  
  338. (class TableSchema
  339.    (attribute tableName GiString
  340.       (property key giTrue)
  341.    )
  342.    (attribute objectClassName GiString
  343.    )
  344.    (attribute tableCellSet GiSet
  345.       (property qualifierName "TableCellSchema")
  346.    )
  347.    (attribute left GiInt32
  348.    )
  349.    (attribute top GiInt32
  350.    )
  351.    (attribute width GiInt32
  352.    )
  353.    (attribute height GiInt32
  354.    )
  355.    (attribute readOnly GiBoolean
  356.    )
  357. )
  358.  
  359. (class ReportSchema
  360.    (attribute reportName GiString
  361.    )
  362.    // if constantRuleOnly is true, then objectClassName is not required
  363.    (attribute constantRuleOnly GiBoolean
  364.    )
  365.    // required for constantRuleOnly, to denote how many cells to print with
  366.    // the constant specified rule, otherwise it is computed depending on the
  367.    // number of objects
  368.    (attribute numCells GiInt32
  369.    )
  370.    (attribute objectClassName GiString
  371.    )
  372.    (attribute rule GiString
  373.    )
  374.    (attribute numCols GiInt32
  375.    )
  376.    // in twips = inch * 1440
  377.    (attribute interColSpacing GiInt32
  378.    )
  379.    (attribute interRowSpacing GiInt32
  380.    )
  381.    // if true, colWidth is not required
  382.    (attribute colWidthMaxText GiBoolean
  383.    )
  384.    // if true, rowHeight is not required
  385.    (attribute rowHeightMaxText GiBoolean
  386.    )
  387.    // in twips
  388.    (attribute colWidth GiInt32
  389.    )
  390.    (attribute rowHeight GiInt32
  391.    )
  392.  
  393.    // in twips
  394.    (attribute paperWidth GiInt32
  395.    )
  396.    (attribute paperHeight GiInt32
  397.    )
  398.  
  399.    // in twips
  400.    (attribute leftMargin GiInt32
  401.    )
  402.    (attribute rightMargin GiInt32
  403.    )
  404.    (attribute topMargin GiInt32
  405.    )
  406.    (attribute bottomMargin GiInt32
  407.    )
  408. )
  409.  
  410. (class OptionsSchema
  411.   (attribute majorVersion GiInt32)
  412.   (attribute minorVersion GiInt32)
  413.   (attribute patchVersion GiInt32)
  414.   (attribute serialNumber GiInt32)
  415.   (attribute installNumber GiInt32)
  416.   (attribute userName GiString)
  417.   (attribute companyName GiString)
  418.  
  419.   (attribute shareHomeTelephone GiBoolean)
  420.   (attribute shareHomeFax GiBoolean)
  421.   (attribute shareWorkTelephone GiBoolean)
  422.   (attribute shareWorkFax GiBoolean)
  423.  
  424.   (attribute autoOpenLastFile GiBoolean)
  425.   (attribute compuServeRoot GiString)
  426. )
  427.