vandeseer / easytable

Small table drawing library built upon Apache PDFBox
MIT License
246 stars 94 forks source link

paragraph underline markup not working #86

Closed stanleyfl88 closed 4 years ago

stanleyfl88 commented 4 years ago

tableBuilder.addRow(Row.builder() .add(ParagraphCell.builder() .lineSpacing(1.2f) .colSpan(6) .horizontalAlignment(HorizontalAlignment.JUSTIFY) .paragraph(Paragraph.builder() .append(Markup.builder() .markup( "Test __underline__" ) .font(Markup.MarkupSupportedFont.HELVETICA) .build() ) .build()) .build()) .build());

Below are libraries included pdfbox-2.0.19.jar
pdfbox-tools-2.0.19.jar
xmpbox-2.0.19.jar
preflight-2.0.19.jar
fontbox-2.0.19.jar
easytable-0.6.5.jar
pdfbox2-layout-1.0.0.jar

vandeseer commented 4 years ago

Thanks for reporting. I will have a look as soon as I find a bit of time for that. Note though that the whole integration of pdfbox-layout is rather experimental, so it is more or less to be expected that not everything runs flawlessly ...

vandeseer commented 4 years ago

Fixed now with version 0.6.6