|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.monitor.AbstractMonitorEnabled
de.bea.domingo.proxy.BaseProxy
de.bea.domingo.proxy.BaseItemProxy
de.bea.domingo.proxy.RichTextItemProxy
public final class RichTextItemProxy
This class represents the Domino-Class RichTextItem.
| Nested Class Summary | |
|---|---|
protected static class |
RichTextItemProxy.EmbeddedObjectsIterator
A EmbeddedObjectsIterator allows iteration over a set of
lotus.domino.EmbeddedObject. |
| Nested classes/interfaces inherited from class de.bea.domingo.proxy.BaseProxy |
|---|
BaseProxy.DocumentCollectionIterator |
| Field Summary |
|---|
| Fields inherited from class de.bea.domingo.proxy.BaseProxy |
|---|
DATETIME_STRING_LENGTH, EMPTY_STRING, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES, RESOURCES |
| Constructor Summary | |
|---|---|
protected |
RichTextItemProxy(NotesProxyFactory theFactory,
DBase parent,
lotus.domino.RichTextItem theRichTextItem,
DNotesMonitor monitor)
Constructor for DRichTextItemImpl. |
| Method Summary | |
|---|---|
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(java.lang.String text)
Appends text to the end of a rich text item. |
DEmbeddedObject |
embedAttachment(java.lang.String path)
Embeds an object or an attachment. |
DEmbeddedObject |
getEmbeddedAttachment(java.lang.String fileName)
Given the name of a file attachment in a rich-text item, returns the corresponding EmbeddedObject. |
java.util.Iterator |
getEmbeddedObjects()
All the embedded objects, object links, and file attachments contained in a rich text item. |
java.lang.String |
getUnformattedText()
Returns the text of the item without any formatting. |
| Methods inherited from class de.bea.domingo.proxy.BaseItemProxy |
|---|
getInstance, getItem, getName, remove, toString |
| Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled |
|---|
getMonitor, setMonitor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.bea.domingo.DBaseItem |
|---|
getName, remove |
| Methods inherited from interface de.bea.domingo.DBase |
|---|
equals, hashCode, toString |
| Constructor Detail |
|---|
protected RichTextItemProxy(NotesProxyFactory theFactory,
DBase parent,
lotus.domino.RichTextItem theRichTextItem,
DNotesMonitor monitor)
theFactory - the controlling factoryparent - the parent objecttheRichTextItem - the Notes TichTextItemmonitor - the monitor| Method Detail |
|---|
public DEmbeddedObject embedAttachment(java.lang.String path)
embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", source, "")
embedAttachment in interface DRichTextItempath - source name of the object
DRichTextItem.embedAttachment(java.lang.String)public DEmbeddedObject getEmbeddedAttachment(java.lang.String fileName)
Note getEmbeddedObject is not supported under OS/2, under UNIX, and on the Macintosh.
getEmbeddedAttachment in interface DRichTextItemfileName - the embedded attachments filename
DRichTextItem.getEmbeddedAttachment(java.lang.String)public java.util.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(java.lang.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 java.lang.String getUnformattedText()
getUnformattedText in interface DRichTextItemDRichTextItem.getUnformattedText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||