Skip to main content
Known Participant
January 12, 2010
Question

Can a single stylesheet be applied to linked Word docs?

  • January 12, 2010
  • 4 replies
  • 683 views

Hi all,

Everytime I link (by reference) a Word document to my RH 8 project, a new css file is applied to each topic. Is there anyway this can be avoided by designating one style sheet for all linked docs? I use a specified style set in Word and I've designated the default RHStyleMapping.css in the Import tab under Project settings, but I'm guessing this only applies to imported documents. I've also tried creating a dummy topic with the RHStyleMapping.css and selected the "Apply to all topics" setting, but again I'm assuming that this applies to only imported or newly created topics. I say this because no matter which settings I choose, the linked/generated topics still create new css files. And when I change a topic's style to the RHStyleMapping.css through the Topic Properties window, I void the Link to Word advantage that updating the source document and "regenerating" in RH allows.

Under the Conversion Settings, I've selected the [Source] style as the RoboHelp style to map with the Word styles. This has worked well and my linked documents look good (same as the source). I'm just wondering if I should be concerned with the number of css files created--and whether I'm missing something. Stylesheets are not my strong point.

Thanks!

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

4 replies

Participating Frequently
April 28, 2011

I too would like to get rid of all the extra style sheets. For now, I leave them alone and check the "apply to all topics" box for one stylesheet when I generate webhelp.

Peter Grainge
Community Expert
Community Expert
April 29, 2011

Not sure how RightOar's post got missed but I believe the reason it works this way is to ensure that the CSS you end up with has all the styles required for the document being imported.

After the import you can change the CSS but obviously you have to be sure the CSS you use has all the required styles. To change multiple topics, select them in the Topic List and change them by right clicking and selecting Properties.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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

Peter,

Appreciate the response. Changing all of the stylesheets via the Topic List is convenient; however, doing so makes the topics out of synch with the source docs. And even if I were to do that, and save the change so that all topics have a consistent stylesheet, any time I make changes to a source doc and update the link in RoboHelp, the update overrides the existing stylesheet and creates a new one--as before.

Seems like we're left living with multiple stylesheets when using the Link to Word feature. So far, I haven't noticed any adverse effets, but right now I only have a limited number of topics for this particular project.

Again, if anyone can think of any problems that may arise with having a separate stylesheet for each topic, I'd appreciate hearing your thoughts.

Thanks.