• 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

Problems displaying PDF file content

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone hows it going?

I just like to ask a question. Is there anyway to retrieve the contents of a pdf...INCLUDING it's format, arrangement, font styles and font sizes. Currently, we use the itext-2.0.1.jar to read contents of a pdf file and modfy it a bit it show it as a new PDF file using PDFBox-0.7.3.

The thing is..since we're lazy..(hehe, but seriously it's a LOT of work for us), we do not want to again do the reformatting of the pdf content (font style, size, spacing).Is there any way of retrieving the content as it is and displaying it in a new PDF file without doing all the work of reformatting text style, size and spacing to have it look the same as in the original pdf file?

I'd appreciate any form of help. Thanks.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What modifications do you need to make to the file? PDFs can only be altered in very limited ways after they have been generated.
 
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic