pdfHTML 3.0.2 API
iText.Html2pdf.Css.Util.CssStyleSheetAnalyzer Class Reference

Helper class to analyze the CSS stylesheet, e.g. for presence of some constructs More...

Static Public Member Functions

static bool  CheckPagesCounterPresence (CssStyleSheet styleSheet)
  Helper method to check if counter(pages) or counters(pages) is present anywhere in the CSS. More...
 

Detailed Description

Helper class to analyze the CSS stylesheet, e.g. for presence of some constructs

Member Function Documentation

◆ CheckPagesCounterPresence()

static bool iText.Html2pdf.Css.Util.CssStyleSheetAnalyzer.CheckPagesCounterPresence ( CssStyleSheet  styleSheet )
inlinestatic

Helper method to check if counter(pages) or counters(pages) is present anywhere in the CSS.

Helper method to check if counter(pages) or counters(pages) is present anywhere in the CSS. If the presence is detected, it may require additional treatment

Parameters
styleSheet CSS stylesheet to analyze
Returns
true in case any "pages" counters are present in CSS declarations, or false otherwise