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_metadata.h
Go to the documentation of this file.
1
// Copyright 2016 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
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7
#
ifndef
CORE_FPDFDOC_CPDF_METADATA_H_
8
#
define
CORE_FPDFDOC_CPDF_METADATA_H_
9
10
#
include
<
vector
>
11
12
#
include
"core/fxcrt/retain_ptr.h"
13
14
class
CPDF_Stream;
15
16
enum
class
UnsupportedFeature
:
uint8_t
{
17
kDocumentXFAForm
= 1,
18
kDocumentPortableCollection
= 2,
19
kDocumentAttachment
= 3,
20
kDocumentSecurity
= 4,
21
kDocumentSharedReview
= 5,
22
kDocumentSharedFormAcrobat
= 6,
23
kDocumentSharedFormFilesystem
= 7,
24
kDocumentSharedFormEmail
= 8,
25
26
kAnnotation3d
= 11,
27
kAnnotationMovie
= 12,
28
kAnnotationSound
= 13,
29
kAnnotationScreenMedia
= 14,
30
kAnnotationScreenRichMedia
= 15,
31
kAnnotationAttachment
= 16,
32
kAnnotationSignature
= 17
33
};
34
35
class
CPDF_Metadata
{
36
public
:
37
explicit
CPDF_Metadata
(
RetainPtr
<
const
CPDF_Stream> pStream);
38
~
CPDF_Metadata
();
39
40
std
::
vector
<
UnsupportedFeature
>
CheckForSharedForm
()
const
;
41
42
private
:
43
RetainPtr
<
const
CPDF_Stream> stream_;
44
};
45
46
#
endif
// CORE_FPDFDOC_CPDF_METADATA_H_
CFX_XMLElement::GetAttribute
WideString GetAttribute(const WideString &name) const
Definition
cfx_xmlelement.cpp:132
CFX_XMLNode
Definition
cfx_xmlnode.h:16
CFX_XMLNode::Type
Type
Definition
cfx_xmlnode.h:18
CFX_XMLNode::Type::kElement
@ kElement
CPDF_Metadata
Definition
cpdf_metadata.h:35
CPDF_Metadata::~CPDF_Metadata
~CPDF_Metadata()
CPDF_Metadata::CheckForSharedForm
std::vector< UnsupportedFeature > CheckForSharedForm() const
Definition
cpdf_metadata.cpp:82
CPDF_Metadata::CPDF_Metadata
CPDF_Metadata(RetainPtr< const CPDF_Stream > pStream)
Definition
cpdf_metadata.cpp:75
fxcrt::RetainPtr
Definition
retain_ptr.h:29
fxcrt::WideString::FromASCII
static WideString FromASCII(ByteStringView str)
Definition
widestring.cpp:999
fxcrt::WideString::EqualsASCII
bool EqualsASCII(ByteStringView that) const
Definition
widestring.h:216
UnsupportedFeature
UnsupportedFeature
Definition
cpdf_metadata.h:16
UnsupportedFeature::kAnnotationSignature
@ kAnnotationSignature
UnsupportedFeature::kDocumentAttachment
@ kDocumentAttachment
UnsupportedFeature::kDocumentSharedFormFilesystem
@ kDocumentSharedFormFilesystem
UnsupportedFeature::kAnnotationScreenMedia
@ kAnnotationScreenMedia
UnsupportedFeature::kAnnotationSound
@ kAnnotationSound
UnsupportedFeature::kDocumentXFAForm
@ kDocumentXFAForm
UnsupportedFeature::kDocumentSharedFormAcrobat
@ kDocumentSharedFormAcrobat
UnsupportedFeature::kDocumentSecurity
@ kDocumentSecurity
UnsupportedFeature::kAnnotationAttachment
@ kAnnotationAttachment
UnsupportedFeature::kAnnotation3d
@ kAnnotation3d
UnsupportedFeature::kDocumentSharedReview
@ kDocumentSharedReview
UnsupportedFeature::kDocumentPortableCollection
@ kDocumentPortableCollection
UnsupportedFeature::kDocumentSharedFormEmail
@ kDocumentSharedFormEmail
UnsupportedFeature::kAnnotationScreenRichMedia
@ kAnnotationScreenRichMedia
UnsupportedFeature::kAnnotationMovie
@ kAnnotationMovie
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfdoc
cpdf_metadata.h
Generated on Sat Sep 21 2024 00:54:12 for Qt by
1.12.0