Hi, Paul --

Paul wrote:

For me this is more of a question on what application are you using to
read your 'text' documents and does it support wrapping.

Exactly -- a browser doesn't support wrapping of plain text.  :-)

If you create a single paragraph in OOo, then save as plain text there
is probably no carriage returns (unless you put one at the end of the
paragraph). When you open this in a text reader, the reader then
determines whether to wrap the single line or not (which will be based
largely on its own functionality).

Correct again -- the paragraphs break fine, because there is a return at the end of each one (I'm thinking I didn't make that clear in my original post, now that you mention it. <g>)

If I open the files in OOo, or any text reader, yes, the lines wrap because of the functionality of the text reader.

For instance, in notepad, there is the option to either have word wrap
turned on, or not. This then drives whether the text appears within
the window that I've defined, or as a single line.

Yup.  :-)

Let me know if I've missed something by replying to the list.

Nope -- you haven't missed anything.  You've nailed it perfectly.

The problem is these plain text files are created specifically for web use, and for relatively unsavy computer users at that. So if I upload them without "tweaking" them, the lines scroll off the "page", and they think there's something wrong. They don't realize they can still copy/download the file and open it in *their* text reader, and all will be well.

I'm thinking I will just have to create these as plain text files initially, manually inserting the carriage returns at the end of each line, and then using the plain text file to create the OOo format document and sometimes PDF's as well.

I can use a regular expression to remove the carriage returns and thus the text wraps fine after that's done -- I guess my question *really* was if there is a way to do that procedure in reverse -- a regex that will insert the carriage returns in a document that is already wrapping. Most of the stuff I'm working on right now is relatively short, but I have some very lengthy docs that have already been created that will literally take hours to insert those carriage returns by hand.

It's just a major PITA since I haven't used a typewriter since the early 80's -- remembering to put those little suckers in is hard on the old grey cells. :-)

Thanks!

Tam







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

Reply via email to