Skip to main content
Participant
May 17, 2018
Question

Pasting From Word into RoboHelp - Bad Formatting

  • May 17, 2018
  • 1 reply
  • 2064 views

Hi,

Currently have a process whereby our webhelp authors create content in MS Word 2016. This is then pasted into RoboHelp 2017. This results in formatting problems within RoboHelp which take a lot of time to fix. Is there a simple way to fix this by applying styles from our style sheet including existing 'table styles'.

There is a post on Peter Grainge's website in the area of 'Content Creation' which highlights this challenge (HERE). I'd like to understand more on how this can be achieved. Has anyone met similar challenges or aware of a historical post on this?

Thanks. 

    This topic has been closed for replies.

    1 reply

    Peter Grainge
    Community Expert
    Community Expert
    May 17, 2018

    The link you have posted is to the RoboHelp for Word section. That was a separate program that used Word as the editor. It was discontinued several versions of RoboHelp back.

    You can either paste into RoboHelp or import the documents. The latter is described on my site. See Importing and Linking Word Documents

    If you want to paste in, the quickest way to clean the code is select all (CTRL A) in Design View and then click the Clear Formatting icon.

    You will then need to work through the text to apply the styles from your CSS.


    See www.grainge.org for free RoboHelp and Authoring information.

    @petergrainge

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

    Thanks Peter,

    This is where the problem & the inefficiencies lie.

    In my view MS Word is not a suitable for this process due to the formatting rework required 'post' import/paste but currently it seems to be the only option available to me outside of purchasing robohelp licenses for my 100+ authors. This is not an economically viable option & also would not be a desirable process solution for other specific reasons.

    I would be surprised if this was not a common problem out there. My EMEA colleagues actually had to move off RoboHelp to get around this. Rightly or wrongly, it factored in their strategic decision.

    Jared Hess
    Legend
    August 13, 2018

    Apologies for the delay. One of those months were everything happens at once.

    I created a Github Gist. I think you can access it without signing up, but I've never used the service before, so let me know how it goes.

    As mentioned, it's a complete Frankenhack and I guarantee nothing except that it works for my purposes. However the code should be fairly easy to decipher and I've commented as best I could (including a bit from the original Adobe script I adapted, that I wasn't sure what it did).

    Adobe ExtendScript to remove attributes from elements in Robohelp topics · GitHub


    Thanks Amebr.

    You're right, you don't have to sign up.

    To anyone else who uses this, there's a Download Zip button in the above link that you can use to get the removeattributes.jsx. Just download that zip, extract the .jsx file inside of it to a folder of your choice. Then import the .jsx into your Script Explorer pod.

    The script will ask you to choose an .htm file to Import. That doesn't mean it's importing the .htm into your current project. Rather it just processes the file and then saves it file back into the original folder you imported from, minus the removed attributes.