Right - you haven't marked it yet.   The correct thing to do with a header, as 
described in ISO 32000-1:2008 is to mark it as an artifact.

Can you mark it?  Sure.    But there are no APIs for doing it.  You are going 
to need to go VERY LOW LEVEL including editing the content stream, setting up 
all the various objects, etc.

Leonard

-----Original Message-----
From: Walter Cybis [mailto:walter.cy...@polymtl.ca] 
Sent: Thursday, August 09, 2012 5:33 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] tag an untagged text in an existent PDF with 
iText?

Hi Leonard,

I created a header (Page i of n) with stamper.getOverContent and Acrobat show 
it as a "unmarked content", not as an "artifact".
Can I mark this unmarked content with iText?
Thanks,

Walter


On 09/08/2012 15:15, Leonard Rosenthol wrote:
> Page numbers are 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 existent PDF with iText?
>
> 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 know, the screen readers cant read the page numbers, cause 
> they are not tagged.
> So, my problem now is to find a way to tag the page numbers to the document 
> structure...
>
> I can image 2 directions:
> - trying to tag an untagged chunk of text (page numbers) in an existent PDF?
>
> - trying to stamp an existent PDF with a marked content (page numbers)?
>
> Do you think any of those options has feasibility?
> Thanks for any help...
>
> Walter
>
>
>
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/ Please 
> check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a 
> reference to the iText book: http://www.itextpdf.com/book/ Please 
> check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/ Please check the keywords list 
before you ask for examples: http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to