27 #ifndef SWBASICFILTER_H
28 #define SWBASICFILTER_H
103 void setEscapeStart(
const char *escStart);
106 void setEscapeEnd(
const char *escEnd);
109 void setTokenStart(
const char *tokenStart);
112 void setTokenEnd(
const char *tokenEnd);
117 void setPassThruUnknownToken(
bool val);
123 void setPassThruUnknownEscapeString(
bool val);
128 void setPassThruNumericEscapeString(
bool val);
133 void setEscapeStringCaseSensitive(
bool val);
137 void addAllowedEscapeString(
const char *findString);
141 void removeAllowedEscapeString(
const char *findString);
145 void addEscapeStringSubstitute(
const char *findString,
const char *replaceString);
149 void removeEscapeStringSubstitute(
const char *findString);
152 bool substituteEscapeString(
SWBuf &buf,
const char *escString);
155 bool passAllowedEscapeString(
SWBuf &buf,
const char *escString);
158 void appendEscapeString(
SWBuf &buf,
const char *escString);
163 void setTokenCaseSensitive(
bool val);
168 void addTokenSubstitute(
const char *findString,
const char *replaceString);
172 void removeTokenSubstitute(
const char *findString);
175 bool substituteToken(
SWBuf &buf,
const char *token);
202 virtual bool handleNumericEscapeString(
SWBuf &buf,
const char *escString);
#define SWORD_NAMESPACE_START
static const char PRECHAR
static const char POSTCHAR
bool handleToken(SWBuf &text, XMLTag token)
bool passThruUnknownToken
static const char FINALIZE
virtual ~BasicFilterUserData()
virtual bool processStage(char, SWBuf &, char *&, BasicFilterUserData *)
virtual BasicFilterUserData * createUserData(const SWModule *module, const SWKey *key)
static const char INITIALIZE
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)=0
bool escStringCaseSensitive
virtual void setStageProcessing(char stages)
bool supressAdjacentWhitespace
#define SWORD_NAMESPACE_END