![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <array>
#include <iterator>
#include <memory>
#include <string>
#include <vector>
#include "core/fpdfapi/page/cpdf_form.h"
#include "core/fpdfapi/page/cpdf_formobject.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_stream.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_edit.h"
#include "public/fpdf_ppo.h"
#include "public/fpdf_save.h"
#include "public/fpdfview.h"
#include "testing/embedder_test.h"
#include "testing/embedder_test_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/utils/file_util.h"
#include "testing/utils/path_service.h"
Go to the source code of this file.
Functions | |
TEST_F (FPDFPPOEmbedderTest, NoViewerPreferences) | |
TEST_F (FPDFPPOEmbedderTest, ViewerPreferences) | |
TEST_F (FPDFPPOEmbedderTest, ImportPagesByIndex) | |
TEST_F (FPDFPPOEmbedderTest, ImportPages) | |
TEST_F (FPDFPPOEmbedderTest, ImportNPages) | |
TEST_F (FPDFPPOEmbedderTest, BadNupParams) | |
TEST_F (FPDFPPOEmbedderTest, NupRenderImage) | |
TEST_F (FPDFPPOEmbedderTest, ImportPageToXObject) | |
TEST_F (FPDFPPOEmbedderTest, ImportPageToXObjectWithSameDoc) | |
TEST_F (FPDFPPOEmbedderTest, XObjectNullParams) | |
TEST_F (FPDFPPOEmbedderTest, Bug925981) | |
TEST_F (FPDFPPOEmbedderTest, Bug1229106) | |
TEST_F (FPDFPPOEmbedderTest, BadRepeatViewerPref) | |
TEST_F (FPDFPPOEmbedderTest, BadCircularViewerPref) | |
TEST_F (FPDFPPOEmbedderTest, CopyViewerPrefTypes) | |
TEST_F (FPDFPPOEmbedderTest, BadIndices) | |
TEST_F (FPDFPPOEmbedderTest, GoodIndices) | |
TEST_F (FPDFPPOEmbedderTest, BadRanges) | |
TEST_F (FPDFPPOEmbedderTest, GoodRanges) | |
TEST_F (FPDFPPOEmbedderTest, Bug664284) | |
TEST_F (FPDFPPOEmbedderTest, Bug750568) | |
TEST_F (FPDFPPOEmbedderTest, ImportWithZeroLengthStream) | |
TEST_F (FPDFPPOEmbedderTest, ImportIntoDestDocWithoutInfo) | |
TEST_F (FPDFPPOEmbedderTest, ImportIntoDocWithWrongPageType) |
TEST_F | ( | FPDFPPOEmbedderTest | , |
BadCircularViewerPref | ) |
Definition at line 404 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument(), FPDF_FILEWRITE_::version, and FPDF_FILEWRITE_::WriteBlock.
TEST_F | ( | FPDFPPOEmbedderTest | , |
BadIndices | ) |
Definition at line 458 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
BadNupParams | ) |
Definition at line 145 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
BadRanges | ) |
Definition at line 527 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
BadRepeatViewerPref | ) |
Definition at line 390 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument(), FPDF_FILEWRITE_::version, and FPDF_FILEWRITE_::WriteBlock.
TEST_F | ( | FPDFPPOEmbedderTest | , |
Bug1229106 | ) |
Definition at line 362 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
Bug664284 | ) |
Definition at line 570 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
Bug750568 | ) |
Definition at line 586 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
Bug925981 | ) |
Definition at line 355 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
CopyViewerPrefTypes | ) |
Definition at line 418 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
GoodIndices | ) |
Definition at line 486 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
GoodRanges | ) |
Definition at line 549 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportIntoDestDocWithoutInfo | ) |
Definition at line 638 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportIntoDocWithWrongPageType | ) |
Definition at line 660 of file fpdf_ppo_embeddertest.cpp.
References CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportNPages | ) |
Definition at line 124 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportPages | ) |
Definition at line 109 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportPagesByIndex | ) |
Definition at line 91 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportPageToXObject | ) |
Definition at line 182 of file fpdf_ppo_embeddertest.cpp.
References CPDF_PageObject::AsForm(), CPDF_FormObject::form(), FPDF_CloseXObject(), FPDF_CreateNewDocument(), FPDF_NewFormObjectFromXObject(), FPDFPageObj_GetBounds(), FPDFPageObj_GetType(), CPDF_Form::GetStream(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportPageToXObjectWithSameDoc | ) |
Definition at line 284 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CloseXObject(), FPDF_NewFormObjectFromXObject(), FPDFPage_GenerateContent(), FPDFPage_InsertObject(), FPDFPageObj_GetType(), FPDFPageObj_SetMatrix(), pdfium::RectanglesChecksum(), and CFX_DefaultRenderDevice::UseSkiaRenderer().
TEST_F | ( | FPDFPPOEmbedderTest | , |
ImportWithZeroLengthStream | ) |
Definition at line 615 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument(), and pdfium::HelloWorldChecksum().
TEST_F | ( | FPDFPPOEmbedderTest | , |
NoViewerPreferences | ) |
Definition at line 75 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
NupRenderImage | ) |
Definition at line 164 of file fpdf_ppo_embeddertest.cpp.
TEST_F | ( | FPDFPPOEmbedderTest | , |
ViewerPreferences | ) |
Definition at line 83 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFPPOEmbedderTest | , |
XObjectNullParams | ) |
Definition at line 328 of file fpdf_ppo_embeddertest.cpp.
References FPDF_CloseXObject(), FPDF_CreateNewDocument(), FPDF_NewFormObjectFromXObject(), and FPDF_NewXObjectFromPage().