pdfHTML 2.1.6 API
iText.Html2pdf.Css.Apply.Util.ListStyleApplierUtil Class Reference

Utilities class to apply list styles to an element. More...

Static Public Member Functions

static void  ApplyListStyleImageProperty (IDictionary< String, String > cssProps, ProcessorContext context, IPropertyContainer element)
  Applies an image list style to an element. More...
 
static void  ApplyListStyleTypeProperty (IStylesContainer stylesContainer, IDictionary< String, String > cssProps, ProcessorContext context, IPropertyContainer element)
  Applies a list style to an element. More...
 
static void  SetDiscStyle (IPropertyContainer element, float em)
  Applies the "disc" list style to an element. More...
 

Detailed Description

Utilities class to apply list styles to an element.

Member Function Documentation

◆ ApplyListStyleImageProperty()

static void iText.Html2pdf.Css.Apply.Util.ListStyleApplierUtil.ApplyListStyleImageProperty ( IDictionary< String, String >  cssProps,
ProcessorContext  context,
IPropertyContainer  element 
)
inlinestatic

Applies an image list style to an element.

Parameters
cssProps the CSS properties
context the processor context
element the element

◆ ApplyListStyleTypeProperty()

static void iText.Html2pdf.Css.Apply.Util.ListStyleApplierUtil.ApplyListStyleTypeProperty ( IStylesContainer  stylesContainer,
IDictionary< String, String >  cssProps,
ProcessorContext  context,
IPropertyContainer  element 
)
inlinestatic

Applies a list style to an element.

Parameters
stylesContainer the styles container
cssProps the CSS properties
context the processor context
element the element

◆ SetDiscStyle()

static void iText.Html2pdf.Css.Apply.Util.ListStyleApplierUtil.SetDiscStyle ( IPropertyContainer  element,
float  em 
)
inlinestatic

Applies the "disc" list style to an element.

Parameters
element the element
em the em value