<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> <title>The OpenJade RTF backend</title> </head> <body background="images/background.gif"> <p align="left"><font face="Geneva, Arial"><img src="images/dsssltitle.gif" alt="OpenJade" vspace="10" width="750" height="60"> </font></p> <p align="left"> </p> <div align="left"> <table border="0" width="780"> <tr> <td><img src="images/space.gif" alt="" width="145" height="10"></td> <td><h1><font face="Arial">The OpenJade RTF backend</font></h1> <h3><font face="Arial">Created by James Clark</font></h3> <!....................................................... table of content .........................................................> <h2><font face="Geneva, Arial">Contents</font></h2> <ul> <li><font face="Geneva, Arial">Supported Flow Objects</font> <ul> <li><a href="#character"><font face="Geneva, Arial">character</font></a></li> <li><a href="#display-group"><font face="Geneva, Arial">display-group</font></a></li> <li><a href="#rule"><font face="Geneva, Arial">rule</font></a></li> <li><a href="#score"><font face="Geneva, Arial">score</font></a></li> <li><a href="#line-field"><font face="Geneva, Arial">line-field</font></a></li> <li><a href="#leader"><font face="Geneva, Arial">leader</font></a></li> <li><a href="#link"><font face="Geneva, Arial">link</font></a></li> <li><a href="#box"><font face="Geneva, Arial">box</font></a></li> <li><font face="Geneva, Arial">sequence</font></li> <li><a href="#external-graphic"><font face="Geneva, Arial">external-graphic</font></a></li> <li><a href="#paragraph"><font face="Geneva, Arial">paragraph</font></a></li> <li><a href="#paragraph-break"><font face="Geneva, Arial">paragraph-break</font></a></li> <li><a href="#simple-page-sequence"><font face="Geneva, Arial">simple-page-sequence</font></a></li> <li><a href="#table"><font face="Geneva, Arial">table</font></a></li> <li><a href="#table-part"><font face="Geneva, Arial">table-part</font></a></li> <li><a href="#table-column"><font face="Geneva, Arial">table-column</font></a></li> <li><font face="Geneva, Arial">table-row</font></li> <li><a href="#table-cell"><font face="Geneva, Arial">table-cell</font></a></li> <li><a href="#table-border"><font face="Geneva, Arial">table-border</font></a></li> <li><a href="#table-border"><font face="Geneva, Arial">table-border</font></a></li> <li><a href="#table-border"><font face="Geneva, Arial">math objects to be included</font></a></li> </ul> </li> </ul> <h2><font face="Geneva, Arial">Supported Flow Objects</font></h2> <!.......................................................... the character flow object ...........................................................> <table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080" size="+1"> <p align="center"><a name="character"> <font color="#FFFFFF">character</font></a> </p> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>font-weight </li> <li>font-posture </li> <li>font-name </li> <li>font-size </li> <li>input-whitespace-treatment </li> <li>position-point-shift </li> <li>language </li> <li>country </li> <li>color </li> </ul> </td> <td valign="top"> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the display-group flow object ...........................................................> <div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="display-group"><font color="#FFFFFF">display-group</font> </a></th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the rule flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="rule"><font color="#FFFFFF">rule</font></a> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>line-cap </li> <li>line-thickness </li> <li>line-repeat </li> <li>line-sep </li> <li>position-point-shift </li> <li>display-alignment (start, end, center) </li> <li>start-indent </li> <li>end-indent </li> <li>span (spans all columns if > 1) </li> <li>color </li> </ul> </td> <td valign="top"><ul> <li>orientation (horizontal, escapement) </li> <li>length </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> <tr><td valign="top" colspan="2"> <P>Only the horizontal orientation is supported. Rules only show up in Page Layout View</P> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the score flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="score"><font color="#FFFFFF">score</font></a> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>line-repeat (1 for type of before and through, 1 or 2 for after)</li> </ul> </td> <td valign="top"><ul> <li>type (before, through, after)</li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the line-field flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="line-field"><font color="#FFFFFF">line-field</font></a><font color="#FFFFFF"><sup>*</sup></font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>field-width </li> <li>field-align </li> </ul> </td> <td valign="top"> </td> </tr> <tr> <td colspan="2"><font size="2"><sup>*</sup></font> At the beginning of paragraph only. </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the leader flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="leader"><font color="#FFFFFF">leader</font><font color="#FFFFFF" size="2"><sup>*</sup></font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td colspan="2"><font size="2"><sup>*</sup></font> On the last line of paragraph only. The principal port (the leader string itself) can contain characters only. <p>The content of the flow object is ignored: a dotted leader will always be used. The specified length is ignored: it always fills out the line.</p> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the link flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="link"><font color="#FFFFFF">link</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>destination [#f, objects returned by (idref-address ...) and (current-node-address ...)] </li> </ul> </td> </tr> <tr> <td colspan="2"><font size="2"><sup>*</sup></font> Only destinations that are single elements in the same RTF output file. </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the link flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="index-entry"><font color="#FFFFFF">index-entry</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>components </li> <li>page-number? </li> <li>sort-string </li> <li>starts-page-range? </li> <li>ends-page-range? </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><dl> <dt><b>components</b> </dt> <dd>is a list of strings that represent index entry levels. This characteristic is not inherited and shall be specified. </dd> <dt><b>page-number?</b> </dt> <dd>is a boolean specifying whether this index entry should contain page number information. This characteristic is not inherited. The default is #t. </dd> <dt><b>sort-string</b> </dt> <dd>is either #f, specifying that this index entry's components should be used for sorting the index, or a string that should be used for sorting. This characteristic is not inherited. The default is #f. </dd> <dt><b>starts-page-range?</b> </dt> <dd>is a boolean specifying whether the index entry starts a page range. This characteristic is not inherited. The default is #f. </dd> <dt><b>ends-page-range?</b> </dt> <dd>is a boolean specifying whether the index entry starts a page range. This characteristic is not inherited. The default is #f. </dd> </dl> </td> </tr> <tr> <td valign="top" colspan="2">Only destinations that are single elements in the same RTF output file.</td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the external-graphic flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="external-graphic"><font color="#FFFFFF">external-graphic</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> </ul> </td> <td valign="top"><ul> <li>display? </li> <li>scale (max) </li> <li>max-width </li> <li>max-height </li> <li>entity-system-id </li> <li>display-alignment </li> <li>start-indent </li> <li>end-indent </li> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><p>On Windows platforms, this can be used to embed OLE objects, by making the the value of the <code>notation-system-id:</code> a formal system identifier whose storage manager is <code>CLSID</code> and whose storage object identifier is the COM CLSID (including surrounding braces). The system identifier may also be just <code><CLSID></code> (that is, the storage object identifier may be empty); in this case, the OLE default CLSID for the file (usually chosen based on the file's extension) will be used.</p> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the paragraph flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="paragraph"><font color="#FFFFFF">paragraph</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>lines (wrap, asis-wrap) </li> <li>hyphenation-ladder-count </li> <li>hyphenation-remain-char-count </li> <li>hyphenation-push-char-count </li> <li>font-weight </li> <li>font-posture </li> <li>font-name </li> <li>font-size </li> <li>quadding </li> <li>widow-count </li> <li>orphan-count </li> <li>language </li> <li>country </li> </ul> </td> <td valign="top"><ul> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> <li>line-spacing </li> <li>min-leading (#f or 0 for proportional line spacing) </li> <li>first-line-start-indent </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the paragraph-break flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="paragraph-break"><font color="#FFFFFF">paragraph-break</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top">Same as for paragraph </td> <td valign="top">Same as for paragraph </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the simple-page-sequence flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="simple-page-sequence"><font color="#FFFFFF">simple-page-sequence</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>page-width </li> <li>page-height </li> <li>left-margin </li> <li>right-margin </li> <li>top-margin </li> <li>bottom-margin </li> <li>header-margin </li> <li>footer-margin </li> </ul> </td> <td valign="top"><ul> <li>left-header </li> <li>center-header </li> <li>right-header </li> <li>left-footer </li> <li>center-footer </li> <li>right-footer </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><dl> <dt><b>(page-number-sosofo)</b> </dt> <dt><b>(current-node-page-number-sosofo)</b> </dt> <dt><b>"UNREGISTERED::James Clark//Procedure::if-first-page"</b> </dt> <dd>This can be used only in the specification of the value of one of the header/footer characteristics of simple-page-sequence. It returns a sosofo that will display as sosofo1 if the page is the first page of the simple-page-sequence and as sosofo2 otherwise. </dd> <dt><b>"UNREGISTERED::James Clark//Procedure::if-front-page"</b> </dt> <dd>This can be used only in the specification of the value of one of the header/footer characteristics of simple-page-sequence. It returns a sosofo that will display as sosofo1 if the page is a front (ie recto, odd-numbered) page and as sosofo2 if it is a back (i.e. verso, even-numbered) page. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-n-columns"</b> </dt> <dd>Value is a strictly positive integer, specifying the number of columns. The initial value is 1. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-column-sep"</b> </dt> <dd>Value is a length, specifying the separation between columns. The initial value is .5in. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-balance-columns?"</b> </dt> <dd>Value is a boolean. If true, the columns on the final page of the page-sequence should be balanced. The initial value is #f. </dd> </dl> </td> </tr> <tr> <td valign="top" colspan="2"><b>Here's how to enable the above extensions:</b><br> (define if-first-page (external-procedure<br> "UNREGISTERED::James Clark//Procedure::if-first-page"))<br> (define if-front-page (external-procedure <br> "UNREGISTERED::James Clark//Procedure::if-front-page"))<br> (declare-characteristic page-n-columns<br> "UNREGISTERED::James Clark//Characteristic::page-n-columns" 1)<br> (declare-characteristic page-n-columns<br> "UNREGISTERED::James Clark//Characteristic::page-column-gap" (* 36 1pt))<br> (declare-characteristic page-balance-columns?<br> "UNREGISTERED::James Clark//Characteristic::page-balance-columns?" #f)<br> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table"><font color="#FFFFFF">table</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>table-border </li> <li>display-alignment </li> <li>start-indent </li> <li>end-indent </li> </ul> </td> <td valign="top"><ul> <li>table-width </li> <li>before-row-border </li> <li>after-row-border </li> <li>before-column-border </li> <li>after-column-border </li> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-part flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-part"><font color="#FFFFFF">table-part</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><ul> <li>header </li> <li>footer </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-column flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-column"><font color="#FFFFFF">table-column</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>start-indent </li> <li>end-indent </li> </ul> </td> <td valign="top"><ul> <li>column-number </li> <li>n-columns-spanned </li> <li>width </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><ul> <li>(table-unit <i>k</i>) </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-cell flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-cell"><font color="#FFFFFF">table-cell</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>cell-before-row-margin </li> <li>cell-after-row-margin </li> <li>cell-before-column-margin </li> <li>cell-after-column-margin </li> <li>cell-row-alignment </li> <li>cell-before-row-border </li> <li>cell-after-row-border </li> <li>cell-before-column-border </li> <li>cell-after-column-border </li> <li>cell-background? </li> <li>background-color </li> </ul> </td> <td valign="top"><ul> <li>column-number </li> <li>n-columns-spanned </li> <li>n-rows-spanned </li> <li>starts-row? </li> <li>ends-row? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-border flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-border"><font color="#FFFFFF">table-border</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>border-present? </li> <li>line-thickness </li> <li>line-repeat (0, 1, or 2) </li> <li>line-sep </li> <li>color </li> </ul> </td> <td valign="top"> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <p><font face="Arial">Many DSSSL characteristics cannot be implemented in RTF. The backend does the best it can. </font></p> <p><font face="Arial">In order to get correct page numbers in Microsoft Word, type the following after opening the document: </font></p> <ol> <li><font face="Arial">CTRL+END </font></li> <li><font face="Arial">CTRL+A </font></li> <li><font face="Arial">F9 </font></li> </ol> <p><font face="Arial">In Word Viewer 97, you must instead do: </font></p> <ol> <li><font face="Arial">CTRL+END </font></li> <li><font face="Arial">ALT </font></li> <li><font face="Arial">V </font></li> <li><font face="Arial">N </font></li> <li><font face="Arial">ALT </font></li> <li><font face="Arial">V </font></li> <li><font face="Arial">P </font></li> </ol> <p><font face="Arial">Page numbers also get updated automatically when you print. </font></p> <p><font face="Arial">We also ship a perl script <code>contrib/rtf2doc</code> for this purpose.</font></p> <p><font face="Arial">The RTF backend supports some additional characteristics. To use a characteristic named here as <code><var>C</var></code>, declare it using <code>declare-characteristic</code> with the public identifier: </font></p> <pre>"UNREGISTERED::James Clark//Characteristic::<var>C</var>" </pre> <dl> <dt><font size="4"><code>heading-level</code> </font></dt> <dd><font face="Arial">Value is an integer. It applies to paragraph flow objects. If the value is between 1 and 9, then the paragraph is output as a header of this level, otherwise it is output as body text. Using this characteristic allows Word to provide useful outline views and a document map. (Note that Word's handling of document maps for RTF documents is buggy: if you load an RTF document, and the previous document was using the Online Layout view, then RTF will attempt to guess what paragraphs are headings, which it will almost always do wrong. To avoid this, switch to the Normal view before loading an RTF document.) The initial value is <code>0</code> </font></dd> <dt><font size="4"><code>page-number-format</code> </font></dt> <dd><font face="Arial">Value is a string as for format-number procedure. This controls the format of the number used by page-number-sosofo and current-page-number-sosofo for references to pages in the simple-page-sequence. The initial value is <code>"1"</code>. It applies to simple-page-sequence flow objects. </font></dd> <dt><font size="4"><code>page-number-restart?</code> </font></dt> <dd><font face="Arial">Value is a boolean. If true, then for the purposes of page-number-sosofo and current-page-number-sosofo, the page numbers for this simple-page-sequence will restart from 1. The initial value is <code>#f</code>. It applies to simple-page-sequence flow objects. </font></dd> <dt><font size="4"><code>page-n-columns</code></font> </dt> <dd><font face="Arial">Value is a strictly positive integer, specifying the number of columns. The initial value is 1. It applies to simple-page-sequence flow objects. </font></dd> <dt><font size="4"><code>page-column-sep</code> </font></dt> <dd><font face="Arial">Value is a length, specifying the separation between columns. The initial value is <code>.5in</code>. It applies to simple-page-sequence flow objects. </font></dd> <dt><font size="4"><code>page-balance-columns?</code> </font></dt> <dd><font face="Arial">Value is a boolean. If true, the columns on the final page of the page-sequence should be balanced. The initial value is <code>#f</code>. It applies to simple-page-sequence flow objects. </font></dd> <dt><font size="4"><code>superscript-height</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the height of the baseline of a superscript above its parent's baseline. It applies to superscript and script flow objects. </font></dd> <dt><font size="4"><code>subscript-depth</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the depth of the baseline of a subscript below its parent's baseline. It applies to subscript and script flow objects. </font></dd> <dt><font size="4"><code>over-mark-height</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the height of the baseline of the contents of the over-mark area of a mark flow object above the baseline of the contents of the main area. It also controls the height of the contents of the mid-sup area of the script flow object. It applies to mark and script flow objects. </font></dd> <dt><font size="4"><code>under-mark-depth</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the depth of the baseline of the contents of the under-mark area of a mark flow object below the baseline of the contents of the main area. It also controls the depth of the contents of the mid-sub area of the script flow object. It applies to mark and script flow objects. </font></dd> <dt><font size="4"><code>grid-row-sep</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the separation between rows of a grid flow object. </font></dd> <dt><font size="4"><code>grid-column-sep</code> </font></dt> <dd><font face="Arial">Value is a length. Specifies the separation between columns of a grid flow object. </font></dd> </dl> </td> </tr> </table> </div> </body> </html>