Jump to content

BIRT Developer Center Download


Photo

Set PDF "Page Style" property to "Actual size" in iHub

pdf scheduling iHub

  • Please log in to reply
2 replies to this topic

#1 BIRT User

BIRT User

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 19 December 2016 - 06:36 AM

Hello BIRT Experts,

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.

 

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).

 

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.

 

Please help on this.

 

Note: I am using iHub 3.1

 

Attached Files



#2 Clement Wong

Clement Wong

    Senior Member

  • BIRT Experts
  • 1141 posts

Posted 03 January 2017 - 01:27 PM

What is the "Java component" that you are referring to?

 

IDAPI?

IDAPI Wrapper (https://github.com/p...idapi-wrapper)?

 

 

If the IDAPI Wrapper, it doesn't currently support the ConversionOptions (https://github.com/p...bScheduler.java) in scheduleJob:

		if (outputFormat != null) {
			ConversionOptions conversionOptions = new ConversionOptions();
			conversionOptions.setFormat(outputFormat);
			submitJob.setConversionOptions(conversionOptions);
}

You can rewrite the wrapper, extend scheduleJob in the wrapper, or use IDAPI directly.


Clement Wong
Principal Analytics Architect

OpenText Corporation
http://www.actuate.com | http://www.opentext.com


#3 BIRT User

BIRT User

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 16 May 2017 - 12:00 AM

Thanks.







Also tagged with one or more of these keywords: pdf, scheduling, iHub