Re: [iText-questions] How can I extract the alt text of an image wit iText?

2012-08-17 Thread Walter Cybis
ttributes. > > Leonard > > -Original Message- > From: Walter Cybis [mailto:walter.cy...@polymtl.ca] > Sent: Thursday, August 16, 2012 5:49 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] How can I extract the alt text of an image

Re: [iText-questions] How can I extract the alt text of an image wit iText?

2012-08-16 Thread Walter Cybis
in it. I can not see the dictionaries within the figure stream... On 14/08/2012 14:47, Leonard Rosenthol wrote: > You should read the chapter (14, IIRC) in ISO 32000-1:2008 about Tagged PDF > and Structured PDF. Alt (for images or any other element in PDF) is handled > via structure.

[iText-questions] How can I extract the alt text of an image wit iText?

2012-08-14 Thread Walter Cybis
Hi Is there a way to get the alt text of an image in a pdf file with iText? I think the alt text is anywhere in the image stream... because there is no a dictionary for the alt text in the file. Perhaps overwriting PdfContentStreamProcessor including a new "\Span" operator ? Walter --

Re: [iText-questions] tag an untagged text in an existent PDF with iText?

2012-08-09 Thread Walter Cybis
artifacts, they aren't normal structure elements. > > -Original Message- > From: Walter Cybis [mailto:walter.cy...@polymtl.ca] > Sent: Thursday, August 09, 2012 2:59 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] tag an untagged text in an e

[iText-questions] tag an untagged text in an existent PDF with iText?

2012-08-09 Thread Walter Cybis
Hi, I'm always struggling with iText trying to develop a program adding page numbers in a tagged PDF. I have already find a way to stamp the page numbers in a tagged PDF preserving the document structure (page catalog, structure tree root, pages, page dictionaries and so on...) As you might to

Re: [iText-questions] losting when copying with PdfImportedPage/Pdf(Smart)Copy

2012-08-02 Thread Walter Cybis
On 01/08/2012 02:33, 1T3XT BVBA wrote: >> Hi, >> > >> > Is there a way to preserve the tags in an original taggedPDF when we >> > copy it using Pdf(Smart)Copy, PdfImportedPage and PageStamp objects ? > The tags are kept in the content stream, but the StructTreeRoot and the > MarkInfo is lost. It'

[iText-questions] losting when copying with PdfImportedPage/Pdf(Smart)Copy

2012-07-31 Thread Walter Cybis
Hi, Is there a way to preserve the tags in an original taggedPDF when we copy it using Pdf(Smart)Copy, PdfImportedPage and PageStamp objects ? My specific goal is to add footers with pages numbers in a taggedPDF, as a way to improve its accessibility... I know we have to use those methods as a w