Hi everyone Is there any gem or any other way in ruby to generate PDF from XSL FO. I''ve been googling for hours but with no returns. Any help would be greatly appreciated. Thanks Anandh
Anandh Kumar wrote:> Hi everyone > > Is there any gem or any other way in ruby to generate PDF > from XSL FO. > I''ve been googling for hours but with no returns. Any help would be > greatly appreciated.You may need to shell out to FOP, or (if you''re using JRuby) call it from the Java side. If you don''t *need* to use FO as your intermediate representation, also consider a library such as Prawn.> > Thanks > > AnandhBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Thanks for the response. I''m not using JRuby. And as of now prawn too doesnt have this functionality. So is there any other way to accomplish this is in Ruby on Rails. Thanks again Anandh On Aug 6, 8:29 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote:> Anandh Kumar wrote: > > Hi everyone > > > Is there any gem or any other way in ruby to generate PDF > > from XSL FO. > > I''ve been googling for hours but with no returns. Any help would be > > greatly appreciated. > > You may need to shell out to FOP, or (if you''re using JRuby) call it > from the Java side. > > If you don''t *need* to use FO as your intermediate representation, also > consider a library such as Prawn. > > > > > Thanks > > > Anandh > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://www.ruby-forum.com/.
Anandh Kumar wrote:> Thanks for the response. I''m not using JRuby. And as of now prawn too > doesnt have this functionality.What functionality? As I said, Prawn doesn''t use FO, but may be a good alternative if FO is not an actual requirement.> So is there any other way to accomplish this is in Ruby on Rails.I gave a suggestion that doesn''t require JRuby. Please reread my original post.> > Thanks again > > Anandh > > On Aug 6, 8:29�pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.