-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Highest
-
Component/s: Page - Export - PDF
-
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
- Define numbered heading in the PDF export stylesheet.
- 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 " "; }
- 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