diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_submit.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_submit.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_submit.cpp b/xfa/fxfa/parser/cxfa_submit.cpp index 04255f8dc5..e4558e865a 100644 --- a/xfa/fxfa/parser/cxfa_submit.cpp +++ b/xfa/fxfa/parser/cxfa_submit.cpp @@ -41,3 +41,19 @@ CXFA_Submit::CXFA_Submit(CXFA_Document* doc, XFA_PacketType packet) pdfium::MakeUnique<CJX_Submit>(this)) {} CXFA_Submit::~CXFA_Submit() {} + +bool CXFA_Submit::IsSubmitEmbedPDF() { + return JSObject()->GetBoolean(XFA_Attribute::EmbedPDF); +} + +XFA_AttributeEnum CXFA_Submit::GetSubmitFormat() { + return JSObject()->GetEnum(XFA_Attribute::Format); +} + +WideString CXFA_Submit::GetSubmitTarget() { + return JSObject()->GetCData(XFA_Attribute::Target); +} + +WideString CXFA_Submit::GetSubmitXDPContent() { + return JSObject()->GetCData(XFA_Attribute::XdpContent); +} |