• 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
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

iText and FDF

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When iam opening an existing pdf file using FDF, its showing complete pdf file. but when iam opening the same pdf file using Itext, the buttons inside the pdf are hiding. whats the problem behind this?

Help me out.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am also facing the same problem.

I have a pdf template having the print button. When I open this pdf through iText API the print button is not showing. Where
as the Print button is showing when I open this pdf file through FDF Toolkit.

Appriciate your help. Thanks.
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi both and welcome to Javaranch!

Can you please change your screen name in accordance with our Naming Policy, thanks!
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "open the PDF using iText"? iText has no provisions for displaying PDFs, so it can't be showing (or not be showing) any buttons.
 
prasada
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a pdf template which has two checkboxes and two buttons. I am passing this template pdf file to the iText PdfReader class.

reader = new PdfReader(new RandomAccessFileOrArray(pdfTemplateName), null);

when openning this pdf file through iText PdfReader class the rendered pdf file not showing the buttons. but the checkboxes are showing.

Where as when I pass this template pdf file to the FDF toolkit classs the buttons are showing.

All other elements are showing with iText except buttons.

Thanks.
 
Marshal
Posts: 67366
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"prasadakkk kpr", Martijn's request that you change your display name to adhere to JavaRanch standards was not a suggestion. Valid display names are mandatory for participation on the Ranch. Please change your display name as instructed prior to your next post.

Be aware that accounts with invalid display names are disabled.

bear
JavaRanch Sheriff
 
You're not going crazy. You're going sane in a crazy word. Find comfort in 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!