• 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

Changing PDF value

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I'm trying to change the field name of a PDF file. The field look like:

                 original                                              want to change to
       Discount (0.25 = 25%)                                         Tax      ( if " (0.25 = 25%)" remains that's ok)

The code I'm using in eclipse is:


The new PDF file is created and tne System.out.println dtstement shows  "Tax" (among the other field names) in the console display but not in the new PDF file. It still displays  Discount (0.25 = 25%). Does the (0.25 = 25%) in the original PDF have anything to do with my problem? If so how do I resolve this. I did run the code without renaming the field name and "Discount" is listed as the field name.

Side note: If you can please look at my https://coderanch.com/t/693892/java/Changing-form-field-text-size#3257236 question
 
Sheriff
Posts: 7125
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question seems to be about a library called iText, not Java per se.  I'm going to move this post to the Other Java Projects forum, where I think it will get more traction.  Doing a search of that forum, I see several posts about iText.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic