PSPDFSubmitFormActionFlag
Objective-C
enum PSPDFSubmitFormActionFlag : NSUInteger {}
Swift
struct Flag : OptionSet, @unchecked Sendable
Flags for submit-form actions. The names and behaviors of these flags are taken from the PDF reference.
If none of the format flags .exportFormat
, .xfdf
, and .submitPDF
are specified then the format will be FDF.
For FDF, the Content-Type
header field will incorrectly be application/vnd.adobe.xfdf
. Please contact us if you require the correct type to be used (application/vnd.fdf
).
-
Undocumented
Declaration
Objective-C
PSPDFSubmitFormActionFlagIncludeExclude = 1 << (1 - 1)
Swift
static var includeExclude: SubmitFormAction.Flag { get }
-
Undocumented
Declaration
Objective-C
PSPDFSubmitFormActionFlagIncludeNoValueFields = 1 << (2 - 1)
Swift
static var includeNoValueFields: SubmitFormAction.Flag { get }
-
Whether to submit the form like a URL query string (as an HTML form would be submitted). This is ignored if
.xfdf
or.submitPDF
is set.Declaration
Objective-C
PSPDFSubmitFormActionFlagExportFormat = 1 << (3 - 1)
Swift
static var exportFormat: SubmitFormAction.Flag { get }
-
Whether to use the HTTP GET method instead of the HTTP POST method.
Not supported.
Declaration
Objective-C
PSPDFSubmitFormActionFlagGetMethod = 1 << (4 - 1)
Swift
static var getMethod: SubmitFormAction.Flag { get }
-
Whether to use the HTTP GET method instead of the HTTP POST method.
Not supported.
Declaration
Objective-C
PSPDFSubmitFormActionFlagSubmitCoordinates = 1 << (5 - 1)
Swift
static var submitCoordinates: SubmitFormAction.Flag { get }
-
Whether to submit the form as XFDF. This takes precedence over
.exportFormat
, but it is ignored if.submitPDF
is set.The `Content-Type` header field will incorrectly be `application/vnd.fdf`. Please contact us if you require the correct type to be used (`application/vnd.adobe.xfdf`).
Declaration
Objective-C
PSPDFSubmitFormActionFlagXFDF = 1 << (6 - 1)
Swift
static var XFDF: SubmitFormAction.Flag { get }
-
Whether to submit the form as XFDF. This takes precedence over
.exportFormat
, but it is ignored if.submitPDF
is set.The `Content-Type` header field will incorrectly be `application/vnd.fdf`. Please contact us if you require the correct type to be used (`application/vnd.adobe.xfdf`).
Declaration
Objective-C
PSPDFSubmitFormActionFlagIncludeAppendSaves = 1 << (7 - 1)
Swift
static var includeAppendSaves: SubmitFormAction.Flag { get }
-
Whether to submit the form as XFDF. This takes precedence over
.exportFormat
, but it is ignored if.submitPDF
is set.The `Content-Type` header field will incorrectly be `application/vnd.fdf`. Please contact us if you require the correct type to be used (`application/vnd.adobe.xfdf`).
Declaration
Objective-C
PSPDFSubmitFormActionFlagIncludeAnnotations = 1 << (8 - 1)
Swift
static var includeAnnotations: SubmitFormAction.Flag { get }
-
Whether to submit the whole PDF rather than extracting form field values. This takes precedence over
.exportFormat
and.xfdf
.Declaration
Objective-C
PSPDFSubmitFormActionFlagSubmitPDF = 1 << (9 - 1)
Swift
static var submitPDF: SubmitFormAction.Flag { get }
-
Whether to submit the whole PDF rather than extracting form field values. This takes precedence over
.exportFormat
and.xfdf
.Declaration
Objective-C
PSPDFSubmitFormActionFlagCanonicalFormat = 1 << (10 - 1)
Swift
static var canonicalFormat: SubmitFormAction.Flag { get }
-
Whether to submit the whole PDF rather than extracting form field values. This takes precedence over
.exportFormat
and.xfdf
.Declaration
Objective-C
PSPDFSubmitFormActionFlagExclNonUserAnnots = 1 << (11 - 1)
Swift
static var exclNonUserAnnots: SubmitFormAction.Flag { get }
-
Whether to submit the whole PDF rather than extracting form field values. This takes precedence over
.exportFormat
and.xfdf
.Declaration
Objective-C
PSPDFSubmitFormActionFlagExclFKey = 1 << (12 - 1)
Swift
static var exclFKey: SubmitFormAction.Flag { get }
-
Whether to submit the whole PDF rather than extracting form field values. This takes precedence over
.exportFormat
and.xfdf
.Declaration
Objective-C
PSPDFSubmitFormActionFlagEmbedForm = 1 << (14 - 1)
Swift
static var embedForm: SubmitFormAction.Flag { get }