28 lines
548 B
C++
28 lines
548 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace pdfengine {
|
|
|
|
struct ExtractedStream {
|
|
std::string rawContent;
|
|
std::string decodedContent;
|
|
int pageIndex = 0;
|
|
std::vector<std::string> filters;
|
|
bool compressed = false;
|
|
bool multiStream = false;
|
|
};
|
|
|
|
struct StreamVerification {
|
|
bool hasBT = false;
|
|
bool hasET = false;
|
|
bool hasTf = false;
|
|
bool hasTj = false;
|
|
bool multiStream = false;
|
|
};
|
|
|
|
StreamVerification verifyContentStream(const ExtractedStream& stream);
|
|
|
|
}
|