cz.kebrt.html2latex
Class CSSParserHandler

java.lang.Object
  extended by cz.kebrt.html2latex.CSSParserHandler
All Implemented Interfaces:
ICSSParserHandler

 class CSSParserHandler
extends java.lang.Object
implements ICSSParserHandler

Handles events sent from the CSS Parser.


Field Summary
private  Configuration _config
          Html2latex program configuration.
 
Constructor Summary
CSSParserHandler(Configuration config)
          Cstr.
 
Method Summary
 void newStyle(java.lang.String styleName, java.util.HashMap<java.lang.String,java.lang.String> properties)
          Called when a new style is reached in the CSS stylesheet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_config

private Configuration _config
Html2latex program configuration.

Constructor Detail

CSSParserHandler

public CSSParserHandler(Configuration config)
Cstr.

Parameters:
config - program configuration
Method Detail

newStyle

public void newStyle(java.lang.String styleName,
                     java.util.HashMap<java.lang.String,java.lang.String> properties)
Called when a new style is reached in the CSS stylesheet. Splits up multiple style names (ie. h1, h2, h3 { ... } ) and sets style properties for each of the style names.

Specified by:
newStyle in interface ICSSParserHandler
Parameters:
styleName - name of the style
properties - map with all the style's properties