Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid

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.

Actions #1

Updated by Toshi MARUYAMA almost 12 years ago

  • Category set to PDF export
Actions #2

Updated by satya B almost 12 years ago

  • Status changed from New to Resolved

Got the solution
use SetImage in pdf.rb

Actions #3

Updated by satya B over 11 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.

Actions #4

Updated by Toshi MARUYAMA over 11 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?

Actions #5

Updated by satya B over 11 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.
Actions #6

Updated by Toshi MARUYAMA over 11 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.

Actions #7

Updated by satya B over 11 years ago

Ok, anyway thanks.

Actions #8

Updated by Jan Niggemann (redmine.org team member) over 11 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

resolved -> closed

Actions #9

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

Actions

Also available in: Atom PDF