// Copyright (C) 2021 Jakub Melka
//
// This file is part of PDF4QT.
//
// PDF4QT is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// with the written consent of the copyright owner, any later version.
//
// PDF4QT is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with PDF4QT. If not, see .
#include "pdfxfaengine.h"
namespace pdf
{
/* START GENERATED CODE */
namespace xfa
{
class XFA_appearanceFilter;
class XFA_arc;
class XFA_area;
class XFA_assist;
class XFA_barcode;
class XFA_bind;
class XFA_bindItems;
class XFA_bookend;
class XFA_boolean;
class XFA_border;
class XFA_break;
class XFA_breakAfter;
class XFA_breakBefore;
class XFA_button;
class XFA_calculate;
class XFA_caption;
class XFA_certificate;
class XFA_certificates;
class XFA_checkButton;
class XFA_choiceList;
class XFA_color;
class XFA_comb;
class XFA_connect;
class XFA_contentArea;
class XFA_corner;
class XFA_date;
class XFA_dateTime;
class XFA_dateTimeEdit;
class XFA_decimal;
class XFA_defaultUi;
class XFA_desc;
class XFA_digestMethod;
class XFA_digestMethods;
class XFA_draw;
class XFA_edge;
class XFA_encoding;
class XFA_encodings;
class XFA_encrypt;
class XFA_encryptData;
class XFA_encryption;
class XFA_encryptionMethod;
class XFA_encryptionMethods;
class XFA_event;
class XFA_exData;
class XFA_exObject;
class XFA_exclGroup;
class XFA_execute;
class XFA_extras;
class XFA_field;
class XFA_fill;
class XFA_filter;
class XFA_float;
class XFA_font;
class XFA_format;
class XFA_handler;
class XFA_hyphenation;
class XFA_image;
class XFA_imageEdit;
class XFA_integer;
class XFA_issuers;
class XFA_items;
class XFA_keep;
class XFA_keyUsage;
class XFA_line;
class XFA_linear;
class XFA_lockDocument;
class XFA_manifest;
class XFA_margin;
class XFA_mdp;
class XFA_medium;
class XFA_message;
class XFA_numericEdit;
class XFA_occur;
class XFA_oid;
class XFA_oids;
class XFA_overflow;
class XFA_pageArea;
class XFA_pageSet;
class XFA_para;
class XFA_passwordEdit;
class XFA_pattern;
class XFA_picture;
class XFA_proto;
class XFA_radial;
class XFA_reason;
class XFA_reasons;
class XFA_rectangle;
class XFA_ref;
class XFA_script;
class XFA_setProperty;
class XFA_signData;
class XFA_signature;
class XFA_signing;
class XFA_solid;
class XFA_speak;
class XFA_stipple;
class XFA_subform;
class XFA_subformSet;
class XFA_subjectDN;
class XFA_subjectDNs;
class XFA_submit;
class XFA_template;
class XFA_text;
class XFA_textEdit;
class XFA_time;
class XFA_timeStamp;
class XFA_toolTip;
class XFA_traversal;
class XFA_traverse;
class XFA_ui;
class XFA_validate;
class XFA_value;
class XFA_variables;
class XFA_BaseNode : public XFA_AbstractNode
{
public:
enum class ACCESS
{
Open,
NonInteractive,
Protected,
ReadOnly,
};
enum class ACTION
{
Include,
All,
Exclude,
};
enum class ACTIVITY
{
Click,
Change,
DocClose,
DocReady,
Enter,
Exit,
Full,
IndexChange,
Initialize,
MouseDown,
MouseEnter,
MouseExit,
MouseUp,
PostExecute,
PostOpen,
PostPrint,
PostSave,
PostSign,
PostSubmit,
PreExecute,
PreOpen,
PrePrint,
PreSave,
PreSign,
PreSubmit,
Ready,
ValidationState,
};
enum class AFTER
{
Auto,
ContentArea,
PageArea,
PageEven,
PageOdd,
};
enum class ANCHORTYPE
{
TopLeft,
BottomCenter,
BottomLeft,
BottomRight,
MiddleCenter,
MiddleLeft,
MiddleRight,
TopCenter,
TopRight,
};
enum class ASPECT
{
Fit,
Actual,
Height,
None,
Width,
};
enum class BASEPROFILE
{
Full,
InteractiveForms,
};
enum class BEFORE
{
Auto,
ContentArea,
PageArea,
PageEven,
PageOdd,
};
enum class BLANKORNOTBLANK
{
Any,
Blank,
NotBlank,
};
enum class BREAK
{
Close,
Open,
};
enum class CAP
{
Square,
Butt,
Round,
};
enum class CHECKSUM
{
None,
_1mod10,
_1mod10_1mod11,
_2mod10,
Auto,
};
enum class COMMITON
{
Select,
Exit,
};
enum class CREDENTIALSERVERPOLICY
{
Optional,
Required,
};
enum class DATAPREP
{
None,
FlateCompress,
};
enum class DATA
{
Link,
Embed,
};
enum class DUPLEXIMPOSITION
{
LongEdge,
ShortEdge,
};
enum class EXECUTETYPE
{
Import,
Remerge,
};
enum class FORMATTEST
{
Warning,
Disabled,
Error,
};
enum class FORMAT
{
Xdp,
Formdata,
Pdf,
Urlencoded,
Xfd,
Xml,
};
enum class HALIGN
{
Left,
Center,
Justify,
JustifyAll,
Radix,
Right,
};
enum class HSCROLLPOLICY
{
Auto,
Off,
On,
};
enum class HAND
{
Even,
Left,
Right,
};
enum class HIGHLIGHT
{
Inverted,
None,
Outline,
Push,
};
enum class INTACT
{
None,
ContentArea,
PageArea,
};
enum class JOIN
{
Square,
Round,
};
enum class KERNINGMODE
{
None,
Pair,
};
enum class LAYOUT
{
Position,
Lr_tb,
Rl_row,
Rl_tb,
Row,
Table,
Tb,
};
enum class LINETHROUGHPERIOD
{
All,
Word,
};
enum class LINETHROUGH
{
_0,
_1,
_2,
};
enum class LISTEN
{
RefOnly,
RefAndDescendents,
};
enum class MARK
{
Default,
Check,
Circle,
Cross,
Diamond,
Square,
Star,
};
enum class MATCH
{
Once,
DataRef,
Global,
None,
};
enum class MERGEMODE
{
ConsumeData,
MatchTemplate,
};
enum class MULTILINE
{
_1,
_0,
};
enum class NEXT
{
None,
ContentArea,
PageArea,
};
enum class NULLTEST
{
Disabled,
Error,
Warning,
};
enum class ODDOREVEN
{
Any,
Even,
Odd,
};
enum class OPEN
{
UserControl,
Always,
MultiSelect,
OnEntry,
};
enum class OPERATION
{
Encrypt,
Decrypt,
};
enum class OPERATION2
{
Next,
Back,
Down,
First,
Left,
Right,
Up,
};
enum class OPERATION1
{
Sign,
Clear,
Verify,
};
enum class ORIENTATION
{
Portrait,
Landscape,
};
enum class OVERLINEPERIOD
{
All,
Word,
};
enum class OVERLINE
{
_0,
_1,
_2,
};
enum class OVERRIDE
{
Disabled,
Error,
Ignore,
Warning,
};
enum class PAGEPOSITION
{
Any,
First,
Last,
Only,
Rest,
};
enum class PERMISSIONS
{
_2,
_1,
_3,
};
enum class PICKER
{
Host,
None,
};
enum class PLACEMENT
{
Left,
Bottom,
Inline,
Right,
Top,
};
enum class POSTURE
{
Normal,
Italic,
};
enum class PRESENCE
{
Visible,
Hidden,
Inactive,
Invisible,
};
enum class PREVIOUS
{
None,
ContentArea,
PageArea,
};
enum class PRIORITY
{
Custom,
Caption,
Name,
ToolTip,
};
enum class RELATION1
{
Ordered,
Choice,
Unordered,
};
enum class RELATION
{
OrderedOccurrence,
DuplexPaginated,
SimplexPaginated,
};
enum class RESTORESTATE
{
Manual,
Auto,
};
enum class RUNAT
{
Client,
Both,
Server,
};
enum class SCOPE
{
Name,
None,
};
enum class SCRIPTTEST
{
Error,
Disabled,
Warning,
};
enum class SHAPE
{
Square,
Round,
};
enum class SIGNATURETYPE
{
Filler,
Author,
};
enum class SLOPE
{
Backslash,
Slash,
};
enum class STROKE
{
Solid,
DashDot,
DashDotDot,
Dashed,
Dotted,
Embossed,
Etched,
Lowered,
Raised,
};
enum class TARGETTYPE
{
Auto,
ContentArea,
PageArea,
PageEven,
PageOdd,
};
enum class TEXTLOCATION
{
Below,
Above,
AboveEmbedded,
BelowEmbedded,
None,
};
enum class TRANSFERENCODING1
{
Base64,
None,
Package,
};
enum class TRANSFERENCODING
{
None,
Base64,
Package,
};
enum class TRAYIN
{
Auto,
Delegate,
PageFront,
};
enum class TRAYOUT
{
Auto,
Delegate,
};
enum class TYPE4
{
PDF1_3,
PDF1_6,
};
enum class TYPE2
{
CrossHatch,
CrossDiagonal,
DiagonalLeft,
DiagonalRight,
Horizontal,
Vertical,
};
enum class TYPE
{
Optional,
Required,
};
enum class TYPE3
{
ToEdge,
ToCenter,
};
enum class TYPE1
{
ToRight,
ToBottom,
ToLeft,
ToTop,
};
enum class UNDERLINEPERIOD
{
All,
Word,
};
enum class UNDERLINE
{
_0,
_1,
_2,
};
enum class UPSMODE
{
UsCarrier,
InternationalCarrier,
SecureSymbol,
StandardSymbol,
};
enum class USAGE
{
ExportAndImport,
ExportOnly,
ImportOnly,
};
enum class VALIGN
{
Top,
Bottom,
Middle,
};
enum class VSCROLLPOLICY
{
Auto,
Off,
On,
};
enum class WEIGHT
{
Normal,
Bold,
};
};
class XFA_appearanceFilter : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const TYPE* getType() const { return m_type.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_type;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_arc : public XFA_BaseNode
{
public:
const bool* getCircular() const { return m_circular.getValue(); }
const HAND* getHand() const { return m_hand.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const PDFReal* getStartAngle() const { return m_startAngle.getValue(); }
const PDFReal* getSweepAngle() const { return m_sweepAngle.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_edge* getEdge() const { return m_edge.getValue(); }
const XFA_fill* getFill() const { return m_fill.getValue(); }
private:
/* properties */
XFA_Attribute m_circular;
XFA_Attribute m_hand;
XFA_Attribute m_id;
XFA_Attribute m_startAngle;
XFA_Attribute m_sweepAngle;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_edge;
XFA_Node m_fill;
};
class XFA_area : public XFA_BaseNode
{
public:
const PDFInteger* getColSpan() const { return m_colSpan.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getRelevant() const { return m_relevant.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_Measurement* getX() const { return m_x.getValue(); }
const XFA_Measurement* getY() const { return m_y.getValue(); }
const XFA_desc* getDesc() const { return m_desc.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const std::vector>& getArea() const { return m_area; }
const std::vector>& getDraw() const { return m_draw; }
const std::vector>& getExObject() const { return m_exObject; }
const std::vector>& getExclGroup() const { return m_exclGroup; }
const std::vector>& getField() const { return m_field; }
const std::vector>& getSubform() const { return m_subform; }
const std::vector>& getSubformSet() const { return m_subformSet; }
private:
/* properties */
XFA_Attribute m_colSpan;
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_relevant;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
XFA_Attribute m_x;
XFA_Attribute m_y;
/* subnodes */
XFA_Node m_desc;
XFA_Node m_extras;
std::vector> m_area;
std::vector> m_draw;
std::vector> m_exObject;
std::vector> m_exclGroup;
std::vector> m_field;
std::vector> m_subform;
std::vector> m_subformSet;
};
class XFA_assist : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getRole() const { return m_role.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_speak* getSpeak() const { return m_speak.getValue(); }
const XFA_toolTip* getToolTip() const { return m_toolTip.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_role;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_speak;
XFA_Node m_toolTip;
};
class XFA_barcode : public XFA_BaseNode
{
public:
const QString* getCharEncoding() const { return m_charEncoding.getValue(); }
const CHECKSUM* getChecksum() const { return m_checksum.getValue(); }
const QString* getDataColumnCount() const { return m_dataColumnCount.getValue(); }
const QString* getDataLength() const { return m_dataLength.getValue(); }
const DATAPREP* getDataPrep() const { return m_dataPrep.getValue(); }
const QString* getDataRowCount() const { return m_dataRowCount.getValue(); }
const QString* getEndChar() const { return m_endChar.getValue(); }
const QString* getErrorCorrectionLevel() const { return m_errorCorrectionLevel.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const XFA_Measurement* getModuleHeight() const { return m_moduleHeight.getValue(); }
const XFA_Measurement* getModuleWidth() const { return m_moduleWidth.getValue(); }
const bool* getPrintCheckDigit() const { return m_printCheckDigit.getValue(); }
const QString* getRowColumnRatio() const { return m_rowColumnRatio.getValue(); }
const QString* getStartChar() const { return m_startChar.getValue(); }
const TEXTLOCATION* getTextLocation() const { return m_textLocation.getValue(); }
const bool* getTruncate() const { return m_truncate.getValue(); }
const QString* getType() const { return m_type.getValue(); }
const UPSMODE* getUpsMode() const { return m_upsMode.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getWideNarrowRatio() const { return m_wideNarrowRatio.getValue(); }
const XFA_encrypt* getEncrypt() const { return m_encrypt.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_charEncoding;
XFA_Attribute m_checksum;
XFA_Attribute m_dataColumnCount;
XFA_Attribute m_dataLength;
XFA_Attribute m_dataPrep;
XFA_Attribute m_dataRowCount;
XFA_Attribute m_endChar;
XFA_Attribute m_errorCorrectionLevel;
XFA_Attribute m_id;
XFA_Attribute m_moduleHeight;
XFA_Attribute m_moduleWidth;
XFA_Attribute m_printCheckDigit;
XFA_Attribute m_rowColumnRatio;
XFA_Attribute m_startChar;
XFA_Attribute m_textLocation;
XFA_Attribute m_truncate;
XFA_Attribute m_type;
XFA_Attribute m_upsMode;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
XFA_Attribute m_wideNarrowRatio;
/* subnodes */
XFA_Node m_encrypt;
XFA_Node m_extras;
};
class XFA_bind : public XFA_BaseNode
{
public:
const MATCH* getMatch() const { return m_match.getValue(); }
const QString* getRef() const { return m_ref.getValue(); }
const XFA_picture* getPicture() const { return m_picture.getValue(); }
private:
/* properties */
XFA_Attribute m_match;
XFA_Attribute m_ref;
/* subnodes */
XFA_Node m_picture;
};
class XFA_bindItems : public XFA_BaseNode
{
public:
const QString* getConnection() const { return m_connection.getValue(); }
const QString* getLabelRef() const { return m_labelRef.getValue(); }
const QString* getRef() const { return m_ref.getValue(); }
const QString* getValueRef() const { return m_valueRef.getValue(); }
private:
/* properties */
XFA_Attribute m_connection;
XFA_Attribute m_labelRef;
XFA_Attribute m_ref;
XFA_Attribute m_valueRef;
/* subnodes */
};
class XFA_bookend : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getLeader() const { return m_leader.getValue(); }
const QString* getTrailer() const { return m_trailer.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_leader;
XFA_Attribute m_trailer;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
};
class XFA_boolean : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_border : public XFA_BaseNode
{
public:
const BREAK* getBreak() const { return m_break.getValue(); }
const HAND* getHand() const { return m_hand.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const PRESENCE* getPresence() const { return m_presence.getValue(); }
const QString* getRelevant() const { return m_relevant.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const std::vector>& getCorner() const { return m_corner; }
const std::vector>& getEdge() const { return m_edge; }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_fill* getFill() const { return m_fill.getValue(); }
const XFA_margin* getMargin() const { return m_margin.getValue(); }
private:
/* properties */
XFA_Attribute m_break;
XFA_Attribute m_hand;
XFA_Attribute m_id;
XFA_Attribute m_presence;
XFA_Attribute m_relevant;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
std::vector> m_corner;
std::vector> m_edge;
XFA_Node m_extras;
XFA_Node m_fill;
XFA_Node m_margin;
};
class XFA_break : public XFA_BaseNode
{
public:
const AFTER* getAfter() const { return m_after.getValue(); }
const QString* getAfterTarget() const { return m_afterTarget.getValue(); }
const BEFORE* getBefore() const { return m_before.getValue(); }
const QString* getBeforeTarget() const { return m_beforeTarget.getValue(); }
const QString* getBookendLeader() const { return m_bookendLeader.getValue(); }
const QString* getBookendTrailer() const { return m_bookendTrailer.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getOverflowLeader() const { return m_overflowLeader.getValue(); }
const QString* getOverflowTarget() const { return m_overflowTarget.getValue(); }
const QString* getOverflowTrailer() const { return m_overflowTrailer.getValue(); }
const bool* getStartNew() const { return m_startNew.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_after;
XFA_Attribute m_afterTarget;
XFA_Attribute m_before;
XFA_Attribute m_beforeTarget;
XFA_Attribute m_bookendLeader;
XFA_Attribute m_bookendTrailer;
XFA_Attribute m_id;
XFA_Attribute m_overflowLeader;
XFA_Attribute m_overflowTarget;
XFA_Attribute m_overflowTrailer;
XFA_Attribute m_startNew;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_extras;
};
class XFA_breakAfter : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getLeader() const { return m_leader.getValue(); }
const bool* getStartNew() const { return m_startNew.getValue(); }
const QString* getTarget() const { return m_target.getValue(); }
const TARGETTYPE* getTargetType() const { return m_targetType.getValue(); }
const QString* getTrailer() const { return m_trailer.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_script* getScript() const { return m_script.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_leader;
XFA_Attribute m_startNew;
XFA_Attribute m_target;
XFA_Attribute m_targetType;
XFA_Attribute m_trailer;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_script;
};
class XFA_breakBefore : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getLeader() const { return m_leader.getValue(); }
const bool* getStartNew() const { return m_startNew.getValue(); }
const QString* getTarget() const { return m_target.getValue(); }
const TARGETTYPE* getTargetType() const { return m_targetType.getValue(); }
const QString* getTrailer() const { return m_trailer.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_script* getScript() const { return m_script.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_leader;
XFA_Attribute m_startNew;
XFA_Attribute m_target;
XFA_Attribute m_targetType;
XFA_Attribute m_trailer;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_script;
};
class XFA_button : public XFA_BaseNode
{
public:
const HIGHLIGHT* getHighlight() const { return m_highlight.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_highlight;
XFA_Attribute m_id;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_extras;
};
class XFA_calculate : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const OVERRIDE* getOverride() const { return m_override.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_message* getMessage() const { return m_message.getValue(); }
const XFA_script* getScript() const { return m_script.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_override;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_extras;
XFA_Node m_message;
XFA_Node m_script;
};
class XFA_caption : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const PLACEMENT* getPlacement() const { return m_placement.getValue(); }
const PRESENCE* getPresence() const { return m_presence.getValue(); }
const XFA_Measurement* getReserve() const { return m_reserve.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_font* getFont() const { return m_font.getValue(); }
const XFA_margin* getMargin() const { return m_margin.getValue(); }
const XFA_para* getPara() const { return m_para.getValue(); }
const XFA_value* getValue() const { return m_value.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_placement;
XFA_Attribute m_presence;
XFA_Attribute m_reserve;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_extras;
XFA_Node m_font;
XFA_Node m_margin;
XFA_Node m_para;
XFA_Node m_value;
};
class XFA_certificate : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_certificates : public XFA_BaseNode
{
public:
const CREDENTIALSERVERPOLICY* getCredentialServerPolicy() const { return m_credentialServerPolicy.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getUrl() const { return m_url.getValue(); }
const QString* getUrlPolicy() const { return m_urlPolicy.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_encryption* getEncryption() const { return m_encryption.getValue(); }
const XFA_issuers* getIssuers() const { return m_issuers.getValue(); }
const XFA_keyUsage* getKeyUsage() const { return m_keyUsage.getValue(); }
const XFA_oids* getOids() const { return m_oids.getValue(); }
const XFA_signing* getSigning() const { return m_signing.getValue(); }
const XFA_subjectDNs* getSubjectDNs() const { return m_subjectDNs.getValue(); }
private:
/* properties */
XFA_Attribute m_credentialServerPolicy;
XFA_Attribute m_id;
XFA_Attribute m_url;
XFA_Attribute m_urlPolicy;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_encryption;
XFA_Node m_issuers;
XFA_Node m_keyUsage;
XFA_Node m_oids;
XFA_Node m_signing;
XFA_Node m_subjectDNs;
};
class XFA_checkButton : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const MARK* getMark() const { return m_mark.getValue(); }
const SHAPE* getShape() const { return m_shape.getValue(); }
const XFA_Measurement* getSize() const { return m_size.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_border* getBorder() const { return m_border.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_margin* getMargin() const { return m_margin.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_mark;
XFA_Attribute m_shape;
XFA_Attribute m_size;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_border;
XFA_Node m_extras;
XFA_Node m_margin;
};
class XFA_choiceList : public XFA_BaseNode
{
public:
const COMMITON* getCommitOn() const { return m_commitOn.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const OPEN* getOpen() const { return m_open.getValue(); }
const bool* getTextEntry() const { return m_textEntry.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_border* getBorder() const { return m_border.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_margin* getMargin() const { return m_margin.getValue(); }
private:
/* properties */
XFA_Attribute m_commitOn;
XFA_Attribute m_id;
XFA_Attribute m_open;
XFA_Attribute m_textEntry;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_border;
XFA_Node m_extras;
XFA_Node m_margin;
};
class XFA_color : public XFA_BaseNode
{
public:
const QString* getCSpace() const { return m_cSpace.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getValue() const { return m_value.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_cSpace;
XFA_Attribute m_id;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
XFA_Attribute m_value;
/* subnodes */
XFA_Node m_extras;
};
class XFA_comb : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const PDFInteger* getNumberOfCells() const { return m_numberOfCells.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_numberOfCells;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
};
class XFA_connect : public XFA_BaseNode
{
public:
const QString* getConnection() const { return m_connection.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getRef() const { return m_ref.getValue(); }
const USAGE* getUsage() const { return m_usage.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_picture* getPicture() const { return m_picture.getValue(); }
private:
/* properties */
XFA_Attribute m_connection;
XFA_Attribute m_id;
XFA_Attribute m_ref;
XFA_Attribute m_usage;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_picture;
};
class XFA_contentArea : public XFA_BaseNode
{
public:
const XFA_Measurement* getH() const { return m_h.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getRelevant() const { return m_relevant.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_Measurement* getW() const { return m_w.getValue(); }
const XFA_Measurement* getX() const { return m_x.getValue(); }
const XFA_Measurement* getY() const { return m_y.getValue(); }
const XFA_desc* getDesc() const { return m_desc.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_h;
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_relevant;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
XFA_Attribute m_w;
XFA_Attribute m_x;
XFA_Attribute m_y;
/* subnodes */
XFA_Node m_desc;
XFA_Node m_extras;
};
class XFA_corner : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const bool* getInverted() const { return m_inverted.getValue(); }
const JOIN* getJoin() const { return m_join.getValue(); }
const PRESENCE* getPresence() const { return m_presence.getValue(); }
const XFA_Measurement* getRadius() const { return m_radius.getValue(); }
const STROKE* getStroke() const { return m_stroke.getValue(); }
const XFA_Measurement* getThickness() const { return m_thickness.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_color* getColor() const { return m_color.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_inverted;
XFA_Attribute m_join;
XFA_Attribute m_presence;
XFA_Attribute m_radius;
XFA_Attribute m_stroke;
XFA_Attribute m_thickness;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_color;
XFA_Node m_extras;
};
class XFA_date : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_dateTime : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute m_name;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_dateTimeEdit : public XFA_BaseNode
{
public:
const HSCROLLPOLICY* getHScrollPolicy() const { return m_hScrollPolicy.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const PICKER* getPicker() const { return m_picker.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_border* getBorder() const { return m_border.getValue(); }
const XFA_comb* getComb() const { return m_comb.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
const XFA_margin* getMargin() const { return m_margin.getValue(); }
private:
/* properties */
XFA_Attribute m_hScrollPolicy;
XFA_Attribute m_id;
XFA_Attribute m_picker;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Node m_border;
XFA_Node m_comb;
XFA_Node m_extras;
XFA_Node m_margin;
};
class XFA_decimal : public XFA_BaseNode
{
public:
const PDFInteger* getFracDigits() const { return m_fracDigits.getValue(); }
const QString* getId() const { return m_id.getValue(); }
const PDFInteger* getLeadDigits() const { return m_leadDigits.getValue(); }
const QString* getName() const { return m_name.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const QString* getNodeValue() const { return m_nodeValue.getValue(); }
private:
/* properties */
XFA_Attribute m_fracDigits;
XFA_Attribute m_id;
XFA_Attribute m_leadDigits;
XFA_Attribute m_name;
XFA_Attribute m_use;
XFA_Attribute m_usehref;
/* subnodes */
XFA_Value m_nodeValue;
};
class XFA_defaultUi : public XFA_BaseNode
{
public:
const QString* getId() const { return m_id.getValue(); }
const QString* getUse() const { return m_use.getValue(); }
const QString* getUsehref() const { return m_usehref.getValue(); }
const XFA_extras* getExtras() const { return m_extras.getValue(); }
private:
/* properties */
XFA_Attribute m_id;
XFA_Attribute