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 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
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 P.
Software Engineer
sales(AT)railshouse(DOT)com
On Fri, Jun 13, 2008 at 12:26 PM, Dhaval P. <
[email protected]> wrote:
Thanks
Dhaval P.
Software Engineer
www.railshouse.com
sales(AT)railshouse(DOT)com
I 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.
well all that properties u can set with the help of css
Thanks
Dhaval P.
Software Engineer
sales(AT)railshouse(DOT)com
Dhaval P. wrote:
well all that properties u can set with the help of css
Thanks
Dhaval P.
Software Engineer
www.railshouse.com
sales(AT)railshouse(DOT)com
the 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 P.
Software Engineer
sales(AT)railshouse(DOT)com
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs