You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: english/java/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ weight: 11
5
5
url: /java/
6
6
description: GroupDocs.Editor for Java API References contain examples, code snippets, and API documentation. It provides packages, classes, interfaces, and other API details.
Copy file name to clipboardExpand all lines: english/java/com.groupdocs.editor.options/PresentationSaveOptions/_index.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ Allows to specify custom options for generating and saving Presentation (PowerPo
34
34
|[setInsertAsNewSlide(boolean value)](#setInsertAsNewSlide-boolean-)| Boolean flag, which specifies whether edited slide should replace the existing slide in original presentation on the position, specified by the SlideNumber (\#getSlideNumber.getSlideNumber/\#setSlideNumber(int).setSlideNumber(int)) property, or it should be injected between existing slide and previous one, without replacing its content. |
35
35
|[getOutputFormat()](#getOutputFormat--)| Allows to specify a Presentation format, which will be used for saving the document |
36
36
|[setOutputFormat(PresentationFormats value)](#setOutputFormat-com.groupdocs.editor.formats.PresentationFormats-)| Allows to specify a Presentation format, which will be used for saving the document |
37
+
|[getSlideNumbersToDelete()](#getSlideNumbersToDelete--)| Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation. |
38
+
|[setSlideNumbersToDelete(int[] value)](#setSlideNumbersToDelete-int---)| Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation. |
Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation.When the edited slide is saved not as a new single-slide presentation (default behavior), but instead is saved into an existing presentation (using \#getSlideNumber().getSlideNumber() / \#setSlideNumber(int).setSlideNumber(int)), it is also possible to delete some particular slides from this presentation by specifying their numbers in this array. By default this array is null \\u2014 no slides will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid slide number, after the output Presentation document is generated with the content of the edited slide, the slides with specified numbers will be deleted from the presentation right before writing its content to the output stream or file. Slide numbers in this array are 1-based, not 0-based. Invalid numbers (less than 1 or greater than the total number of slides) will be ignored.
217
+
218
+
**Returns:**
219
+
int[] - Array of 1-based slide numbers to delete, or null if nothing should be deleted.
public final void setSlideNumbersToDelete(int[] value)
223
+
```
224
+
225
+
226
+
Allows to specify an array with 1-based numbers of slides that should be deleted from the presentation during its saving, in case when the edited slide is inserted into existing presentation.Slide numbers in this array are 1-based. Invalid numbers will be ignored.
227
+
228
+
**Parameters:**
229
+
| Parameter | Type | Description |
230
+
| --- | --- | --- |
231
+
| value | int[] | Array of 1-based slide numbers to delete (may be null or empty). |
Copy file name to clipboardExpand all lines: english/java/com.groupdocs.editor.options/SpreadsheetSaveOptions/_index.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ Allows to specify custom options for generating and saving Spreadsheet (Excel-co
36
36
|[setOutputFormat(SpreadsheetFormats value)](#setOutputFormat-com.groupdocs.editor.formats.SpreadsheetFormats-)| Allows to specify a Spreadsheet format, which will be used for saving the document |
37
37
|[getWorksheetProtection()](#getWorksheetProtection--)| Allows to enable a worksheet protection for the output Spreadsheet document. |
38
38
|[setWorksheetProtection(WorksheetProtection value)](#setWorksheetProtection-com.groupdocs.editor.options.WorksheetProtection-)| Allows to enable a worksheet protection for the output Spreadsheet document. |
39
+
|[getWorksheetNumbersToDelete()](#getWorksheetNumbersToDelete--)| Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet. |
40
+
|[setWorksheetNumbersToDelete(int[] value)](#setWorksheetNumbersToDelete-int---)| Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet. |
Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet.When the edited worksheet is saved not as a new single-worksheet spreadsheet (default behavior), but instead is saved into an existing spreadsheet (using \#getWorksheetNumber().getWorksheetNumber() / \#setWorksheetNumber(int).setWorksheetNumber(int)), it is also possible to delete some particular worksheets from this spreadsheet by specifying their numbers in this array. By default this array is null \\u2014 no worksheets will be deleted. However, when this array is non-null and non-empty, and it contains at least one valid worksheet number, after the output spreadsheet document is generated with the content of the edited worksheet, the worksheets with specified numbers will be deleted from the spreadsheet right before writing its content to the output stream or file. Worksheet numbers in this array are 1-based, not 0-based. Invalid numbers (less than 1 or greater than the total number of worksheets) will be ignored.
234
+
235
+
**Returns:**
236
+
int[] - Array of 1-based worksheet numbers to delete, or null if nothing should be deleted.
public final void setWorksheetNumbersToDelete(int[] value)
240
+
```
241
+
242
+
243
+
Allows to specify an array with 1-based numbers of worksheets that should be deleted from the spreadsheet during its saving, in case when the edited worksheet is inserted into existing spreadsheet.Worksheet numbers in this array are 1-based. Invalid numbers will be ignored.
244
+
245
+
**Parameters:**
246
+
| Parameter | Type | Description |
247
+
| --- | --- | --- |
248
+
| value | int[] | Array of 1-based worksheet numbers to delete (may be null or empty). |
Copy file name to clipboardExpand all lines: english/java/com.groupdocs.editor/Editor/_index.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ Editor class should be considered as an entry point and the root object of the G
43
43
|[edit()](#edit--)| Opens a previously loaded document for editing using default options by generating and returning an instance of 'EditableDocument' class, that, in turn, contains methods for producing HTML markup and associated resources. |
44
44
|[save(EditableDocument inputDocument, OutputStream outputDocument, ISaveOptions saveOptions)](#save-com.groupdocs.editor.EditableDocument-java.io.OutputStream-com.groupdocs.editor.options.ISaveOptions-)| Converts specified edited document, represented as instance of 'EditableDocument', to the resultant document of specified format and saves its content to specified stream |
45
45
|[save(EditableDocument inputDocument, String filePath, ISaveOptions saveOptions)](#save-com.groupdocs.editor.EditableDocument-java.lang.String-com.groupdocs.editor.options.ISaveOptions-)| Converts specified edited document, represented as instance of '', to the resultant document of specified format and saves its content to file by specified file path |
46
+
|[save(EditableDocument inputDocument, String filePath)](#save-com.groupdocs.editor.EditableDocument-java.lang.String-)| Converts the specified edited document (represented by an [EditableDocument](../../com.groupdocs.editor/editabledocument)) to an output document whose format is determined from the filename extension, and saves it to the specified file path. |
46
47
|[save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions)](#save-java.io.OutputStream-com.groupdocs.editor.options.WordProcessingSaveOptions-)| Converts the original document after modification (for example, FormFieldManager (\#getFormFieldManager.getFormFieldManager)), to the resultant document of the specified format and saves its content to the provided stream. |
47
48
|[save(OutputStream outputDocument)](#save-java.io.OutputStream-)| Save the current document content to the specified output stream. |
48
49
|[getDocumentInfo(String password)](#getDocumentInfo-java.lang.String-)| Returns metadata about the document, that was loaded to this 'Editor' instance |
@@ -244,6 +245,20 @@ Converts specified edited document, represented as instance of '', to the result
244
245
245
246
[How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document |
public final void save(EditableDocument inputDocument, String filePath)
251
+
```
252
+
253
+
254
+
Converts the specified edited document (represented by an [EditableDocument](../../com.groupdocs.editor/editabledocument)) to an output document whose format is determined from the filename extension, and saves it to the specified file path.
255
+
256
+
**Parameters:**
257
+
| Parameter | Type | Description |
258
+
| --- | --- | --- |
259
+
| inputDocument | [EditableDocument](../../com.groupdocs.editor/editabledocument) | Version of the input document that was edited in a WYSIWYG HTML editor and is stored as an [EditableDocument](../../com.groupdocs.editor/editabledocument) instance. Must not be null or disposed. |
260
+
| filePath | java.lang.String | Path to the file where the output document will be saved. If a file with the same name exists, it will be completely overwritten. The path string must not be null , empty, or contain only whitespaces. Because the default save options and output format are determined from this filename, it must have a valid extension. |
0 commit comments