Add HTML Tags/Contents to PDF & Remove Extended Rights from PDF Document

sherazam

Well-known member
Joined
Mar 10, 2010
Messages
277
Programming Experience
3-5
What?s new in this release?

The latest version of Aspose.Pdf for .NET (9.5.0) has been released. The PDF feature extended rights enables end-users to fill data into form fields by using Adobe Reader and then save the filled form copy. However, it ensures that the PDF file is not modified and, if any modification to the structure of PDF is made, the extended rights feature is lost so that when viewing such a document, an error message is displayed stating that extended rights have been removed because the document was modified. Recently we received a requirement to remove extended rights from PDF document. We are pleased to share that this feature is implemented in the latest release of Aspose.Pdf for .NET, version 9.5.0. Recently we received a requirement to add measurement elements using Aspose.Pdf for .NET (like we can use the measurement tool in Adobe Acrobat) to a PDF document. In order to accomplish this requirement, a class named Measure is added to the Aspose.InteractiveFeatures.Annotations namespace and it describes the measure coordinate system. The Aspose.Pdf.Generator.Text class contains a property named IsHtmlTagSupported which provides the feature to add HTML tags/contents to a PDF file. Content added this way is rendered in native HTML tags instead of appearing as simple text strings. To support a similar feature in the new Document Object Model (DOM) of the Aspose.Pdf namespace, we have introduced the HtmlFragmentclass. During PDF to HTML conversion, fonts, image and CSS files containing style information for the PDF contents are generated. These resources are necessary to maintain the formatting of the output HTML file. However, there might be a scenario when you want to load the PDF file Stream object and you do not need to store or save these resource files on the system or drive. For example, if you don?t have the permissions to saving intermediate resource files or you do not want to save these resources but need to perform conversion on the fly (the file will only be viewed once and is not required for later processing). The FormEditor class? SetFieldLimit("textbox1", 20) method supports the feature to set the field limit, that is the maximum number of characters that can be placed or inserted into a field. Similarly, we have created a new method to get field limit using DOM approach. As well as the above features, this release includes fixes for many issues and it is a major release. The list of important new and improved features are given below

- Implement IsHtmlTagSupported property in TextFragment class
- Remove Extended Rights feature from the PDF
- Add support for Pdf measurement tool
- PDF to HTML - Save HTML, CSS ,Image, Font resources in Stream object
- Get form field limit
- Expanded Bookmarks when opening the PDF documents
- PDF to DOC: output document is 10 times larger
- Adding HTML string using Aspose.Pdf namespace(DOM)
- Several other types of Shapes absent in new Generator
- Table contents are rendered over the page's bottom margin
- HTML2PDF: Converted file has alot of spaces and empty page
- HTML to PDF Conversion issues are resolved
- Corrupted DOC file is fixed when generated from PDF document
- Document becomes corrupted after applying compression is now fixed
- PDF to Word: Fixed opening converted document in Word 2003
- Wrong font issue is resolved for accented characters, after PDF converted to Word
- Text Replace:\- Text is overlapping to contents on right
- PDF to HTML :\- Contents missing is resolved on resultant HTML
- HTML to PDF text splits over two lines is fixed
- HTML to PDF formatting issue is resolved.
- HTML to PDF - Now all contents are visible
- HTML to PDF - Double underline now rendered resultant file
- HTML to PDF - Incorrect output file is fixed
- PDF to TIFF: background image is now properly rendered
- HTML to PDF ? HTML to PDF format conversion is now fixed
- HTML to PDF: inline CSS style adds line break
- HTML to PDF: Large HTML conversion issue is resolved
- HTML to PDF ? Fixed image is being placement on subsequent page
- HTML to PDF - Resultant file blank issue is fixed
- HTML to PDF - Table going beyond Page width is now fixed
- Printing - Margin information for printout is now being honored
- Unable to set text margin when using IsHtmlTagSupported
- PDF to HTML - conversion process takes longer time
- Text replacement creates formatting issue and is now fixed
- PDF to Image - Image crops if Resolution value is increased
- Text replace leaves an extra space and is now fixed
- Problem is resolved for validating converted PDF to PDF/A
- SVG to PDF conversion: Image rendering is fixed
- Incorrect page dimensions are now fixed
- HTML to PDF - Only contents inside Body tag are appearing in PDF is fixed
- HTML to PDF: Fixed border is added around hyperlink
- Quality of Image added to PDF is now good
- Missing Link Annotation Action is fixed
- Problem resolved when creating Pdf from SVG in multitasking operations
- HTML to PDF: incorrect formatting is fixed
- Error is resolved for embedding files to PDF
- Form field is now accessible
- PDF size increases after optimization
- PDF to PDFA1b: resultant document is now compliance PDFA1b standards
- Newly created form crashes while editing in Adobe Acrobat
- PDF to TIFF: Compression type RLE always generates 1bpp format
- Some form fields issues are resolved and now populated
- PDF to PDF/A - Fixed colors changing issue in resultant file
- XSL-FO to PDF - resultant file shows incorrect PDF producer value and is fixed
- PDF to text: extraction of duplicate characters is resolved
- PDF to text: bullets are being extracted as special characters.
- Header text left Alignment issue is resolved
- PDF to PDFA1b: PDFA1b compliance issue is resolved
- PDF to Excel - Blank column is not being honored
- PHTML to PDF: link in HTML is being rendered with an extra rectangle around it
- Fixed: PDF file size increment when trying to compress it
- SetPageSize() ignored if any Text added to the page is fixed
- PDF file size increases when we try compressing it is now fixed
- Multiline text stamp alignment issue is resolved

Other most recent bug fixes are also included in this release.

Newly added documentation pages and articles

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

- Use API as Measurement Tool
- Remove Extended Rights Feature from the PDF

Overview: Aspose.Pdf for .NET

Aspose.Pdf is a .Net Pdf component for the creation and manipulation of Pdf documents without using Adobe Acrobat. Create PDF by API, XML templates & XSL-FO files. It supports form field creation, PDF compression options, table creation & manipulation, graph objects, extensive hyperlink functionality, extended security controls, custom font handling, add or remove bookmarks; TOC; attachments & annotations; import or export PDF form data and many more. Also convert HTML, XSL-FO and MS WORD to PDF.

More about Aspose.Pdf for .NET

- Homepage of Aspose.Pdf for .NET C#
- Online Demo for Aspose.Pdf for .NET
- Download Aspose.Pdf for .NET
- Read online documentation of Aspose.Pdf for .NET
- Post your technical questions/queries to Aspose.Pdf for .NET Forum
- Receive notifications about latest news and supported features by subscribing to Aspose.Pdf for .NET blog

Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Aspose - Your File Format Experts
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.9465
 
Back
Top