From b909251244b1b27f8cb2f65176473a1ac2e14dfc Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 4 Jul 2007 06:06:53 +0000 Subject: [PATCH] Consolidated all PIs for graphics and lists into wrapper templates in one place (html/pi.xsl) and added embedded doc for all of them. May have made some flubs in copying over, so this change may break some graphics and list handling. --- xsl/html/graphics.xsl | 13 +-- xsl/html/lists.xsl | 54 ++-------- xsl/html/pi.xsl | 226 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 241 insertions(+), 52 deletions(-) diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index 125499876..2ea8656f2 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -248,11 +248,8 @@ - - - - + + @@ -641,10 +638,8 @@ valign: - - - + + diff --git a/xsl/html/lists.xsl b/xsl/html/lists.xsl index 262e01463..535bbafb8 100644 --- a/xsl/html/lists.xsl +++ b/xsl/html/lists.xsl @@ -211,11 +211,7 @@ - - - - + @@ -233,27 +229,15 @@ - - - - + - - - - + - - - - +
@@ -370,18 +354,14 @@ - - - + + - - - + + @@ -795,11 +775,7 @@ - - - - +
@@ -868,19 +844,11 @@ - - - - + - - - - + diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index 1993351cd..9673b1b23 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -64,6 +64,232 @@ $Id$ + + + + + + + + + +Sets background color for an image + + Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbhtml background-color="color" + + + + background-color="color" + + FIXME: A color value? [In hex, as a name, or what?] + + + + + + + + + + + + + + +Specifies presentation style for a variablelist or + segmentedlist + + Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbhtml list-presentation="list"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="table" + + Displays the list as a table + + + + + + + + + + + + + + +Specifies the width of a variablelist or simplelist + + Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + + dbhtml list-width="width" + + + + list-width="width" + + FIXME: Specifies the ouytput width (in what units?) + + + + + + + + + + + + + + +Sets character formatting for terms in a variablelist + + Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + + + term-presentation="bold" + + Specifies that terms are displayed in bold + + + term-presentation="italic" + + Specifies that terms are displayed in italic + + + term-presentation="bold-italic" + + Specifies that terms are displayed in bold-italic + + + + + + + + + + + + + + +Specifies the separator text shown after term + instances in output of variablelist + + Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + output after each term. + + + dbhtml term-separator="text" + + + + term-separator="text" + + Specifies the text (zero or more characters) + + + + + + + + + + + + + + +Specifies the text of the summary attribute for table + output of a variablelist or segmentedlist + + Use the dbhtml table-summary PI as a child + of a variablelist or segmentedlist to + specify the text for the HTML summary + attribute in the output HTML table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + + + + + + + + + +Specifies the term width for a variablelist + + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbhtml term-width="width" + + + + term-width="width" + + FIXME: Specifies the term width (in what units?) + + + + + + + + + + + + + -- 2.40.0