Java PDF manipulation, replacing text based on pattern matching, with hyperlink -
does know of best way take pdf document, , replace subs strings match pattern ( [a-z][a-z][a-z] ' ' [0-9][0-9][0-9][0-9]|[a-z] ), , replace hyperlink of same string going same string.
i plan allow user view pdf document (which list of classes can take degree), , allow user click class, inorder add list.
i understand can add hyperlinklistener jeditorpane, , assuming work on hyperlinks in pdf (i hope)
i looking pdfbox , itext, far stuck on how replace text.
*i plan pull pdfs url, , format hyperlinks on fly (no need export file either).
looking forward feed back.
i found example http://pdfbox.apache.org/apidocs/org/apache/pdfbox/examples/pdmodel/replacestring.html
by incorporating pattern matcher in code, able update text , replace strings match pattern strings based on string replacing.
Comments
Post a Comment