Add or Search Hidden Text in PDF Document & Change Annotations Orientation using Java

It introduced the capability to add and search hidden text in PDF document & the capability to use PDF file objects after calling ProcessPragraphs() method. It also provides the capabilities to change annotations orientation.
By: Aspose
 
LANE COVE, Australia - June 13, 2016 - PRLog -- What's New in this Release?

Aspose team is pleased to announce the release of Aspose.Pdf for Java 11.4.0. In order to add hidden text, pass an argument of true to TextState.setInvisible(…) method. TextFragmentAbsorber finds all text that match pattern (if specified). Please note that hidden text in the document will be invisible for end user while viewing the document with PDF reading software (e.g. Acrobat Reader). But it can be found using text search. There are several ways to make text invisible for end user in PDF and we have implemented one of those techniques. However the text added through our approach can be found using TextFragmentAbsorber and we cannot guarantee that any hidden text added by third party applications can be found using same approach but in case you encounter any issue, please share the resource file and we can further investigate the scenario. The processParagraphs() method was introduced to calculate objects placed inside PDF file and in case we need to have page count information during PDF file generation, this method can be used as it manipulates file objects and returns the desired information. In earlier release versions, once this method was called, the file objects could not be accessed any further. So if you need to add any new object to existing page instance, it was not possible and you had to have a new Page instance where objects can be placed. Nevertheless, starting this new release, you can utilize same Page objects even after calling the processParagraphs() method. A new Rotate(...) method is added for annotation which provides the capabilities to change annotations orientation. As well as the enhancements and features discussed above, there have been specific improvements regarding Text extraction from PDF, image placement inside PDF, PDF to HTML, HTML to PDF, PDF to PDF/A, XPS to PDF, PDF to Image, PDF to TIFF, TIFF to PDF conversion and PDF printing are also improved. Some important improved features included in this release are given below

·         Add and search hidden text in PDF document

·         Rotate method is added for FreeTextAnnotation

·         Using same Page object after processPragraphs() call

·         PDF Text extraction takes several minutes, with 100% CPU

·         Image Inserted to PDF is abit blur

·         HTML to PDFconversion throws internal exception

·         PDF to PDFA conversion throws NullPointerException

·         TIFF to PDF conversion throws TiffImageException

·         OutOfMemoryError when printing PDF file

·         PDF to PNG conversion throws java.lang.InternalError exception

·         TIFF to PDF - Conversion is failing

·         XPS to PDF: Text missing in output PDF

·         When printing PDF file, the font quality is dropped

·         PDF print - resultant printout is not correct

·         PDF to PS conversion - font quality is dropped

·         PDF to PDFA3a conversion fails compliance test - AnalyseMediendatenbank.pdf

·         PDF to PDF/A_2a - Resultant file is not PDF/A_2a compliant

·         PDF to HTML - Conversion process takes much time

·         PDF to HTML - Conversion process takes much time

·         PDF to HTML - Conversion process takes 1 minute

·         PdfViewer: print quality is poor

·         PDF to HTML - Conversion is taking too much time

·         Images not getting delete when using ImagePlacementAbsorber

·         PdfViewer is printing blury image.

·         Second occurrence of a text is not being searched with regular expression and replaced

·         XML Import - not all form fields are being populated

·         TextFragmentAbsorber does not replace flatten form text

·         Printing quality of resultant file is not correct

·         PDF to PNG - resultant image is not correct

·         PDF to PDFA1b: output PDFA1b fails compliance verification

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Pdf for Java documentation that may guide you briefly how to use Aspose.Pdf for performing different tasks like the followings.

-  Find and Replace Text by its Location: http://www.aspose.com/docs/display/pdfjava/Find+and+Replace+Text+by+its+Location

-  Convert PDF File into XPS Format: http://www.aspose.com/docs/display/pdfjava/Convert+PDF+File+into+XPS+Format

Overview: Aspose.Pdf for Java

Aspose.Pdf is a Java PDF component to create PDF documents without using Adobe Acrobat. It supports Floating box, PDF form field, PDF attachments, security, Foot note & end note, Multiple columns document, Table of Contents, List of Tables, Nested tables, Rich text format, images, hyperlinks, JavaScript, annotation, bookmarks, headers, footers and many more. Now you can create PDF by API, XML and XSL-FO files. It also enables you to converting HTML, XSL-FO and Excel files into PDF.

More about Aspose.Pdf for Java

- Homepage of Aspose.Pdf for Java: http://www.aspose.com/java/pdf-component.aspx

- Download Aspose.Pdf for Java at: http://www.aspose.com/downloads/pdf/java

- Read online documentation of Aspose.Pdf for Java at: http://www.aspose.com/docs/display/pdfjava/Home

Contact Information

Aspose Pty Ltd

Suite 163, 79 Longueville Road

Lane Cove, NSW, 2066

Australia

http://www.aspose.com/

sales@aspose.com


Phone: 888.277.6734

Fax: 866.810.9465

Contact
Aspose
***@aspose.com
End
Source:Aspose
Email:***@aspose.com Email Verified
Tags:Search hidden PDF text, Java PDF API, HTML to Pdf conversion
Industry:Software
Location:Lane Cove - New South Wales - Australia
Account Email Address Verified     Account Phone Number Verified     Disclaimer     Report Abuse
Aspose Pty Ltd. PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share