<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Java: JODConverter 3.x Getting Started</title>
	<atom:link href="http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/</link>
	<description>No Buzz, just Code, Design, and Sys-Admin stuff.</description>
	<pubDate>Thu, 09 Feb 2012 04:51:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Pear</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-37677</link>
		<dc:creator>Pear</dc:creator>
		<pubDate>Mon, 11 Apr 2011 08:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-37677</guid>
		<description>To jeremychone
  Thanks you reply!
  You are right ,i have tried to converter doc to docx ,it failed,and i found that odt cannot be convertered to docx,but odt can be congvertered to doc,why?Do i have wrong coding ?</description>
		<content:encoded><![CDATA[<p>To jeremychone<br />
  Thanks you reply!<br />
  You are right ,i have tried to converter doc to docx ,it failed,and i found that odt cannot be convertered to docx,but odt can be congvertered to doc,why?Do i have wrong coding ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eiffy Chen</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-33066</link>
		<dc:creator>Eiffy Chen</dc:creator>
		<pubDate>Thu, 10 Mar 2011 11:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-33066</guid>
		<description>Hi,

When I trun on EncryptFile and DocumentOpenPassword, the Printing and Changes setting would not working.

Any ideas?
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>When I trun on EncryptFile and DocumentOpenPassword, the Printing and Changes setting would not working.</p>
<p>Any ideas?<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremychone</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-31346</link>
		<dc:creator>jeremychone</dc:creator>
		<pubDate>Sat, 26 Feb 2011 05:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-31346</guid>
		<description>@Pear, I do not think so.</description>
		<content:encoded><![CDATA[<p>@Pear, I do not think so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pear</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-29756</link>
		<dc:creator>Pear</dc:creator>
		<pubDate>Sun, 13 Feb 2011 07:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-29756</guid>
		<description>hello,i want to ask a question,whether or not JODConverter can convert doc to docx?

waiting for your reply!thank you</description>
		<content:encoded><![CDATA[<p>hello,i want to ask a question,whether or not JODConverter can convert doc to docx?</p>
<p>waiting for your reply!thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francisco Diaz</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-20196</link>
		<dc:creator>Francisco Diaz</dc:creator>
		<pubDate>Wed, 17 Nov 2010 11:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-20196</guid>
		<description>I finally figured it out!

It is neccesary to set both RestrictPermissions and PermissionPassword as well in order to make security restrictions work:

filterData.put("RestrictPermissions", Boolean.TRUE);		filterData.put("PermissionPassword", "whatever");

Regards.</description>
		<content:encoded><![CDATA[<p>I finally figured it out!</p>
<p>It is neccesary to set both RestrictPermissions and PermissionPassword as well in order to make security restrictions work:</p>
<p>filterData.put(&#8221;RestrictPermissions&#8221;, Boolean.TRUE);		filterData.put(&#8221;PermissionPassword&#8221;, &#8220;whatever&#8221;);</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francisco Diaz</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-20134</link>
		<dc:creator>Francisco Diaz</dc:creator>
		<pubDate>Tue, 16 Nov 2010 12:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-20134</guid>
		<description>Hi,

I got Shervin Asgari's code from http://shervinasgari.blogspot.com/2010/08/migrating-from-jodconverter-2-to.html and I was triying to set additional export options as follows:

DocumentFormat format = new DocumentFormat("PDF/A", PDF, "application/pdf");
Map properties = new HashMap();
properties.put("FilterName", "writer_pdf_Export");

Map filterData = new HashMap();

filterData.put("SelectPdfVersion", this.PDFX1A2001);
filterData.put("EncryptFile", Boolean.TRUE);
filterData.put("DocumentOpenPassword", "1234");
filterData.put("Changes", 0);
filterData.put("EnableCopyingOfContent", Boolean.FALSE);
filterData.put("Printing", 0);

properties.put("FilterData", filterData);
format.setStoreProperties(DocumentFamily.TEXT, properties);

The file encription is working so the PDF viewer asks for me to enter a password, but other optios such as Changes, EnableCopyingOfContent and Printing (described in the table from http://www.artofsolving.com/node/18)
still not work.

I also tried to use filterData as a PropertyValue array instead of a Map, as Michael Greifeneder suggested, but It still not work.

Any ideas?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I got Shervin Asgari&#8217;s code from <a href="http://shervinasgari.blogspot.com/2010/08/migrating-from-jodconverter-2-to.html">http://shervinasgari.blogspot.com/2010/08/migrating-from-jodconverter-2-to.html</a> and I was triying to set additional export options as follows:</p>
<p>DocumentFormat format = new DocumentFormat(&#8221;PDF/A&#8221;, PDF, &#8220;application/pdf&#8221;);<br />
Map properties = new HashMap();<br />
properties.put(&#8221;FilterName&#8221;, &#8220;writer_pdf_Export&#8221;);</p>
<p>Map filterData = new HashMap();</p>
<p>filterData.put(&#8221;SelectPdfVersion&#8221;, this.PDFX1A2001);<br />
filterData.put(&#8221;EncryptFile&#8221;, Boolean.TRUE);<br />
filterData.put(&#8221;DocumentOpenPassword&#8221;, &#8220;1234&#8243;);<br />
filterData.put(&#8221;Changes&#8221;, 0);<br />
filterData.put(&#8221;EnableCopyingOfContent&#8221;, Boolean.FALSE);<br />
filterData.put(&#8221;Printing&#8221;, 0);</p>
<p>properties.put(&#8221;FilterData&#8221;, filterData);<br />
format.setStoreProperties(DocumentFamily.TEXT, properties);</p>
<p>The file encription is working so the PDF viewer asks for me to enter a password, but other optios such as Changes, EnableCopyingOfContent and Printing (described in the table from <a href="http://www.artofsolving.com/node/18">http://www.artofsolving.com/node/18</a>)<br />
still not work.</p>
<p>I also tried to use filterData as a PropertyValue array instead of a Map, as Michael Greifeneder suggested, but It still not work.</p>
<p>Any ideas?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chandar</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-20038</link>
		<dc:creator>chandar</dc:creator>
		<pubDate>Mon, 15 Nov 2010 01:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-20038</guid>
		<description>I am using below code (using JODConverter) to connect to open office and convert files from java web application. Every time the user wants to preview document, below code gets executed. The web application is running on a weblogic on windows server (production server). 

connection = new SocketOpenOfficeConnection(8100);
connection.connect();
DocumentConverter converter = new OpenOfficeDocumentConverter(connection);
converter.convert(inputFile, outputFile);
connection.disconnect(); 

Started open office using - " soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard "

Problem:
'soffice.exe' gets killed constanly and the application is throwing error "Problem to convert Doc/DocX resume. Please contact the support.". Everytime I have to start soffice manually using above command and it works fine.

So I made soffice.exe as windows service. But still facing the same issue that exe gets killed sometimes and getting error. I have been breaking my heads for a week but no solution yet.

Can you please help??

Chandar</description>
		<content:encoded><![CDATA[<p>I am using below code (using JODConverter) to connect to open office and convert files from java web application. Every time the user wants to preview document, below code gets executed. The web application is running on a weblogic on windows server (production server). </p>
<p>connection = new SocketOpenOfficeConnection(8100);<br />
connection.connect();<br />
DocumentConverter converter = new OpenOfficeDocumentConverter(connection);<br />
converter.convert(inputFile, outputFile);<br />
connection.disconnect(); </p>
<p>Started open office using - &#8221; soffice -headless -accept=&#8221;socket,host=127.0.0.1,port=8100;urp;&#8221; -nofirststartwizard &#8221;</p>
<p>Problem:<br />
&#8217;soffice.exe&#8217; gets killed constanly and the application is throwing error &#8220;Problem to convert Doc/DocX resume. Please contact the support.&#8221;. Everytime I have to start soffice manually using above command and it works fine.</p>
<p>So I made soffice.exe as windows service. But still facing the same issue that exe gets killed sometimes and getting error. I have been breaking my heads for a week but no solution yet.</p>
<p>Can you please help??</p>
<p>Chandar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avatar Oyunları</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-10993</link>
		<dc:creator>Avatar Oyunları</dc:creator>
		<pubDate>Tue, 22 Jun 2010 17:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-10993</guid>
		<description>@jeremy, I gave a try to JODConverter 3 -</description>
		<content:encoded><![CDATA[<p>@jeremy, I gave a try to JODConverter 3 -</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kay Ramme of Sun has created “ODF@WWW,” an ODF Wiki &#171; Wave A Dead Chicken</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-8169</link>
		<dc:creator>Kay Ramme of Sun has created “ODF@WWW,” an ODF Wiki &#171; Wave A Dead Chicken</dc:creator>
		<pubDate>Sat, 06 Mar 2010 19:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-8169</guid>
		<description>[...] http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/">http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Greifeneder</title>
		<link>http://www.bitsandpix.com/entry/java-jodconverter-3x-getting-started/#comment-6082</link>
		<dc:creator>Michael Greifeneder</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.bitsandpix.com/?p=412#comment-6082</guid>
		<description>In order to generate PDF/A with JODConverter 3.x I changed the definition of PDF in constructor of DefaultDocumentFormatRegistry:

DocumentFormat pdf = new DocumentFormat("Portable Document Format", "pdf", "application/pdf");
Map map = new HashMap();
map.put("FilterName", "writer_pdf_Export");
PropertyValue[] aFilterData = new PropertyValue[1];
aFilterData[0] = new PropertyValue();
aFilterData[0].Name = "SelectPdfVersion";
aFilterData[0].Value = 1;
map.put("FilterData", aFilterData);
pdf.setStoreProperties(DocumentFamily.TEXT, map);</description>
		<content:encoded><![CDATA[<p>In order to generate PDF/A with JODConverter 3.x I changed the definition of PDF in constructor of DefaultDocumentFormatRegistry:</p>
<p>DocumentFormat pdf = new DocumentFormat(&#8221;Portable Document Format&#8221;, &#8220;pdf&#8221;, &#8220;application/pdf&#8221;);<br />
Map map = new HashMap();<br />
map.put(&#8221;FilterName&#8221;, &#8220;writer_pdf_Export&#8221;);<br />
PropertyValue[] aFilterData = new PropertyValue[1];<br />
aFilterData[0] = new PropertyValue();<br />
aFilterData[0].Name = &#8220;SelectPdfVersion&#8221;;<br />
aFilterData[0].Value = 1;<br />
map.put(&#8221;FilterData&#8221;, aFilterData);<br />
pdf.setStoreProperties(DocumentFamily.TEXT, map);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

