![]() |
|
|
|
#1
|
||||
|
||||
|
I had a fiddle with this and had some clues after exporting a Word doc in HTML format and looking at that output. As a result I found that you can import styles like this
Code:
<p Class=MsoBodyText>Body Text Vestibulum ut diam magna. Maecenas ut interdum ante, vel volutpat nibh</p> <p Class=MsoList>List Vestibulum ut diam magna. Maecenas ut interdum ante, vel volutpat nibh</p> <p Class=MsoListNumber>List Number Vestibulum ut diam magna. Maecenas ut interdum ante, vel volutpat nibh</p> <p Class=MsoHeading1>Heading 1 Vestibulum ut diam magna. Maecenas ut interdum ante, vel volutpat nibh</p> <p Class=MsoTitle>Heading 2 Vestibulum ut diam magna. Maecenas ut interdum ante, vel volutpat nibh</p> For instance most of these above worked but the p Class=MsoHeading1 created a new style called msoheading1. This is not the end of the world since I should have used H1 instead of p anyway.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Displaying in the Styles Pane Only the Styles You Actually Use -- Which Was a Snap in Word 2003
|
RobertB | Word | 4 | 08-09-2022 09:29 AM |
Turn off an Initialized Class
|
ilcaa72 | Word VBA | 3 | 05-01-2017 07:13 PM |
Self-created styles in Word to appear when converting to HTML
|
anapat | Word | 2 | 05-11-2013 09:40 PM |
| Evernote--Class Notes | markg2 | Outlook | 0 | 05-10-2012 05:50 PM |
| Can you actually write HTML and CSS in a word document and send it as an html page | jackaroo | Word | 0 | 07-12-2010 07:49 AM |