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
'EditableDocument' class, that, in turn, contains methods for producing
HTML markup and associated resources.
|
static EditableDocument |
EditableDocument.fromBodyMarkupAndResourceFolder(String htmlBodyContent,
String resourceFolderPath)
Static factory, that creates an instance of EditableDocument from a
specified HTML markup, that doesn't contain an HTML header, but only
inner markup of HTML BODY element, and from resources, located in the
folder, specified by the full path
|
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
|
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,
ISaveOptions saveOptions)
Converts specified edited document, represented as instance of
'EditableDocument', to the resultant document of specified format and
saves its content to file by specified file path
|