Hi,

First, I spent a few minutes on the OpenOffice website looking for the bug submission part. It didn't jump out at me, but I did find this list. :-)

I have tried to open the attached file in OpenOffice, hoping to import its content as "preformatted text". To my surprise, it interpreted the HTML content and embedded the resulting web page (complete with input fields and button) inside the document!

Had the file been named "source.html", I could understand this as being acceptable behaviour. However the file:

    1. is named "source.txt"; and
    2. is not an HTML document.

For this case, no problem, I can copy and paste and reformat the text in a few seconds. However, when I stumbled upon the problem, I had a file over 150 pages long that I wanted to import. The file contained a mix of PHP code, HTML code, and other assorted plain text comments.

I was stymied for several minutes before my mind clicked to a way to avoid triggering OpenOffice's over-zealous file-content interpretation engine.

By wrapping the entire file inside <![CDATA[ and ]]>, I was able to achieve the desired effect: import the source code as text and do not interpret it for me, thank-you-very-much. :-) However, not all end users may be able to think of this solution. Better would be a checkbox that says, "Determine type by file extension" or some such drivel.

I really enjoy writing in OpenOffice, and am impressed by its File Recovery mechanism -- which I managed to provoke about once every ten minutes while editing a 200+ page document. Although a wee bit frustrating, it never lost a single bit of data. Kudos!

Thank you for OpenOffice and keep up the good work.

Kind regards,
Dave Jarvis

Consider the following HTML code:

<html>
<body>
<form>
<input type="text" name="field" value="42" /><br />
<input type="submit" name="submit" value="submit" />
</form>
</body>
</html>

A great example of a simple form.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to