#include "corpmanag.h"
#include "attlist.h"
Print mode: specifies output formats for CQP.
More...typedef struct _print_descr_rec_ PrintDescriptionRecord |
The PrintDescriptionRecord object.
typedef enum outputmode PrintMode |
Print mode: specifies output formats for CQP.
typedef struct _print_option_rec_ PrintOptions |
PrintOptions.
All members starting in print_ are Boolean.
typedef char*(* TokenEscapeFunction)(char *) |
enum outputmode |
AttributeList* ComputePrintStructures | ( | CorpusList * | cl | ) |
Computes a list of s-attributes to print from the PrintStructure global option setting.
PrintStructure is itself updated.
cl | The corpus from which to find the attributes. |
References AddNameToAL(), _Attribute::any, ATT_STRUC, _attrbuf::attribute, cl::corpus, cqpmessage(), DestroyAttributeList(), Error, find_attribute(), _attlist::list, NewAttributeList(), _attrbuf::next, PRINT_STRUC_SEP, printStructure, TCorpus::registry_name, structure_has_values(), VerifyList(), and Warning.
Referenced by execute_side_effects().
void CopyPrintOptions | ( | PrintOptions * | target, | |
PrintOptions * | source | |||
) |
Copies a PrintOptions object.
target | The PrintOptions object to be overwritten. | |
source | The PrintOptions object to copy. |
void ParsePrintOptions | ( | void | ) |
Reads the global string printModeOptions and parses it to update the GlobalPrintOptions.
References _print_option_rec_::number_lines, _print_option_rec_::print_border, _print_option_rec_::print_header, _print_option_rec_::print_tabular, _print_option_rec_::print_wrap, printModeOptions, and silent.
Referenced by execute_side_effects(), html_print_output(), and latex_print_output().
Global print-mode setting.
Referenced by after_CorpusCommand(), catalog_corpus(), do_cat(), execute_side_effects(), print_group(), and printAlignedStrings().
Global print-options: all booleans initially set to false.
Referenced by ascii_print_output(), catalog_corpus(), html_print_aligned_line(), html_print_corpus_header(), html_print_field(), html_print_output(), latex_print_field(), latex_print_output(), print_corpus_info_header(), and print_option_value().