Class CSSParser

java.lang.Object
com.openhtmltopdf.css.parser.CSSParser

public class CSSParser
extends Object
  • Constructor Details

  • Method Details

    • parseStylesheet

      public Stylesheet parseStylesheet​(String uri, int origin, Reader reader) throws IOException
      Throws:
      IOException
    • parseDeclaration

      public Ruleset parseDeclaration​(int origin, String text)
    • parsePropertyValue

      public PropertyValue parsePropertyValue​(CSSName cssName, int origin, String expr)
    • reset

      public void reset​(Reader r)
    • getErrorHandler

      public CSSErrorHandler getErrorHandler()
    • setErrorHandler

      public void setErrorHandler​(CSSErrorHandler errorHandler)
    • isSupportCMYKColors

      public boolean isSupportCMYKColors()
    • setSupportCMYKColors

      public void setSupportCMYKColors​(boolean b)