PDF find out if text is underlined or a table cell

后端 未结 5 1878
遇见更好的自我
遇见更好的自我 2020-12-30 18:45

I have been playing around with PdfBox and PDFTextStripperByArea method.

I was able to extract information if the text is bold or italic, b

5条回答
  •  轮回少年
    2020-12-30 19:21

    you can use Itext to generate pdf reports.

    by using itext you can able to put the lines in easy way.

    try the follwing.

    document.add(new LineSeparator(0.5f, 50, null, 0, 198));

    the above code is used to generate lines in pdf report. and set the dimensions according to your choice.

    hope this will help you.

提交回复
热议问题