I have the same problem as this partner: how to remove a XWPFHyperlinkRun by poi
I can't convert my .doc to .pdf because of that XWPFHyperlinkRun element.
I can remove a simply run paragraph like this:
for (XWPFParagraph xwpfParagraph : paragraphs) {
for (int i = 0; i < xwpfParagraph.getRuns().size(); i++)
{
xwpfParagraph.removeRun(i);
}
}
but hypertextlink don't......
If someone had a solution i will be really grateful.
Thanks, regards.