Mercurial > hg > soundsoftware-site
comparison lib/redmine/export/.svn/text-base/pdf.rb.svn-base @ 210:0579821a129a
Update to Redmine trunk rev 4802
author | Chris Cannam |
---|---|
date | Tue, 08 Feb 2011 13:51:46 +0000 |
parents | 40f7cfd4df19 |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
128:07fa8a8b56a8 | 210:0579821a129a |
---|---|
253 pdf.Ln | 253 pdf.Ln |
254 | 254 |
255 pdf.SetFontStyle('B',9) | 255 pdf.SetFontStyle('B',9) |
256 pdf.Cell(35,5, l(:field_description) + ":") | 256 pdf.Cell(35,5, l(:field_description) + ":") |
257 pdf.SetFontStyle('',9) | 257 pdf.SetFontStyle('',9) |
258 pdf.MultiCell(155,5, issue.description,"BR") | 258 pdf.MultiCell(155,5, issue.description.to_s,"BR") |
259 | 259 |
260 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) | 260 pdf.Line(pdf.GetX, y0, pdf.GetX, pdf.GetY) |
261 pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY) | 261 pdf.Line(pdf.GetX, pdf.GetY, 170, pdf.GetY) |
262 pdf.Ln | 262 pdf.Ln |
263 | 263 |
269 pdf.SetFontStyle('B',8) | 269 pdf.SetFontStyle('B',8) |
270 pdf.Cell(190,5, format_time(changeset.committed_on) + " - " + changeset.author.to_s) | 270 pdf.Cell(190,5, format_time(changeset.committed_on) + " - " + changeset.author.to_s) |
271 pdf.Ln | 271 pdf.Ln |
272 unless changeset.comments.blank? | 272 unless changeset.comments.blank? |
273 pdf.SetFontStyle('',8) | 273 pdf.SetFontStyle('',8) |
274 pdf.MultiCell(190,5, changeset.comments) | 274 pdf.MultiCell(190,5, changeset.comments.to_s) |
275 end | 275 end |
276 pdf.Ln | 276 pdf.Ln |
277 end | 277 end |
278 end | 278 end |
279 | 279 |
289 pdf.Cell(190,5, "- " + show_detail(detail, true)) | 289 pdf.Cell(190,5, "- " + show_detail(detail, true)) |
290 pdf.Ln | 290 pdf.Ln |
291 end | 291 end |
292 if journal.notes? | 292 if journal.notes? |
293 pdf.SetFontStyle('',8) | 293 pdf.SetFontStyle('',8) |
294 pdf.MultiCell(190,5, journal.notes) | 294 pdf.MultiCell(190,5, journal.notes.to_s) |
295 end | 295 end |
296 pdf.Ln | 296 pdf.Ln |
297 end | 297 end |
298 | 298 |
299 if issue.attachments.any? | 299 if issue.attachments.any? |