From: Michael Smith Date: Wed, 4 Jul 2007 11:41:04 +0000 (+0000) Subject: Consolidated all PIs for HTML table stuff into wrapper templates X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc17fa016ee52b7762b07dc70d3b9ebecfc66d0d;p=docbook-dsssl Consolidated all PIs for HTML table stuff into wrapper templates in the "master" pi list (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 table handling. --- diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index 28560eda2..b560752b0 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -102,14 +102,41 @@ + +Sets background color on an table row or table cell + + Use the dbhtml bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + + + dbhtml bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + + + + + + + + - Specifies the value of the cellpadding attribute in table - output of a qandaset + Specifies the value of the cellpadding attribute in + output of a table or qandaset - Use the dbhtml cellpadding PI as a child - of a qandaset to specify the value for the HTML - cellpadding attribute in the output HTML - table. + Use the dbhtml cellpadding PI as a child of a + table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. dbhtml cellpadding="number" @@ -136,13 +163,13 @@ - Specifies the value of the cellspacing attribute in table - output of a qandaset + Specifies the value of the cellspacing attribute in + output of a table or qandaset - Use the dbhtml cellspacing PI as a child - of a qandaset to specify the value for the HTML - cellspacing attribute in the output HTML - table. + Use the dbhtml cellspacing PI as a child of a + table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. dbhtml cellspacing="number" @@ -168,6 +195,34 @@ + + Set value of the class attribute for a table row + + Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + + dbhtml class="name" + + + + class="name" + + Specifies the class name + + + + + + + + + + + + + Specifies presentation style for a funcsynopsis @@ -393,7 +448,9 @@ linenumbering.width="width" - FIXME: Specifies the width (in what units?) + Specifies the width, in number of characters. Line + numbers appear right justified in a field + width characters wide. @@ -438,15 +495,43 @@ + + Specifies the height for a table row + + Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + + dbhtml row-height="height" + + + + row-height="height" + + FIXME: Specifies the label height (in what units?) + + + + + + + + + + + + + - Specifies the text of the summary attribute for table - output of a variablelist, segmentedlist, or qandaset + Specifies the text of the summary attribute for + output of a table, variablelist, segmentedlist, or + qandaset - Use the dbhtml table-summary PI as a child - of a variablelist, segmentedlist, or - qandaset to specify the text for the HTML - summary attribute in the output HTML - table. + Use the dbhtml table-summary PI as a child of + a table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. dbhtml table-summary="text" @@ -469,6 +554,34 @@ + +Specifies the width for a table + + Use the dbhtml table-width PI as a child of a + table to specify the width of the table in + output. + + + dbhtml table-width="width" + + + + table-width="width" + + FIXME: Specifies the table width (in what units?) + + + + + + + + + + + + + Sets character formatting for terms in a variablelist @@ -498,9 +611,6 @@ - - variablelist.term.separator - diff --git a/xsl/html/table.xsl b/xsl/html/table.xsl index b178b0237..2f08ee2b2 100644 --- a/xsl/html/table.xsl +++ b/xsl/html/table.xsl @@ -148,27 +148,15 @@ - - - - + - - - - + - - - - + @@ -342,10 +330,8 @@ - - - + + @@ -436,10 +422,7 @@ - - - - + @@ -565,28 +548,19 @@ - - - - + - - - - + - - - - + @@ -800,10 +774,7 @@ - - - - +