1 #   ifndef		DOC_TABLE_RECTANGLE_H
2 #   define		DOC_TABLE_RECTANGLE_H
3 
4 typedef struct TableRectangle
5     {
6     int		trCol0;
7     int		trCol1;
8     int		trCol11;
9 
10     int		trRow00;
11     int		trRow0;
12     int		trRow1;
13     int		trRow11;
14 
15     int		trIsRowSlice;
16     int		trIsColSlice;
17     int		trIsTableSlice;
18     int		trIsWholeTable;
19     int		trIsSingleCell;
20 
21     int		trCellColspan;
22     int		trCellRowspan;
23 
24     int		trInTableHeader;
25     } TableRectangle;
26 
27 /************************************************************************/
28 /*									*/
29 /*  Routine Declarations.						*/
30 /*									*/
31 /************************************************************************/
32 
33 extern void docInitTableRectangle(	TableRectangle *	tr );
34 
35 extern int docIntersectTableRectangle(	TableRectangle *		tr,
36 					const TableRectangle *		tr1,
37 					const TableRectangle *		tr2 );
38 
39 extern void docExpandTableRectangleToWholeRows(	TableRectangle *	tr );
40 extern void docExpandTableRectangleToWholeColumns( TableRectangle *	tr );
41 
42 #   endif	/*	DOC_TABLE_RECTANGLE_H	*/
43