public class CssStyleSheetAnalyzer extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkNonPagesTargetCounterPresence(com.itextpdf.styledxmlparser.css.CssStyleSheet styleSheet)
Helper method to check if non-page(s) target-counter(s) is present anywhere in the CSS.
|
static boolean |
checkPagesCounterPresence(com.itextpdf.styledxmlparser.css.CssStyleSheet styleSheet)
Helper method to check if counter(pages) or counters(pages) is present anywhere in the CSS.
|
public static boolean checkNonPagesTargetCounterPresence(com.itextpdf.styledxmlparser.css.CssStyleSheet styleSheet)
styleSheet - CSS stylesheet to analyze
true in case any non-page(s) target-counter(s) are present in CSS declarations, or false otherwise
public static boolean checkPagesCounterPresence(com.itextpdf.styledxmlparser.css.CssStyleSheet styleSheet)
styleSheet - CSS stylesheet to analyze
true in case any "pages" counters are present in CSS declarations, or false otherwise
Copyright © 1998–2021 iText Group NV. All rights reserved.