Adobe acrobat forms javascript object specification User Manual

Page of 64
Acrobat Forms - JavaScript Object Specification
21
creationDate
Type: Date
Access: R
This property defines the documents creation date.
delay
Type: Boolean
Access: R/W
This property delays the redrawing of any appearance changes to every field in the document.
It is generally used to buffer a series of changes to fields before requesting that the fields
regenerate their appearance. Setting the property to true forces all changes to be queued until
delay is reset to false. Once set to false then all the fields on the page are re-drawn. See also
the field level
property.
dirty
Type: Boolean
Access: R/W
This property identifies whether the document has been dirtied as the result of a changes to the
document (and therefore needs to be saved). It is useful to reset the dirty flag in a document
when performing changes that do not warrant saving, for example, updating a status field in the
document.
var f = this.getField("Status");
var b = this.dirty;
f.value = "Press the reset button to clear the form.";
this.dirty = b;
external
Type: Boolean
Access: R
This property indicates whether the current document is being viewed in the Acrobat
application or in an external window (such as a web browser).
filesize
Type: Integer
Access: R
This property determines the file size of the document in bytes.
4.0
4.0