• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/groff-38/groff/src/preproc/tbl/

Lines Matching +defs:format +defs:type

532 entry_format::entry_format() : type(FORMAT_LEFT)
536 entry_format::entry_format(format_type t) : type(t)
542 switch (type) {
616 struct format {
625 format(int nr, int nc);
626 ~format();
630 format::format(int nr, int nc) : nrows(nr), ncolumns(nc)
651 void format::add_rows(int n)
674 format::~format()
746 // If this is a continuation format line, current_format will be the current
747 // format line.
749 format *process_format(table_input &in, options *opt,
750 format *current_format = 0)
761 error("end of input while processing format");
822 error("unrecognised format `%1'", char(c));
1088 error("no format");
1124 format *f;
1127 error("cannot increase the number of columns in a continued format");
1136 f = new format(nrows, ncolumns);
1146 error("cannot change column separation in continued format");
1155 error("cannot change which columns are equal in continued format");
1180 if (e->type != FORMAT_HLINE
1181 && e->type != FORMAT_DOUBLE_HLINE
1182 && e->type != FORMAT_SPAN)
1186 error("last row of format is all lines");
1193 table *process_data(table_input &in, format *f, options *opt)
1200 enum { DATA_INPUT_LINE, TROFF_INPUT_LINE, SINGLE_HLINE, DOUBLE_HLINE } type;
1206 // first determine what type of line this is
1214 type = DATA_INPUT_LINE;
1218 type = TROFF_INPUT_LINE;
1225 type = SINGLE_HLINE;
1227 type = DOUBLE_HLINE;
1231 type = DATA_INPUT_LINE;
1235 type = DATA_INPUT_LINE;
1237 switch (type) {
1243 // A format row that is all lines doesn't use up a data line.
1248 if (e->type != FORMAT_HLINE
1249 && e->type != FORMAT_DOUBLE_HLINE
1251 // && e->type != FORMAT_SPAN
1276 && line_format[col].type == FORMAT_SPAN) {
1445 format *newf = process_format(in, opt, f);
1496 format *form = 0;