From a7ddb6ec4103182af944faf6e8eab831579a19ba Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 14 Oct 2014 02:16:06 +0000 Subject: 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@. --- out.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'out.h') diff --git a/out.h b/out.h index a1133ede..de38ec17 100644 --- a/out.h +++ b/out.h @@ -1,4 +1,4 @@ -/* $Id: out.h,v 1.23 2014/08/12 19:28:03 schwarze Exp $ */ +/* $Id: out.h,v 1.24 2014/10/14 02:16:06 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -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 -- cgit v1.2.3-56-ge451