mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 11:28:56 +00:00
22 lines
455 B
C++
22 lines
455 B
C++
#ifndef CONTENTNORMALIZER_HH
|
|
#define CONTENTNORMALIZER_HH
|
|
|
|
#include <qpdf/QPDFObjectHandle.hh>
|
|
|
|
class ContentNormalizer: public QPDFObjectHandle::TokenFilter
|
|
{
|
|
public:
|
|
ContentNormalizer();
|
|
virtual ~ContentNormalizer();
|
|
virtual void handleToken(QPDFTokenizer::Token const&);
|
|
|
|
bool anyBadTokens() const;
|
|
bool lastTokenWasBad() const;
|
|
|
|
private:
|
|
bool any_bad_tokens;
|
|
bool last_token_was_bad;
|
|
};
|
|
|
|
#endif // CONTENTNORMALIZER_HH
|