20 #ifndef DOCTORBUFFER_UTILS_H_ 21 #define DOCTORBUFFER_UTILS_H_ 32 void doctorBuffer(
char *buf,
int isML,
int isPS,
int isCR);
34 #ifdef DOCTORBUFFER_OLD 35 void doctorBuffer_old(
char *buf,
int isML,
int isPS,
int isCR);
void convertSpaceToInvisible(char *buf)
void removeBackslashesAndGTroffIndicators(char *buf)
Remove groff/troff font-size indicators, the literal string backslash-n and all backslahes, ala.
void doctorBuffer(char *buf, int isML, int isPS, int isCR)
Convert a buffer of multiple stuff to text-only, separated by spaces.
int compressDoctoredBuffer(char *textBuffer)
garbage collect: eliminate all INVISIBLE characters in the buffer
void ignoreFunctionCalls(char *buf)
Ignore function calls to print routines.
void convertWhitespaceToSpaceAndRemoveSpecialChars(char *buf, int isCR)
Convert white-space to real spaces, and remove unnecessary punctuation.
void removePunctuation(char *buf)
Clean up miscellaneous punctuation.
void removeLineComments(char *buf)
Remove comments that start at the beginning of a line.
void cleanUpPostscript(char *buf)
Remove newlines from buffer.
void removeHtmlComments(char *buf)
Remove HTML comments from buffer without removing comment text.