OptionaldownloadOutput format; only 'pdf' is supported.
OptionalflagsSave flags, such as SaveOptions.INCREMENTAL.
OptionalflattenBurns annotations, including form fields, into page content.
OptionalincludeWhen false, the saved file contains no annotations.
OptionaloptimizeTakes the optimized saving path
OptionalxfdfXFDF whose annotations replace the annotations in the saved file.
Options for getFileData. Options run on a copy, leaving the open document unchanged.