2 Replies Latest reply on Jun 29, 2007 5:59 AM by Phil_Wells

    Mapping CSS styles to Word styles

    vaprocura Level 1
      I am trying to produce some printed documentation from my online help. My objective is to take advantage of the paginate protection in Word so my headings don't get split from the paragraph that follows it. I thought that, if I were to create a Word .dot template that contained paginate protection in all its Heading styles, I could then map the Heading styles in my .css file to the corresponding Heading styles in the .dot template. That would ensure my document was paginate protected.

      Unfortunately, in the final screen in the Print Documentation "wizard", the styles list doesn't contain any Heading styles. I notice that the list is called a "Non-Heading Styles" list. Is that because a user is not allowed to map any heading styles? If so, how do I protect my text from paginating after a heading?

        • 1. Re: Mapping CSS styles to Word styles
          Peter Grainge Adobe Community Professional
          If you have applied those settings to Heading 1, 2 etc in your template, then the fact that RH will map to them automatically means those settings will apply.

          If your styles are not true Heading styles but ones that you have named that way, then the only solution would be a find and replace after creating the document.

          Setting up the Heading styles is the best way.

          I often find that people have problems with their own templates even though there is nothing wrong with them. If you do hit problems, you might want to adapt the supplied Style Mapping template to suit.

          • 2. Re: Mapping CSS styles to Word styles
            Phil_Wells Level 1
            Other thing to be wary of is the 'maintain heading levels' tick box when you set up the print SSL.

            The best way I've found of doing this (couresy of Peter's website)is to ensure 'maintain heading levels' is not checked, then go to the second screen of the Print SSL wizard and use the arrows to put all books in the hierarchy back to root level (level 1). All topics can then be left at level 2.

            This should result in all books being set to heading 1 in the printed output, topic titles being set to heading 2 and subdivisions within topics being set to heading 3.

            This means you can set up a Word template with your preferred sytles for heading 1, heading 2 and heading 3 and get consistent results when you apply it.

            There may be other (and better) ways of doing it, but it's my 'least effort' way of getting reasonable looking printed output without the need for much tidying up in Word.