Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Popup.h
Go to the documentation of this file.
1
//---------------------------------------------------------------------------------------
2
// Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3
// Consult legal.txt regarding legal and license information.
4
//---------------------------------------------------------------------------------------
5
#ifndef PDFTRON_H_CPPPDFAnnotsPopup
6
#define PDFTRON_H_CPPPDFAnnotsPopup
7
8
#include <
PDF/Annot.h
>
9
10
namespace
pdftron {
11
namespace
PDF {
12
namespace
Annots {
20
class
Popup
:
public
Annot
21
{
22
public
:
29
Popup
(
SDF::Obj
d = 0);
30
37
Popup
(
const
Annot
& ann) :
Annot
(ann.
GetSDFObj
()) {}
38
47
static
Popup
Create
(
SDF::SDFDoc
& doc,
const
Rect
& pos);
48
static
Popup
CreateAnnot
(
SDF::SDFDoc
& doc,
const
Rect
& pos);
49
50
60
Annot
GetParent
()
const
;
61
72
void
SetParent
(
const
Annot
& parent);
73
82
bool
IsOpen
()
const
;
83
93
void
SetOpen
(
bool
is_open);
94
95
// @cond PRIVATE_DOC
96
#ifndef SWIGHIDDEN
97
Popup
(TRN_Annot popup);
98
#endif
99
// @endcond
100
};
//class Popup
101
};
//namespace Annot
102
};
//namespace PDF
103
};
//namespace pdftron
104
#include <Impl/Page.inl>
105
106
#endif // PDFTRON_H_CPPPDFAnnotsPopup
pdftron::PDF::Annot::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::PDF::Annots::Popup::CreateAnnot
static Popup CreateAnnot(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Popup::Popup
Popup(SDF::Obj d=0)
pdftron::PDF::Annots::Popup::GetParent
Annot GetParent() const
pdftron::PDF::Rect
Definition:
Rect.h:28
pdftron::PDF::Annots::Popup::SetParent
void SetParent(const Annot &parent)
pdftron::PDF::Annots::Popup::Popup
Popup(const Annot &ann)
Definition:
Popup.h:37
pdftron::SDF::SDFDoc
Definition:
SDFDoc.h:67
pdftron::PDF::Annots::Popup::Create
static Popup Create(SDF::SDFDoc &doc, const Rect &pos)
pdftron::PDF::Annots::Popup::SetOpen
void SetOpen(bool is_open)
pdftron::PDF::Annots::Popup
Definition:
Popup.h:20
pdftron::PDF::Annot
Definition:
Annot.h:33
pdftron::PDF::Annots::Popup::IsOpen
bool IsOpen() const
pdftron::SDF::Obj
Definition:
Obj.h:40
Annot.h