CWB
Data Fields
_print_descr_rec_ Struct Reference

The PrintDescriptionRecord object. More...

#include <print-modes.h>

Data Fields

char * CPOSPrintFormat
 printf()-Formatting String for display of a corpus position (needs a d or x or similar in it somewhere) More...
 
char * BeforePrintStructures
 to print before PS More...
 
char * PrintStructureSeparator
 to print as separator More...
 
char * AfterPrintStructures
 to print after PS More...
 
char * StructureBeginPrefix
 prefix of structure start tag More...
 
char * StructureBeginSuffix
 suffix of structure start tag More...
 
char * StructureSeparator
 separator of structures More...
 
char * StructureEndPrefix
 prefix of structure end tag More...
 
char * StructureEndSuffix
 suffix of structure end tag More...
 
char * BeforeToken
 what to print before a token More...
 
char * TokenSeparator
 what to print between tokens More...
 
char * AttributeSeparator
 what to print as p-att separator within tokens More...
 
char * AfterToken
 what to print after a token More...
 
char * BeforeField
 what to print before a field More...
 
char * FieldSeparator
 what to print between fields More...
 
char * AfterField
 what to print after fields More...
 
char * BeforeLine
 what to print before a line More...
 
char * AfterLine
 what to print after a line More...
 
char * BeforeConcordance
 what to print before the concordance More...
 
char * AfterConcordance
 what to print after the concordance More...
 
char *(* printToken )(char *)
 function pointer for printing a token More...
 
char *(* printField )(FieldType, int)
 function pointer for printing a field i.e. More...
 

Detailed Description

The PrintDescriptionRecord object.

Contains strings / function pointers that control the printing mode (esp. the format of an individual concordance line).

Note that currently it is not possible for a new PDR to be defined at runtime. It must be done at compile-time.

Field Documentation

char* AfterConcordance

what to print after the concordance

Referenced by html_print_output(), latex_print_output(), and sgml_print_output().

char* AfterField

what to print after fields

Referenced by compose_kwic_line().

char* AfterLine
char* AfterPrintStructures

to print after PS

Referenced by get_print_attribute_values().

char* AfterToken

what to print after a token

Referenced by compose_kwic_line().

char* AttributeSeparator

what to print as p-att separator within tokens

Referenced by get_position_values().

char* BeforeConcordance

what to print before the concordance

Referenced by latex_print_output(), and sgml_print_output().

char* BeforeField

what to print before a field

Referenced by compose_kwic_line().

char* BeforeLine

what to print before a line

Referenced by html_print_output(), latex_print_output(), and sgml_print_output().

char* BeforePrintStructures

to print before PS

Referenced by get_print_attribute_values().

char* BeforeToken

what to print before a token

Referenced by compose_kwic_line().

char* CPOSPrintFormat

printf()-Formatting String for display of a corpus position (needs a d or x or similar in it somewhere)

Referenced by get_position_values(), and get_print_attribute_values().

char* FieldSeparator

what to print between fields

char*(* printField)(FieldType, int)

function pointer for printing a field i.e.

for highlighting a token that is one of the 4 anchor points; if NULL, these aren't printed.

Referenced by get_field_separators().

char* PrintStructureSeparator

to print as separator

Referenced by get_print_attribute_values().

char*(* printToken)(char *)

function pointer for printing a token

Referenced by get_position_values(), and get_print_attribute_values().

char* StructureBeginPrefix

prefix of structure start tag

Referenced by get_position_values(), and get_print_attribute_values().

char* StructureBeginSuffix

suffix of structure start tag

Referenced by get_position_values(), and get_print_attribute_values().

char* StructureEndPrefix

prefix of structure end tag

Referenced by get_position_values().

char* StructureEndSuffix

suffix of structure end tag

Referenced by get_position_values().

char* StructureSeparator

separator of structures

char* TokenSeparator

what to print between tokens

Referenced by compose_kwic_line().


The documentation for this struct was generated from the following file: