com.itextpdf.tool.xml.css.apply
Class ListStyleTypeCssApplier

java.lang.Object
  extended by com.itextpdf.tool.xml.css.apply.ListStyleTypeCssApplier

public class ListStyleTypeCssApplier
extends Object

Author:
itextpdf.com

Constructor Summary
ListStyleTypeCssApplier()
           
 
Method Summary
 Element apply(List e, Tag t)
          Utility method applying style to a list when no ImageProvider is available.
 List apply(List list, Tag t, ImageProvider htmlPipelineContext)
          The ListCssApplier has the capabilities to change the type of the given List dependable on the css.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListStyleTypeCssApplier

public ListStyleTypeCssApplier()
Method Detail

apply

public List apply(List list,
                  Tag t,
                  ImageProvider htmlPipelineContext)
The ListCssApplier has the capabilities to change the type of the given List dependable on the css. This means: Always replace your list with the returned one and add content to the list after applying!
note: not implemented list-style-type:armenian, georgian, decimal-leading-zero.

Parameters:
list - the list to style
t - the tag
htmlPipelineContext - the context
Returns:
the changed List

apply

public Element apply(List e,
                     Tag t)
Utility method applying style to a list when no ImageProvider is available.

Parameters:
e - the list
t - the tag
Returns:
styled element
See Also:
apply(List, Tag, ImageProvider)


Copyright © 2012. All Rights Reserved.