Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
dump.cc File Reference

(e4657a741c23c8f48e0e97ae2091dc2d99f4f27d)

#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"
Include dependency graph for dump.cc:

Go to the source code of this file.

Typedefs

using GetBoxInfoFunc

Functions

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)

Typedef Documentation

◆ GetBoxInfoFunc

typedef std::function< bool(FPDF_PAGE, float *, float *, float *, float *)> GetBoxInfoFunc
Initial value:
std::function<bool(FPDF_PAGE, float*, float*, float*, float*)>
struct fpdf_page_t__ * FPDF_PAGE
Definition fpdfview.h:76

Definition at line 21 of file dump.cc.

Function Documentation

◆ DumpChildStructure()

void DumpChildStructure ( FPDF_STRUCTELEMENT child,
int indent )

Definition at line 135 of file dump.cc.

References DumpChildStructure(), FPDF_StructElement_CountChildren(), FPDF_StructElement_GetAttributeAtIndex(), FPDF_StructElement_GetAttributeCount(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetMarkedContentIdAtIndex(), FPDF_StructElement_GetMarkedContentIdCount(), and FPDF_StructElement_GetParent().

Referenced by DumpChildStructure(), and DumpPageStructure().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DumpMetaData()

void DumpMetaData ( FPDF_DOCUMENT doc)

Definition at line 252 of file dump.cc.

References FPDF_GetMetaText(), and GetPlatformWString().

Here is the call graph for this function:

◆ DumpPageInfo()

void DumpPageInfo ( FPDF_PAGE page,
int page_idx )

Definition at line 225 of file dump.cc.

References FPDFPage_GetArtBox(), FPDFPage_GetBleedBox(), FPDFPage_GetCropBox(), FPDFPage_GetMediaBox(), and FPDFPage_GetTrimBox().

Here is the call graph for this function:

◆ DumpPageStructure()

void DumpPageStructure ( FPDF_PAGE page,
int page_idx )

Definition at line 233 of file dump.cc.

References DumpChildStructure(), and FPDF_StructTree_GetForPage().

Here is the call graph for this function: