Set PDF "Page Style" property to "Actual size" in iHub
<p>Hello BIRT Experts,</p>
<p>I want to set the PDF render property "Page Style" to "Actual size" in iHub. I don't want to configure it in PDF Emitter xml since it will reflect in all the reports.</p>
<p> </p>
<p>I would like to know how to set this option from Java component while scheduling a job to iHub and directly in report(if there is an option).</p>
<p> </p>
<p>I am using "JobScheduler" object in iHub to schedule the job however i don't find any direct methods to set the report options for a job.</p>
<p> </p>
<p>Please help on this.</p>
<p> </p>
<p>Note: I am using iHub 3.1</p>
<p> </p>
<p>I want to set the PDF render property "Page Style" to "Actual size" in iHub. I don't want to configure it in PDF Emitter xml since it will reflect in all the reports.</p>
<p> </p>
<p>I would like to know how to set this option from Java component while scheduling a job to iHub and directly in report(if there is an option).</p>
<p> </p>
<p>I am using "JobScheduler" object in iHub to schedule the job however i don't find any direct methods to set the report options for a job.</p>
<p> </p>
<p>Please help on this.</p>
<p> </p>
<p>Note: I am using iHub 3.1</p>
<p> </p>
0
Comments
-
<p>What is the "Java component" that you are referring to?</p>
<p> </p>
<p>IDAPI?</p>
<p>IDAPI Wrapper (<a data-ipb='nomediaparse' href='https://github.com/puckpuck/idapi-wrapper)?'>https://github.com/puckpuck/idapi-wrapper)?</a></p>
<p> </p>
<p> </p>
<p>If the IDAPI Wrapper, it doesn't currently support the ConversionOptions (<a data-ipb='nomediaparse' href='https://github.com/puckpuck/idapi-wrapper/blob/master/idapi-wrapper/src/com/actuate/aces/idapi/JobScheduler.java'>https://github.com/puckpuck/idapi-wrapper/blob/master/idapi-wrapper/src/com/actuate/aces/idapi/JobScheduler.java</a>) in scheduleJob: </p>
<pre class="_prettyXprint _lang-">
if (outputFormat != null) {
ConversionOptions conversionOptions = new ConversionOptions();
conversionOptions.setFormat(outputFormat);
submitJob.setConversionOptions(conversionOptions);
}
</pre>
<p>You can rewrite the wrapper, extend scheduleJob in the wrapper, or use IDAPI directly.</p>Warning No formatter is installed for the format ipb0 -
<p>When scheduling a job you can pass conversion options as report parameters. I don't know the exact report parameter name for "Page Style", but I know names of a few others:</p>
<p> </p>
<p>$$$AC_CONVERSION_OPTION_rptdesign_PDF_BIDIProcessing<br>
$$$AC_CONVERSION_OPTION_rptdesign_PDF_EmbeddedFont</p>
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 105 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management