A multiline region for displaying and editing text - similar to control textEdit. The difference to textEdit is, that the text in the control is not restricted to a single font, size and style. The htmlEdit control is a WYSIWYG editor that produces HTML documents. Formatting options include:
· Bold, italic and underlined text.
· Bulleted and numbered lists.
· Text fonts, text size and text color can be selected.
· Links and images can be added.
This control is available for web browser Internet Explorer Version 5.x and higher.
· id
Identification name of the htmlEdit control.
· doAlign
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Alignment" functions - left, center and right Alignment.
· doBackground
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Background" function for text.
· doBold
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Bold-Characters" functions.
· doCutCopyPaste
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Cut, Copy and Paste" functions.
· doForeground
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Foreground" function for text (text color).
· doImage
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Insert Image" function.
· doInOutdent
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Increase Indent/Decrease Indent" function.
· doItalic
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Italic-Characters" function.
· doLink
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Insert Link to the Web" function.
· doLinkKM
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Insert Link to the Knowledge Management (KM) " function.
· doList
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Bulleted/Numbered List" functions.
· doPreview
A boolean value that activates (=TRUE) or deactivates (=FALSE) the document "Preview" function.
· doPrint
A boolean value that activates (=TRUE) or deactivates (=FALSE) the document "Print" function.
· doStrikethrough
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Strikethrough" function.
· doStyle
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Style" function.
· doSuperSubScript
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Super/Sub script" function.
· doTextsize
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Textsize" function.
· doUnderline
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Underline" function.
· height
Defines the height of the htmlEdit control.
· imageHeight
Defines the height of the image to be inserted.
· imageSrc
Defines the name of the image to be inserted.
· imageTooltip
Defines the tooltip for the image.
· imageWidth
Defines the width of the image to be inserted.
· linkTarget
Defines the target of the link to be inserted. The following values refer to w3c HTML-standard.
¡ _blank
The web client should load the designated document in a new, unnamed window.
¡ _self
The web client should load the document in the same frame as the element that refers to the target.
¡ _parent
The web client should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to _self if the current frame has no parent.
¡ _top
The web client should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent.
· linkText
Defines the text of the link to be inserted.
· linkURL
Defines the URL (href=) of the link to be inserted.
· oldId
Defines the oldId attribute for the htmlEdit control.
· oldText
Defines the previous content of the control. The previous content is the content before you start an "insert image" or "insert link" function.
· onInsertImage
Defines the event handling method that will be processed when the user activates the "Insert Image" function.
· onInsertLink
Defines the event handling method that will be processed when the user activates the "Insert Link" function.
· text
Defines the string of text displayed. This text can be edited and/or new text can be added.
· width
Defines the width of the htmlEdit control.
Attributes |
M |
Values |
Usage |
id |
* |
String (cs)
|
Taglib Classlib |
doAlign |
|
FALSE
(d) |
Taglib Classlib |
doBackground |
|
FALSE
(d) |
Taglib Classlib |
doBold |
|
FALSE
(d) |
Taglib Classlib |
doCutCopyPaste |
|
FALSE
(d) |
Taglib Classlib |
doForeground |
|
FALSE
(d) |
Taglib Classlib |
doImage |
|
FALSE
(d) |
Taglib Classlib |
doInOutDent |
|
FALSE
(d) |
Taglib Classlib |
doItalic |
|
FALSE
(d) |
Taglib Classlib |
doLink |
|
FALSE
(d) |
Taglib Classlib |
doLinkKM |
|
FALSE
(d) |
Taglib Classlib |
doList |
|
FALSE
(d) |
Taglib Classlib |
doPreview |
|
FALSE
(d) |
Taglib Classlib |
doPrint |
|
FALSE
(d) |
Taglib Classlib |
doStandardEdit |
|
FALSE
(d) |
Taglib Classlib |
doStrikethrough |
|
FALSE
(d) |
Taglib Classlib |
doStyle |
|
FALSE
(d) |
Taglib Classlib |
doSuperSubScript |
|
FALSE
(d) |
Taglib Classlib |
doTextsize |
|
FALSE
(d) |
Taglib Classlib |
doUnderline |
|
FALSE
(d) |
Taglib Classlib |
height |
|
Unit |
Taglib Classlib |
imageHeight |
|
Unit |
Taglib Classlib |
imageSrc |
|
String |
Taglib Classlib |
imageTooltip |
|
String |
Taglib Classlib |
imageWidth |
|
Unit |
Taglib Classlib |
linkTarget |
|
_blank |
Taglib Classlib |
linkText |
|
String |
Taglib Classlib |
linkURL |
|
String |
Taglib Classlib |
oldId |
|
String |
Taglib Classlib |
oldText |
|
String |
Taglib Classlib |
text |
|
String |
Taglib Classlib |
width |
|
Unit |
Taglib Classlib |
Events |
M |
Values |
Usage |
onInsertImage |
|
String (cs) |
Taglib Classlib |
onInsertLink |
|
String (cs) |
Taglib Classlib |
using the taglib
<hbj:htmlEdit |
using the classlib
Form form = (Form) this.getForm(); |