Skip to main content
Known Participant
December 21, 2008
Question

Copying/importing tables into Robohelp

  • December 21, 2008
  • 6 replies
  • 1062 views
Hi all,

I can't find any method at all to easily import/copy tables into RH 7 HTML.

I have a client that lost the RH sources for a CHM.

So I used a tool called KeyTools to "rip" the CHM into its component files, including all the CHMs.
Then I imported the retrieved project into RH (and also recovered the TOC, using a different trick, whose details I won't go into).
However, just by chance, I was flicking through the RH project topics and I noticed a number of empty tables.
On comparing with the originals, I saw that the tables had been trashed and replaced with mere ghosts of what once were. On further investigation, I found that the culprit was not KeyTools, but the RH *import* function. I have also since double checked that. So now I have a whole lot of tables and I have no easy method of getting them back into the RH project; not import, not copy HTML, and certainly not a straight copy using design mode. All I can do is to rebuild the tables.

Any ideas here?

Tia

- avi

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

avi10000Author
Known Participant
December 22, 2008
Now I have plenty of hours of table rebuilding to do...

Peace ...

- avi
Peter Grainge
Community Expert
Community Expert
December 21, 2008
I don't follow the reference to "importing". See the Reverse Engineering article on my site. You should be able to get a project that opens in RH using the HHP file, complete with TOC, good tables and so on.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
avi10000Author
Known Participant
December 22, 2008
have narrowed down the definition of the problem.

The original author created a large number of irregular tables, i.e., with
different rows having different numbers of cells. In the simplest case, the
author decided to "merge" cells of the top row and use that row as the
"title paragraph", but there are many more complex table designs. Now all
these tables in the HTM files (extracted from the CHM by using KeyTools) are
perfectly rendered by MS Visual Express Web Developer, but when I try
importing the HTM file into RoboHelp, or by copy+pasting the table's HTML
code into the RH HTML view, the table's structure and data gets trashed. In
the simplest case, as above, where the author decided to "merge" cells of
the top row and use that row as the "title paragraph", then the solution is
simple, I use an HTML editor to remove that row from the table, leaving the
rest of the table as a perfectly regular table, which RH then renders ok and
I get back the structure and all the data. However, there are some cases
where the table design is complex includes lots of merged cells, and that
remains a problem.


Conclusion:

Before writing my conclusion as an assumption (assuming the author used
RH...) I decided to actually try out the round trip myself. Using RH I made
a new topic, "New Topic", and in it I created a simple irregular table
(merged the top row of cells, as above). Then I generated the CHM, then
decompiled it using KeyTools and RH Help Studio (both tests), and checked
the New_Topic.htm file with a good HTML editor and I see it is as I created
it. Then I imported it into RoboHelp, and lo and behold, it trashed the
table.


Moral:

If you are worried about ever losing your sources, do not create irregular
tables with RH.

Isn't it written somewhere in some holy book (different type of "sources")
something like "don't do unto others that which you yourself cannot cope
with"?.

- avi

Peter Grainge
Community Expert
Community Expert
December 22, 2008
Did you try what I suggested?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.