From 2b83a1b9b771d172ec20ec4c1eb00033fb929ece Mon Sep 17 00:00:00 2001 From: PeterThoeny Date: Sun, 25 May 2003 03:32:00 +0000 Subject: [PATCH] none --- TWiki/TablePlugin.mdwn | 98 ++++++++++++++++++++++++++++---------------------- 1 file changed, 56 insertions(+), 42 deletions(-) diff --git a/TWiki/TablePlugin.mdwn b/TWiki/TablePlugin.mdwn index 7797704..4442cc8 100644 --- a/TWiki/TablePlugin.mdwn +++ b/TWiki/TablePlugin.mdwn @@ -53,17 +53,17 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T sort - Set table sorting on or off + Set table sorting "on" or "off" sort="on" initsort - Column to sort initially (1 to number of columns) + Column to sort initially ("1" to number of columns) initsort="2" initdirection - Initial sorting direction for initsort, set to up or down + Initial sorting direction for initsort, set to "up" or "down" initdirection="up" @@ -92,6 +92,16 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T tableborder="2" + tableframe + Table frame, set to "void" (no sides), "above" (the top side only), "below" (the bottom side only), "hsides" (the top and bottom sides only), "lhs" (the left-hand side only), "rhs" (the right-hand side only), "vsides" (the right and left sides only), "box" (all four sides), "border" (all four sides); default "void" + tableframe="hsides" + + + tablerules + Table rules, set to "none" (no rules), "groups" (rules will appear between row groups and column groups only), "rows" (rules will appear between rows only), "cols" (rules will appear between columns only), "all" (rules will appear between all rows and columns); default "none" + tablerules="rows" + + cellpadding Cell padding (pixels) cellpadding="0" @@ -103,17 +113,17 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T valign - Vertical alignment of cells, set to top, middle, bottom or baseline + Vertical alignment of cells, set to "top", "middle", "bottom" or "baseline" valign="top" headeralign - Header cell alignment, set to left, center, right or justify. Overrides individual cell settings - headeralign="left" + Header cell alignment, one value for all columns, or a comma separated list for different alignment of individual columns. Set to "left", "center", "right" or "justify". Overrides individual cell settings + headeralign="left, right" dataalign - Data cell alignment, set to left, center, right or justify. Overrides individual cell settings + Data cell alignment, one value for all columns, or a comma separated list for different alignment of individual columns. Set to "left", "center", "right" or "justify". Overrides individual cell settings dataalign="center" @@ -128,12 +138,12 @@ Attributes are defined as a `TABLEATTRIBUTES` Plugin setting in this topic, a `T headerrows - Number of header rows to exclude from sort; default 1 + Number of header rows to exclude from sort; default "1" headerrows="1" footerrows - Number of footer rows to exclude from sort; default 0 + Number of footer rows to exclude from sort; default "0" footerrows="1" @@ -254,78 +264,82 @@ Line before table: `%TABLE{ sort="on" tableborder="0" cellpadding="1" cellspacin Plugin Version: - 17 Dec 2002 + 24 May 2003 Change History:   - 17 Dec 2002: - PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting + 24 May 2003: + PTh: New |^| 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) - 15 Dec 2002: - PTh: Added headerrows and footerrows params (TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann) + 17 Dec 2002: + PTh: Removed individual table Plugin settings; added TABLEATTRIBUTES Plugins setting and TABLEATTRIBUTES preferences setting - 09 Dec 2002: - PTh: Added headercolor and datacolor parameters + 15 Dec 2002: + PTh: Added headerrows and footerrows params (TWiki:Main/DarrylGreen, TWiki:Main/WoutMertens); added tablewidth and columnwidths params (TWiki:Main/ThorstenSommermann) - 05 Jun 2002: - 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) + 09 Dec 2002: + PTh: Added headercolor and datacolor parameters - 13 Mar 2002: - PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection + 05 Jun 2002: + 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) - 12 Mar 2002: - PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value + 13 Mar 2002: + PTh: Added TWiki:Main/ShawnBradford 's initsort and initdirection - 05 Jan 2002: - PTh: Fixed sorting bug of cells with leading white space + 12 Mar 2002: + PTh: Added valign, headeralign and dataalign; fixed bug of swapped cellpadding/cellspacing; fixed warning of uninitialized value - 06 Dec 2001: - PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more + 05 Jan 2002: + PTh: Fixed sorting bug of cells with leading white space - 29 Nov 2001: - PTh: Fixed Perl warnings + 06 Dec 2001: + PTh: Fixed date sorting bug
03 Dec 2001 PTh: Fixed sort="off" bug and more - 16 Nov 2001: - PTh: Added table border, cell spacing, cell padding, gif files + 29 Nov 2001: + PTh: Fixed Perl warnings - 07 Oct 2001: - JT: Initial version + 16 Nov 2001: + PTh: Added table border, cell spacing, cell padding, gif files - CPAN Dependencies: - none + 07 Oct 2001: + JT: Initial version - Other Dependencies: + CPAN Dependencies: none - Perl Version: - 5.0 + Other Dependencies: + none + + + Perl Version: + 5.0 - Plugin Home: - http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% + Plugin Home: + http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% - Feedback: - http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev + Feedback: + http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev **_Related Topics:_** [[TWikiPreferences]], [[TWikiPlugins]], [[StandardColors]] --- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 17 Dec 2002
+-- [[JohnTalintyre]] - 07 Oct 2001
-- [[PeterThoeny]] - 24 May 2003
-- 1.9.4