TableTexts

Modified in version 5.0.4

TableTexts ( options ;​ texts )

Argument Type Range Default Note
options str 0..1000 "" Currently not used.
texts styt 0..100000 ""
Examples

TableTexts("";​"Row1 Text 1\tRow1 Text 2\tRow1 Text 3\nRow2 Text 1\tRow2 Text 2\tRow2 Text 3")

Description

Row texts are separated by a line feed "\n" and the individual cell texts by a tab character "\t".
Cell texts consisting of several lines are possible by inserting a paragraph mark "¶".

TABLE_TEXTS_01
1

OpenDrawing(300;​130)

2

OpenTable(0;​0;​left;​top)

3

TableTexts("";​"10\t1,234.21\t712\n25\t93.42\t3949\n268\t234.20\t6854\n185\t-1,692.21\t•••\n124\t198.50\t1000")

4

TableCellStyle(0;​Verdana;​15;​plain;​black) /* 0..all cells. */

5

TableColumnWidths(0;​100;​80) /* 1st column: 0...automatic column width. */

6

TableColumnAlignments(right;​right;​right)

7

CloseTable()

8

CloseDrawing()

TABLE_TEXTS_01
TABLE_TEXTS_02
1

OpenDrawing(300;​150)

2

OpenTable(0;​0;​left;​top)

3

TableTexts("";​"10\t1,234.21\t712\n25\t93.42\t3949\n268\t234.20\t6854\n185\t-1,692.21\tText in¶two rows\n124\t198.50\t1000")

4

TableCellStyle(0;​Verdana;​15;​plain;​black) /* 0..all cells. */

5

TableRowAlignments(;​;​;​bottom) /* 4th row is bottom-aligned. */

6

TableColumnAlignments(center;​right;​right) /* 1st column is centered.  */

7

TableColumnWidths(0;​100;​80) /* 1st column: 0...automatic column width.  */

8

CloseTable()

9

CloseDrawing()

TABLE_TEXTS_02
TABLE_TEXTS_03
1

OpenDrawing(440;​440)

2

OpenTable(10;​10;​left;​top)

3

TableTexts("";​"Cicero: de Finibus Bonorum et Malorum, Section 1.10.32:¶<i> Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.</i>\tTranslation by H. Rackham:¶<i> But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</i>\nCicero: de Finibus Bonorum et Malorum, Section 1.10.33:¶<i> At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.</i>\tTranslation by H. Rackham:¶<i> On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain.</i>”)

4

TableRowGap(1;8)

5

TableColumnGap(1;4)

6

TableColumnWidths(200;200)

7

TableCellBorderRect(1 1 1 2;1;#aaa)

8

TableCellBorderRect(2 1 2 2;1;#aaa)

9

/* Left column. */

10

TableCellStyle(1 1 -1 1;Verdana;11;plain;white;left;top)

11

TableCellBackground(1 1;#88f)

12

TableCellBackground(2 1;#88f)

13

/* Right column. */

14

TableCellStyle(1 2 -1 2;Verdana;11;plain;black;left;top)

15

CloseTable()

16

CloseDrawing()

TABLE_TEXTS_03
Scroll to Top