home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / WP60TBL.DTD < prev    next >
Text File  |  2003-03-07  |  5KB  |  110 lines

  1. <!-- ==================================================================
  2.      File:  WP60TBL.DTD        (DTD Declaration Subset)
  3.      (C) 1996-1999 Corel Corporation Limited.  All Rights Reserved.
  4.  
  5.      Public document type declaration for WordPerfect 6.X tabular
  6.      material. To tag tables using the WP 6.X method, include this DTD
  7.      subset in your DTD by adding the following declaration and
  8.      reference to your DTD:
  9.  
  10.      <!ENTITY % wp60tbl PUBLIC "-//COREL//DTD WP 6.0 Table Declarations//EN">
  11.      %wp60tbl;
  12.  
  13.  
  14.      For this entity reference to be resolved correctly, an active
  15.      catalog file must contain an entry similar to the following:
  16.  
  17.      PUBLIC  "-//COREL//DTD WP 6.0 Minimal Table Declarations//EN"
  18.      "wp60tbl.dtd"
  19.  
  20.  
  21.      In this example, the DTD Compiler utility would search for the
  22.      file "wp60min.dtd" in the folder containing the catalog file.  If
  23.      the file is not in this folder, the third field of the catalog
  24.      entry should specify a path relative to the location of the
  25.      catalog file, or a full pathname (e.g., ".\mapfiles\wp60tbl.dtd"
  26.      or "c:\mydtds\wp60tbl.dtd").
  27.      ==================================================================
  28. -->
  29.  
  30.  
  31. <!ELEMENT table        - -    (colinf+, row+) >
  32.  
  33. <!ATTLIST table     tabnum       NMTOKEN         #IMPLIED
  34.           -- Table number, WordPerfect will automatically generate the correct
  35.              table number. --
  36.  
  37.                        numcols      NUMBER          #REQUIRED
  38.           -- Number of columns per row starting at 1 at the left cell.--
  39.  
  40.                        frame       (fsingle|fdouble|fdashed|fdotted|
  41.                                     fthick|fexthick|fnone)      "fdouble"
  42.           -- Border for outside the table. --
  43.  
  44.                        defbord     (single|double|dashed|dotted|
  45.                                     thick|exthick|none)       "single"
  46.           -- Default line border -->
  47.  
  48. <!-- The number of colinf tags entered must match the number specfified
  49.      in the attribute "numcols" in the tag "table". -->
  50.  
  51. <!ELEMENT colinf       - O    EMPTY >
  52.  
  53. <!ATTLIST colinf    cwidth        NMTOKEN        #REQUIRED
  54.           -- gives the dimensions of the column in the specified units.
  55.              Allowed units are " (inches), i (inches), c (centimeters),
  56.              m (millimeters), p (points), w (1200th of an inch) 
  57.              Examples:
  58.                "3.25i" gives 3.25 inches as the column width
  59.                "2.2c" gives 2.2 centimeters as the column width --
  60.  
  61.                        just          (left|center|right|full|
  62.                                       fullall|decimal)       "left"
  63.           -- To indicate the default alignment of the column --
  64.  
  65.                        prec          NUMBER         "2"
  66.           -- Precision. Number of digits to the right of the decimal point. -->
  67.  
  68. <!ELEMENT row          - O    (cell+) >
  69.  
  70. <!ATTLIST row       header        (yes|no)       "no"
  71.           -- Is this a header row. -->
  72.  
  73. <!ELEMENT cell         - O    (#PCDATA) >
  74.  
  75. <!ATTLIST cell       just          (left|center|right|full|
  76.                                       fullall|decimal)      #IMPLIED
  77.           -- This will override the column alignment. --
  78.  
  79.                        prec          NUMBER         "2"
  80.           -- Precision. Number of digits to the right of the decimal point. --
  81.  
  82.                        align         (top|middle|bottom)      "top"
  83.           -- Vertical alignment of a cell. --
  84.  
  85.                        tbord         (tsingle|tdouble|tdashed|tdotted|
  86.                                       tthick|texthick|tnone)    #IMPLIED
  87.           -- Top border for cell.  Uses defbord value if not specified.--
  88.  
  89.                        lbord         (lsingle|ldouble|ldashed|ldotted|
  90.                                       lthick|lexthick|lnone)    #IMPLIED
  91.           -- Left border for cell.  Uses defbord value if not specified.--
  92.  
  93.                        bbord         (bsingle|bdouble|bdashed|bdotted|
  94.                                       bthick|bexthick|bnone)    #IMPLIED
  95.           -- Bottom border for cell.  Uses defbord value if not specified.--
  96.  
  97.                        rbord         (rsingle|rdouble|rdashed|rdotted|
  98.                                     rthick|rexthick|rnone)    #IMPLIED
  99.           -- Right border for cell.  Uses defbord value if not specified.--
  100.  
  101.                        cspan         NUMBER         #IMPLIED
  102.           -- The number of columns that are spanned by this cel1.
  103.              (e.g. cspan="2" indicates that the cell spans two cells -
  104.              itself and the cell adjacent to the right). --
  105.  
  106.                        rspan         NUMBER         #IMPLIED
  107.           -- The number of rows that are spanned by this cel1.
  108.              (e.g. rspan="2" indicates that the cell spans two rows -
  109.              itself and the row below it). -->
  110.