Forums Register Login

Can iText generate regular text files?

+Pie Number of slices to send: Send
Hi,

I know iText is an API for generating PDFs but can I also use it to generate regular txt files. My requirement is that some users want their reports in PDF and others as text files.

Thanks,
Jahan
+Pie Number of slices to send: Send
 

Jehan Jaleel wrote:I know iText is an API for generating PDFs but can I also use it to generate regular txt files.



No.

My requirement is that some users want their reports in PDF and others as text files.



Then use iText to generate the PDF files and something else to generate the text files.
+Pie Number of slices to send: Send
Or use a library like PDFBox to extract the text out of the PDF :-)
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 822 times.
Similar Threads
iText and template.
Append PDF using Itext
printing in printer friendly format
Arabic using iText
reports
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:55:50.