CWB
|
Functions | |
void | printAlignedStrings (Corpus *sourceCorpus, ContextDescriptor *cd, int begin_target, int end_target, int highlighting, FILE *stream) |
For a given query result, prints the corresponding section of the aligned corpus (if any). More... | |
void printAlignedStrings | ( | Corpus * | sourceCorpus, |
ContextDescriptor * | cd, | ||
int | begin_target, | ||
int | end_target, | ||
int | highlighting, | ||
FILE * | stream | ||
) |
For a given query result, prints the corresponding section of the aligned corpus (if any).
This function is the business-end of the "print_align" module.
sourceCorpus | The corpus the query was run on. |
cd | ContextDescriptor containing data on how the concordance is to be printed. |
begin_target | Starting cpos of the result being printed. |
end_target | Ending cpos of the result being printed. |
highlighting | Boolean: Iff true, highlighting will be used (applies only in ASCII print mode; see "ascii_print_aligned_line"). |
stream | Output destination stream (will be printed to). |
References _context_description_block::alignedCorpora, ascii, ascii_print_aligned_line(), ASCIIPrintDescriptionRecord, ATT_ALIGN, _context_description_block::attributes, TCorpus::charset, cl_alg2cpos(), cl_cpos2alg(), cl_free, cl_new_corpus(), cl_strdup(), cl_string_validate_encoding(), compose_kwic_line(), ConcLineHorizontal, find_attribute, FindInAL(), GlobalPrintMode, html_print_aligned_line(), HTMLPrintDescriptionRecord, init_align_module(), initialize_context_descriptor(), latex_print_aligned_line(), LaTeXPrintDescriptionRecord, _attlist::list, module_init, _attrbuf::name, _attrbuf::next, PrintASCII, PrintBINARY, PrintHTML, PrintLATEX, PrintSGML, PrintUNKNOWN, registry, sgml_print_aligned_line(), SGMLPrintDescriptionRecord, _attrbuf::status, _context_description_block::strucAttributes, update_context_descriptor(), and utf8.
Referenced by html_print_output(), latex_print_output(), print_concordance_line(), and sgml_print_output().