Loading...
Searching...
No Matches
FDFField.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#ifndef PDFTRON_H_CPPFDFFDFField
6#define PDFTRON_H_CPPFDFFDFField
7
8#include <SDF/Obj.h>
9#include <C/FDF/TRN_FDFField.h>
10
11 namespace pdftron {
12 namespace FDF {
13
14
15 class FDFField
16{
17 public:
18
22 FDFField (SDF::Obj field_dict = 0, SDF::Obj fdf_dict = 0);
23
24 FDFField (const FDFField& p);
25 FDFField& operator= (const FDFField& p);
26
32 SDF::Obj GetValue();
33
40 void SetValue(SDF::Obj value);
41
46 UString GetName();
47
52 UString GetPartialName();
53
57 SDF::Obj GetSDFObj () const;
58
65 SDF::Obj FindAttribute (const char* attrib) const;
66
70 operator bool () { return m_field.mp_leaf_node!=0;}
71
72 private:
73 TRN_FDFField m_field;
74};
75
76
77
78#include <Impl/FDFField.inl>
79
80 }; // namespace FDF
81}; // namespace pdftron
82
83#endif // PDFTRON_H_CPPFDFFDFField
Obj.h
pdftron::FDF::FDFField::GetPartialName
UString GetPartialName()
pdftron::FDF::FDFField::operator=
FDFField & operator=(const FDFField &p)
pdftron::FDF::FDFField::FindAttribute
SDF::Obj FindAttribute(const char *attrib) const
pdftron::FDF::FDFField::FDFField
FDFField(SDF::Obj field_dict=0, SDF::Obj fdf_dict=0)
pdftron::FDF::FDFField::GetName
UString GetName()
pdftron::FDF::FDFField::SetValue
void SetValue(SDF::Obj value)
pdftron::FDF::FDFField::FDFField
FDFField(const FDFField &p)
pdftron::FDF::FDFField::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::FDF::FDFField::GetValue
SDF::Obj GetValue()
pdftron::SDF::Obj
Definition Obj.h:41
pdftron::UString
Definition UString.h:28
pdftron::FDF
Definition FDFDoc.h:16
pdftron
Definition BasicTypes.h:10