aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/test/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-06-04 15:39:57 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-06-04 15:39:57 +0200
commit6de4496bc66024471186174c77554ba9804b980a (patch)
tree1ba4c69cb8acd703aafcd726048cefe0e6f0551b /pdf-as-lib/src/test/java/at/gv/egiz/pdfas
parentc085bb68cbd15e5c8cf0ce23e7c8104b08fdf238 (diff)
downloadpdf-as-4-6de4496bc66024471186174c77554ba9804b980a.tar.gz
pdf-as-4-6de4496bc66024471186174c77554ba9804b980a.tar.bz2
pdf-as-4-6de4496bc66024471186174c77554ba9804b980a.zip
PDF Table Font alignment
Diffstat (limited to 'pdf-as-lib/src/test/java/at/gv/egiz/pdfas')
-rw-r--r--pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/TestPDFBoxTable.java6
1 files changed, 3 insertions, 3 deletions
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);