Content
View differences
Updated by Andrej Sandorf over 1 year ago
1. Go to https://qa.openproject-edge.com/projects/test-project-cecile/work\_packages/9685/activity?query\_id=3427
2. Click on more
3. Generate PDF from description
Bug: Table formatting is not reflected on the exported PDF
Example:
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table" style="border:2px solid hsl(90, 75%, 60%);"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border:2px dotted hsl(0, 0%, 0%);"><p class="op-uc-p">dotted</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column1</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column2</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column3</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column4</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">line1</p></td><td class="op-uc-table--cell" style="border:2px solid hsl(0, 0%, 0%);"><p class="op-uc-p">width: 2px</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">line3</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border:2px dashed hsl(30, 75%, 60%);"><p class="op-uc-p">dashed</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border:4px solid hsl(0, 0%, 0%);"><p class="op-uc-p">width: 4px</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);"><p class="op-uc-p">line4</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td></tr></tbody></table></figure>
Example outer border
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Only an </p></td><td class="op-uc-table--cell"><p class="op-uc-p">outer border</p></td></tr></tbody></table></figure><br>
Out of scope:
* The pdf library does not fully support outer borders, so it if there is a cell border at same position, it is painted over.
* User defined column widths are currently not supported. Follow up at <mention class="mention" data-id="61037" data-type="work_package" data-text="#61037">#61037</mention>
2. Click on more
3. Generate PDF from description
Bug: Table formatting is not reflected on the exported PDF
Example:
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table" style="border:2px solid hsl(90, 75%, 60%);"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border:2px dotted hsl(0, 0%, 0%);"><p class="op-uc-p">dotted</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column1</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column2</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column3</p></td><td class="op-uc-table--cell" style="background-color:hsl(120, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">column4</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">line1</p></td><td class="op-uc-table--cell" style="border:2px solid hsl(0, 0%, 0%);"><p class="op-uc-p">width: 2px</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">line3</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border:2px dashed hsl(30, 75%, 60%);"><p class="op-uc-p">dashed</p></td><td class="op-uc-table--cell" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><p class="op-uc-p">default</p></td><td class="op-uc-table--cell" style="border:4px solid hsl(0, 0%, 0%);"><p class="op-uc-p">width: 4px</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="background-color:hsl(60, 75%, 60%);"><p class="op-uc-p">line4</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td><td class="op-uc-table--cell"><p class="op-uc-p">none</p></td></tr></tbody></table></figure>
Example outer border
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table" style="border-color:hsl(0, 0%, 0%);border-style:solid;"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Only an </p></td><td class="op-uc-table--cell"><p class="op-uc-p">outer border</p></td></tr></tbody></table></figure><br>
Out of scope:
* The pdf library does not fully support outer borders, so it if there is a cell border at same position, it is painted over.
* User defined column widths are currently not supported. Follow up at <mention class="mention" data-id="61037" data-type="work_package" data-text="#61037">#61037</mention>