initial readme and blind change from PDF/A3A to to PDF/A3B in

PDFA3FileAttachment
This commit is contained in:
jstaerk
2014-04-08 12:22:02 +02:00
parent 8167a23174
commit 97f6d70799
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ pom.xml.tag
pom.xml.releaseBackup
pom.xml.next
release.properties
/bin

View File

@@ -1,2 +1,4 @@
PDFA3
=====
A demo application how to create PDF/A3 files with file attachments using Apache PDFBOX

View File

@@ -161,7 +161,7 @@ public class PDFA3FileAttachment
doc.addPage(page);
InputStream fontStream = PDFA3FileAttachment.class.getResourceAsStream("/Ubuntu-R.ttf");
InputStream fontStream = PDFA3FileAttachment.class.getResourceAsStream("/resources/Ubuntu-R.ttf");
PDFont font = PDTrueTypeFont.loadTTF(doc, fontStream);
// create a page with the message where needed
@@ -237,7 +237,7 @@ public class PDFA3FileAttachment
doc.getDocumentCatalog().setMarkInfo(markinfo);
pdfaid.setPart(3);
pdfaid.setConformance("A");/*
pdfaid.setConformance("B");/*
* All files are PDF/A-3, setConformance refers
* to the level conformance, e.g. PDF/A-3-B where
* B means only visually preservable, U means