.DOC to Flat ASCII File Conversion

.DOC to Flat ASCII File Conversion

Post by QWw » Fri, 14 Nov 2003 02:36:13


I have a simple .DOCfile that I want to convert to a flat ACII text file. During the conversion, I want to be able to keep the general formatting:

A page width of 80 characters or less, no page breaks, and simple indentation (4 character indent).
No special fonts or characters either. In fact, the .DOC file character set I am using is Courier New, 12 pt.

Al
 
 
 

.DOC to Flat ASCII File Conversion

Post by Opinicu » Fri, 14 Nov 2003 04:04:53

Al < XXXX@XXXXX.COM > said:


The simplest way would be to copy the file (Control-C) and then paste it
into another file without formatting but that wouldn't preserve your line
width or indentation. I was going to say "I don't think you can do this" but
you might try experimenting with the "Print to file" option in the Print
menu. I think you can accomplish what you're trying to do there. In fact, I
think I've done it once or twice before.

--
Bob
Kanyak's Doghouse
http://www.yqcomputer.com/

 
 
 

.DOC to Flat ASCII File Conversion

Post by Gary Smit » Fri, 14 Nov 2003 18:23:08


Have you tried File > Save As, and select "Text Only" or "Text Only with
Line Breaks " in the "Save as type" box?

--
Gary L. Smith XXXX@XXXXX.COM
Columbus, Ohio
 
 
 

.DOC to Flat ASCII File Conversion

Post by QWw » Sat, 15 Nov 2003 00:31:05

Print to File -- An idea I didn't think of so I tried it. All I get is a file with tons of control information

Al
 
 
 

.DOC to Flat ASCII File Conversion

Post by QWw » Sat, 15 Nov 2003 00:31:08

Yes. Using any of the Save AS file types drops the formatting. It does produce a "text" file that NotePAd, CodeWright, etc. can deal with, but I would have to manually reformat the file

Sigh
Al
 
 
 

.DOC to Flat ASCII File Conversion

Post by Beth Melto » Sat, 15 Nov 2003 03:42:48

Hi Al,

A text file is just a text file. It does not store any type of
formatting - it stores text only.

If I follow what you want to accomplish, you want a text file that
maintains indents? If that is the case then you might try using the
"Text with Layout (*.ans)" file type.

If that isn't what you are looking for then perhaps you can expand on
how you want to utilize the file and we may be able to suggest some
alternatives.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://www.yqcomputer.com/
TechTrax eZine: http://www.yqcomputer.com/
MVP FAQ site: http://www.yqcomputer.com/




does produce a "text" file that NotePAd, CodeWright, etc. can deal
with, but I would have to manually reformat the file.
 
 
 

.DOC to Flat ASCII File Conversion

Post by QWw » Wed, 19 Nov 2003 02:01:05

Beth

Thank you. Exactly what I wanted

By-the-way, what I wanted was an ASCII text file that would contain the text indented, where appropriate, by four columns, eight, etc. while maintaining line spacing. This file will be used in a line-based help mode displayed to simple viewers

So the indentation of the doc file needed to be conserved. It appears as this is the case with ans-type

Thanks
Al
 
 
 

.DOC to Flat ASCII File Conversion

Post by Beth Melto » Wed, 19 Nov 2003 03:32:19

Ah! That makes sense now. Glad you found a format that will work for
your needs. :-)

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://www.yqcomputer.com/
TechTrax eZine: http://www.yqcomputer.com/
MVP FAQ site: http://www.yqcomputer.com/




the text indented, where appropriate, by four columns, eight, etc.
while maintaining line spacing. This file will be used in a line-based
help mode displayed to simple viewers.
appears as this is the case with ans-type.