| Package | Description |
|---|---|
| com.groupdocs.editor |
The com.groupdocs.editor namespace is a root namespace, which provides classes for editing multiple document formats in your Java applications.
|
| Modifier and Type | Method and Description |
|---|---|
EditableDocument |
Editor.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.
|
EditableDocument |
Editor.edit(IEditOptions editOptions)
Opens a previously loaded document for editing using specified format-specific options by generating and returning an instance of '
|
static EditableDocument |
EditableDocument.fromFile(String htmlFilePath,
String resourceFolderPath)
Static factory, that creates an instance of EditableDocument from a HTML
file, that is specified by a path to the *.html file itself and a folder
with linked resources
|
static EditableDocument |
EditableDocument.fromMarkup(String newHtmlContent,
List<IHtmlResource> resources)
Static factory, that creates an instance of EditableDocument from
specified HTML markup and a set of corresponding linked resources
|
static EditableDocument |
EditableDocument.fromMarkupAndResourceFolder(String newHtmlContent,
String resourceFolderPath)
Static factory, that creates an instance of EditableDocument from a specified HTML markup and from resources, located in the folder, specified by the full path
|
| Modifier and Type | Method and Description |
|---|---|
void |
Editor.save(EditableDocument inputDocument,
OutputStream outputDocument,
ISaveOptions saveOptions)
Converts specified edited document, represented as instance of
'EditableDocument', to the resultant document of specified format and
saves its content to specified stream
|
void |
Editor.save(EditableDocument inputDocument,
String filePath)
Converts the specified edited document (represented by an
EditableDocument) to an output document whose
format is determined from the filename extension, and saves it to the specified file path. |
void |
Editor.save(EditableDocument inputDocument,
String filePath,
ISaveOptions saveOptions)
Converts specified edited document, represented as instance of '
|
Copyright © 2026. All rights reserved.