DynaPDF Manual - Page 311

Previous Page 310   Index   Next Page 312

Function Reference
Page 311 of 839
CreateStructureTreeEx
Syntax:
LBOOL pdfCreateStructureTreeEx(
const PPDF* IPDF,
// Instance pointer
TPDFBaseTag RootTag) // btArt, btDiv, btDocument, btPart, or btSect.
// Any other value will be replaced by btDocument.
The function creates the global structure tree as described at CreateStructureTree(). The only
difference is that the type of the root node can be specified. See CreateStructureTree() for further
information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is zero.
CreateSubmitAction
Syntax:
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.
Remarks:
Actions must be added to a PDF object with AddActionToObj().
 

Previous topic: CreateStructureTree

Next topic: The standard date format