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
<
optional
>
11
12
#
include
"core/fxcrt/unowned_ptr.h"
13
#
include
"core/fxcrt/widestring.h"
14
15
class
CPDF_Document
;
16
17
class
CPDF_PageLabel
{
18
public
:
19
explicit
CPDF_PageLabel
(
CPDF_Document
* doc);
20
~
CPDF_PageLabel
();
21
22
std
::optional<
WideString
>
GetLabel
(
int
page_index)
const
;
23
24
private
:
25
UnownedPtr
<
CPDF_Document
>
const
doc_;
26
};
27
28
#
endif
// CORE_FPDFDOC_CPDF_PAGELABEL_H_
ByteString
fxcrt::ByteString ByteString
Definition
bytestring.h:180
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_Dictionary::DictMap
std::map< ByteString, RetainPtr< CPDF_Object >, std::less<> > DictMap
Definition
cpdf_dictionary.h:31
CPDF_Document
Definition
cpdf_document.h:29
CPDF_NumberTree
Definition
cpdf_numbertree.h:19
CPDF_Object
Definition
cpdf_object.h:50
CPDF_PageLabel
Definition
cpdf_pagelabel.h:17
CPDF_PageLabel::~CPDF_PageLabel
~CPDF_PageLabel()
CPDF_PageLabel::CPDF_PageLabel
CPDF_PageLabel(CPDF_Document *doc)
Definition
cpdf_pagelabel.cpp:91
CPDF_PageLabel::GetLabel
std::optional< WideString > GetLabel(int page_index) const
Definition
cpdf_pagelabel.cpp:95
fxcrt::ByteString::ByteString
ByteString()=default
fxcrt::ByteString::operator==
bool operator==(const char *ptr) const
Definition
bytestring.cpp:208
fxcrt::RetainPtr
Definition
retain_ptr.h:28
fxcrt::UnownedPtr
Definition
unowned_ptr.h:76
fxcrt::WideString::operator+=
WideString & operator+=(const WideString &str)
Definition
widestring.cpp:491
fxcrt::WideString::operator=
WideString & operator=(WideString &&that) noexcept
Definition
widestring.cpp:472
fxcrt::WideString::WideString
WideString()=default
fxcrt::WideString::MakeUpper
void MakeUpper()
Definition
widestring.cpp:695
fxcrt::WideString::FormatInteger
static WideString FormatInteger(int i)
Definition
widestring.cpp:355
fxcrt
Definition
stl_util.h:17
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
WideStringView
fxcrt::WideStringView WideStringView
Definition
string_view_template.h:326
CPDF_NumberTree::KeyValue
Definition
cpdf_numbertree.h:21
WideString
fxcrt::WideString WideString
Definition
widestring.h:207
qtwebengine
src
3rdparty
chromium
third_party
pdfium
core
fpdfdoc
cpdf_pagelabel.h
Generated on
for Qt by
1.14.0