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
fpdf_ppo.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include "public/fpdf_ppo.h"
#include <algorithm>
#include <map>
#include <memory>
#include <numeric>
#include <sstream>
#include <utility>
#include <vector>
#include "constants/page_object.h"
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_formobject.h"
#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/page/cpdf_pageimagecache.h"
#include "core/fpdfapi/page/cpdf_pageobject.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_stream_acc.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fpdfapi/parser/fpdf_parser_utility.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxcrt/fx_string_wrappers.h"
#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/cpp/fpdf_scopers.h"
#include "third_party/base/check.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for fpdf_ppo.cpp:

Go to the source code of this file.

Classes

struct  XObjectContext
 

Functions

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_ImportPagesByIndex (FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc, const int *page_indices, unsigned long length, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_ImportPages (FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc, FPDF_BYTESTRING pagerange, int index)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_ImportNPagesToOne (FPDF_DOCUMENT src_doc, float output_width, float output_height, size_t num_pages_on_x_axis, size_t num_pages_on_y_axis)
 
FPDF_EXPORT FPDF_XOBJECT FPDF_CALLCONV FPDF_NewXObjectFromPage (FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc, int src_page_index)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseXObject (FPDF_XOBJECT xobject)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDF_NewFormObjectFromXObject (FPDF_XOBJECT xobject)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_CopyViewerPreferences (FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc)
 

Function Documentation

◆ FPDF_CloseXObject()

FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseXObject ( FPDF_XOBJECT xobject)

Definition at line 831 of file fpdf_ppo.cpp.

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDF_CopyViewerPreferences()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_CopyViewerPreferences ( FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc )

Definition at line 851 of file fpdf_ppo.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_ImportNPagesToOne()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_ImportNPagesToOne ( FPDF_DOCUMENT src_doc,
float output_width,
float output_height,
size_t num_pages_on_x_axis,
size_t num_pages_on_y_axis )

Definition at line 772 of file fpdf_ppo.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_ImportPages()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_ImportPages ( FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc,
FPDF_BYTESTRING pagerange,
int index )

Definition at line 751 of file fpdf_ppo.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_ImportPagesByIndex()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_ImportPagesByIndex ( FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc,
const int * page_indices,
unsigned long length,
int index )

Definition at line 721 of file fpdf_ppo.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_NewFormObjectFromXObject()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDF_NewFormObjectFromXObject ( FPDF_XOBJECT xobject)

Definition at line 837 of file fpdf_ppo.cpp.

References CFX_Matrix::CFX_Matrix(), CPDF_PageObject::kNoContentStream, and XObjectContextFromFPDFXObject().

Referenced by CheckPDFiumCApi(), TEST_F(), TEST_F(), and TEST_F().

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

◆ FPDF_NewXObjectFromPage()

FPDF_EXPORT FPDF_XOBJECT FPDF_CALLCONV FPDF_NewXObjectFromPage ( FPDF_DOCUMENT dest_doc,
FPDF_DOCUMENT src_doc,
int src_page_index )

Definition at line 814 of file fpdf_ppo.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

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