PDF Read Out Loud is not working properly when PDF is Creating with PdfConformance.PdfA1A

Hi ,

We are using Aspose.pdf for creating the PDF file , while creating we are making the PdfA1A compliance document using the below code.

Aspose.Pdf.Generator.Pdf pdf1 = new Aspose.Pdf.Generator.Pdf();
//adding some paragraph text

pdf1.Conformance = Aspose.Pdf.Generator.PdfConformance.PdfA1A;

after saving the pdf, Go PDF View menu --> Read Out Loud --> Click on Active Read out Loud

then Go PDF View menu --> Read Out Loud -->Go PDF View menu --> Read Out Loud -->Click either Read This page Only /Read To End Document

Listen the screen reader saying that "Warning Empty Document".

Is Aspose product able to achieve this feature or not ?.If yes ,can you please tell me the resolution steps for this feature enable.

Can you please take this as high priority.

Thanks in advance.

Naresh.

Hi Naresh,

Thanks for contacting support.

I have tested the scenario and I am able to reproduce the same issue that when setting the PDF compliance as PDF/A1A, the PDF read out loud feature could not detect/read the contents of the PDF file. However, when setting the compliance as PDF/A1B, the problem does not occur.

However, we recommend you to please try using the Aspose.Pdf.Document class to generate the PDF file. I also tested the scenario using Aspose.Pdf.Document class while using the following code snippet with Aspose.Pdf for .NET 8.1.0 and as per my observations, the PDF file is properly being generated and the PDF Read Out Loud option of Adobe Reader 10.1.4 is working fine. For your reference, I have also attached the resultant PDF generated over my end.

We are sorry for your inconvenience.

C#:

// open document
Document pdfDocument = new Document();

// get particular page
Page pdfPage = (Page)pdfDocument.Pages.Add();

// create text fragment
TextFragment textFragment = new TextFragment("main text");
textFragment.Position = new Point(100, 600);

// create TextBuilder object
TextBuilder textBuilder = new TextBuilder(pdfPage);

// append the text fragment to the PDF page
textBuilder.AppendText(textFragment);

// set the PDF compliance as PDF/A-1a
pdfDocument.Convert("c:/pdftest/ConversionLog.xml", PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);

// save document
pdfDocument.Save("c:/pdftest/PDFA1A_Document.pdf");

Hi,

Thanks for response.

If we use Document object to create the pdf its able to passing the Read Out Loud issue but all Accessible rules got failed if we follow this method.

Please see the attachment.

If we use PDF/A1B option also all accessible rules getting failed but able to read the document.

Our requirement is we need pass all accessible rules as well as PDF should be able to readable for any Screen readers.

Is there any way to achieve this .

Please take this as high priority.

Thanks

Naresh.

Hi Naresh,

I have logged this problem in our issue tracking system as PDFNEWNET-35417. We will investigate this issue in detail and will keep you updated on the status of a correction.

We apologize for your inconvenience.

The issues you have found earlier (filed as PDFNEWNET-35417) have been fixed in Aspose.Pdf for .NET 10.2.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.