Print Page | Close Window

Reader Options - Language

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3037
Printed Date: 15 Sep 25 at 10:00PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Reader Options - Language
Posted By: ross_t
Subject: Reader Options - Language
Date Posted: 21 Dec 14 at 4:25PM
Hello All,

I want to know if there is any way to set the "Language" property of Reader Options. Please see the screenshot below to know the property that I'm talking about. Setting this property seems to be necessary to enable "Read Loud" feature of Adobe Reader 10+.



Waiting for your reply...

Cheers,

\r



Replies:
Posted By: Ingo
Date Posted: 22 Dec 14 at 9:25PM
Hi Ross,

most of the pdf document is real ascii content.
You can read/see and set this property without any library help directly into the pdf-code:
 1 0 obj
   << /Type /Catalog
      ...
      /Lang (en-US)
      ...
   >> 
 endobj

Cheers and welcome here,
Ingo



-------------
Cheers,
Ingo



Posted By: ross_t
Date Posted: 29 Dec 14 at 8:23AM
Hi,

Sorry for the delay in reply. I was away from my work desk.

Your answer sounds interesting and I opened the PDF files in Hex Editor to find the code that you're talking about. I found it in some PDF files whilst plenty of PDF files were not having any traces of "/Catalog". Not sure why, probably the PDF version is the factor here. However, if I look at the problem in view of this, it seems I cannot depend on this method. Also, I am not sure at which Hex address exactly to look for Lang code in PDF binary.

Any other method you can think of?

Waiting for your reply...

Cheers,

\r



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk