Home
Analytics
Password protected PDF emitter
Avishak
<p>Hello ,</p>
<p> </p>
<p>I have created a simple Plugin using itextpdf-5.5.4 jar, and placed the plugin file in the C:\Actuate3\BDPro\eclipse\plugins folder as well.</p>
<p> </p>
<p>Now when ever im running any report i can see the plugin the download option.</p>
<p>But when ever trying to download its giving me following error</p>
<p>"<span style="color:#FF0000;">Report engine fails to initialize PDFPwds_Emitter emitter, please make sure required libraries for this emitter are installed. "</span></p>
<p> </p>
<p>Suggestion required.</p>
<p> </p>
Find more posts tagged with
Comments
Avishak
<p>Hi ,</p>
<p> </p>
<p>Any one who have created own PDF emitter.. can help me out ?</p>
<p> </p>
<p>Thanks in advance</p>
Clement Wong
<p>We would need more information. Without seeing the plug-in manifest, we would not know how the associated JARs were included. There could be an issue with class loading.</p>
<p> </p>
<p>What did you use as a base? Did you try downloading the source for the existing PDF emitter and modifying it?<br>
</p>
Avishak
<p>Hi Clement,</p>
<p> </p>
<p>Im using itextpdf-5.5.4.jar/bcprov-jdk15on-1.51/bcpkix-jdk15on-1.51 jar files,for reference im attaching my project.</p>
<p> </p>
<p>Thanks in advance. </p>
<p> </p>
<p> </p>
Avishak
<p>Hi All,</p>
<p> </p>
<p>Looking forward for some guidance/help</p>
<p> </p>
<p>Thanks in Advance</p>
Clement Wong
<p>You only have 1 class, and the code doesn't appear to follow the emitter standards.</p>
<p> </p>
<p>For reference, check out these references:</p>
<p><a data-ipb='nomediaparse' href='
http://www.ibm.com/developerworks/library/ba-birt-emitter/'>http://www.ibm.com/developerworks/library/ba-birt-emitter/</a></p>
;
<p><a data-ipb='nomediaparse' href='
http://digiassn.blogspot.com.br/2007/08/birt-writing-emitter.html'>http://digiassn.blogspot.com.br/2007/08/birt-writing-emitter.html</a></p>
;
<p><a data-ipb='nomediaparse' href='
http://blog.zenika.com/2009/05/19/eclipse-birt-create-your-own-swt-emitter/'>http://blog.zenika.com/2009/05/19/eclipse-birt-create-your-own-swt-emitter/</a></p>
;
<p> </p>
<p> </p>
<p>Instead of starting from scratch, you might want to take the OS BIRT PDF Emitter code as a base, and add password protection as test.</p>
<p> </p>
<p>The OS source code is available from GitHub @ <a data-ipb='nomediaparse' href='
https://github.com/eclipse/birt/tree/c709c5b07db05398fd7f306201017650fa6bf438/engine/org.eclipse.birt.report.engine.emitter.pdf'>https://github.com/eclipse/birt/tree/c709c5b07db05398fd7f306201017650fa6bf438/engine/org.eclipse.birt.report.engine.emitter.pdf</a></p>
;
Avishak
Thanks clement; <br>
really appreciate your guidance I will get back to you if required any support.<br><br>
Rick