]>
Commit | Line | Data |
---|---|---|
9a29912f JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: table.h | |
3 | // Purpose: Table utilities | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 7.9.93 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | /* | |
13 | * Table dimensions | |
14 | * | |
15 | */ | |
16 | ||
17 | struct ColumnData | |
18 | { | |
19 | char justification; // l, r, c | |
20 | int width; // -1 or a width in twips | |
21 | int spacing; // Space between columns in twips | |
22 | bool leftBorder; | |
23 | bool rightBorder; | |
4fe30bce | 24 | bool absWidth; // If false (the default), don't use an absolute width if you can help it. |
9a29912f JS |
25 | }; |
26 | ||
27 | extern ColumnData TableData[]; | |
28 | extern bool inTabular; | |
29 | extern bool startRows; | |
30 | extern bool tableVerticalLineLeft; | |
31 | extern bool tableVerticalLineRight; | |
32 | extern int noColumns; // Current number of columns in table | |
33 | extern int ruleTop; | |
34 | extern int ruleBottom; | |
35 | extern int currentRowNumber; | |
6c155d33 | 36 | extern bool ParseTableArgument(wxChar *value); |