Skip to content

Commit d65ef4e

Browse files
author
yevgen-nykytenko
committed
Update content 2026-02-13 05:33:36
1 parent b436844 commit d65ef4e

File tree

4 files changed

+66
-1
lines changed

4 files changed

+66
-1
lines changed

english/java/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ weight: 11
55
url: /java/
66
description: GroupDocs.Editor for Java API References contain examples, code snippets, and API documentation. It provides packages, classes, interfaces, and other API details.
77
is_root: true
8-
version: 25.3
8+
version: 26.1
99
---
1010

1111
## Packages

english/java/com.groupdocs.editor.options/PresentationSaveOptions/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Allows to specify custom options for generating and saving Presentation (PowerPo
3434
| [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. |
3535
| [getOutputFormat()](#getOutputFormat--) | Allows to specify a Presentation format, which will be used for saving the document |
3636
| [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. |
3739
### PresentationSaveOptions() {#PresentationSaveOptions--}
3840
```
3941
public PresentationSaveOptions()
@@ -205,3 +207,26 @@ Output format is usually set in the constructor of this class, because it is man
205207
| --- | --- | --- |
206208
| value | [PresentationFormats](../../com.groupdocs.editor.formats/presentationformats) | |
207209
210+
### getSlideNumbersToDelete() {#getSlideNumbersToDelete--}
211+
```
212+
public final int[] getSlideNumbersToDelete()
213+
```
214+
215+
216+
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.
220+
### setSlideNumbersToDelete(int[] value) {#setSlideNumbersToDelete-int---}
221+
```
222+
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). |
232+

english/java/com.groupdocs.editor.options/SpreadsheetSaveOptions/_index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Allows to specify custom options for generating and saving Spreadsheet (Excel-co
3636
| [setOutputFormat(SpreadsheetFormats value)](#setOutputFormat-com.groupdocs.editor.formats.SpreadsheetFormats-) | Allows to specify a Spreadsheet format, which will be used for saving the document |
3737
| [getWorksheetProtection()](#getWorksheetProtection--) | Allows to enable a worksheet protection for the output Spreadsheet document. |
3838
| [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. |
3941
### SpreadsheetSaveOptions() {#SpreadsheetSaveOptions--}
4042
```
4143
public SpreadsheetSaveOptions()
@@ -222,3 +224,26 @@ Allows to enable a worksheet protection for the output Spreadsheet document. By
222224
| --- | --- | --- |
223225
| value | [WorksheetProtection](../../com.groupdocs.editor.options/worksheetprotection) | |
224226
227+
### getWorksheetNumbersToDelete() {#getWorksheetNumbersToDelete--}
228+
```
229+
public final int[] getWorksheetNumbersToDelete()
230+
```
231+
232+
233+
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.
237+
### setWorksheetNumbersToDelete(int[] value) {#setWorksheetNumbersToDelete-int---}
238+
```
239+
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). |
249+

english/java/com.groupdocs.editor/Editor/_index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Editor class should be considered as an entry point and the root object of the G
4343
| [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. |
4444
| [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 |
4545
| [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. |
4647
| [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. |
4748
| [save(OutputStream outputDocument)](#save-java.io.OutputStream-) | Save the current document content to the specified output stream. |
4849
| [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
244245
245246
[How to save edited document using GroupDocs.Editor]: https://docs.groupdocs.com/display/editornet/Save+document |
246247
248+
### save(EditableDocument inputDocument, String filePath) {#save-com.groupdocs.editor.EditableDocument-java.lang.String-}
249+
```
250+
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. |
261+
247262
### save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions) {#save-java.io.OutputStream-com.groupdocs.editor.options.WordProcessingSaveOptions-}
248263
```
249264
public final OutputStream save(OutputStream outputDocument, WordProcessingSaveOptions saveOptions)

0 commit comments

Comments
 (0)