Hi Leonard, > If you are trying to write a PDF/A validator using iText – let alone one that > also corrects – you have a HUGE AMOUNT of work ahead of you. Things such as > actions are trivial compared to the work you are going to have to do for > colors, fonts and metadata...
As i already mentioned I am aware of that: > (I know that PDF/A compliance is more than removing action elements and > javascript but it is one step in the process...) But i am only doing the straight forward stuff. Better than nothing :-) With the following a first step in validating PDFs for PDF/A compliancy can be done: - check for PDF Version 1.4 - check for actions (JScript etc.), Multimedia and stuff like that - check that all fonts are embedded - check XMP - check for Encryption - check for Embedded files - check for External content references The color, transparency etc. is more complex but with the above points one can get a first general idea about a document which is enough for our usecase... ToM > > Leonard > > > Hi, > > i have to check existing pdfs and if certain values does exist i have to > remove them. > The goal is to make them ISO PDF/A compatible. > > As defined in the ISO 19005 standard: > > "The Launch, Sound, Movie, ResetForm, ImportData and JavaScript actions shall > not be permitted." > > And since "out there" some pdfs may still exist using Sound, Movie etc. i > have to check for it and remove it accordingly. > Or is there another way to detect which pdf objects are in violation of the > PDF/A standard (with iText)? > > (I know that PDF/A compliance is more than removing action elements and > javascript but it is one step in the process...) > > Thanks > ToM > > > > Sound and Movie, while supported, have been superseeded with other > alternatives in later versions of PDF. > > Thread, while still valid, isn’t used very much... > > What are you planning to do with these? > > Leonard > > > > On 6/8/09 6:06 PM: > > Hi, > > i am missing the following 'action types' which are defined in the pdf spec: > > - Thread - Begin reading an article thread. > - Sound - (PDF 1.2) Play a sound. > - Movie - (PDF 1.2) Play a movie. > > Have those been forgotten? > Thanks > > > -- > Leonard Rosenthol > PDF Standards Architect > Adobe Systems Incorporated > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
