Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Render PDF Document Layers Separately in PDF to HTML & PDF to PNG Conversion using Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What’s new in this release?

We are pleased to announce the release of Aspose.Pdf for Java 11.7.0 . This version includes PDF to PNG conversion performance enhancement in addition to the improvements/enhancements made in its equivalent .NET version.  We have also fixed number of issues in this release, reported by our customers in previous releases. Some of these are PDF to HTML, HTML to PDF, SVG to PDF, PDF to PDF/A, PDF to DOC(X), PDF to Image and some others. A PDF document can contain different data layers and can have requirement to render each layer separately as HTML Layer element. We have introduced this feature in current release, we need to set ConvertMarkedContentToLayers property to control the layers rendering in PDF to HTML conversion as following. We have introduced a new value AutoFitToWindows in ColumnAdjustment Type Enum in current release. It will adjust table columns to fit to windows. Sometimes we have requirement to create a Graph Object with dashed line. Now, we can easily achieve the requirement with GraphInfo object. There are some important improvements included in this release, such as XPS to PDF conversion performance & PDF to PNG conversion performance are Improved. Some important improved features included in this release are given below

- PDF to PNG - conversion process takes too much time
- PDF to HTML - Lines width issues
- HTML to PDF results into incorrect output
- PDF to PDF/A_3a - Resultant file is not PDFA compliant
- PDF to PDF/A - Resultant file is not PDFA compliant
- HTML to PDF - Formatting issues in resultant file
- PDF to HTML - Exception during conversion process
- API throws NullPointerException upon page copy Bug
- PDF to DOC - Blank page being appended and contents in footer are missing
- PDF to PDFA conversion throws internal Exception
- SVG to PDF - SVG image is not appearing in PDF file
- PDF to DOCX - Field value appears in subsequent line
- HTMl to PDF - Exception during conversion
- HTML to PDF: formatting issue
- PDF to DOCX - Contents are not appearing properly
- PDF to HTML: extra white lines on background - regression
- Exception while loading PDF file in multiple threads
- PDF to PDFA2a - compliance failure
- PDF to PDFA3a - conversion fails compliance
- HTML to PDF - Page contents are overlapping eachother
- PDF to PDF/A - Header in Resultant file gets corrupted
- Redaction throws NullPointer Exception
- HTML to PDF is not working in multithreading
- Exception during PDF printing
- PDF to HTML: some text is missing in resultant HTML
- PDF to PDFA2b: Text overlapping and spacing issue
- PDF to PDFA1b: resultant PDFA document failing the compliance
- HTML to PDF: incorrect text position
- PDF to DOCX - Tab indent is being ignored

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.

- Add Table in Existing PDF Document
- Add Line Object to a PDF file

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
- Download Aspose.Pdf for Java
- Read online documentation of Aspose.Pdf for Java

Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose – Your File Format APIs
Phone: 888.277.6734
Fax: 866.810.9465
Posts: 3
Firefox Browser Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to overcome your issue see below:

< Navigate to the location with the corrupted PDF file. Right-click on it and select "Rename." Type any other file name and hit "Enter." Sometimes, a simple rename can troubleshoot corrupt PDFs.

< Make sure your Adobe Reader is in working condition. Open any other PDF files on your hard drive to make sure the problem is not originating from your Adobe Reader. If it does, reinstall Reader from Adobe's website.

< Update Adobe Reader. Launch Adobe Reader from the Start menu under "All Programs." Click on the "Help" tab and select "Check for Updates..." Follow the on-screen prompts to complete installing the updates. Try re-opening the PDF file.
    Bookmark Topic Watch Topic
  • New Topic