Skip to main content
Inspiring
May 7, 2013
Question

Is there a way to use Object Styles to modify a graphic's margin settings...

  • May 7, 2013
  • 1 reply
  • 1695 views

...when importing a FrameMaker 11 book into a RoboHelp 10 HTMLHelp project?

Instead of mapping my styles, I am using a template based on my FrameMaker template but modified for use in RoboHelp. In FrameMaker, I have imported all of my graphics by reference into anchored frames that have the Anchoring Position set to "Below Current Line" and the Alignment set to "Left." My graphics are then offset from the left anywhere from .75" to 1.00" depending on the paragraph style in which they appear.

In my RoboHelp project, though, I want all of my graphics to have a left margin of 0.00". I have created an object style that allows me to do this from one FrameMaker doc to another FrameMaker doc but the modified settings are lost once I import the documents into RoboHelp. RoboHelp doesn't seem to see the revised Object Style assigned to my graphics using my RoboHelp-FrameMaker template, though it picks up all of the other changes that I made in that template.

This is my first time to try to use the single-sourcing capabilities of FrameMaker and RoboHelp so I may be missing something very simple.

Thanks for your help!

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
May 8, 2013

Instead of mapping my styles, I am using a template

What do you mean by template? There are no templates in Rh. I'm guessing the problem is because you are not mapping, that is what tells Rh how you want things when you import or link. Mapping occurs regardless of what you do, it's just that the mapping will be to whatever Rh thinks is right.

The process is the same for Fm as for Word and there is a page on my site about importing and linking.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Jeff_Coatsworth
Community Expert
Community Expert
May 8, 2013

@Peter - the OP may be referring to a method of using a FM template to run all your FM content through before bringing it into RH. Matt Sullivan often recommends using this technique to overcome tricky situations that don't translate well. But I believe you still have to do your mapping of FM paragraph and character formats to RH styles - it just makes the process easier.

Inspiring
May 8, 2013

Sounds like you're closer than you think...

Work on modifying the conversion CSS (by default, that is RHStyleMapping.css)

I'd give more direction, but I'm sitting in DEN, headed home to CA after speaking at the STC Conference this week in ATL


I think I just made huge progress. In Framemaker, all of my graphics were embedded within my Caption style paragraphs (caption on top, with a line break and the anchored frame and graphic inserted "At Insertion Point"). My anchored frames were all set to be left-aligned and the graphics inside of them were set with varied left offsets, depending on the offset of the Caption style. If I separate the graphic from the Caption style and give the graphic its own paragraph and style name my problem goes away. I can then set the left-offset position for my graphics within the anchored frame to 0.00" and easily change the left offset for my new graphic paragraph style as needed, using either the mapping functionality or my "inbetween" Framemaker template. I'm liking the idea of using mapping exclusively more and more as I play with the software. It's nice to have the inbetween template, though, for certain things that the mapping can't yet catch. So...I guess I will chalk this up to a silly mistake made by someone fairly new to the Tech Comm Suite and single-sourcing. Now I'm off to change the formatting of all the graphics in my book. At least I know now and will get it right in the future. Thanks again to everyone for your help. You kept coaxing me in the right direction and I finally figured it out.