Lines Matching refs:dp
115 const struct tbl_dat *dp;
178 for (dp = sp->first; dp != NULL; dp = dp->next) {
187 cp = dp->layout;
189 (dp->string != NULL && strcmp(dp->string, "\\^") == 0))
194 if (dp->hspans > 0) {
196 "%d", dp->hspans + 1);
200 if (dp->vspans > 0) {
202 "%d", dp->vspans + 1);
226 for (i = dp->hspans; i > 0; i--)
247 if (dp->layout->pos == TBL_CELL_HORIZ ||
248 dp->layout->pos == TBL_CELL_DHORIZ ||
249 dp->pos == TBL_DATA_HORIZ ||
250 dp->pos == TBL_DATA_DHORIZ)
252 else if (dp->string != NULL) {
254 html_setfont(h, dp->layout->font);
255 if (dp->layout->pos == TBL_CELL_LONG)
257 print_text(h, dp->string);
258 if (dp->layout->pos == TBL_CELL_NUMBER) {
259 col = h->tbl.cols + dp->layout->col;
261 if ((ccp = strrchr(dp->string,
265 ccp = strchr(dp->string, '\0');