##// END OF EJS Templates
pdf: restore "id_width" parameter of issues_to_pdf_draw_borders (#14178)...
Toshi MARUYAMA -
r11690:7bc0c2619836
parent child
Show More
@@ -394,7 +394,7 module Redmine
394 394
395 395 # write the cells on page
396 396 issues_to_pdf_write_cells(pdf, query.inline_columns, col_width, row_height, true)
397 issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, col_width)
397 issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, 0, col_width)
398 398 pdf.SetY(base_y + max_height);
399 399
400 400 # rows
@@ -474,7 +474,7 module Redmine
474 474
475 475 # write the cells on page
476 476 issues_to_pdf_write_cells(pdf, col_values, col_width, row_height)
477 issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, col_width)
477 issues_to_pdf_draw_borders(pdf, base_x, base_y, base_y + max_height, 0, col_width)
478 478 pdf.SetY(base_y + max_height);
479 479
480 480 if query.has_column?(:description) && issue.description?
@@ -510,7 +510,9 module Redmine
510 510 end
511 511
512 512 # Draw lines to close the row (MultiCell border drawing in not uniform)
513 def issues_to_pdf_draw_borders(pdf, top_x, top_y, lower_y, col_widths)
513 #
514 # parameter "id_width" is not used. it is kept for compatibility.
515 def issues_to_pdf_draw_borders(pdf, top_x, top_y, lower_y, id_width, col_widths)
514 516 col_x = top_x
515 517 pdf.Line(col_x, top_y, col_x, lower_y) # id right border
516 518 col_widths.each do |width|
General Comments 0
You need to be logged in to leave comments. Login now