Tuesday, May 27, 2014

Covert Microsoft Excel Files to PDF or PDF/A in Android Applications

This technical tip show how developers can Covert Microsoft Excel Files to PDF or PDF/A inside their Android applications using Aspose.Cell for Android .  PDF documents are widely used as a standard format of exchanging documents between organizations, government sectors and individuals. Software developers are often asked to device a way to easily convert Microsoft Excel files into PDF documents.  Aspose.Cells for Android can convert spreadsheets to PDF directly (including PDF/A), without any other product. Aspose.Cell converts spreadsheets to PDF with a high degree of accuracy and fidelity. Save an Excel file directly to PDF using the Workbook class' Save method, and provide the FileFormatType.PDF interface member. Direct conversion like this is the most efficient conversion method. It does not lose data or formatting but keeps the output PDF looking like the input Excel file. To specify security options when saving to PDF, use PdfSaveOptions.
//Instantiate a new workbook with Excel file path
String sdCardPath = Environment.getExternalStorageDirectory().getPath()+ File.separator;
Workbook workbook = new Workbook(sdCardPath + "Book1.xls");
//Save the document in PDF format
workbook.save(sdCardPath + "MyPdfFile.pdf", FileFormatType.PDF);

PDF/A Conversion

Aspose.Cells for Java also provides support for PDF/A compliance.
//Open an existing Excel file
String sdCardPath = Environment.getExternalStorageDirectory().getPath()+ File.separator;
Workbook workbook = new Workbook(sdCardPath + "Book1.xls");
//Define PdfSaveOptions
PdfSaveOptions saveOptions = new PdfSaveOptions();
//Set the compliance type
saveOptiions.setCompliance(PdfCompliance.PDF_A_1_B);
//Save the PDF file
workbook.save(sdCardPath + "out.pdf", saveOptions);

Set Creation Time for Output PDF

When using the PdfSaveOptions class, you can get or set the PDF creation time.
File sdDir = Environment.getExternalStorageDirectory();
String sdPath = sdDir.getCanonicalPath();
//Load an exiting workbook or create from scratch
Workbook book = new Workbook(sdPath + "/book2.xlsx");
//Create an instance of PdfSaveOptions and pass SaveFormat to the construnctor
PdfSaveOptions options = new PdfSaveOptions(SaveFormat.PDF);
//Set the CreatedTime for the PdfSaveOptions as per requirement
options.setCreatedTime(DateTime.getNow());
//Save the workbook to PDF format while passing the object of PdfSaveOptions
book.save(sdPath + "/output.pdf", SaveFormat.PDF);

Overview: Aspose.Cells for Android

Aspose.Cells for Android is a MS Excel spreadsheet component that allows programmer to develop android applications for reading, writing & manipulate Excel spreadsheets (XLS, XLSX, XLSM, SpreadsheetML, CSV, tab delimited) and HTML file formats without needing to rely on Microsoft Excel. It supports robust formula calculation engine, pivot tables, VBA, workbook encryption, named ranges, custom charts, spreadsheet formatting, drawing objects like images, OLE objects & importing or creating charts.

Wednesday, May 21, 2014

Process Large Files up to 50MB (MS Word, Excel, Image, PDF) in Cloud

What's New in this Release?

We are pleased to announce the release of Aspose for Cloud 1.1.6.7. With this new release, you can process files up to 50MB in size and create, read, manipulate and export features are greatly improved. Large files support is one of the most demanded features and support for 50MB files is a big step towards it. Below are some more details about this feature. Aspose for Cloud offers several paid plans, from Startup to Enterprise depending on the requirements of our valued customers. You can subscribe for any of these plans and process up to 30MB Microsoft Word, Excel, PowerPoint, PDF, barcodes, OCR, images and many other documents. All you need to do is log in to your account, click the Upgrade Plan button and select Extend Max File Size up to 30MB from the Add On section. If you need to process more than 250,000 per month, you can contact our sales team to create a customized enterprise solution. Support for 50MB files can also be activated for these customized plans. Some important features included in this new release are listed below
  • Large File Support, up to 50 MB.
  • PDF Sign Page and Document methods kills w3wp.exe process is now fixed
  • Issues with lowerRightColumn parameter of add chart method are resolved.
Overview: Aspose for Cloud

Aspose for Cloud is a cloud-based document generation, conversion and automation platform for developers that offer a unique suite of APIs to work with Word documents, Excel spreadsheets, PowerPoint presentations, PDFs, and email formats and protocols. It supports all features for file processing, document scanning, barcodes creation and recognition, and allows extracting text or images too. You can also work with SaaSpose APIs using REST SDKs that can be called from .NET, Java, PHP and Ruby etc.

Tuesday, May 20, 2014

Convert Microsoft & OpenOffice Docs, Spreadsheets & Presentations Files in Symfony2

What's New in this Release?

Aspose development team is pleased to announce that that Aspose for Cloud SDK for PHP can be used inside Symfony2. Aspose Cloud SDK for PHP can be downloaded using “Composer” from any of the provided places in the links section. Once you have installed the Aspose Cloud SDK for PHP in Symfony2, you can use the powerful conversion features offered by Aspose for Cloud such as convert MS and OpenOffice Word documents, Microsoft and OpenOffice SpreadSheets documents as well as Microsoft PowerPoint and OpenOffice presentations documents to PDF in Symfony2. Please read the articles below to learn how to use conversion features:
Introduction to Zend Symfony

Symfony is a PHP Framework, a Philosophy, and a Community – all working together in harmony. A framework consists of a toolbox and a methodology. a toolbox is a set of prefabricated, rapidly integrate-able software components. This means that you will have to write less code, with less risk of error. A methodology is an “assembly diagram” for applications. A structured approach may seem constraining at first. But in reality it allows developers to work both efficiently and effectively on the most complex aspects of a task, and the use of Best Practices guarantees the stability, maintainability and upgradeability of the applications you develop.

Overview: Aspose for Cloud

Aspose for Cloud is a cloud-based document generation, conversion and automation platform for developers. Before Aspose for Cloud APIs document processing and manipulation tasks were not so easy. Aspose for Cloud APIs give developers full control over documents and file formats. Each API has been developed to offer you a wide range of features for file processing in cloud. Aspose for Cloud REST APIs are platform independent and can be utilized across any platform such as Node.js, Amazon, Salesforce etc. without any installation. Being language independent makes it a suitable choice for the developers having expertise in any programming language. We also provide SDKs in different programming languages such as .NET, Java, PHP, Ruby, Node.js and Now in ZF 2.0.

More about Aspose for Cloud & Zend Framework 2.0