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_test_document.cpp
Go to the documentation of this file.
1
// Copyright 2022 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#
include
"core/fpdfapi/parser/cpdf_test_document.h"
6
7
#
include
<
memory
>
8
#
include
<
utility
>
9
10
#
include
"core/fpdfapi/page/cpdf_docpagedata.h"
11
#
include
"core/fpdfapi/render/cpdf_docrenderdata.h"
12
13
CPDF_TestDocument
::
CPDF_TestDocument
()
14
:
CPDF_Document
(
std
::make_unique<
CPDF_DocRenderData
>(),
15
std
::make_unique<CPDF_DocPageData>()) {}
16
17
void
CPDF_TestDocument
::
SetRoot
(
RetainPtr
<
CPDF_Dictionary
> root) {
18
SetRootForTesting
(
std
::move(root)
)
;
19
}
CPDF_Dictionary::DictMap
std::map< ByteString, RetainPtr< CPDF_Object >, std::less<> > DictMap
Definition
cpdf_dictionary.h:31
CPDF_DocRenderData
Definition
cpdf_docrenderdata.h:32
CPDF_Document
Definition
cpdf_document.h:29
CPDF_Document::SetRootForTesting
void SetRootForTesting(RetainPtr< CPDF_Dictionary > root)
Definition
cpdf_document.cpp:639
CPDF_TestDocument
Definition
cpdf_test_document.h:13
CPDF_TestDocument::CPDF_TestDocument
CPDF_TestDocument()
Definition
cpdf_test_document.cpp:13
CPDF_TestDocument::SetRoot
void SetRoot(RetainPtr< CPDF_Dictionary > root)
Definition
cpdf_test_document.cpp:17
fxcrt::RetainPtr
Definition
retain_ptr.h:28
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfapi
parser
cpdf_test_document.cpp
Generated on
for Qt by
1.14.0