![]() |
#1
|
|||
|
|||
![]()
Hi All,
I'm xfering HTML to Word. The xterfer works fine. Except I was provided advice to to have html style map to word: https://www.msofficeforums.com/word-...rd-styles.html That advice had me include the class inside the HTML tag: 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> Using these style classes inside the P tag works fine. However, on my html form, I have Bullet points. <Ul> <Li> List 1</Li> <Li> List 2</Li> </Ul> ... etc Where <p Class=MsoList> works to identify the correct word style <Li Class=MsoList> does not. This means that a bulleted or numbered list in the HTMl document, with transpose to word as a normal class - no matter how I define the List class. I've tried <P><Li>.... etc, but that doesn't work. I've tried <Li><P>... etc. but that doesn't work either. Is there a solution to this issue? I am simply wanteding my list styles to appears as list styles in word, and use the correct formatting. Cheers |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Journeyman | Word VBA | 4 | 08-17-2023 09:03 PM |
![]() |
RobertB | Word | 4 | 08-09-2022 09:29 AM |
Locking styles in Word using VBA to restrict new styles | cadillac1206 | Word VBA | 1 | 04-21-2020 01:08 AM |
![]() |
anapat | Word | 2 | 05-11-2013 09:40 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 |