View Single Post
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Uriel
 
Posts: n/a
Default Word applies direct format on File open

Graham, I'm afraid you're still missing my points.

Select 'plain text'. This will open the document in the manner you have
described.


I know that. I did that. But the problem that follows is described in
"Puzzle #1" in my earlier post (below).

Word will let you format that document with any font you like, but if you
save it as plain text all that formatting will be lost, because plain text
doesn't support that.


I know that. No problem. I have no intention of applying formatting to an
..HTM file that I open, edit, and save as plain text.

If you change the plain text style to use Times Roman font then select all
the document and press CTRL+Space to apply it to the document.


But why is this necessary? Why does Word apply direct font formatting
immediately after opening an .HTM file with conversion option "plain text"?

the above proviso remains, the plain text format does not support
proportional fonts.


You said this before. And I answered: Word permits defining the "plain text"
style to use TNR. So what do you mean by "does not support"?

select the document in the file open window and from the down arrow
alongside the Open button select 'open with Word'.


Why would I do that?? It's exactly the same as simply clicking the Open
button directly.

"Graham Mayor" wrote in message
...
Plain text is a document format containing only characters in the ASCII
character set. If you open an HTML document with the plain text filter
(select the document in the file open window and from the down arrow
alongside the Open button select 'open with Word'. You will be presented
with a bunch of file open options. Select 'plain text'. This will open the
document in the manner you have described.

Word will let you format that document with any font you like, but if you
save it as plain text all that formatting will be lost, because plain text
doesn't support that. If you change the plain text style to use Times Roman
font then select all the document and press CTRL+Space to apply it to the
document. However the above proviso remains, the plain text format does not
support proportional fonts.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Uriel wrote:
Sorry, but I don't understand your points. Maybe I should be clearer
that I *want* to open the .HTM as plaintext -- i.e. I want to see
ihtml formatting codes/i. (I want to see "i" rather than have
Word show the text formatted as italics.)

You say "Plain text cannot use proportional fonts like TNR." But Word
permits me to modify the "Plain Text" style to use TNR.

Also don't know what you mean by text filter. Is my installation
missing a component? As mentioned, "Text file" is offered as a
conversion option when I select a .TXT file in the File/Open dialogue.


"Graham Mayor" wrote in message
...
1. Plain text cannot use proportional fonts like TNR, so you are not
going to succeed with this.
2. You should be able to use the old filter (which was removed for
security considerations). The text filter is linked from the
downloads page of my web site. Whether it will do what you want is
another matter entirely. You may also need the old htm filter. I
don't have a link for that one, but if you still have access to the
Word 2000 equipped machine .......


Uriel wrote:
Puzzle #1: With Word 2003, when I open a file using the "Plain text"
file conversion option, Word assigns the "Plain Text" style to each
paragraph, which is not surprising; but it also applies direct font
formatting (confirmed via Reveal Formatting) so that the font is
Courier New even though I've redefined the "Plain Text" style to use
Times Roman.

Puzzle #2: In Word 2000, I used to routinely open .HTM files with the
"Text file" conversion option. This option is no longer presented as
an option in Word 2003 when I select an .HTM file to open. (It *is*
presented as an option when I select a .TXT file.)