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
cpdfsdk_annotiteration.h
Go to the documentation of this file.
1
// Copyright 2017 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
FPDFSDK_CPDFSDK_ANNOTITERATION_H_
8
#
define
FPDFSDK_CPDFSDK_ANNOTITERATION_H_
9
10
#
include
<
vector
>
11
12
#
include
"fpdfsdk/cpdfsdk_annot.h"
13
14
class
CPDFSDK_PageView;
15
16
class
CPDFSDK_AnnotIteration
{
17
public
:
18
using
const_iterator
=
19
std
::
vector
<
ObservedPtr
<
CPDFSDK_Annot
>>::
const_iterator
;
20
21
static
CPDFSDK_AnnotIteration
CreateForDrawing
(CPDFSDK_PageView* page_view);
22
23
explicit
CPDFSDK_AnnotIteration
(CPDFSDK_PageView* page_view);
24
CPDFSDK_AnnotIteration
(
const
CPDFSDK_AnnotIteration
&) =
delete
;
25
CPDFSDK_AnnotIteration
&
operator
=(
const
CPDFSDK_AnnotIteration
&) =
delete
;
26
~
CPDFSDK_AnnotIteration
();
27
28
const_iterator
begin
()
const
{
return
list_.begin(); }
29
const_iterator
end
()
const
{
return
list_.end(); }
30
31
private
:
32
CPDFSDK_AnnotIteration(CPDFSDK_PageView* page_view,
33
bool
put_focused_annot_at_end);
34
35
std::vector<ObservedPtr<CPDFSDK_Annot>> list_;
36
};
37
38
#
endif
// FPDFSDK_CPDFSDK_ANNOTITERATION_H_
CPDFSDK_AnnotIteration
Definition
cpdfsdk_annotiteration.h:16
CPDFSDK_AnnotIteration::CPDFSDK_AnnotIteration
CPDFSDK_AnnotIteration(const CPDFSDK_AnnotIteration &)=delete
CPDFSDK_AnnotIteration::begin
const_iterator begin() const
Definition
cpdfsdk_annotiteration.h:28
CPDFSDK_AnnotIteration::CPDFSDK_AnnotIteration
CPDFSDK_AnnotIteration(CPDFSDK_PageView *page_view)
Definition
cpdfsdk_annotiteration.cpp:21
CPDFSDK_AnnotIteration::~CPDFSDK_AnnotIteration
~CPDFSDK_AnnotIteration()
CPDFSDK_AnnotIteration::end
const_iterator end() const
Definition
cpdfsdk_annotiteration.h:29
CPDFSDK_AnnotIteration::CreateForDrawing
static CPDFSDK_AnnotIteration CreateForDrawing(CPDFSDK_PageView *page_view)
Definition
cpdfsdk_annotiteration.cpp:15
CPDFSDK_AnnotIteration::operator=
CPDFSDK_AnnotIteration & operator=(const CPDFSDK_AnnotIteration &)=delete
CPDFSDK_Annot
Definition
cpdfsdk_annot.h:24
CPDFSDK_Annot::GetLayoutOrder
virtual int GetLayoutOrder() const
Definition
cpdfsdk_annot.cpp:123
CPDFSDK_PageView::GetFocusAnnot
CPDFSDK_Annot * GetFocusAnnot()
Definition
cpdfsdk_pageview.cpp:608
std
Definition
qfloat16.h:493
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fpdfsdk
cpdfsdk_annotiteration.h
Generated on Thu Nov 14 2024 01:00:09 for Qt by
1.12.0