Hi All, I am generating pdf in rails by using rupdf plugin.Now i want to customize the layout for the pdf. Searched a lot but couldn''t find anything relevant. Any suggessions? Thanks Arpit --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
arpit jain wrote:> Hi All, > I am generating pdf in rails by using rupdf plugin.Now i want to > customize the layout for the pdf. > Searched a lot but couldn''t find anything relevant. Any > suggessions? > > Thanks > Arpithi Well if you are using rupdf plugin then u can directly define the header,content and the footer by specifying the path or rendering file thru controller.. Its given here http://scoop.cheerfactory.co.uk/2007/12/15/rupdf-simple-ruby-pdf-rails-plugin/ Thanks Dhaval Parikh Software Engineer www.railshouse.com sales(AT)railshouse(DOT)com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Jun 13, 2008 at 12:26 PM, Dhaval Parikh < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > arpit jain wrote: > > Hi All, > > I am generating pdf in rails by using rupdf plugin.Now i want to > > customize the layout for the pdf. > > Searched a lot but couldn''t find anything relevant. Any > > suggessions? > > > > Thanks > > Arpit > > > hi > > Well if you are using rupdf plugin then u can directly define the > header,content and the footer by specifying the path or rendering file > thru controller.. > > Its given here > > http://scoop.cheerfactory.co.uk/2007/12/15/rupdf-simple-ruby-pdf-rails-plugin/ > > Thanks > > Dhaval Parikh > Software Engineer > www.railshouse.com > sales(AT)railshouse(DOT)comI have already checked it,but what i need is to give custom layout like, color of text, its positioning, variable size of the fonts, giving margins etc.> > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
well all that properties u can set with the help of css Thanks Dhaval Parikh Software Engineer www.railshouse.com sales(AT)railshouse(DOT)com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Dhaval Parikh wrote:> well all that properties u can set with the help of css > > Thanks > > Dhaval Parikh > Software Engineer > www.railshouse.com > sales(AT)railshouse(DOT)comthe whole file will get embedded into the pdf so u can give inline css which will be directly reflected on the generated pdf.. Have u tried this? Thanks Dhaval Parikh Software Engineer www.railshouse.com sales(AT)railshouse(DOT)com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---