Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Reading Label from PDF using iText

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7173
166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7173
166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic