PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Jul 05, 2024 7:35 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed May 05, 2010 8:26 pm 
Offline

Joined: Wed May 05, 2010 8:11 pm
Posts: 2
I have a .Net program that uses Crystal Reports to generate reports and then convert them into PDF documents. I then use PDFSharp to merge and add security to these PDFs. (Because Crystal doesn't add any bells or whistles to the PDF during conversion from a Crystal Report) My company recently ran checks for section 508 compiance on our documents, and the PDFs in my program didn't pass.

The two main issues discovered in the check were:
- This document is not tagged; the reading order of the contents may be incorrect
- None of the images in this document that need alternate text have it

While playing around with PDFSharp I found that PDFDocument object has a Tag property. However I'm unable to find any documentation on what that is or how to set it. Does anyone know if I can use PDFSharp to add tags and/or alternate text to an image. If so, is there a link or sample that you could provide to help me in the right direction?

Any advice would be greatly appreciated.

Could some one please point me to any documentation for the PDFDocument object's Tag property?


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 24, 2011 11:49 am 
Offline

Joined: Mon Jan 24, 2011 11:46 am
Posts: 5
Hi, I also would like any pointers in this area. We have a secure PDF created from a BMP that we would like to add tags to such that screeen readers are capable of extracting some meaningful information.

Can anyone point me to the correct API pages for PDFsharp/MigraDoc.

As a last resort is their another open source api that can tag PDFS?

Many thanks, Matthew


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 24, 2011 1:41 pm 
Offline

Joined: Mon Jan 24, 2011 11:46 am
Posts: 5
All,

I've continued to look into this and have come to the impression it isn't directly possible!

However I wonder if any gurus can indicate if its possible to use PdfSharp.Pdf.Advanced.PdfInternals.AddObject (example) to add an entry to the structure element dictionary with a key of "Alt" or "AltText" (see spec 1.7 page 860). This may just be enough to add tags!

Any examples/hints are most welcome,

Matthew


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 24, 2011 4:25 pm 
Offline

Joined: Wed May 05, 2010 8:11 pm
Posts: 2
Hey Mattpil29,
I was begining to think I was the only one encountering issues with tagging. (Or being required to use it.) I'd posted this issue on a couple other forums but didn't get much of a response. Please let me know if you get any more info on this in the future, and I'll do the same.

Thanks!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group