/* Copyright (C) 1989, 1990 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.uucp)
This file is part of groff.
groff is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any later
groff is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
You should have received a copy of the GNU General Public License along
with groff; see the file LICENSE. If not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
inc_number vertical_spacing
;
enum { CENTER
, TOP
, BOTTOM
} vertical_alignment
;
struct entry_format
: entry_modifier
{
entry_format(format_type
);
void debug_print() const;
vertical_rule
*vrule_list
;
horizontal_span
*span_list
;
void do_hspan(int r
, int c
);
void do_vspan(int r
, int c
);
void divide_span(int, int);
void sum_columns(int, int);
void compute_separation_factor();
void compute_column_positions();
void do_vertical_rules();
void add_vertical_rule(int, int, int, int);
void define_bottom_macro();
int vline_spanned(int r
, int c
);
int row_begins_section(int);
int row_ends_section(int);
void make_columns_equal();
void compute_vrule_top_adjust(int, int, string
&);
void compute_vrule_bot_adjust(int, int, string
&);
void determine_row_type();
table(int nc
, unsigned flags
, int linesize
);
void add_text_line(int r
, const string
&, const char *, int);
void add_single_hline(int r
);
void add_double_hline(int r
);
void add_entry(int r
, int c
, const string
&, const entry_format
*,
const char *, int lineno
);
void add_vlines(int r
, const char *);
void set_minimum_width(int c
, const string
&w
);
void set_column_separation(int c
, int n
);
void set_equal_column(int c
);
void set_delim(char c1
, char c2
);
void print_single_hline(int r
);
void print_double_hline(int r
);
void set_troff_location(const char *, int);