Class FactoryProperties

java.lang.Object
org.openpdf.text.html.simpleparser.FactoryProperties

@Deprecated(since="2.1.0") public class FactoryProperties extends Object
Deprecated.
Author:
psoares
  • Field Details

  • Constructor Details

    • FactoryProperties

      public FactoryProperties()
      Deprecated.
  • Method Details

    • createParagraph

      public static void createParagraph(Paragraph paragraph, ChainedProperties props)
      Deprecated.
    • createParagraph

      public static Paragraph createParagraph(ChainedProperties props)
      Deprecated.
    • createListItem

      public static ListItem createListItem(ChainedProperties props)
      Deprecated.
    • getHyphenation

      public static HyphenationEvent getHyphenation(ChainedProperties props)
      Deprecated.
      Gets a HyphenationEvent based on the hyphenation entry in ChainedProperties.
      Parameters:
      props - ChainedProperties
      Returns:
      a HyphenationEvent
      Since:
      2.1.2
    • getHyphenation

      public static HyphenationEvent getHyphenation(HashMap props)
      Deprecated.
      Gets a HyphenationEvent based on the hyphenation entry in a HashMap.
      Parameters:
      props - a HashMap with properties
      Returns:
      a HyphenationEvent
      Since:
      2.1.2
    • getHyphenation

      public static HyphenationEvent getHyphenation(String s)
      Deprecated.
      Gets a HyphenationEvent based on a String. For instance "en_UK,3,2" returns new HyphenationAuto("en", "UK", 3, 2);
      Parameters:
      s - a String, for instance "en_UK,2,2"
      Returns:
      a HyphenationEvent
      Since:
      2.1.2
    • insertStyle

      @Deprecated public static void insertStyle(Map<String,String> h)
      Deprecated.
    • insertStyle

      public static void insertStyle(Map<String,String> h, ChainedProperties cprops)
      Deprecated.
      New method contributed by Lubos Strapko
      Parameters:
      h - a Map
      cprops - the ChainedProperties
      Since:
      2.1.3
    • createChunk

      public Chunk createChunk(String text, ChainedProperties props)
      Deprecated.
    • getFont

      public Font getFont(ChainedProperties props)
      Deprecated.
    • getFontImp

      public FontProvider getFontImp()
      Deprecated.
    • setFontImp

      public void setFontImp(FontProvider fontImp)
      Deprecated.