Package | Description |
---|---|
com.hcl.domino.data | |
com.hcl.domino.richtext | |
com.hcl.domino.richtext.conversion |
Modifier and Type | Method and Description |
---|---|
RichTextWriter |
Document.createRichTextItem(String itemName)
Creates a writer for a new rich-text item on the document.
|
Modifier and Type | Method and Description |
---|---|
RichTextWriter |
RichTextWriter.addAttachmentIcon(Attachment att,
String captionTxt) |
RichTextWriter |
RichTextWriter.addAttachmentIcon(Attachment att,
String filenameToDisplay,
String captionText,
FontStyle captionStyle,
RichTextWriter.CaptionPosition captionPos,
int captionColorRed,
int captionColorGreen,
int captionColorBlue,
int resizeToWidth,
int resizeToHeight,
Path imagePath) |
RichTextWriter |
RichTextWriter.addAttachmentIcon(String attachmentProgrammaticName,
String captionTxt) |
RichTextWriter |
RichTextWriter.addAttachmentIcon(String attachmentProgrammaticName,
String filenameToDisplay,
String captionText,
FontStyle captionStyle,
RichTextWriter.CaptionPosition captionPos,
int captionColorRed,
int captionColorGreen,
int captionColorBlue,
int resizeToWidth,
int resizeToHeight,
InputStream imageData) |
RichTextWriter |
RichTextWriter.addCollectionLink(DominoCollection collection,
String comment)
This function inserts a DocLink for the specified
DominoCollection . |
RichTextWriter |
RichTextWriter.addDatabaseLink(Database db,
String comment)
This function inserts a DocLink for the specified
Database . |
RichTextWriter |
RichTextWriter.addDocLink(Document doc,
String comment)
This function inserts a DocLink for the specified
Document . |
RichTextWriter |
RichTextWriter.addDocLink(String dbReplicaId,
String viewUnid,
String docUNID,
String comment)
This function inserts a DocLink using manual values.
|
RichTextWriter |
RichTextWriter.addFileResource(InputStream is,
long length)
Adds the provided stream as a file resource into this rich text writer.
|
default RichTextWriter |
RichTextWriter.addFileResource(Path file)
Adds the provided file as a file resource into this rich text writer.
|
RichTextWriter |
RichTextWriter.addImage(InputStream imageStream)
Adds an image from an input stream.
|
RichTextWriter |
RichTextWriter.addImage(InputStream imageStream,
int resizeToWidth,
int resizeToHeight)
Adds an image from an input stream.
|
RichTextWriter |
RichTextWriter.addImage(Path imagePath)
Adds an image from disk.
|
RichTextWriter |
RichTextWriter.addImage(Path imagePath,
int resizeToWidth,
int resizeToHeight)
Adds an image from disk.
|
RichTextWriter |
RichTextWriter.addImageResource(InputStream is,
long length)
Adds the provided stream as an image resource into this rich text writer.
|
default RichTextWriter |
RichTextWriter.addImageResource(Path file)
Adds the provided stream as an image resource into this rich text writer.
|
RichTextWriter |
RichTextWriter.addJavaScriptLibraryData(String script)
Adds the provided script as a JavaScript library block into this rich text writer.
|
RichTextWriter |
RichTextWriter.addRichText(Document doc,
String itemName)
Appends a rich text item from another document
|
RichTextWriter |
RichTextWriter.addRichText(RichTextWriter rt)
Appends rich text created in another writer
|
<T extends RichTextRecord<?>> |
RichTextWriter.addRichTextRecord(Class<T> recordClass,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
RichTextWriter.addRichTextRecord(Class<T> recordClass,
int variableDataLength,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
RichTextWriter.addRichTextRecord(RecordType recordType,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
RichTextWriter.addRichTextRecord(RecordType recordType,
int variableDataLength,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
RichTextWriter |
RichTextWriter.addRichTextRecord(RichTextRecord<?> record)
Adds a raw rich text record from an existing instance.
|
RichTextWriter |
RichTextWriter.addText(String txt)
Adds a text element
|
RichTextWriter |
RichTextWriter.addText(String txt,
TextStyle textStyle,
FontStyle fontStyle)
Adds a text element with the specified font style
|
RichTextWriter |
RichTextWriter.addText(String txt,
TextStyle textStyle,
FontStyle fontStyle,
boolean createParagraphOnLinebreak)
Adds a text element with the specified font style
|
Modifier and Type | Method and Description |
---|---|
RichTextWriter |
RichTextWriter.addRichText(RichTextWriter rt)
Appends rich text created in another writer
|
Modifier and Type | Method and Description |
---|---|
void |
AppendFileHotspotConversion.convert(List<RichTextRecord<?>> source,
RichTextWriter target) |
void |
RemoveAttachmentIconConversion.convert(List<RichTextRecord<?>> source,
RichTextWriter target) |
void |
IRichTextConversion.convert(List<RichTextRecord<?>> source,
RichTextWriter target)
Method to do the actual conversion, e.g.
|
Copyright © 2019–2021 HCL. All rights reserved.