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

  1. <!-- ==================================================================
  2.      File:  WPTABLE.DTD        (DTD Declaration Subset)
  3.      (C) 1996-1999 Corel Corporation Limited.  All Rights Reserved.
  4.  
  5.      Public document type declaration for WordPerfect 5.1 tabular
  6.      material. To tag tables using the WP 5.1 method, include this DTD
  7.      subset in your DTD by adding the following declaration and
  8.      reference to your DTD:
  9.  
  10.      <!ENTITY % wptable PUBLIC "-//COREL//DTD WP 5.1 Table Declarations//EN">
  11.      %wptable;
  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 5.1 Table Declarations//EN"
  18.      "wptable.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\wptable.dtd"
  26.      or "c:\mydtds\wptable.dtd").
  27.      ==================================================================
  28. -->
  29.  
  30.  
  31. <!ENTITY % wptbord "st|dt|dat|dott|tt|et|nt"
  32.           -- Border attributes are: s(ingle), d(ouble), da(shed), dot(ted),
  33.           t(hick), e(xtra thick), n(one) -->
  34. <!ENTITY % wplbord "sl|dl|dal|dotl|tl|el|nl"
  35.           -- Border attributes are: s(ingle), d(ouble), da(shed), dot(ted),
  36.           t(hick), e(xtra thick), n(one) -->
  37. <!ENTITY % wpbbord "sb|db|dab|dotb|tb|eb|nb"
  38.           -- Border attributes are: s(ingle), d(ouble), da(shed), dot(ted),
  39.           t(hick), e(xtra thick), n(one) -->
  40. <!ENTITY % wprbord "sr|dr|dar|dotr|tr|er|nr"
  41.           -- Border attributes are: s(ingle), d(ouble), da(shed), dot(ted),
  42.           t(hick), e(xtra thick), n(one) -->
  43. <!ENTITY % wphal "l|c|r|d|j"
  44.           -- Align attributes for columns, cells.   Alignments are:
  45.           l(eft), c(enter), r(ight), j(ustified), and d(ecimal). -->
  46. <!ENTITY % wpval "t|m|b"
  47.           -- Vertical alignment.  Alignments are: t(op), m(iddle), b(ottom) -->
  48.  
  49.  
  50. <!ELEMENT wptable      - -        (wprow+) >
  51.  
  52. <!ATTLIST wptable      numtab        ID          #IMPLIED
  53.           -- Table number, WordPerfect will automatically generate the
  54.              correct table number.--
  55.  
  56.                        numcols      NUMBER       #REQUIRED
  57.           -- Number of columns per row starting at 1 at the left cell. --
  58.  
  59.                        headers      NUMBER       "0"
  60.           -- Number of header rows. --
  61.  
  62.                        cwidth       CDATA        #IMPLIED
  63.           -- A list giving the dimensions of each column. --
  64.  
  65.                        defjust    (%wphal;)      "l"
  66.           -- Default justification for any unspecified column. --
  67.  
  68.                        just      NMTOKENS        #IMPLIED
  69.           -- To indicate the default alignment of columns that differ from
  70.              the default, specify from 1 to n alignment tokens, where n is
  71.              the number of columns. Alignments are same as in %wphal. Default
  72.              is specified with the defjust attribute.
  73.              Example:
  74.               "1 c" gives center aligned 1st column, all others use defjust. --
  75.  
  76.                        prec       NUMBER         "2"
  77.           -- Precision. Number of digits to the right of the decimal point. -->
  78.  
  79.  
  80. <!ELEMENT wprow        - O        (wpcell+) >
  81.  
  82. <!ATTLIST wprow        tbord      (%wptbord;)    "st"
  83.           -- Top default border for any cells in row. --
  84.  
  85.                        lbord      (%wplbord;)    "sl"
  86.           -- Left default border for any cells in row. --
  87.  
  88.                        bbord      (%wpbbord;)    "nb"
  89.           -- Bottom default border for any cells in row. --
  90.  
  91.                        rbord      (%wprbord;)    "nr"
  92.           -- Right default border for any cells in row. -->
  93.  
  94.  
  95. <!ELEMENT wpcell         - O      (#PCDATA) >
  96.  
  97. <!ATTLIST wpcell       just       (%wphal;)      #IMPLIED
  98.           -- This will override the column alignment --
  99.  
  100.                        prec       NUMBER         "2"
  101.           -- Precision. Number of digits to the right of the decimal point. --
  102.  
  103.                        vjust      (%wpval;)      "t"
  104.           -- Vertical alignment of a cell. --
  105.  
  106.                        tbord      (%wptbord;)    #IMPLIED
  107.           -- Top default border for any cells in row. --
  108.  
  109.                        lbord      (%wplbord;)    #IMPLIED
  110.           -- Left default border for any cells in row. --
  111.  
  112.                        bbord      (%wpbbord;)    #IMPLIED
  113.           -- Bottom default border for any cells in row. --
  114.  
  115.                        rbord      (%wprbord;)    #IMPLIED
  116.           -- Right default border for any cells in row. --
  117.  
  118.                        cspan      NUMBER         #IMPLIED
  119.           -- The number of columns that are spanned by this cell.
  120.              (e.g. cspan="2" indicates that the cell spans two cells:
  121.              itself and the cell adjacent to the right). --
  122.  
  123.                        rspan      NUMBER         #IMPLIED
  124.           -- The number of rows that are spanned by this cell.
  125.              (e.g. rspan="2" indicates that the cell spans two rows:
  126.              itself and the row below it). -->
  127.  
  128.