@Test public void testRender() throws Exception { DefaultDocument document = new DefaultDocument(printService.createDefaultTemplate("A4", true), null, getDefaultVisitor(-31.44, -37.43, 80.83f), new MapConfigurationVisitor(configurationService, printDtoService)); FileOutputStream fo = new FileOutputStream("target/test.pdf"); document.render(fo, Format.PDF, 200); fo.flush(); fo.close(); }
@Override public void render(OutputStream outputStream, Format format, int dpi) throws PrintingException { defaultVisitor.visitTree(getPage()); visitor.visitTree(getPage()); super.render(outputStream, format, dpi); }
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); } }
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); } DefaultDocument(PrintTemplate template, Map<String, String> filters,
			DefaultConfigurationVisitor defaultVisitor, MapConfigurationVisitor visitor); }
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); } DefaultDocument(PrintTemplate template, Map<String, String> filters,
			DefaultConfigurationVisitor defaultVisitor, MapConfigurationVisitor visitor); @Override void render(OutputStream outputStream, Format format, int dpi); }
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); } DefaultDocument(PrintTemplate template, Map<String, String> filters,
			DefaultConfigurationVisitor defaultVisitor, MapConfigurationVisitor visitor); @Override void render(OutputStream outputStream, Format format, int dpi);  }