##// END OF EJS Templates
PDF: use RDMMultiCell for drawing lines of issue description (#69)....
Toshi MARUYAMA -
r6016:130c20c69df4
parent child
Show More
@@ -282,8 +282,6 module Redmine
282 282 "#{issue.project} - #{issue.tracker} # #{issue.id}: #{issue.subject}")
283 283 pdf.Ln
284 284
285 y0 = pdf.GetY
286
287 285 pdf.SetFontStyle('B',9)
288 286 pdf.RDMCell(35,5, l(:field_status) + ":","LT")
289 287 pdf.SetFontStyle('',9)
@@ -331,18 +329,18 module Redmine
331 329 pdf.RDMMultiCell(155,5, (show_value custom_value),"R")
332 330 end
333 331
332 y0 = pdf.GetY
333
334 334 pdf.SetFontStyle('B',9)
335 335 pdf.RDMCell(35,5, l(:field_subject) + ":","LT")
336 336 pdf.SetFontStyle('',9)
337 337 pdf.RDMMultiCell(155,5, issue.subject,"RT")
338 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY)
338 339
339 340 pdf.SetFontStyle('B',9)
340 pdf.RDMCell(35,5, l(:field_description) + ":","LT")
341 pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1)
341 342 pdf.SetFontStyle('',9)
342 pdf.RDMMultiCell(155,5, issue.description.to_s,"RT")
343
344 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY)
345 pdf.Line(pdf.GetX, pdf.GetY, pdf.GetX + 190, pdf.GetY)
343 pdf.RDMMultiCell(35+155, 5, issue.description.to_s, "LRB")
346 344 pdf.Ln
347 345
348 346 if issue.changesets.any? &&
General Comments 0
You need to be logged in to leave comments. Login now