none
authorPeterThoeny <PeterThoeny>
Sun, 25 May 2003 03:32:00 +0000 (03:32 +0000)
committerPeterThoeny <PeterThoeny>
Sun, 25 May 2003 03:32:00 +0000 (03:32 +0000)
TWiki/TablePlugin.mdwn

index 7797704..4442cc8 100644 (file)
@@ -53,17 +53,17 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T
   </tr>
   <tr>
     <td bgcolor="#ecf2f8" style=""><code>sort</code></td>
-    <td bgcolor="#ecf2f8" style=""> Set table sorting <code>on</code> or <code>off</code></td>
+    <td bgcolor="#ecf2f8" style=""> Set table sorting <code>"on"</code> or <code>"off"</code></td>
     <td bgcolor="#ecf2f8" style=""><code>sort="on"</code></td>
   </tr>
   <tr>
     <td bgcolor="#ffffff" style=""><code>initsort</code></td>
-    <td bgcolor="#ffffff" style=""> Column to sort initially (1 to number of columns) </td>
+    <td bgcolor="#ffffff" style=""> Column to sort initially (<code>"1"</code> to number of columns) </td>
     <td bgcolor="#ffffff" style=""><code>initsort="2"</code></td>
   </tr>
   <tr>
     <td bgcolor="#ecf2f8" style=""><code>initdirection</code></td>
-    <td bgcolor="#ecf2f8" style=""> Initial sorting direction for <code>initsort</code>, set to <code>up</code> or <code>down</code></td>
+    <td bgcolor="#ecf2f8" style=""> Initial sorting direction for <code>initsort</code>, set to <code>"up"</code> or <code>"down"</code></td>
     <td bgcolor="#ecf2f8" style=""><code>initdirection="up"</code></td>
   </tr>
   <tr>
@@ -92,6 +92,16 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T
     <td bgcolor="#ffffff" style=""><code>tableborder="2"</code></td>
   </tr>
   <tr>
+    <td bgcolor="#ecf2f8" style=""><code>tableframe</code></td>
+    <td bgcolor="#ecf2f8" style=""> Table frame, set to <code>"void"</code> (no sides), <code>"above"</code> (the top side only), <code>"below"</code> (the bottom side only), <code>"hsides"</code> (the top and bottom sides only), <code>"lhs"</code> (the left-hand side only), <code>"rhs"</code> (the right-hand side only), <code>"vsides"</code> (the right and left sides only), <code>"box"</code> (all four sides), <code>"border"</code> (all four sides); default <code>"void"</code></td>
+    <td bgcolor="#ecf2f8" style=""><code>tableframe="hsides"</code></td>
+  </tr>
+  <tr>
+    <td bgcolor="#ffffff" style=""><code>tablerules</code></td>
+    <td bgcolor="#ffffff" style=""> Table rules, set to <code>"none"</code> (no rules), <code>"groups"</code> (rules will appear between row groups and column groups only), <code>"rows"</code> (rules will appear between rows only), <code>"cols"</code> (rules will appear between columns only), <code>"all"</code> (rules will appear between all rows and columns); default <code>"none"</code></td>
+    <td bgcolor="#ffffff" style=""><code>tablerules="rows"</code></td>
+  </tr>
+  <tr>
     <td bgcolor="#ecf2f8" style=""><code>cellpadding</code></td>
     <td bgcolor="#ecf2f8" style=""> Cell padding (pixels) </td>
     <td bgcolor="#ecf2f8" style=""><code>cellpadding="0"</code></td>
@@ -103,17 +113,17 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T
   </tr>
   <tr>
     <td bgcolor="#ecf2f8" style=""><code>valign</code></td>
-    <td bgcolor="#ecf2f8" style=""> Vertical alignment of cells, set to <code>top</code>, <code>middle</code>, <code>bottom</code> or <code>baseline</code></td>
+    <td bgcolor="#ecf2f8" style=""> Vertical alignment of cells, set to <code>"top"</code>, <code>"middle"</code>, <code>"bottom"</code> or <code>"baseline"</code></td>
     <td bgcolor="#ecf2f8" style=""><code>valign="top"</code></td>
   </tr>
   <tr>
     <td bgcolor="#ffffff" style=""><code>headeralign</code></td>
-    <td bgcolor="#ffffff" style=""> Header cell alignment, set to <code>left</code>, <code>center</code>, <code>right</code> or <code>justify</code>. Overrides individual cell settings </td>
-    <td bgcolor="#ffffff" style=""><code>headeralign="left"</code></td>
+    <td bgcolor="#ffffff" style=""> Header cell alignment, one value for all columns, or a comma separated list for different alignment of individual columns. Set to <code>"left"</code>, <code>"center"</code>, <code>"right"</code> or <code>"justify"</code>. Overrides individual cell settings </td>
+    <td bgcolor="#ffffff" style=""><code>headeralign="left, right"</code></td>
   </tr>
   <tr>
     <td bgcolor="#ecf2f8" style=""><code>dataalign</code></td>
-    <td bgcolor="#ecf2f8" style=""> Data cell alignment, set to <code>left</code>, <code>center</code>, <code>right</code> or <code>justify</code>. Overrides individual cell settings </td>
+    <td bgcolor="#ecf2f8" style=""> Data cell alignment, one value for all columns, or a comma separated list for different alignment of individual columns. Set to <code>"left"</code>, <code>"center"</code>, <code>"right"</code> or <code>"justify"</code>. Overrides individual cell settings </td>
     <td bgcolor="#ecf2f8" style=""><code>dataalign="center"</code></td>
   </tr>
   <tr>
@@ -128,12 +138,12 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T
   </tr>
   <tr>
     <td bgcolor="#ffffff" style=""><code>headerrows</code></td>
-    <td bgcolor="#ffffff" style=""> Number of header rows to exclude from sort; default 1 </td>
+    <td bgcolor="#ffffff" style=""> Number of header rows to exclude from sort; default <code>"1"</code></td>
     <td bgcolor="#ffffff" style=""><code>headerrows="1"</code></td>
   </tr>
   <tr>
     <td bgcolor="#ecf2f8" style=""><code>footerrows</code></td>
-    <td bgcolor="#ecf2f8" style=""> Number of footer rows to exclude from sort; default 0 </td>
+    <td bgcolor="#ecf2f8" style=""> Number of footer rows to exclude from sort; default <code>"0"</code></td>
     <td bgcolor="#ecf2f8" style=""><code>footerrows="1"</code></td>
   </tr>
 </table>
@@ -254,78 +264,82 @@ Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacin
   </tr>
   <tr>
     <td align="right" bgcolor="#ffffff" style=""> Plugin Version: </td>
-    <td bgcolor="#ffffff" style=""> 17 Dec 2002 </td>
+    <td bgcolor="#ffffff" style=""> 24 May 2003 </td>
   </tr>
   <tr>
     <td align="right" bgcolor="#ecf2f8" style=""> Change History: </td>
     <td bgcolor="#ecf2f8" style="">  </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 17 Dec 2002: </td>
-    <td bgcolor="#ffffff" style=""> PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting </td>
+    <td align="right" bgcolor="#ffffff" style=""> 24 May 2003: </td>
+    <td bgcolor="#ffffff" style=""> PTh: New <code>|^|</code> rule for multi row span (TWiki:Main/WalterMundt); added tableframe and tablerules (TWiki:Main/JohannesMartin); ignore columnwidths for multi column span; validate headerrows and footerrows (TWiki:Main/DarrylGreen) </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> 15 Dec 2002: </td>
-    <td bgcolor="#ecf2f8" style=""> PTh: Added headerrows and footerrows params (TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann) </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 17 Dec 2002: </td>
+    <td bgcolor="#ecf2f8" style=""> PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 09 Dec 2002: </td>
-    <td bgcolor="#ffffff" style=""> PTh: Added headercolor and datacolor parameters </td>
+    <td align="right" bgcolor="#ffffff" style=""> 15 Dec 2002: </td>
+    <td bgcolor="#ffffff" style=""> PTh: Added headerrows and footerrows params (TWiki:Main/DarrylGreen, TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann) </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> 05 Jun 2002: </td>
-    <td bgcolor="#ecf2f8" style=""> PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford) </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 09 Dec 2002: </td>
+    <td bgcolor="#ecf2f8" style=""> PTh: Added headercolor and datacolor parameters </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 13 Mar 2002: </td>
-    <td bgcolor="#ffffff" style=""> PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection </td>
+    <td align="right" bgcolor="#ffffff" style=""> 05 Jun 2002: </td>
+    <td bgcolor="#ffffff" style=""> PTh: Added "none" value to databg parameter (suggested by TWiki:Main/TaitCyrus); fixed sorting by stripping HTML tags, removing links and making sort ignore case (suggested by TWiki:Main/ShawnBradford) </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> 12 Mar 2002: </td>
-    <td bgcolor="#ecf2f8" style=""> PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 13 Mar 2002: </td>
+    <td bgcolor="#ecf2f8" style=""> PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 05 Jan 2002: </td>
-    <td bgcolor="#ffffff" style=""> PTh: Fixed sorting bug of cells with leading white space </td>
+    <td align="right" bgcolor="#ffffff" style=""> 12 Mar 2002: </td>
+    <td bgcolor="#ffffff" style=""> PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> 06 Dec 2001: </td>
-    <td bgcolor="#ecf2f8" style=""> PTh: Fixed date sorting bug <br /> 03 Dec 2001 PTh: Fixed sort="off" bug and more </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 05 Jan 2002: </td>
+    <td bgcolor="#ecf2f8" style=""> PTh: Fixed sorting bug of cells with leading white space </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 29 Nov 2001: </td>
-    <td bgcolor="#ffffff" style=""> PTh: Fixed Perl warnings </td>
+    <td align="right" bgcolor="#ffffff" style=""> 06 Dec 2001: </td>
+    <td bgcolor="#ffffff" style=""> PTh: Fixed date sorting bug <br /> 03 Dec 2001 PTh: Fixed sort="off" bug and more </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> 16 Nov 2001: </td>
-    <td bgcolor="#ecf2f8" style=""> PTh: Added table border, cell spacing, cell padding, gif files </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 29 Nov 2001: </td>
+    <td bgcolor="#ecf2f8" style=""> PTh: Fixed Perl warnings </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> 07 Oct 2001: </td>
-    <td bgcolor="#ffffff" style=""> JT: Initial version </td>
+    <td align="right" bgcolor="#ffffff" style=""> 16 Nov 2001: </td>
+    <td bgcolor="#ffffff" style=""> PTh: Added table border, cell spacing, cell padding, gif files </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> CPAN Dependencies: </td>
-    <td bgcolor="#ecf2f8" style=""> none </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> 07 Oct 2001: </td>
+    <td bgcolor="#ecf2f8" style=""> JT: Initial version </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> Other Dependencies: </td>
+    <td align="right" bgcolor="#ffffff" style=""> CPAN Dependencies: </td>
     <td bgcolor="#ffffff" style=""> none </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> Perl Version: </td>
-    <td bgcolor="#ecf2f8" style=""> 5.0 </td>
+    <td align="right" bgcolor="#ecf2f8" style=""> Other Dependencies: </td>
+    <td bgcolor="#ecf2f8" style=""> none </td>
+  </tr>
+  <tr>
+    <td align="right" bgcolor="#ffffff" style=""> Perl Version: </td>
+    <td bgcolor="#ffffff" style=""> 5.0 </td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ffffff" style=""> Plugin Home: </td>
-    <td bgcolor="#ffffff" style=""><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td>
+    <td align="right" bgcolor="#ecf2f8" style=""> Plugin Home: </td>
+    <td bgcolor="#ecf2f8" style=""><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%</a></td>
   </tr>
   <tr>
-    <td align="right" bgcolor="#ecf2f8" style=""> Feedback: </td>
-    <td bgcolor="#ecf2f8" style=""><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev</a></td>
+    <td align="right" bgcolor="#ffffff" style=""> Feedback: </td>
+    <td bgcolor="#ffffff" style=""><a href="http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev" target="_top">http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev</a></td>
   </tr>
 </table>
 
 **_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[StandardColors]]
 
--- [[JohnTalintyre]] - 07 Oct 2001 <br /> -- [[PeterThoeny]] - 17 Dec 2002 <br />
+-- [[JohnTalintyre]] - 07 Oct 2001 <br /> -- [[PeterThoeny]] - 24 May 2003 <br />