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 |
isPagesCounterPresent()
Checks if a pages counter is present.
|
void |
setPagesCounterPresent(boolean pagesCounterPresent)
Sets the presence of a page 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 pagesCounterPresent)
pagesCounterPresent
- the new pages counter present
public boolean isPagesCounterPresent()
public CssRunningManager getRunningManager()
Copyright © 1998–2019 iText Group NV. All rights reserved.