|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DRichTextItem
Represents an item of type rich text.
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 interface de.bea.domingo.DBaseItem |
---|
getName, remove |
Methods inherited from interface de.bea.domingo.DBase |
---|
equals, hashCode, toString |
Method Detail |
---|
DEmbeddedObject embedAttachment(java.lang.String path)
embedObject(EmbeddedObject.EMBED_ATTACHMENT, "", source, "")
path
- source name of the object
DEmbeddedObject getEmbeddedAttachment(java.lang.String fileName)
Note getEmbeddedObject is not supported under OS/2, under UNIX, and on the Macintosh.
fileName
- the embedded attachments filename
java.util.Iterator getEmbeddedObjects()
Note Embedded objects and object links are not supported for OS/2, UNIX, and the Macintosh. File attachments are.
void appendText(java.lang.String text)
text
- The text to append.void addNewLine()
void addNewLine(int n)
n
- The number of new lines to append.void addNewLine(int n, boolean newparagraph)
n
- 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.void addTab()
void addTab(int count)
count
- The number of tabs to append.java.lang.String getUnformattedText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |