2 Replies Latest reply on Jan 22, 2010 4:48 AM by Peter Grainge

    List styles and Word output problems

    Nick@Tag Level 2

      RH8 HTML

       

      I'm trying to sort out generating to Word using either my own word .dotx templateor the projects CSS but things are going wrong with my list styles.

      My numbering and bullet styles don't carry the line spacing of 6pt before and after.

      The 'Note' bullet style I have with a custom bullet image doesn't display the bullet image, so I have to apply it, and the correct indent every time.

       

      Needless to say, this is becoming more and more annoying in post processing in Word that is unnecessary.

       

      When I try to generate and use my .dotx Word template, there is no option to map to list styles. so I dont really see a way of solving this.

       

      any insight would be helpful, I dont even have a quick work around, all I can do is manually change each section in the word doc where the style is wrong.

      Thanks.

       

       

      My CSS for the mentioned styles:

       

      OL {
          margin-top: 6px;
          margin-bottom: 6pt;
      }
      UL {
          margin-top: 6pt;
          margin-bottom: 6pt;
      }
      li.TipList {
          font-family: Helvetica, sans-serif;
          font-size: 10pt;
          margin-bottom: 10pt;
          margin-top: 10pt;
          margin-left: 2pt;
          padding-left: 2pt;
          list-style: url("CSS_Images/info.jpg");
      }
      li.BulletList {
          font-family: Helvetica, sans-serif;
          font-size: 10pt;
          color: #9E9188;
          list-style: square;
          margin-top: 6pt;
          margin-bottom: 6pt;
          text-indent: -0.63cm;
          margin-left: 0.75cm;
      }
      li.NumberList {
          font-family: Helvetica, sans-serif;
          font-size: 10pt;
          color: #524C45;
          list-style: decimal;
          margin-bottom: 6pt;
          margin-top: 6pt;
          text-indent: -0.63cm;
          margin-left: 1.26cm;
      }