Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 275

Previous Page 274   Index   Next Page 276

Function Reference
Page 275 of 750
SI32 pdfCreateSubmitAction(
const PPDF* IPDF,
// Instance pointer
TSubmitFlags Flags, // Additional flags see below
const char* URL)
// URL of the web server
typedef SI32 TSubmitFlags;
#define sfNone
0x00000000 // No flags -> FDF format
#define sfExlude
0x00000001 // Excl. the fields of the action
#define sfInclNoValFields
0x00000002 // Include empty fields
#define sfHTML
0x00000004 // HTML format
#define sfGetMethod
0x00000008 // Use Get instead of Post
#define sfSubmCoords
0x00000010 // Mouse coordinates
#define sfXML
0x00000024 // XFDF format PDF 1.4
#define sfInclAppSaves
0x00000040 // Include append saves PDF 1.4
#define sfInclAnnots
0x00000080 // Include annotations PDF 1.4
#define sfPDF
0x00000100 // PDF 1.4
#define sfCanonicalFormat
0x00000200 // Canonical date format PDF 1.4
#define sfExlNonUserAnnots 0x00000400 // PDF 1.4
#define sfExlFKey
0x00000800 // PDF 1.4
#define sfEmbedForm
0x00002000 // PDF 1.5 Embed the form into FDF
A submit form action submits the field values of an interactive form to a web server. It is also
possible to submit the entire PDF file; however, this feature requires the full version of Adobe's
Acrobat (version 5 or higher).
Instead of simply submitting all field values to a web server it also possible to submit the values of
specific fields only. The fields must be added to the action with the function
AddFieldToFormAction(). The fields of the action can be included or excluded depending whether
the flag sfExclude was set or not.
Actions must be added to a PDF object with AddActionToObj().
Return values:
If the function succeeds the return value is the action handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
The flags are described on the next page.

Previous topic: CreateStructureTree

Next topic: The standard date format