14 #define DISABLE_DEBUGLOG
20 #include <gwenhywfar/debug.h>
28 #define COLUMN_SPACING 4
60 for (i=0; i<xo->columns; i++)
62 c=HtmlObject_Tree_GetFirstChild(o);
77 c=HtmlObject_Tree_GetNext(c);
83 for (i=0; i<xo->columns; i++)
92 meanColumnWidth=w/xo->columns;
95 for (i=0; i<xo->columns; i++)
98 c=HtmlObject_Tree_GetFirstChild(o);
104 c=HtmlObject_Tree_GetNext(c);
107 for (i=0; i<xo->columns; i++)
112 for (i=0; i<xo->columns; i++) {
116 if (p<=meanColumnWidth) {
124 for (i=0; i<xo->columns; i++) {
131 for (i=0; i<xo->columns; i++) {
142 c=HtmlObject_Tree_GetFirstChild(o);
152 c=HtmlObject_Tree_GetNext(c);
163 c=HtmlObject_Tree_GetFirstChild(o);
187 if (ch>maxLineHeight)
194 c=HtmlObject_Tree_GetNext(c);