public interface RichTextHTMLConverter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RichTextHTMLConverter.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
readEmbeddedImage(Document doc,
String itemName,
Collection<String> options,
int itemIndex,
int itemOffset,
EmbeddedImage.HTMLImageReader callback)
Method to access images embedded in HTML conversion result.
|
RichTextHTMLConverter.Builder |
render(Database database)
Renders a database as HTML, which displays its web landing page.
|
RichTextHTMLConverter.Builder |
render(Document doc)
Renders a document as HTML (including its form) and gives access to embedded images.
|
RichTextHTMLConverter.Builder |
renderItem(Document doc,
String itemName)
Renders a rich text item as HTML and gives access to embedded images
|
RichTextHTMLConverter.Builder renderItem(Document doc, String itemName)
doc - the document containing the item to convertitemName - the name of the item to convertRichTextHTMLConverter.Builder render(Document doc)
doc - the document or design note to convertRichTextHTMLConverter.Builder render(Database database)
database - the database to convertvoid readEmbeddedImage(Document doc, String itemName, Collection<String> options, int itemIndex, int itemOffset, EmbeddedImage.HTMLImageReader callback)
doc - documentitemName - rich text field which is being convertedoptions - conversion options in "key=value" formatitemIndex - the relative item index -- if there is more than one, Item with the same pszItemName, then this indicates which one (zero relative)itemOffset - byte offset in the Item where the element startscallback - callback to receive the dataCopyright © 2019–2021 HCL. All rights reserved.