version 1.29, 2017/06/08 18:11:22 |
version 1.32, 2018/06/25 16:54:59 |
|
|
struct roffcol { |
struct roffcol { |
size_t width; /* width of cell */ |
size_t width; /* width of cell */ |
size_t decimal; /* decimal position in cell */ |
size_t decimal; /* decimal position in cell */ |
|
size_t spacing; /* spacing after the column */ |
int flags; /* layout flags, see tbl_cell */ |
int flags; /* layout flags, see tbl_cell */ |
}; |
}; |
|
|
|
|
void *arg; /* passed to sulen, slen, and len */ |
void *arg; /* passed to sulen, slen, and len */ |
}; |
}; |
|
|
#define SCALE_VS_INIT(p, v) \ |
|
do { (p)->unit = SCALE_VS; \ |
|
(p)->scale = (v); } \ |
|
while (/* CONSTCOND */ 0) |
|
|
|
#define SCALE_HS_INIT(p, v) \ |
#define SCALE_HS_INIT(p, v) \ |
do { (p)->unit = SCALE_EN; \ |
do { (p)->unit = SCALE_EN; \ |
(p)->scale = (v); } \ |
(p)->scale = (v); } \ |
|
|
|
|
const char *a2roffsu(const char *, struct roffsu *, enum roffscale); |
const char *a2roffsu(const char *, struct roffsu *, enum roffscale); |
void tblcalc(struct rofftbl *tbl, |
void tblcalc(struct rofftbl *tbl, |
const struct tbl_span *, size_t); |
const struct tbl_span *, size_t, size_t); |