Hi,
I have imported some Word documents which have been set to use a stylesheet but NOT preserve the Word styles. These Word documents contains numbered and bulleted lists which I have not mapped to a Flare style.
When I look at the topic XML code in Flare I see the following:
<p>Here you can:</p>
<ul style="list-style-type: disc;margin-left: 36pt;">
<li style="list-style-type: disc;">Lorem Ipsum</li>
<li style="list-style-type: disc;">Lorem Ipsum</li>
<li style="list-style-type: disc;">Lorem Ipsum</li>
<li style="list-style-type: disc;">Lorem Ipsum</li>
<li style="list-style-type: disc;">Lorem Ipsum</li>
</ul>
The highlighted code has automatically been added by Flare and is overriding the margin-left set in my stylesheet. It adds this code to every occurance of an ordered or unordered list.
How can I prevent the highlighted code from being inserted into my topic files.
Many thanks
Nicola.
Flare automatically adds a list style to imported Word files
Re: Flare automatically adds a list style to imported Word f
I have a similar issue and I found a way to do it in a few steps. Basically, you can do a series of find and replaces.
---------------Find-----------------------/------------ Replace------
<ul style="list-style-type: disc;margin-left: 36pt;">/ <ul>
<li style="list-style-type: disc;">/ <li>
Be sure when you do this that you set it to look in the Source Code and that it looks in the Whole Project.
The blog post http://www.flareforhelp.com/2014/06/cle ... from-word/ does a great job explaining in more depth.
---------------Find-----------------------/------------ Replace------
<ul style="list-style-type: disc;margin-left: 36pt;">/ <ul>
<li style="list-style-type: disc;">/ <li>
Be sure when you do this that you set it to look in the Source Code and that it looks in the Whole Project.
The blog post http://www.flareforhelp.com/2014/06/cle ... from-word/ does a great job explaining in more depth.
Re: Flare automatically adds a list style to imported Word f
Thanks for the reply. Find and replace is the solution I came up with too, so I think we have both handled it in the best possible way.