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
CPDF_NPageToOneExporter Class Referencefinal

#include <cpdf_npagetooneexporter.h>

Inheritance diagram for CPDF_NPageToOneExporter:
Collaboration diagram for CPDF_NPageToOneExporter:

Classes

struct  NupPageSettings

Public Member Functions

 CPDF_NPageToOneExporter (CPDF_Document *dest_doc, CPDF_Document *src_doc)
 ~CPDF_NPageToOneExporter ()
bool ExportNPagesToOne (pdfium::span< const uint32_t > page_indices, const CFX_SizeF &dest_page_size, size_t pages_on_x_axis, size_t pages_on_y_axis)
std::unique_ptr< XObjectContextCreateXObjectContextFromPage (int src_page_index)

Static Public Member Functions

static ByteString GenerateSubPageContentStreamForTesting (const ByteString &xobject_name, const NupPageSettings &settings)

Additional Inherited Members

Protected Member Functions inherited from CPDF_PageOrganizer
 CPDF_PageOrganizer (CPDF_Document *dest_doc, CPDF_Document *src_doc)
 ~CPDF_PageOrganizer ()
bool Init ()
bool UpdateReference (RetainPtr< CPDF_Object > obj)
CPDF_Documentdest ()
const CPDF_Documentdest () const
CPDF_Documentsrc ()
const CPDF_Documentsrc () const
void AddObjectMapping (uint32_t old_page_obj_num, uint32_t new_page_obj_num)
void ClearObjectNumberMap ()
Static Protected Member Functions inherited from CPDF_PageOrganizer
static bool CopyInheritable (RetainPtr< CPDF_Dictionary > dest_page_dict, RetainPtr< const CPDF_Dictionary > src_page_dict, const ByteString &key)
static RetainPtr< const CPDF_ObjectPageDictGetInheritableTag (RetainPtr< const CPDF_Dictionary > dict, const ByteString &src_tag)

Detailed Description

Definition at line 38 of file cpdf_npagetooneexporter.h.

Constructor & Destructor Documentation

◆ CPDF_NPageToOneExporter()

CPDF_NPageToOneExporter::CPDF_NPageToOneExporter ( CPDF_Document * dest_doc,
CPDF_Document * src_doc )

Definition at line 149 of file cpdf_npagetooneexporter.cpp.

References CPDF_PageOrganizer::CPDF_PageOrganizer().

Referenced by FPDF_ImportNPagesToOne(), and FPDF_NewXObjectFromPage().

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

◆ ~CPDF_NPageToOneExporter()

CPDF_NPageToOneExporter::~CPDF_NPageToOneExporter ( )
default

Member Function Documentation

◆ CreateXObjectContextFromPage()

std::unique_ptr< XObjectContext > CPDF_NPageToOneExporter::CreateXObjectContextFromPage ( int src_page_index)

Definition at line 290 of file cpdf_npagetooneexporter.cpp.

◆ ExportNPagesToOne()

bool CPDF_NPageToOneExporter::ExportNPagesToOne ( pdfium::span< const uint32_t > page_indices,
const CFX_SizeF & dest_page_size,
size_t pages_on_x_axis,
size_t pages_on_y_axis )

Definition at line 155 of file cpdf_npagetooneexporter.cpp.

References CPDF_PageOrganizer::ClearObjectNumberMap(), CPDF_PageOrganizer::Init(), and pdfium::page_object::kMediaBox.

Here is the call graph for this function:

◆ GenerateSubPageContentStreamForTesting()

ByteString CPDF_NPageToOneExporter::GenerateSubPageContentStreamForTesting ( const ByteString & xobject_name,
const NupPageSettings & settings )
static

Definition at line 214 of file cpdf_npagetooneexporter.cpp.

Referenced by TEST().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: