public final class ListStyleApplierUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
applyListStyleImageProperty(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
Applies an image list style to an element.
|
static void |
applyListStyleTypeProperty(IStylesContainer stylesContainer, Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
Applies a list style to an element.
|
static void |
setDiscStyle(com.itextpdf.layout.IPropertyContainer element, float em)
Applies the "disc" list style to an element.
|
public static void applyListStyleImageProperty(Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
cssProps - the CSS properties
context - the processor context
element - the element
public static void applyListStyleTypeProperty(IStylesContainer stylesContainer, Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
stylesContainer - the styles container
cssProps - the CSS properties
context - the processor context
element - the element
public static void setDiscStyle(com.itextpdf.layout.IPropertyContainer element,
float em)
element - the element
em - the em value
Copyright © 1998–2019 iText Group NV. All rights reserved.