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_pagelabel.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_PAGELABEL_H_
8
#
define
CORE_FPDFDOC_CPDF_PAGELABEL_H_
9
10
#
include
"core/fxcrt/unowned_ptr.h"
11
#
include
"core/fxcrt/widestring.h"
12
#
include
"third_party/abseil-cpp/absl/types/optional.h"
13
14
class
CPDF_Document
;
15
16
class
CPDF_PageLabel
{
17
public
:
18
explicit
CPDF_PageLabel
(
CPDF_Document
* pDocument);
19
~
CPDF_PageLabel
();
20
21
absl
::
optional
<
WideString
>
GetLabel
(
int
nPage)
const
;
22
23
private
:
24
UnownedPtr
<
CPDF_Document
>
const
m_pDocument;
25
};
26
27
#
endif
// CORE_FPDFDOC_CPDF_PAGELABEL_H_
CPDF_Dictionary::KeyExist
bool KeyExist(const ByteString &key) const
Definition
cpdf_dictionary.cpp:255
CPDF_Dictionary::GetByteStringFor
ByteString GetByteStringFor(const ByteString &key, const ByteString &default_str) const
Definition
cpdf_dictionary.cpp:109
CPDF_Dictionary::GetUnicodeTextFor
WideString GetUnicodeTextFor(const ByteString &key) const
Definition
cpdf_dictionary.cpp:115
CPDF_Dictionary::GetIntegerFor
int GetIntegerFor(const ByteString &key, int default_int) const
Definition
cpdf_dictionary.cpp:138
CPDF_Document
Definition
cpdf_document.h:29
CPDF_NumberTree
Definition
cpdf_numbertree.h:15
CPDF_NumberTree::LookupValue
RetainPtr< const CPDF_Object > LookupValue(int num) const
Definition
cpdf_numbertree.cpp:58
CPDF_Object
Definition
cpdf_object.h:50
CPDF_PageLabel
Definition
cpdf_pagelabel.h:16
CPDF_PageLabel::GetLabel
absl::optional< WideString > GetLabel(int nPage) const
Definition
cpdf_pagelabel.cpp:84
CPDF_PageLabel::~CPDF_PageLabel
~CPDF_PageLabel()
CPDF_PageLabel::CPDF_PageLabel
CPDF_PageLabel(CPDF_Document *pDocument)
Definition
cpdf_pagelabel.cpp:79
fxcrt::ByteString::operator==
bool operator==(const char *ptr) const
Definition
bytestring.cpp:256
fxcrt::ByteString::ByteString
ByteString()
fxcrt::ByteString::IsEmpty
bool IsEmpty() const
Definition
bytestring.h:119
fxcrt::RetainPtr
Definition
retain_ptr.h:29
fxcrt::UnownedPtr
Definition
unowned_ptr.h:75
fxcrt::WideString::operator+=
WideString & operator+=(const WideString &str)
Definition
widestring.cpp:524
fxcrt::WideString::operator+=
WideString & operator+=(wchar_t ch)
Definition
widestring.cpp:519
fxcrt::WideString::MakeUpper
void MakeUpper()
Definition
widestring.cpp:908
fxcrt::WideString::WideString
WideString()
fxcrt::WideString::FormatInteger
static WideString FormatInteger(int i)
Definition
widestring.cpp:369
std
Definition
qfloat16.h:493
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfdoc
cpdf_pagelabel.h
Generated on Thu Nov 14 2024 00:57:28 for Qt by
1.12.0