HTMLDocument with own inner formatting



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


.



Relevant Pages

  • RE: send record via HTML EMail
    ... Bill then you use HTML tags to do your formatting. ... if you want to bold your text you need to place it in between ... Check out the following site for more info on HTML tags. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Using Words clipboard from .NET
    ... If you must hold on to the formatting, it wouldn't be difficult at all to ... HTML tags but then applies this formatting to the text via the Selection ... If you really want to use the clipboard, ...
    (microsoft.public.dotnet.framework.interop)
  • Re: XSLT Extract Text from Nodes
    ... entities (at least the < character is) i.e. ... but produces HTML tags which should be hidden. ... and have special formatting for the headings. ... There is a built-in template for text nodes ...
    (comp.text.xml)
  • Re: setting the formatted text for a RichTextBox control
    ... Thanks for the quick response. ... used HTML tags for formatting): ... Thanks again, Ohad ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: XSLT Extract Text from Nodes
    ... the node there may be HTML that should be displayed as such. ... but produces HTML tags which should be hidden. ... and have special formatting for the headings. ... There is a built-in template for text nodes ...
    (comp.text.xml)