pdfHTML 2.1.6 API
iText.Html2pdf.Css.Resolve.CssContext Class Reference

Class that bundles all the CSS context properties. More...

Inheritance diagram for iText.Html2pdf.Css.Resolve.CssContext:

Public Member Functions

virtual float  GetRootFontSize ()
  Gets the root font size. More...
 
virtual void  SetRootFontSize (float fontSize)
  Sets the root font size. More...
 
virtual void  SetRootFontSize (String fontSizeStr)
  Sets the root font size. More...
 
virtual CssCounterManager  GetCounterManager ()
  Gets the counter manager. More...
 
virtual void  SetPagesCounterPresent (bool pagesCounterPresent)
  Sets the presence of a page counter. More...
 
virtual bool  IsPagesCounterPresent ()
  Checks if a pages counter is present. More...
 
virtual CssRunningManager  GetRunningManager ()
 

Detailed Description

Class that bundles all the CSS context properties.

Member Function Documentation

◆ GetCounterManager()

virtual CssCounterManager iText.Html2pdf.Css.Resolve.CssContext.GetCounterManager ( )
inlinevirtual

Gets the counter manager.

Returns
the counter manager

◆ GetRootFontSize()

virtual float iText.Html2pdf.Css.Resolve.CssContext.GetRootFontSize ( )
inlinevirtual

Gets the root font size.

Returns
the root font size in pt

◆ IsPagesCounterPresent()

virtual bool iText.Html2pdf.Css.Resolve.CssContext.IsPagesCounterPresent ( )
inlinevirtual

Checks if a pages counter is present.

Returns
true, if is pages counter present

◆ SetPagesCounterPresent()

virtual void iText.Html2pdf.Css.Resolve.CssContext.SetPagesCounterPresent ( bool  pagesCounterPresent )
inlinevirtual

Sets the presence of a page counter.

Parameters
pagesCounterPresent the new pages counter present

◆ SetRootFontSize() [1/2]

virtual void iText.Html2pdf.Css.Resolve.CssContext.SetRootFontSize ( float  fontSize )
inlinevirtual

Sets the root font size.

Parameters
fontSize the new root font size

◆ SetRootFontSize() [2/2]

virtual void iText.Html2pdf.Css.Resolve.CssContext.SetRootFontSize ( String  fontSizeStr )
inlinevirtual

Sets the root font size.

Parameters
fontSizeStr the new root font size