Can be used To specify additional options when saving a document inTo the SaveFormat.DOCX SaveFormat.DOCM SaveFormat.DOTX SaveFormat.DOTM or SaveFormat.FLAT_OPC format in Java....pdf", saveOptions); Returns: int...a document as we save it to PDF. Document doc = new Document(getMyDir()...