Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
TextWidget.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_CPPPDFTextWidget
6
#define PDFTRON_H_CPPPDFTextWidget
7
8
#include <
PDF/Annots/Widget.h
>
9
10
namespace
pdftron {
11
namespace
PDF {
12
namespace
Annots {
13
17
class
TextWidget
:
public
Widget
18
{
19
public
:
29
TextWidget
(
SDF::Obj
d = 0);
30
39
TextWidget
(
const
Annot
& annot);
40
50
static
TextWidget
Create
(
PDFDoc
& doc,
const
Rect
& pos,
const
UString
& field_name =
""
);
51
61
static
TextWidget
Create
(
PDFDoc
& doc,
const
Rect
& pos,
const
Field
& field);
62
68
void
SetText
(
const
UString
& text);
69
75
UString
GetText
();
76
};
77
78
};
//namespace Annots
79
};
//namespace PDF
80
};
//namespace pdftron
81
82
83
#include <Impl/TextWidget.inl>
84
85
#endif // PDFTRON_H_CPPPDFTextWidget
pdftron::PDF::Annots::TextWidget::SetText
void SetText(const UString &text)
Widget.h
pdftron::PDF::Annots::TextWidget::TextWidget
TextWidget(SDF::Obj d=0)
pdftron::PDF::Rect
Definition:
Rect.h:28
pdftron::PDF::Annots::Widget
Definition:
Widget.h:26
pdftron::PDF::PDFDoc
Definition:
PDFDoc.h:70
pdftron::PDF::Annots::TextWidget
Definition:
TextWidget.h:17
pdftron::PDF::Annots::TextWidget::GetText
UString GetText()
pdftron::PDF::Annots::TextWidget::Create
static TextWidget Create(PDFDoc &doc, const Rect &pos, const UString &field_name="")
pdftron::PDF::Annot
Definition:
Annot.h:33
pdftron::PDF::Field
Definition:
Field.h:67
pdftron::SDF::Obj
Definition:
Obj.h:40
pdftron::UString
Definition:
UString.h:26