diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-14 02:16:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-14 02:16:06 +0000 |
commit | 2db1b6bde4abe38f4836e766eac615660b2f85c2 (patch) | |
tree | f103cfddb098081641c520d96c4a4cb17d77c915 /out.h | |
parent | 619229efd1f5f1aefbec0666e7effe0039234d0c (diff) | |
download | mandoc-2db1b6bde4abe38f4836e766eac615660b2f85c2.tar.gz |
Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns.
Does not yet take vertical rulers into account,
and does not do line breaks within table cells.
Considerably improves the lftp(1) manual; issue noticed by sthen@.
Diffstat (limited to 'out.h')
-rw-r--r-- | out.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,6 +34,7 @@ enum roffscale { struct roffcol { size_t width; /* width of cell */ size_t decimal; /* decimal position in cell */ + int flags; /* layout flags, see tbl_cell */ }; struct roffsu { @@ -64,7 +65,8 @@ __BEGIN_DECLS while (/* CONSTCOND */ 0) int a2roffsu(const char *, struct roffsu *, enum roffscale); -void tblcalc(struct rofftbl *tbl, const struct tbl_span *); +void tblcalc(struct rofftbl *tbl, + const struct tbl_span *, size_t); __END_DECLS |