Lines Matching +full:10 +full:- +full:inch
58 if (h->tbl.cols == NULL) {
59 h->tbl.len = html_tbl_len;
60 h->tbl.slen = html_tbl_strlen;
61 tblcalc(&h->tbl, sp, 0, 0);
63 assert(NULL == h->tblt);
64 h->tblt = print_otag(h, TAG_TABLE, "c?ss", "tbl",
66 sp->opts->opts & TBL_OPT_ALLBOX ? "1" : NULL,
67 "border-style",
68 sp->opts->opts & TBL_OPT_DBOX ? "double" :
69 sp->opts->opts & TBL_OPT_BOX ? "solid" : NULL,
70 "border-top-style",
71 sp->pos == TBL_SPAN_DHORIZ ? "double" :
72 sp->pos == TBL_SPAN_HORIZ ? "solid" : NULL);
79 assert(h->tblt);
80 print_tagq(h, h->tblt);
81 h->tblt = NULL;
100 if (h->tblt == NULL)
108 if (sp->pos != TBL_SPAN_DATA)
113 h->flags |= HTML_NONOSPACE;
114 h->flags |= HTML_NOSPACE;
118 switch (sp->layout->vert) {
133 if ((psp = sp->next) != NULL) {
134 switch (psp->pos) {
147 "border-left-style", lborder,
148 "border-bottom-style", bborder);
150 for (dp = sp->first; dp != NULL; dp = dp->next) {
159 cp = dp->layout;
160 if (cp->pos == TBL_CELL_SPAN || cp->pos == TBL_CELL_DOWN ||
161 (dp->string != NULL && strcmp(dp->string, "\\^") == 0))
166 if (dp->hspans > 0) {
168 "%d", dp->hspans + 1);
172 if (dp->vspans > 0) {
174 "%d", dp->vspans + 1);
179 switch (cp->pos) {
191 if (cp->flags & TBL_CELL_TALIGN)
193 else if (cp->flags & TBL_CELL_BALIGN)
198 for (i = dp->hspans; i > 0; i--)
199 cp = cp->next;
200 switch (cp->vert) {
216 "vertical-align", valign,
217 "text-align", halign,
218 "border-right-style", rborder);
219 if (dp->layout->pos == TBL_CELL_HORIZ ||
220 dp->layout->pos == TBL_CELL_DHORIZ ||
221 dp->pos == TBL_DATA_HORIZ ||
222 dp->pos == TBL_DATA_NHORIZ ||
223 dp->pos == TBL_DATA_DHORIZ ||
224 dp->pos == TBL_DATA_NDHORIZ)
226 else if (dp->string != NULL) {
227 save_font = h->metac;
228 html_setfont(h, dp->layout->font);
229 if (dp->layout->pos == TBL_CELL_LONG)
231 print_text(h, dp->string);
232 if (dp->layout->pos == TBL_CELL_NUMBER) {
233 col = h->tbl.cols + dp->layout->col;
234 if (col->decimal < col->nwidth) {
235 if ((ccp = strrchr(dp->string,
236 sp->opts->decimal)) == NULL) {
239 ccp = strchr(dp->string, '\0');
242 sz = col->nwidth - col->decimal;
243 while (--sz > 0) {
259 h->flags &= ~HTML_NONOSPACE;
262 if (sp->next == NULL) {
263 assert(h->tbl.cols);
264 free(h->tbl.cols);
265 h->tbl.cols = NULL;