package net.sf.jpluck.plucker.parsing.html;
import net.sf.jpluck.plucker.Paragraph;
public class H1Handler implements TagHandler, Alignable {
public void start(HTMLSerializer ser, StyledElement elem) {
Style style = new Style();
style.setHeading(1);
elem.setStyle(style);
Paragraph p = ser.addParagraph();
p.setSpacing(4);
}
public void end(HTMLSerializer ser, StyledElement elem) {
ser.addParagraph(4);
}
}