HTMLDocument with own inner formatting
- From: <jan.szeja@xxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 20:38:10 +0200
Hello,
I need to write a HTMLDocument without code formatting. For example:
If I have an editable JEditorPane and write some text: "one two
three\naaaaaaaaaaaa
bbbbbbbb\n\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa",
innerText in htmlDocument will have some html tags and will be formatted
like this:
"<html>
<head>
</head>
<body>
one two three
aaaaaaaaaaaa bbbbbbbb
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa
</body>
<html>"
I need to get text: "one two three\naaaaaaaaaaaa
bbbbbbbb\n\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaa aaaa",
without formatting, but with tags ("a href" for example).
Anybody has any ideas how to do this? Thx for any ideas.
AT
.
- Prev by Date: setting focus on JComboBox (1.3)
- Next by Date: Re: font size in pixels?
- Previous by thread: setting focus on JComboBox (1.3)
- Next by thread: JCheckbox in a JTable
- Index(es):
Relevant Pages
|