Hello, Did you implement this requirement using pdf clown? We have similar requirement. Thanks
org.pdfclown.util.NotImplementedException: LZWDecode
Please guide me on this
Hi, We are using pdf clown to highlight word in pdf. However its working fine for pdfs havnig ANSI encoding.And for CUSTOM encoding its giving below error, org.pdfclown.util.NotImplementedException: LZWDecode org.pdfclown.bytes.filters.Filter.get(Filter.java:74) org.pdfclown.objects.PdfStream.getBody(PdfStream.java:193) org.pdfclown.objects.PdfStream.getBody(PdfStream.java:155) org.pdfclown.documents.contents.Contents$ContentStream.moveNextStream(Contents.java:279) org.pdfclown.documents.contents.Contents$ContentStream.<init>(Contents.java:86)...
Hi, We are using below code to highlight word in pdf, public String highlight(String inputPath, String outputPath, String searchWord1,javax.servlet.http.HttpServletResponse res ) { BufferedInputStream bis = null; BufferedOutputStream bos = null; final String searchWord= searchWord1; // 1. Open the PDF file! File file; try { file = new File(inputPath); } catch(Exception e) { throw new RuntimeException(inputPath + " file access error.",e); } count = 0; Pattern pattern = Pattern.compile(searchWord,...