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....canceledAt = new Date(); long diff = canceledAt.getTime() - mSavingStartedAt...TimeUnit.MILLISECONDS.toSeconds(diff); if (ellapsedSeconds > MAX_DURATION)...