• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Read a PDF using iText

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am reading PDF using iText library



it is reading hidden text too; can someone please suggest which property I need to set so that it does not read hidden text?

thanks....

 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any suggestions please how to avoid reading hidden text?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looking at the source code for that method, I don't see many possibilities other than maybe passing some kind of TextProvidingRenderListener which ignores hidden text to your PDFTextExtractor's constructor. (I assume there must be one somewhere, because the method isn't a static method.)
 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:Looking at the source code for that method, I don't see many possibilities other than maybe passing some kind of TextProvidingRenderListener which ignores hidden text to your PDFTextExtractor's constructor. (I assume there must be one somewhere, because the method isn't a static method.)



thanks for your reply.
 
reply
    Bookmark Topic Watch Topic
  • New Topic