Feature #12586
closedHow to add Header logo in pdf while exporting wiki pages into pdf format
0%
Description
I am using 2.0.4 version of redmine
Rails 3.2.9
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]
I am trying to add header logo to pdf while exporting wiki pages into pdf format.
which function I need to use in "redmine/lib/redmine/export/pdf.rb" file to add image.
Updated by satya B about 12 years ago
- Status changed from New to Resolved
Got the solution
use SetImage in pdf.rb
Updated by satya B almost 12 years ago
Hi Toshi,
I am trying to prevent table break into pages while converting wiki to pdf formate.
But I am unsuccessful, Is it possible to prevent table break in pdf?
If so which part of the redmine code does this, I went through few ruby files but didn't understand which function does this task
Files which I refered:
tcpdf.rb
pdf.rb
wiki_formatting.rb
Could you please guide me
Thanks.
Updated by Toshi MARUYAMA almost 12 years ago
satya B wrote:
Hi Toshi,
I am trying to prevent table break into pages while converting wiki to pdf formate.
Do you mean #11987?
Updated by satya B almost 12 years ago
No, Here is the requirement, When a table starts from middle of the pdf page and if the table length is more then that page then the table will continue to the next page.
We want to avoid such table break into pages and if the table doesn't fit into current page it should automatically start from new page as like image files.
Updated by Toshi MARUYAMA almost 12 years ago
satya B wrote:
We want to avoid such table break into pages and if the table doesn't fit into current page it should automatically start from new page as like image files.
I don't know how to do it.
Updated by Jan Niggemann (redmine.org team member) over 11 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
resolved -> closed
Updated by Dileep Kumar almost 4 years ago
satya B wrote:
Got the solution
use SetImage in pdf.rb
Could you please give the line of code for setimage function