#include <stdio.h>
#include "../cl/bitfields.h"
#include "corpmanag.h"
#include "context_descriptor.h"
#include "print-modes.h"
#include "groups.h"
#define SUBST_ALL (SUBST_LT | SUBST_GT | SUBST_AMP | SUBST_QUOT) |
Referenced by html_print_aligned_line(), html_print_group(), sgml_print_aligned_line(), and sgml_print_group().
#define SUBST_AMP 4 |
Referenced by html_puts(), and sgml_puts().
#define SUBST_GT 2 |
Referenced by html_puts(), and sgml_puts().
#define SUBST_LT 1 |
Referenced by html_puts(), and sgml_puts().
#define SUBST_QUOT 8 |
Referenced by html_puts(), and sgml_puts().
char* html_convert_string | ( | char * | s | ) |
References MAX_LINE_LENGTH.
void html_print_aligned_line | ( | FILE * | stream, | |
char * | attribute_name, | |||
char * | line | |||
) |
References GlobalPrintOptions, html_puts(), _print_option_rec_::print_tabular, _print_option_rec_::print_wrap, and SUBST_ALL.
Referenced by printAlignedStrings().
void html_print_corpus_header | ( | CorpusList * | cl, | |
FILE * | outfd | |||
) |
References CD, cl::corpus, GlobalPrintOptions, html_print_context(), cl::mother_name, cl::name, TCorpus::name, passwd, _print_option_rec_::print_header, cl::query_corpus, cl::query_text, TCorpus::registry_name, and cl::size.
Referenced by print_corpus_info_header().
void html_print_group | ( | Group * | group, | |
int | expand, | |||
FILE * | fd | |||
) |
References _grouptable::count_cells, _id_cnt_mapping::freq, Group_id2str(), html_puts(), _grouptable::nr_cells, _id_cnt_mapping::s, SUBST_ALL, and _id_cnt_mapping::t.
Referenced by print_group().
void html_print_output | ( | CorpusList * | cl, | |
FILE * | outfd, | |||
int | interactive, | |||
ContextDescriptor * | cd, | |||
int | first, | |||
int | last | |||
) |
References _print_descr_rec_::AfterConcordance, _print_descr_rec_::AfterLine, _context_description_block::alignedCorpora, _print_descr_rec_::BeforeLine, broken_pipe, CD, compose_kwic_line(), ConcLineHorizontal, cl::corpus, _ConcLineField::end_position, GlobalPrintOptions, HTMLPrintDescriptionRecord, HTMLTabularNowrapPrintDescriptionRecord, HTMLTabularPrintDescriptionRecord, KeywordField, cl::keywords, line, MatchEndField, MatchField, NoField, ParsePrintOptions(), _print_option_rec_::print_border, _print_option_rec_::print_tabular, _print_option_rec_::print_wrap, printAlignedStrings(), _context_description_block::printStructureTags, cl::range, cl::size, cl::sortidx, _ConcLineField::start_position, TargetField, cl::targets, and _ConcLineField::type.
Referenced by print_output().
void html_puts | ( | FILE * | fd, | |
char * | s, | |||
int | flags | |||
) |
References SUBST_AMP, SUBST_GT, SUBST_LT, and SUBST_QUOT.
Referenced by html_print_aligned_line(), and html_print_group().
Referenced by html_print_output(), and printAlignedStrings().