Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_submit.h
Go to the documentation of this file.
1// Copyright 2017 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef XFA_FXFA_PARSER_CXFA_SUBMIT_H_
8#define XFA_FXFA_PARSER_CXFA_SUBMIT_H_
9
10#include "core/fxcrt/widestring.h"
11#include "xfa/fxfa/parser/cxfa_node.h"
12
13class CXFA_Submit final : public CXFA_Node {
14 public:
16 ~CXFA_Submit() override;
17
18 bool IsSubmitEmbedPDF();
20 WideString GetSubmitTarget();
21 WideString GetSubmitXDPContent();
22
23 private:
24 CXFA_Submit(CXFA_Document* doc, XFA_PacketType packet);
25};
26
27#endif // XFA_FXFA_PARSER_CXFA_SUBMIT_H_
FX_RECT ToFxRect() const
CFX_FloatRect ToFloatRect() const
float bottom() const
float right() const
void Invalidate(IPDF_Page *page, const FX_RECT &rect) override
FPDF_FORMFILLINFO * GetFormFillInfo() const
bool IsValidationsEnabled(const CXFA_FFDoc *hDoc) const override
void DisplayCaret(CXFA_FFWidget *hWidget, bool bVisible, const CFX_RectF *pRtAnchor) override
~CPDFXFA_DocEnvironment() override
void InvalidateRect(CXFA_FFPageView *pPageView, const CFX_RectF &rt) override
void SetCalculationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled) override
bool IsCalculationsEnabled(const CXFA_FFDoc *hDoc) const override
void WidgetPostAdd(CXFA_FFWidget *hWidget) override
void Print(CXFA_FFDoc *hDoc, int32_t nStartPage, int32_t nEndPage, Mask< XFA_PrintOpt > dwOptions) override
void ExportData(CXFA_FFDoc *hDoc, const WideString &wsFilePath, bool bXDP) override
RetainPtr< IFX_SeekableReadStream > OpenLinkedFile(CXFA_FFDoc *hDoc, const WideString &wsLink) override
int32_t GetCurrentPage(const CXFA_FFDoc *hDoc) const override
void SetFocusWidget(CXFA_FFDoc *hDoc, CXFA_FFWidget *hWidget) override
FX_ARGB GetHighlightColor(const CXFA_FFDoc *hDoc) const override
void SetCurrentPage(CXFA_FFDoc *hDoc, int32_t iCurPage) override
IJS_Runtime * GetIJSRuntime(const CXFA_FFDoc *hDoc) const override
CFX_XMLDocument * GetXMLDoc() const override
void SetChangeMark(CXFA_FFDoc *hDoc) override
void GotoURL(CXFA_FFDoc *hDoc, const WideString &bsURL) override
void SetTitle(CXFA_FFDoc *hDoc, const WideString &wsTitle) override
int32_t CountPages(const CXFA_FFDoc *hDoc) const override
bool PopupMenu(CXFA_FFWidget *hWidget, const CFX_PointF &ptPopup) override
void SetValidationsEnabled(CXFA_FFDoc *hDoc, bool bEnabled) override
void OnPageViewEvent(CXFA_FFPageView *pPageView, CXFA_FFDoc::PageViewEvent eEvent) override
WideString GetTitle(const CXFA_FFDoc *hDoc) const override
void WidgetPreRemove(CXFA_FFWidget *hWidget) override
bool GetPopupPos(CXFA_FFWidget *hWidget, float fMinPopup, float fMaxPopup, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) override
CPDFXFA_DocEnvironment(CPDFXFA_Context *)
CXFA_Object * GetXFAObject(XFA_HashCode wsNodeNameHash)
bool SavePackage(CXFA_Node *pNode, const RetainPtr< IFX_SeekableStream > &pFile)
CXFA_Document * GetXFADoc() const
Definition cxfa_ffdoc.h:167
CXFA_Node * GetNode() const
CXFA_FFPageView * GetPageView() const
int32_t GetRotate() const
bool IsSubmitEmbedPDF()
WideString GetSubmitTarget()
~CXFA_Submit() override
WideString GetSubmitXDPContent()
XFA_AttributeValue GetSubmitFormat()
static ByteString Format(const char *pFormat,...)
const char * c_str() const
Definition bytestring.h:76
ByteString & operator=(ByteString &&that) noexcept
ByteString ToUTF8() const
bool IsEmpty() const
Definition widestring.h:118
static WideString FromDefANSI(ByteStringView str)
static WideString FromUTF16LE(pdfium::span< const uint8_t > data)
ByteString ToUTF16LE() const
FPDF_WIDESTRING AsFPDFWideString(ByteString *bsUTF16LE)
CXFA_Node * ToNode(CXFA_Object *pObj)
XFA_PrintOpt
Definition fxfa.h:45
@ XFA_HASHCODE_Data
Definition fxfa_basic.h:17
@ XFA_HASHCODE_Datasets
Definition fxfa_basic.h:19
@ XFA_HASHCODE_Form
Definition fxfa_basic.h:22
XFA_AttributeValue
Definition fxfa_basic.h:60
XFA_PacketType
Definition fxfa_basic.h:44
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
IPDF_JSPLATFORM * m_pJsPlatform
void(* Doc_print)(struct _IPDF_JsPlatform *pThis, FPDF_BOOL bUI, int nStart, int nEnd, FPDF_BOOL bSilent, FPDF_BOOL bShrinkToFit, FPDF_BOOL bPrintAsImage, FPDF_BOOL bReverse, FPDF_BOOL bAnnotations)