diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-11-28 11:03:34 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-11-28 11:03:34 +0100 |
commit | 48f8e5362fa6c7b2f0a708e2dd61cac1dd366397 (patch) | |
tree | 9569b93c767888f9f4b5790cf6702aa0aacb46c7 /pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java | |
parent | e89bc05e4700c750ab98870b8fd2d34dc45f3326 (diff) | |
download | pdf-as-4-48f8e5362fa6c7b2f0a708e2dd61cac1dd366397.tar.gz pdf-as-4-48f8e5362fa6c7b2f0a708e2dd61cac1dd366397.tar.bz2 pdf-as-4-48f8e5362fa6c7b2f0a708e2dd61cac1dd366397.zip |
Page Rotation fixes, automatic positioning for rotated pages is not supported yet
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java')
-rw-r--r-- | pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java index 5156d846..1530ab03 100644 --- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java +++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/pdfbox/TableDrawUtils.java @@ -251,7 +251,7 @@ public class TableDrawUtils { contentStream.endText(); } catch (IOException e) { - logger.error("IO Exception", e); + logger.warn("IO Exception", e); throw new PdfAsException("Error", e); } } @@ -285,7 +285,7 @@ public class TableDrawUtils { padding, abstractTable, doc, cell, fontSize, textHeight, valign, halign, tlines, textFont, formResources, settings); } catch (IOException e) { - logger.error("IO Exception", e); + logger.warn("IO Exception", e); throw new PdfAsException("Error", e); } } @@ -319,7 +319,7 @@ public class TableDrawUtils { padding, abstractTable, doc, cell, fontSize, textHeight, valign, halign, tlines, textFont, formResources, settings); } catch (IOException e) { - logger.error("IO Exception", e); + logger.warn("IO Exception", e); throw new PdfAsException("Error", e); } } @@ -336,7 +336,7 @@ public class TableDrawUtils { String img_ref = (String) cell.getValue(); if (!images.containsKey(img_ref)) { - logger.error("Image not prepared! : " + img_ref); + logger.warn("Image not prepared! : " + img_ref); throw new PdfAsException("Image not prepared! : " + img_ref); } ImageObject image = images.get(img_ref); @@ -375,7 +375,7 @@ public class TableDrawUtils { contentStream.drawXObject(pdImage, imgx, imgy - image.getHeight(), image.getWidth(), image.getHeight()); } catch (IOException e) { - logger.error("IO Exception", e); + logger.warn("IO Exception", e); throw new PdfAsException("Error", e); } |