Skip navigation
Currently Being Moderated

Import from Word creates bad html

Dec 17, 2013 1:53 PM

using Word 2010 and Robohelp 10

 

I cannot find a "convert text to table" option in Robohelp so I assume you must create the table from scratch or import the table, correct?

 

Importing word docs using tables and lists creates html with a lot of formatting garbage (in my opinion)

 

  1. i created Word doc with only a simple table that only used the most basic "table grid" word table style format.
  2. Imported the word doc into my robohelp project
  3. set the table import style to "simple border"

 

The html is cluttered with really poor tagging garbage.

 

Is there a way to create tables in Word that will create unformatted tables in Robo Help?

 

sample:

 

===

<body>

<table class="SimpleBorder" cellspacing="0">

<tr>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">This

   is the first column heading</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">This

   is second column heading</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">This

   is third column heading</p></td>

</tr>

<tr>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   one, second row</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   two, second row</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   three, second row</p></td>

</tr>

<tr>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   one, third row</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   two, third row</p></td>

  <td style="vertical-align: top;" width="213"><p style="margin-bottom: .0001pt;

               line-height: normal;">Column

   three, third row</p></td>

</tr>

</table>

<p>&#160;</p>

<p class="ListParagraphCxSpFirst" style="text-indent: -.25in;">1.<span

  style="font: 7.0pt 'Times New Roman';">&#160;&#160;&#160;&#160;&#160;&#160;</span>&#160;Ordered

list step 1</p>

<p class="ListParagraphCxSpMiddle" style="text-indent: -.25in;">2.<span

  style="font: 7.0pt 'Times New Roman';">&#160;&#160;&#160;&#160;&#160;&#160;</span>&#160;Ordered

list step 2</p>

<p class="ListParagraphCxSpLast" style="text-indent: -.25in;">3.<span style="font: 7.0pt 'Times New Roman';">&#160;&#160;&#160;&#160;&#160;&#160;</span>&#160;Ordered

list step 3</p>

<p style="margin-left: .25in;">&#160;</p>

</body>

==

 
Replies
  • Currently Being Moderated
    Dec 17, 2013 2:42 PM   in reply to jeffc2010

    Easier than you expect.

     

    Paste in, complete with garbage.

     

    Right click and select a CSS table.

     

    Important. Select Clean inline styling.

     

    Usually does the job.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 18, 2013 1:49 AM   in reply to jeffc2010

    You used the right option, I gave you the wrong procedure, apologies.

     

    Paste your table in and then select it in Rh. On the Format menu there is a Clear Formatting option. Click that and you will have a clean table to which you can then apply a CSS table if required.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 19, 2013 1:10 AM   in reply to jeffc2010

    That's a known issue and it should be OK in most browsers. To fix it in Rh's Design Editor apply a table width and column widths.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 23, 2013 8:28 AM   in reply to Peter Grainge

    Because we experience so many issues with tables being created by others, we are simply capturing the tables as graphics and putting them in as pictures.  It's the only way to get the tables the way the authors want and keeps us from beginning to look like Peter prematurely that is.  (hehe!)

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 23, 2013 11:46 AM   in reply to imagineimage1

    Well I may have a few wrinkles but my tables look better than yours!

     

    Have you tried the Clear Formatting option as it leaves only really basic table code?Then apply a CSS style and the table is perfect.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 23, 2013 1:05 PM   in reply to jeffc2010

    @jeffc2010 My last post was in response to ImagineImage1.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 23, 2013 2:31 PM   in reply to jeffc2010

    Sometimes I have had to click that clear button a few times before it actually cleans totally or so it seems.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points