1. HTTP replies for submit actions
PDF Expert presents HTTP replies with Content-Type "text/plain" and "text/ html" to the user. For other content types the "Form successfully submitted." is shown.
2. Objects scriptable in PDF Expert
- field
- event
- doc
- app
- util
- console
field Object
Properties
- borderColor
- borderStyle
- charLimit
- currentValueIndices
- defaultValue
- display
- fillColor
- hidden
- name
- numItems
- page
- readonly
- rect
- required
- strokeColor
- textColor
- textSize
- type
- userName
- value
- valueAsString
Methods
- buttonGetCaption
- buttonImportIcon, parameters are not supported
- buttonSetCaption
- checkThisBox
- clearItems
- defaultIsChecked
- deleteItemAt, nIdx is requred
- getArray
- getItemAt
- insertItemAt
- isBoxChecked
- setFocus
- setItems
event Object
Properties
- change
- changeEx
- name
- rc
- selStart
- selEnd
- source
- target
- targetName
- type
- value
- willCommit
doc Object
Properties
- calculate
- numFields
- numPages
- pageNum
- URL, can be used in combination with " pdfefile://" scheme to transfer data to a form.
Methods
- calculateNow
- deletePages
- getField
- getNthFieldName
- gotoNamedDest
- mailDoc
- mailForm
- submitForm, supported cSubmitAs values: FDF, XFDF, HTML, PDF.
- resetForm
app Object
Properties
- platform, returns "IOS"
- viewerType, returns "PDF Expert for iPad"
- viewerVersion, returns PDF Expert version appending ".0" to it. E.g. "3.2.1.0"
Methods
- alert
- launchURL
- mailMsg
- openDoc, Ignores all parameters except "cPath". cPath is a relative path according to the current document. Returns null.
util Object
Methods
- printd
- printf
- printx
- scand, Note that PDF Expert is more strict than Acrobat Pro to correspondence cDate to cFormat.
console Object
Methods
- println, prints to device console. The device console can be viewed with iPhone Configuration Utility. See
Convert Word to clean HTML code with this free online tool. It works great for any document type and template.