• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Reading Label from PDF using iText

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

Is there any option to read the label from PDF document using iText ? Or if in any other way ?
Eg:- Enter Name {Text Box }, I am able to read the form field name and its value but couldn't find any option to read the label "Enter Name". Is there any way i can achieve this in java ? Thanks .
 
Saloon Keeper
Posts: 5801
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search for "Reading Label from PDF using iText" found http://itext.2136553.n4.nabble.com/reading-field-labels-along-with-fields-td2157561.html, where the answer to this very question starts with "You need to understand PDF to know why this is impossible".
 
Vinoy Kokkadan Poulose
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks . So it look like its not possible . That post is from 2008 , in 2017 also there is no way to get this
 
Tim Moores
Saloon Keeper
Posts: 5801
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not using iText, anyway. You can buy a toolkit from Adobe which be able to do more, but maybe not. And it's in C/C++ if memory serves.
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!