Skip to main content
Inspiring
June 4, 2008
Question

Need left cell padding in tables

  • June 4, 2008
  • 3 replies
  • 1900 views
Does anyone know how to add left padding to table cells so the text does not jam into the left table ruling?
I have padding specified in all my table formats, but all the resulting tables have no left cell padding.
I tried adding extra padding to the paragraph tag in the Table Cell tab of the Paragraph Designer: no luck.
Of course, I do NOT want to hand edit all my tables in RoboHelp.
This is strictly a single-source project.

Outside of that, the tables are coming through pretty nicely.
But that crammed look kind of spoils things.
This topic has been closed for replies.

3 replies

June 9, 2008
Thanks, Maryann8!
June 9, 2008
Maryann8,

If I understand you correctly, you leave the table settings in FM at thier "normal" indents. When the print version is done, then you import the new table settings with extra indents.

Then you pull it all into RH.

Is that right?

(Thanks for the comment on the vertical alignment. I agree that it makes for some very funky tables.)
Maryann8Author
Inspiring
June 9, 2008
Hi Cheryl B,
I have 2 FrameMaker templates:,
1 for PDF docs, with for-print settings.
1 for RoboHelp, with for-help settings

After the PDF is made of the document files, I import
template 2 to set up the files for RoboHelp.

But note: to fix the left-margin problem of the cell text,
I edit the paragraph tag for the cell text, not the table style.
In FrameMaker's Paragraph Designer, in the Basic tab,
I add a First and Left indent of .081 inch.
Inspiring
June 7, 2008
Check the style you have mapped your content to. If not, add a new style - say, "RoboHlp Table Text" to fmstyles.css. If you have mapped the FrameMaker style, say - "Table CellText" to "RoboHelp Table Text" style, you should be able to edit the style "RoboHelp Table Text" and modify the style properties to control paragraph spacing and indentation.

I hope this helps.
Maryann8Author
Inspiring
June 9, 2008
Thanks Jain.
I can see by your reply that I cannot fix the problem by:
- editing table, row, or cell formats in CSS.
- Or adding padding in the Table Designer in FrameMaker.
- Or adding extra cell margin in Paragraph Designer/ Table Cell tab.

Solution:
Design a special FM template for RoboHelp.
Import this template into FrameMaker before moving the files into RoboHelp.

In the Framemaker template for RoboHelp, the FrameMaker cellbody paragraph tag formats have extra First and Left indents (.081in.) added in the Basic tab of FrameMaker's Paragraph Designer.

Once the files are in Robohelp, in RoboHelp Style Settings/Style Mappings,
I leave the cellbody styles as Source (no mapping to RoboHelp).

Note about the special FM template.
It does not very long to design (maybe an hour).
It is very simple to import into FrameMaker (couple seconds).
I can edit all my paragraph tags, character tags, and table styles at once
(for instance, body text uses a san-serif font).
Then, in RoboHelp's Settings/Style Mappings I leave the styles as [Source].

Only one last detail for my tables,
Cheryl B in Las Vegas's unanswered posting, "vertical alignment in tables"

RoboHelp's "center" setting of the vertical alignment of table cell text looks funky.
We need "Top".
Any fix, in the future, maybe?