From 6de4496bc66024471186174c77554ba9804b980a Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Wed, 4 Jun 2014 15:39:57 +0200 Subject: PDF Table Font alignment --- .../test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pdf-as-lib/src/test/java/at/gv/egiz') diff --git a/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java b/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java index 2c4ea18d..b4f424c2 100644 --- a/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java +++ b/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java @@ -167,13 +167,13 @@ public class TestPDFBoxTable { X509Certificate cert = new X509Certificate(new FileInputStream("/home/afitzek/qualified.cer")); CertificateHolderRequest request = new CertificateHolderRequest(cert); - + /* Table main = TableFactory.createSigTable(profileSettings, "main", settings, request); main.setWidth(400); renderTable(main); - + */ // PDStream stream1; PDDocument document = new PDDocument(); @@ -181,7 +181,7 @@ public class TestPDFBoxTable { page.setMediaBox(new PDRectangle()); PDPageContentStream stream = new PDPageContentStream(document, page); stream.setFont(PDType1Font.HELVETICA_BOLD , 12); - drawTable(page, stream, 100, 300, main); + //drawTable(page, stream, 100, 300, main); stream.close(); document.addPage(page); -- cgit v1.2.3