#include "core/fpdfapi/edit/cpdf_pageorganizer.h"
#include <utility>
#include <vector>
#include "constants/page_object.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_object.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/check.h"
CPDF_PageOrganizer::CPDF_PageOrganizer(CPDF_Document* dest_doc,
CPDF_Document* src_doc)
: … { … }
CPDF_PageOrganizer::~CPDF_PageOrganizer() = default;
bool CPDF_PageOrganizer::Init() { … }
bool CPDF_PageOrganizer::InitDestDoc() { … }
bool CPDF_PageOrganizer::UpdateReference(RetainPtr<CPDF_Object> obj) { … }
uint32_t CPDF_PageOrganizer::GetNewObjId(CPDF_Reference* ref) { … }
bool CPDF_PageOrganizer::CopyInheritable(
RetainPtr<CPDF_Dictionary> dest_page_dict,
RetainPtr<const CPDF_Dictionary> src_page_dict,
const ByteString& key) { … }
RetainPtr<const CPDF_Object> CPDF_PageOrganizer::PageDictGetInheritableTag(
RetainPtr<const CPDF_Dictionary> dict,
const ByteString& src_tag) { … }