class DefaultDocument extends SinglePageDocument {

	@Override
	public void render(OutputStream outputStream, Format format, int dpi) throws PrintingException {
		defaultVisitor.visitTree(getPage());
		visitor.visitTree(getPage());
		super.render(outputStream, format, dpi);
	}

	public  DefaultDocument(PrintTemplate template, Map<String, String> filters,
			DefaultConfigurationVisitor defaultVisitor, MapConfigurationVisitor visitor);

}