Set JavaScript Validation for PDF Form Fields & Advanced PDF to HTML Conversion

sherazam

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

Aspose development team is proud to announce the release of Aspose.Pdf for .NET 8.7.0. We have introduced a new feature in Aspose.Pdf for .NET which allows developers to only restrict numeric values to be entered inside Form fields . In order to accomplish this requirement, OnModifyCharacter and OnFormat properties are added to Field.Actions. In order to add validation of user entry, AFNumber_Keystroke and AFNumber_Format java script functions may be used. Aspose.Pdf for .NET provides great capabilities of converting PDF files to DOC, DOCX, Image, HTML and various other formats. During PDF to HTML conversion process, the images inside PDF are saved with SVG compression but you may consider saving them in raster format PNG/JPEG so that size of images is reduced. HtmlSaveOptions class has property named SplitIntoPages which supports the feature split resultant HTML file to pages when generating the output. Recently one of the customers has the requirement to split the CSS file based on individual page instead of generating a single CSS file. In order to accomplish this requirement, we have introduced a new flag SplitCssIntoPages in HtmlSaveOptions class. When the value of this property is set to true, the converter will split resultant CSS into parts/pages based on individual HTML page created. During PDF form creation, some fields are marked as required/mandatory and we might come across a requirement to determine if any particular field is marked as required or not. To view code snippet for each the above amazing features please visit the main blog page. The list of important new and improved features are given below

- Produce PDF files that conform to PDF/X-1 (ISO 15930) standard.
- PDF/X validation
- Converting HTML to PDF - Font Issue
- How to allow only numeric values in (textbox) form field
- Support of PDF/X-1A: 2001 compliance
- Shrink a Multipage PDF document to single page PDF document
- PDF to HTML - Split CSS to files, when resultant HTML is split to pages
- PDF to HTML: Extract Images,Fonts and CSS in separate folders and create their aliases
- Support adding/updating a field
- Support of required field flag for a from field
- PDF to HTML: Extract Images,Fonts and CSS in separate folders and create their aliases
- Adding JavaScript to PushButton using Aspose.Pdf.Generator
- PDF to HTML ? For non-vector SVG elements, convert them to PNG / JPG
- PDF to HTML ? Shorten font names
- Mark Producer and Creator properties of DocumentInfo as Read Only
- PDF generation time is optimized as compare to previous releases
- Better PDF to XPS and Image rendering
- PDF/A-1a conversion stopped working in .Net version 7.2.0.0 and 7.3.0.0
- How to preserve form field formatting, while filing form.
- TextBoxField appearance issue is resolved
- Add JavaScript to PushButton using Aspose.Pdf.Generator
- PDF generation time is longer in new release versions is now fixed
- Enhanced using Aspose.Pdf in VS 2008/2010 C++/CLR (error C2686)
- PDF concatenation - resultant file opens in the middle document is fixed
- Links are now working when merging Interactive PDF files
- Tiff to Pdf conversion: SystemImage property of ImageInfo renders only first frame is now fixed
- Aspose.pdf with C++/CLI: compilation error C2686
- CreateWebLink() incorrectly places link above matching text is fixed
- Now can add JavaScript to PushButton
- Attachment corrupts is resolved, while we add attachment and encrypt simultaneously
- FormEditor: Change in rectangle coordinates has not impact on radio button size is now fixed
- PageInfo now returns the correct values
- Error is resolved for importing annotations from xfdf file
- Hidden page element prints when using PdfViewer is fixed
- Now can retrieve form fields information
- PDF to PNG: document text missing in resultant image is fixed
- PDF to XPS ? issues are resolved for Text rendering
- Table border is now appearing correctly on subsequent page
- PDF to JPEG - Garbled contents in resultant file
- Annotation import - cloud outbox is changed to straight line is fixed
- Annotations import - When rotating callouts, text comes out of outbox or text is hidden is now fixed
- Header of Subsequent table is now properly appearing
- Import Annotations - Text rotation, missing arrow, wrong padding issues are resolved
- Using same stamp object for different PDF document results in corrupt output document is now fixed

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.

- Convert PDF File into HTML Format
- Convert SVG file to PDF format

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
 
Top Bottom