<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[JavaRanch: Latest posts for the topic "PDF generation using iText + template + XML + XSD"]]></title>
		<link>http://www.coderanch.com/forums/t/64/Other-Open-Source-Projects/PDF-generation-using-iText-template</link>
		<description><![CDATA[Latest messages posted in the topic "PDF generation using iText + template + XML + XSD"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>PDF generation using iText + template + XML + XSD</title>
				<description><![CDATA[Hi, <br /> I want to create XML from template.pdf, filling it's elements with data from xml.<br /> <br /> So, what we have:<br /> - template.pdf - this file was created using Adobe Livecycle Designer and contains data binding &lt;PDF elemet&gt; &lt;-&gt; &lt;XSD elemet&gt;<br /> - data.xsd - the XSD that was is binded to template.pdf<br /> - data.xml - XML data file conforming data.xsd<br /> <br /> And what we want:<br /> create template_instance.pdf based on the template.pdf filled with data from data.xml<br /> <br /> In other words I want iText do something like this:<br /> new PdfDocument(template.pdf, data.xsd, data.xml)<br /> <br /> For now, I manually set fields in PDF throgh setField() with data from XML (XML is accessed using XMLBeans).<br /> <br /> Is this kind of magic possible with iText ?<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/428731/1903202</guid>
				<link>http://www.coderanch.com/forums/posts/preList/428731/1903202</link>
				<pubDate><![CDATA[Fri, Jan 30 2009 02:31:44 MST]]></pubDate>
				<author><![CDATA[Anton Lunev]]></author>
			</item>
			<item>
				<title>PDF generation using iText + template + XML + XSD</title>
				<description><![CDATA[Since this question is explicitly about iText and only tangentially about XML, let's move it to the forum which is about iText.]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/428731/1903572</guid>
				<link>http://www.coderanch.com/forums/posts/preList/428731/1903572</link>
				<pubDate><![CDATA[Fri, Jan 30 2009 09:53:16 MST]]></pubDate>
				<author><![CDATA[Paul Clapham]]></author>
			</item>
			<item>
				<title>PDF generation using iText + template + XML + XSD</title>
				<description><![CDATA[iText has no provisions for adding text to a PDF after it's been created, unless you're talking about filling in form fields (but it doesn't sound like you are).<br /> <br /> In general, the things you can do with a PDF after it's been created are rather limited. You may be better off with creating RTF templates, and then performing a text search-and-replace in that. You could use a library like PODConverter to create a PDF from the RTF afterwards.]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/428731/1903963</guid>
				<link>http://www.coderanch.com/forums/posts/preList/428731/1903963</link>
				<pubDate><![CDATA[Sat, Jan 31 2009 03:24:08 MST]]></pubDate>
				<author><![CDATA[Ulf Dittmer]]></author>
			</item>
			<item>
				<title>PDF generation using iText + template + XML + XSD</title>
				<description><![CDATA[Thanks a lot for answers, I just returned here not long ago and had the wrong e-mail in my profile.<br /> Well, better later then never, I'll just describe the way we've done it.<br /> <br /> We just replace root element in XFA form(which holds) data. Assuming the new root element conforms to the XSD used for PDF creation it works fine. Will better post code a bit later to fix the solution.<br /> <br /> So, although iText is great, it still can't provide full control over PDF. Some things you can do by manual editing of XFA form xml, but can't with iText.]]></description>
				<guid isPermaLink="true">http://www.coderanch.com/forums/posts/preList/428731/1921875</guid>
				<link>http://www.coderanch.com/forums/posts/preList/428731/1921875</link>
				<pubDate><![CDATA[Mon, Feb 23 2009 19:01:06 MST]]></pubDate>
				<author><![CDATA[Redrick Shuhart]]></author>
			</item>
	</channel>
</rss>
