Re: Generate a pdf with multiple page.
Re: Generate a pdf with multiple page.
- Subject: Re: Generate a pdf with multiple page.
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 09 Oct 2012 14:23:04 -0700 (PDT)
1st watch Kieran K's fantastic example of using JasperReports entitled Integrating JasperReports WOWDC 2010. The only downside to his approach is that it assumes that you are creating a report of an Array of EOs and ERJasperReports didn't include a method of handing it a single EO.
My first attempt was to pass an array with only one object. Then after I figured out how Kieran was doing his magic I create a method to take a single EO
I created another class called ERJRReportTaskFromEO.java that takes an EO and creates the report task.
I sent the .java to Kieran if he wanted to include it into ERJasperReports (then he might choose a better name). If you want, I can sent it to you keeping in mind that someone may 'fix' ERJasperReports to include the function with a better name.
Let me know if you want more info. I could cobble together an easy example, but I think Kieran's podcast is a perfect place to start.
Ted
--- On Tue, 10/9/12, Miguel Torres <email@hidden> wrote:
> From: Miguel Torres <email@hidden>
> Subject: Re: Generate a pdf with multiple page.
> To: "Theodore Petrosky" <email@hidden>
> Cc: "Raymond NANEON" <email@hidden>, "WebObjects Development" <email@hidden>
> Date: Tuesday, October 9, 2012, 4:32 PM
> Hi Theodore,
>
> Could you give us more detailed about how you do that?
>
> Thanks
>
> Miguel Torres.
>
>
> On 09/10/2012, at 13:56, Theodore Petrosky <email@hidden>
> wrote:
>
> > I use JasperReports also but I pass in my EO and let
> the framework do its magic.
> >
> > Ted
> >
> > --- On Tue, 10/9/12, Raymond NANEON <email@hidden>
> wrote:
> >
> >> From: Raymond NANEON <email@hidden>
> >> Subject: Re: Generate a pdf with multiple page.
> >> To: "Miguel Torres" <email@hidden>
> >> Cc: "WebObjects Development" <email@hidden>
> >> Date: Tuesday, October 9, 2012, 1:16 PM
> >> Hi
> >> Miguel,
> >> Thanks your recommendation. I choosed
> >> jasperreports and I am finalizing my .jasper and
> subreports.
> >> I made tests and it works fine. I use Xml data
> source too (a
> >> method which transforms data fetched in xml).
> >> Ray
> >>
> >> Envoyé
> >> depuis iCloud
> >>
> >>
> >>
> >>
> >> Le 8 oct. 2012 à 22:44, Miguel Torres <email@hidden>
> >> a écrit :
> >> Hi
> >> Raymond
> >> We use BIRT
> >> Reports for PDF creation because it is easy to use
> and
> >> allows us to improve the graphic quality of our
> >> reports.
> >> http://www.eclipse.org/birt/phoenix/
> >> We use XML
> >> files as data source, so we have coded clases that
> generate
> >> those XML structures that feed ours reports.
> >>
> >> Hope this
> >> helps.
> >> Miguel Torres
> >>
> >>
> >>
> >> On 01/10/2012, at 09:00, Raymond NANEON <email@hidden>
> >> wrote:
> >> Hi List,
> >>
> >> I have a list of projects which contains 2pages
> (cf
> >> list_projet). I want to generate a detail of each
> project
> >> (2pages per project or less) in the same pdf. Can I
> do it
> >> with ERPDFGeneration or another framework?
> >>
> >> liste_projets
> >>
> >>
> >> example of project pages:
> >>
> >> page1
> >>
> >>
> >> page2
> >>
> >>
> >> Can I have methods examples or advices on how
> can I do it?
> >>
> >> Thanks for your help.
> >> Envoyé
> >> depuis iCloud
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list
> >> (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list
> >> (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >>
> >> -----Inline Attachment Follows-----
> >>
> >>
> >> _______________________________________________
> >> Do not post admin requests to the list. They will
> be
> >> ignored.
> >> Webobjects-dev mailing list (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >>
> >> This email sent to email@hidden
> >>
> >
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden