public class CssContext
extends com.itextpdf.styledxmlparser.css.resolve.AbstractCssContext
Constructor and Description |
---|
CssContext() |
Modifier and Type | Method and Description |
---|---|
CssCounterManager |
getCounterManager()
Gets the counter manager.
|
float |
getRootFontSize()
Gets the root font size.
|
CssRunningManager |
getRunningManager() |
boolean |
isNonPagesTargetCounterPresent()
Checks if a non-page(s) target-counter(s) is present.
|
boolean |
isPagesCounterPresent()
Checks if a pages counter or page(s) target-counter is present.
|
void |
setNonPagesTargetCounterPresent(boolean nonPagesTargetCounterPresent)
Sets the presence of a non-page(s) target-counter(s).
|
void |
setPagesCounterPresent(boolean pagesCounterOrTargetCounterPresent)
Sets the presence of a pages counter or page(s) target counter.
|
void |
setRootFontSize(float fontSize)
Sets the root font size.
|
void |
setRootFontSize(String fontSizeStr)
Sets the root font size.
|
public float getRootFontSize()
public void setRootFontSize(float fontSize)
fontSize
- the new root font size
public void setRootFontSize(String fontSizeStr)
fontSizeStr
- the new root font size
public CssCounterManager getCounterManager()
public void setPagesCounterPresent(boolean pagesCounterOrTargetCounterPresent)
pagesCounterOrTargetCounterPresent
- the new pages counter or page(s) target-counter present
public boolean isPagesCounterPresent()
public void setNonPagesTargetCounterPresent(boolean nonPagesTargetCounterPresent)
nonPagesTargetCounterPresent
- the new non-page(s) target-counter(s) present
public boolean isNonPagesTargetCounterPresent()
public CssRunningManager getRunningManager()
Copyright © 1998–2022 iText Group NV. All rights reserved.