• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

PDF File to EPUB Conversion & Setting RGB Color as Text Foreground Color 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?

Aspose development team is excited to announce the release of Aspose.Pdf for Android 16.12.0 . It supports converting PDF files to EPUB format, the functionality of adding bullet text inside PDF document and the leverage of setting foreground color for text inside PDF document has been provided in recent release. EPUB (short for electronic publication) is a free and open e-book standard from the International Digital Publishing Forum (IDPF). Files have the extension .epub and Aspose team has been receiving lots of requests from the customers regarding the support for this format. The conversion of PDF file to EPUB format is made possible with the introduction of EpubSaveOptions class. In case users need to convert any existing PDF file, simply need to load the file in Document object, instantiate EpubSaveOptions instance and pass this object as second argument to Save(..) method of Document object. Aspose.Pdf for Android provides the capabilities to add as well as manipulate text inside PDF file. While adding text, users can set formatting for text objects and also can use setForegroundColor(..) method of TextSegment class, which takes Color object as an argument. A PDF file is comprised of Text, Images, Attachments, Annotations, Graphs, and Headings etc. During the content rendering inside PDF file, ASpose team often come across a requirement where it's needed to add contents in bullet format. This requirement can be accomplished using Aspose.Pdf for Android and in order to fulfill this requirement, it's needed to create Dash and Bullet text and then need to create a string objects to represent Bullet and Dash characters. After that, users need to add the TextFragment objects to paragraphs collection of page instance and finally save the PDF document. Apart from above stated features, this release also has significantly improved performance, handling different documents to avoid unexpected behaviors, have greatly improved the PDF to raster images conversion and text extraction capabilities. Like Aspose team always have emphasized on using latest release versions of Aspose APIs. Some important features and enhancements included in this new release are listed below

- Adding bullet text in PDF document
- PDF to EPUB conversion support
- To set RGB color as text foreground color
- Performance issue - application takes almost 5 minutes
- Performance problem on loading and saving PDF document
- PDF to BMP conversion throws OutOfMemory
- ClassCastException at PdfFileInfo#saveNewInfo(java.io.OutputStream)
- PdfSerializationException: Wrong object format. Id:426 Generation:0
- PDF to PNG: a blank image is being rendered
- Background color is not being set in PDF file
- Text has Arabic symbols but extractor.isBidi() return false
- Extracted text from pdf-file is wrong

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.

- Convert PDF File to EPUB
- Set RGB Color as Text Foreground Color

Overview: Aspose.Pdf for Android

Aspose.Pdf for Android is a PDF document creation & manipulation component that enables Android applications to read, write & manipulate PDF document without using any other third party application. It allows PDF compression options, table creation & manipulation, support for graph objects, extended security controls, custom font handling, add or remove bookmarks, create table of contents, add, update, delete attachments & annotations, import or export PDF form data, print PDF docs &  much more.

More about Aspose.Pdf for Android

- Homepage of Aspose.Pdf for Android
- Download Aspose.Pdf for Android
- Read online documentation of Aspose.Pdf for Android

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
 
Space pants. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic