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

(3dce9b5818576f04ce21cec4b3686eda012e5b65)

#include "samples/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 97 of file dump.cc.

References DumpChildStructure(), FPDF_StructElement_CountChildren(), FPDF_StructElement_GetAttributeAtIndex(), FPDF_StructElement_GetAttributeCount(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetMarkedContentID(), 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 211 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 184 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 192 of file dump.cc.

References DumpChildStructure().

+ Here is the call graph for this function: