public final class RichTextItemProxy extends BaseItemProxy implements DRichTextItem
RichTextItem.| Modifier and Type | Class and Description |
|---|---|
protected static class |
RichTextItemProxy.EmbeddedObjectsIterator
A
EmbeddedObjectsIterator allows iteration over a set of
lotus.domino.EmbeddedObject. |
BaseProxy.DocumentCollectionIteratorDATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES| Modifier | Constructor and Description |
|---|---|
protected |
RichTextItemProxy(NotesProxyFactory theFactory,
DBase parent,
lotus.domino.RichTextItem theRichTextItem,
DNotesMonitor monitor)
Constructor for DRichTextItemImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewLine()
Appends one or more new lines (carriage returns) to the end of a
rich-text item.
|
void |
addNewLine(int n)
Appends one or more new lines (carriage returns) to the end of a
rich-text item.
|
void |
addNewLine(int n,
boolean newparagraph)
Appends one or more new lines (carriage returns) to the end of a
rich-text item.
|
void |
addTab()
Appends one or more tabs to the end of a rich-text item.
|
void |
addTab(int count)
Appends one or more tabs to the end of a rich-text item.
|
void |
appendText(String text)
Appends text to the end of a rich text item.
|
DEmbeddedObject |
embedAttachment(String path)
Embeds an object or an attachment.
|
DEmbeddedObject |
getEmbeddedAttachment(String fileName)
Given the name of a file attachment in a rich-text item,
returns the corresponding EmbeddedObject.
|
Iterator |
getEmbeddedObjects()
All the embedded objects, object links, and file attachments contained
in a rich text item.
|
String |
getUnformattedText()
Returns the text of the item without any formatting.
|
getItem, getName, remove, toStringcheckSession, clearNotesObject, convertCalendarsToNotesDateTime, convertListToVector, convertNotesDateTimesToCalendar, convertVectorToList, createCalendar, createDateRange, createDateTime, decrementDateTimeCounter, finalize, getCountDateTime, getDSession, getFactory, getNotesObject, getParent, incrementDateTimeCounter, newException, newException, newException, newRuntimeException, newRuntimeException, newRuntimeException, recycleDateTimeList, refereceHashCode, toStringGeneric, toStringInterngetMonitor, setMonitorprotected RichTextItemProxy(NotesProxyFactory theFactory, DBase parent, lotus.domino.RichTextItem theRichTextItem, DNotesMonitor monitor)
theFactory - the controlling factoryparent - the parent objecttheRichTextItem - the Notes TichTextItemmonitor - the monitorpublic DEmbeddedObject embedAttachment(String path)
embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", source, "")embedAttachment in interface DRichTextItempath - source name of the objectDRichTextItem.embedAttachment(java.lang.String)public DEmbeddedObject getEmbeddedAttachment(String fileName)
Note getEmbeddedObject is not supported under OS/2, under UNIX, and on the Macintosh.
getEmbeddedAttachment in interface DRichTextItemfileName - the embedded attachments filenameDRichTextItem.getEmbeddedAttachment(java.lang.String)public Iterator getEmbeddedObjects()
Note Embedded objects and object links are not supported for OS/2, UNIX, and the Macintosh. File attachments are.
getEmbeddedObjects in interface DRichTextItemDRichTextItem.getEmbeddedObjects()public void appendText(String text)
appendText in interface DRichTextItemtext - The text to append.DRichTextItem.appendText(java.lang.String)public void addNewLine()
addNewLine in interface DRichTextItemDRichTextItem.addNewLine()public void addNewLine(int n)
addNewLine in interface DRichTextItemn - The number of new lines to append.DRichTextItem.addNewLine(int)public void addNewLine(int n,
boolean newparagraph)
addNewLine in interface DRichTextItemn - The number of new lines to append.newparagraph - If true (default), forces the new line to be a
paragraph separator. If false, the new line is added,
but does not force a new paragraph.DRichTextItem.addNewLine(int, boolean)public void addTab()
addTab in interface DRichTextItemDRichTextItem.addTab()public void addTab(int count)
addTab in interface DRichTextItemcount - The number of tabs to append.DRichTextItem.addTab(int)public String getUnformattedText()
getUnformattedText in interface DRichTextItemDRichTextItem.getUnformattedText()Copyright © 2005–2020. All rights reserved.