Feature #12586
closed
How to add Header logo in pdf while exporting wiki pages into pdf format
Added by satya B almost 12 years ago.
Updated almost 4 years ago.
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.
- Category set to PDF export
- Status changed from New to Resolved
Got the solution
use SetImage in pdf.rb
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.
satya B wrote:
Hi Toshi,
I am trying to prevent table break into pages while converting wiki to pdf formate.
Do you mean #11987?
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.
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.
- Status changed from Resolved to Closed
- Resolution set to Invalid
satya B wrote:
Got the solution
use SetImage in pdf.rb
Could you please give the line of code for setimage function
Also available in: Atom
PDF