I wasn't (8.1.0).
Now I'am, but the results are ... the same.
I use a trial version (to test the preflight tool).
>
> Are you current with the 8.1.2 updates?
>
> Leonard
>
> On Apr 6, 2008, at 9:20 AM, martigan m wrote:
>
> > Hi all.
> >
> > First I'm sorry for my english.
> >
> >
> > I create pdf documents with itext (pdf/A-1a).
> >
> > I use adobe professional 8 preflight tool to validate these documents.
> >
> > I generate a very simple pdf/A-1a document (1 short sentence) with
> > markInfo, font embedded,... but without tags.
> >
> > When i use preflight tool, preflight tells me that the document is
> > compliant with the requirements of pdf/a-1a, but this one isn't
> > tagged (if i well understand the pdf/A-1a requirements) !
> >
> > I have use the accessibility check tool, who gave me the following
> > result : "This document is not structured so the reading order may
> > not be correct".
> >
> > I don't know how to interpret these results (does preflight tool
> > check tags ?).
> >
> > Thanks for your answers
> >
> >
> >
> > The code :
> >
> > Document doc = new Document(PageSize.A4);
> >
> > PdfWriter writer = PdfWriter.getInstance(doc, new
> > FileOutputStream("C:\\hello_A1-a.pdf"));
> > writer.setPDFXConformance(PdfWriter.PDFA1A);
> >
> > doc.open();
> > PdfDictionary outi = new PdfDictionary(PdfName.OUTPUTINTENT);
> > outi.put(PdfName.OUTPUTCONDITIONIDENTIFIER, new PdfString
> > ("sRGBIEC61966-2.1"));
> > outi.put(PdfName.INFO, new PdfString("sRGB IEC61966-2.1"));
> > outi.put(PdfName.S, PdfName.GTS_PDFA1);
> > ICC_Profile icc = ICC_Profile.getInstance(new
> > FileInputStream("c:\\srgb.profile"));
> > PdfICCBased ib = new PdfICCBased(icc);
> > ib.remove(PdfName.ALTERNATE);
> > outi.put(PdfName.DESTOUTPUTPROFILE, writer.addToBody
> > (ib).getIndirectReference());
> > writer.getExtraCatalog().put(PdfName.OUTPUTINTENTS, new
> > PdfArray(outi));
> >
> > PdfDictionary markInfo = new PdfDictionary(PdfName.MARKINFO);
> > markInfo.put(PdfName.MARKED, new PdfBoolean("true"));
> > writer.getExtraCatalog().put(PdfName.MARKINFO, markInfo);
> >
> > BaseFont bf = BaseFont.createFont("c:\\windows\\fonts\
> > \arial.ttf",
> > BaseFont.WINANSI, true);
> > Font f = new Font(bf, 12);
> > doc.add(new Paragraph("hello", f));
> > writer.createXmpMetadata();
> > doc.close();
> > ----------------------------------------------------------------------
> > ---
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> > Monday, April 7! Use priority code J8TLD2.
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://
> > java.sun.com/javaone_______________________________________________
> > iText-questions mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> > Do you like iText?
> > Buy the iText book: http://www.1t3xt.com/docs/book.php
> > Or leave a tip: https://tipit.to/itexttipjar
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar