Is this even possible with Java? Your guidance will be really
helpful...Thanks...



On Wed, Apr 25, 2012 at 5:27 PM, Ninad Shaha <[email protected]> wrote:

> Hi,
>
> In my project I have requirement where I need to generate PDF file
> dynamically. Now the contents for these PDF files will be provided in HTML
> text or PDF file OR in both formats. Then I need to merge these contents in
> random order depending upon some conditions.
> I know for HTML text we can create PDF file in memory using
> ByteArrayOutputStream and then using PDFCopy we can merge PDF files. But
> problem here is it adds lots of blank spaces in between contents and I
> don't want this to happen. Any solution for this?
>
> E.g. HTML text content can contain Text like "<BR>Hi</BR> how are you
> doing today? Here is new knowledge for you for the day" And then there will
> be PDF file that I need  to read and merge with HTML content and create PDF
> file. This PDF file can contain Images and text both. As you can see HTML
> text is so small, that I don't want to write them on separate page (HTML
> text can be of one paragraph or full page size as well, no limit on size
> here), and want to write PDF file contents on same page. Second page should
> get created only if total content size is more than what single page can
> contain.
>
> Not able to figure out how to develop this feature. Some pointers/guidance
> will be so helpful for me and will be appreciated.
> Thanks for all your help with this in advance.
>
> --
> Thanks & Regards,
> Ninad Shaha
>



-- 
Thanks & Regards,
Ninad Shaha
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to