The heading is not numbered as required.

XMLWordPrintable

    • 3
    • Severity 2 - Major
    • 1

      Issue Summary

      The heading numbered as defined in the PDF export CSS stylesheet is not being rendered in the exported PDF V2. 

      Steps to Reproduce

      1. Define numbered heading in the PDF export stylesheet.
      2. Use below css:

      Numbered heading

      /* CSS - Add number to the headings counter */
      body { counter-reset: heading1_counter; }
      h1 { counter-reset: heading2_counter; }
      h2 { counter-reset: heading3_counter; }
      h3 { counter-reset: heading4_counter; }
      h4 { counter-reset: heading5_counter; }
      
      /* CSS - Counter */
      h1:before { content: counter-increment: heading1_counter " "; }
      h2:before { content: counter(heading2_counter) " ";
      counter-increment: heading2_counter " "; }
      h3:before { content: counter(heading2_counter) "." counter(heading3_counter) " " ;
      counter-increment: heading3_counter ; }
      h4:before { content: counter(heading2_counter) "." counter(heading3_counter) "." counter(heading4_counter) "." counter-increment: heading4_counter " "; }
      h5:before { content: counter(heading2_counter) "." counter(heading3_counter) "." counter(heading4_counter) ". " counter(heading5_counter) "." counter-increment: heading4_counter " "; }

       

      1. Export the pages to pdf

      Expected Results

      The PDF should have the headings numbered.

      Actual Results

      The PDF does not have any style applied.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Haibert Barfian
            Reporter:
            Sripriya Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: