#include "testing/helpers/dump.h"
#include <limits.h>
#include <string.h>
#include <algorithm>
#include <functional>
#include <iterator>
#include <string>
#include <utility>
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_doc.h"
#include "public/fpdf_transformpage.h"
#include "testing/fx_string_testhelpers.h"
GetBoxInfoFunc;
namespace {
std::wstring ConvertToWString(const unsigned short* buf,
unsigned long buf_size) { … }
void DumpBoxInfo(GetBoxInfoFunc func,
const char* box_type,
FPDF_PAGE page,
int page_idx) { … }
void DumpStructureElementAttributeValues(
FPDF_STRUCTELEMENT_ATTR_VALUE attr_value,
const char* name,
int indent) { … }
void DumpStructureElementAttributes(FPDF_STRUCTELEMENT_ATTR attr, int indent) { … }
}
void DumpChildStructure(FPDF_STRUCTELEMENT child, int indent) { … }
void DumpPageInfo(FPDF_PAGE page, int page_idx) { … }
void DumpPageStructure(FPDF_PAGE page, int page_idx) { … }
void DumpMetaData(FPDF_DOCUMENT doc) { … }