Formatting issue while converting Section to PDF
User is trying to convert an existing section to PDF.
User is able to render all formatting as that of a section but is not able to render the areas with referenced text boxes.
However, the label and the value are not appearing in a single line in the generated PDF.
Both appear on different lines. But when the user previews the section, the label and the value are shown on the same line.
Steps to Reproduce
- Include a section with just pyLable and Value.
- Run the activity to generate PDF by calling the HTMLtoPDF activity by passing the relevant parameters.
Upon observing the generated PDF and on previewing the section, you see that the alignment is gone.
A defect in Pegasystems’ code or rules
There is an issue with the PD4ml library. The PD4ml library treats the child DIVs as block level elements though the parent is styled with "display:inline-block".
Perform the following local-change:
Make all child DIVs (that is, content-item.content-label>.content-inner and .field-item.dataLabelWrite) as "display:inline-block" as shown in the following example:
0% found this useful