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_PageOrganizer Class Reference

#include <cpdf_pageorganizer.h>

Inheritance diagram for CPDF_PageOrganizer:
Collaboration diagram for CPDF_PageOrganizer:

Protected Member Functions

 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

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 23 of file cpdf_pageorganizer.h.

Constructor & Destructor Documentation

◆ CPDF_PageOrganizer()

CPDF_PageOrganizer::CPDF_PageOrganizer ( CPDF_Document * dest_doc,
CPDF_Document * src_doc )
protected

Definition at line 25 of file cpdf_pageorganizer.cpp.

References CPDF_PageOrganizer().

Referenced by CPDF_NPageToOneExporter::CPDF_NPageToOneExporter(), CPDF_PageExporter::CPDF_PageExporter(), and CPDF_PageOrganizer().

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

◆ ~CPDF_PageOrganizer()

CPDF_PageOrganizer::~CPDF_PageOrganizer ( )
protecteddefault

Member Function Documentation

◆ AddObjectMapping()

void CPDF_PageOrganizer::AddObjectMapping ( uint32_t old_page_obj_num,
uint32_t new_page_obj_num )
inlineprotected

Definition at line 39 of file cpdf_pageorganizer.h.

◆ ClearObjectNumberMap()

void CPDF_PageOrganizer::ClearObjectNumberMap ( )
inlineprotected

Definition at line 43 of file cpdf_pageorganizer.h.

Referenced by CPDF_NPageToOneExporter::ExportNPagesToOne().

Here is the caller graph for this function:

◆ CopyInheritable()

bool CPDF_PageOrganizer::CopyInheritable ( RetainPtr< CPDF_Dictionary > dest_page_dict,
RetainPtr< const CPDF_Dictionary > src_page_dict,
const ByteString & key )
staticprotected

Definition at line 165 of file cpdf_pageorganizer.cpp.

◆ dest() [1/2]

CPDF_Document * CPDF_PageOrganizer::dest ( )
inlineprotected

Definition at line 33 of file cpdf_pageorganizer.h.

Referenced by UpdateReference().

Here is the caller graph for this function:

◆ dest() [2/2]

const CPDF_Document * CPDF_PageOrganizer::dest ( ) const
inlineprotected

Definition at line 34 of file cpdf_pageorganizer.h.

◆ Init()

bool CPDF_PageOrganizer::Init ( )
protected

Definition at line 31 of file cpdf_pageorganizer.cpp.

Referenced by CPDF_NPageToOneExporter::ExportNPagesToOne(), and CPDF_PageExporter::ExportPages().

Here is the caller graph for this function:

◆ PageDictGetInheritableTag()

RetainPtr< const CPDF_Object > CPDF_PageOrganizer::PageDictGetInheritableTag ( RetainPtr< const CPDF_Dictionary > dict,
const ByteString & src_tag )
staticprotected

◆ src() [1/2]

CPDF_Document * CPDF_PageOrganizer::src ( )
inlineprotected

Definition at line 36 of file cpdf_pageorganizer.h.

◆ src() [2/2]

const CPDF_Document * CPDF_PageOrganizer::src ( ) const
inlineprotected

Definition at line 37 of file cpdf_pageorganizer.h.

◆ UpdateReference()

bool CPDF_PageOrganizer::UpdateReference ( RetainPtr< CPDF_Object > obj)
protected

Definition at line 74 of file cpdf_pageorganizer.cpp.

References CPDF_DictionaryLocker::CPDF_DictionaryLocker(), dest(), CPDF_Object::kArray, CPDF_Object::kDictionary, CPDF_Object::kReference, CPDF_Object::kStream, CPDF_Reference::SetRef(), and UpdateReference().

Referenced by UpdateReference().

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

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