From d4e13060486acaebdcb8f4063c7dd882c9c16ed2 Mon Sep 17 00:00:00 2001 From: Fay Cross Date: Thu, 5 Jan 2012 15:07:06 +0000 Subject: [PATCH] git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@245 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641 --- modules/xerte/parent_templates/Nottingham/data.xwd | 2 +- modules/xerte/parent_templates/Nottingham/models/table.rlm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xerte/parent_templates/Nottingham/data.xwd b/modules/xerte/parent_templates/Nottingham/data.xwd index 2548f8145a..1c1659d54a 100644 --- a/modules/xerte/parent_templates/Nottingham/data.xwd +++ b/modules/xerte/parent_templates/Nottingham/data.xwd @@ -105,7 +105,7 @@ - + diff --git a/modules/xerte/parent_templates/Nottingham/models/table.rlm b/modules/xerte/parent_templates/Nottingham/models/table.rlm index e89bc0468e..18601199b3 100644 --- a/modules/xerte/parent_templates/Nottingham/models/table.rlm +++ b/modules/xerte/parent_templates/Nottingham/models/table.rlm @@ -1 +1 @@ -

' + pageIcon.templateData.table[0].tableData[0].name + '

'}]]>
' + myInfo + ''; } cellHeight = 0; for (i=0; i
0 && (header == 'none' || header == 'header' || (i != rowData.length-1 || shadeHeader == 'false'))) { borders.lineStyle(1, borderColour, 0); borders.beginFill(0xE3FFD6, 100); borders.drawRect(1, rowHeights.sumTo(i), tableWidth-2, rowHeights[i]); borders.endFill(); } } } } // shade and draw line above footer row if (header == 'footer' || header == 'both') { if (shadeHeader == 'true') { borders.lineStyle(1, borderColour, 0); borders.beginFill(0xF2F2F2, 100); borders.drawRect(1, rowHeights.sumTo(rowData.length-1), tableWidth-2, rowHeights[rowData.length-1]); borders.endFill(); } if (borderStyle == 'simple') { borders.lineStyle(1, borderColour, 100); borders.moveTo(0, rowHeights.sumTo(rowData.length-1)); borders.lineTo(tableWidth, rowHeights.sumTo(rowData.length-1)); } } // outside vertical borders around whole table if (borderStyle == 'full' || borderStyle == 'outside') { borders.lineStyle(1, borderColour, 100); borders.moveTo(0, 0); borders.lineTo(tableWidth, 0); borders.lineTo(tableWidth, tableHeight); borders.lineTo(0, tableHeight); borders.lineTo(0, 0); } // outside top & bottom horizontal lines if (borderStyle == 'simple') { borders.lineStyle(2, borderColour, 100); borders.moveTo(0, 0); borders.lineTo(tableWidth, 0); borders.moveTo(0, tableHeight); borders.lineTo(tableWidth, tableHeight); } // vertical lines between columns if (borderStyle == 'vertical' || borderStyle == 'full') { for (i=0; i
\ No newline at end of file +

' + pageIcon.templateData.table[0].tableData[0].name + '

'}]]>
' + myInfo + ''; } cellHeight = 0; for (i=0; i
0 && (header == 'none' || header == 'header' || (i != rowData.length-1 || shadeHeader == 'false'))) { borders.lineStyle(1, borderColour, 0); borders.beginFill(0xE3FFD6, 100); borders.drawRect(1, rowHeights.sumTo(i), tableWidth-2, rowHeights[i]); borders.endFill(); } } } } // shade and draw line above footer row if (header == 'footer' || header == 'both') { if (shadeHeader == 'true') { borders.lineStyle(1, borderColour, 0); borders.beginFill(0xF2F2F2, 100); borders.drawRect(1, rowHeights.sumTo(rowData.length-1), tableWidth-2, rowHeights[rowData.length-1]); borders.endFill(); } if (borderStyle == 'simple') { borders.lineStyle(1, borderColour, 100); borders.moveTo(0, rowHeights.sumTo(rowData.length-1)); borders.lineTo(tableWidth, rowHeights.sumTo(rowData.length-1)); } } // outside vertical borders around whole table if (borderStyle == 'full' || borderStyle == 'outside') { borders.lineStyle(1, borderColour, 100); borders.moveTo(0, 0); borders.lineTo(tableWidth, 0); borders.lineTo(tableWidth, tableHeight); borders.lineTo(0, tableHeight); borders.lineTo(0, 0); } // outside top & bottom horizontal lines if (borderStyle == 'simple') { borders.lineStyle(2, borderColour, 100); borders.moveTo(0, 0); borders.lineTo(tableWidth, 0); borders.moveTo(0, tableHeight); borders.lineTo(tableWidth, tableHeight); } // vertical lines between columns if (borderStyle == 'vertical' || borderStyle == 'full') { for (i=0; i 515) { if (500 - panel._height - 40 < 40) { heightDif = textH - 40; textH = 40; } else { heightDif = textH - (500 - panel._height - 30); textH = 500 - panel._height - 30; } }]]>
\ No newline at end of file