pentaho/pentaho-kettle — pull request #171 by mtseu (2013-12-26 16:04:51+00:00)
Title: [PDI-9953] - fix various AutoDoc layout issues

! NO Unit Tests ! - look and feel issues

the following issues are covered:
[PDI-8554] - Autodoc has bad layout in PDF output (missing parts of the image on the top when detailed information is shown)
[PDI-6752] - Autodoc generates bad icons in PDF output
[PDI-9948] - Automatic Documentation Output step excludes image written to output file when carriage return used in "extended description" of transformation settings
[PDI-6751] - Automatic Documentation Output does not support multi-line text for description

the following issues are not yet covered:
[PDI-6757] - Automated Documentation Step DOC export duplicates newlines in extended description ouput - PRD issue - the duplicate Jira case to be filed.

Cause 1: the main cause of layout issue was improper use of
setTransform() method of PdfGraphics2D instance:
it was not accounted that some coordinates shift
has already been defined by external caller (reporting engine)
Solution 1: apply AffineTransform above an existing one instead of
ovverriding the original.

Cause 2: black PDF images were caused by zero-length lines drawn
on "pixelate" procedure.
Solution 2: draw the lines of 1 pixel length.

Cause 3: broken layout in resulting table for all output formats
was caused by improper setup of report band (single band for entire report)
Solution 3: use separate band with ROW layout for each report's row.