Thursday, November 28, 2013

Aspose Wins Silver in the Best Email Control Category: Dev Pro Community Awards

Aspose.Email for .NET was awarded silver in the Best Email Control category of the Dev Pro Community Awards. Every year, Dev Pro invites their readers to nominate and vote for products in the annual Community Awards. We’re delighted that our users have taken the time to vote for us.  Aspose.Email for .NET is a collection of components for working with Outlook PST, EML, MSG and MHT files. Aspose.Email lets developers work with email from within ASP.NET web applications, web services or Windows applications. As well as receiving and sending email, Aspose.Email can work with calendar items, tasks and notes. This year, Aspose’s users nominated Aspose.Email for Best Email Control in the Dev Pro Community Choice Awards. We’re delighted to see that it won silver in the category. Aspose.Email’s easy to use API, powerful features and stability are some of the characteristics that software developers prize.
Dev Pro collects together independent information about how to build Microsoft applications to give Microsoft developer advise and insight. The network focuses on practical solutions based on real-life implementations. Dev Pro covers many aspects of Microsoft development: from web, mobile and database development, through Windows and Azure development, to Visual Studio.Every year, Dev Pro runs the Community Choice awards in which users nominate and then vote for their favorite companies and products.the year to come.

About Aspose
Aspose offers a powerful set of file management components with which developers can create applications which can open, edit, create and save some of the most popular business file formats. Supported formats include Word documents, Excel spreadsheets, PowerPoint presentations, PDF documents, and Microsoft Project files. Tools allow developers to perform OCR, work with images, create and read barcodes and perform many other document conversion and management tasks. Aspose produce components for .NET, Java and SharePoint, as well as rendering extensions for SQL Server Reporting Services and JasperReports exporters.




Wednesday, November 27, 2013

Password Protected Excel Files Generation & Encryption are Enhanced

What’s new in this release?

We are pleased to announce the new release of Aspose.Cells for .NET 7.6.1. This new release supports calculating the color selected by MS Excel when a ColorScale Conditional formatting is used in the template file. Moreover, we have enhanced the product regarding encrypted files in such a way that these do not raise FIPS validation error now. We have also added some significant improvements for the generated password protected files (by Aspose.Cells), so OOXML API does not raise an exception anymore when loading/opening the files in it. Please see the sample code on how to compute the color selected by MS Excel for ColorScale conditional formatting in original blog post. We have fixed an exception when rendering images from Excel worksheets.
In this release, several important issues have been addressed. For example, issues around rendering Microsoft Excel file formats, rendering and manipulating PivotTables , rendering images from Excel worksheets , manipulating custom document properties, working with advanced conditional formatting (MS Excel 2007/2010), rendering and manipulating Charts, rendering images files from Charts  and exporting Excel workbooks to PDF format  have been resolved. A few improvements are also made pertaining to the formula calculation engine of Aspose.Cells for .NET.
We have made a few enhancements regarding navigation b/w worksheets in the web based grid control provided by Aspose.Cells for .NET. Now, you may select a range of cells and delete the cells/data in one go. We also fixed an issue regarding CellImage object in GridWeb.  This release includes few enhanced features and plenty of bug fixes as listed below
  • Compute the color chosen by MS Excel when a ColorScale conditional formatting is used
  • IE10 support and enhancements regarding navigation between worksheets in GridWeb
  • Password protected files raising FIPS validation error is now resolved
  • Aspose.Cells locked template file and not opening with OOXML is now fixed
  • Delete several cells at the same time using mouse selection is fixd
  • ConditionalFormattingResult.ConditionalFormattingIcon crashes in certain conditions
  • Missing Arrows when converting Excel to PNG format is now fixed
  • Random "Excel found unreadable contents…" message after processing with Aspose.Cells is now fixed
  • The hidden text issue is resolved when the cell had a background-color set
  • An issue is resolved for copying Pivot chart
  • Value corrected for updating when re-populate a data source table
  • Double strikethrough on chart data labels, axis or legends items is now saved
  • Issue with Date format in image generation is resolved
  • Chart issue is fixed after converting it to image
  • Converting Pivot Charts into PDF results in x-axis values overlapping the graph
  • Adding custom document property with characters such as, <, > etc.
  • Text formula is now calculated correctly
  • Aspose.Cells now returns correct Hyperlink.TextToDisplay value for web links Formula issue is resolved when trying to set formula through a whole formula column
  • Wrong value is fixed in VerticalAlignment when using XML Spreadsheets
  • Copying rows with merged cell(s) is improved
  • OpenDocument spreadsheet format - Problem with file-based relative hyperlinks
  • Input string was now in a correct format error
  • IFS formulas are now calculated successfully
  • Aspose.Cells copy command button and macro code fine
  • PivotTable with Smart Markers issue is fixed
  • XLS with Japanese characters are now properly converted to PDF correctly
  • Problem with footer in XLS to PDF conversion is fixed
  • Footer is getting overlapped with data in the output PDF is now fixed
  • Formatting issues are resolved in the output PDF
  • Getting an issue in underline when saving as image is now fixed
  • Quality difference between PDFs generated by MS Excel and by Aspose.Cells
  • Save as PDF Borders problems is now fixed
  • Appearance issue is resolved with pivot columns with colors
  • SheetRender renders an image with black patches is now fixed
  • Height of the image gets increased by opening and saving the file is now fixed
  • Worksheet.CalculateFormula behavior in case of formula error is fixed
  • GridLines now correclly appear when rendered to image using SheetRender
Other most recent bug fixes are also included in this release

Overview: Aspose.Cells for .NET

Aspose.Cells is a .NET component for spreadsheet reporting without using Microsoft Excel. It supports robust formula calculation engine, pivot tables, VBA, workbook encryption, named ranges, spreadsheet formatting, drawing objects like images, OLE objects and importing or creating charts. You can also create Excel file using designer spreadsheet, smart marker or API and apply formulae and functions. It supports CSV, SpreadsheetML, PDF and all file formats from Excel 97 to Excel 2007.
Homepage of Aspose.Cells for .NET C#

Tuesday, November 26, 2013

Add Simple/Underline Text or Border Around Added Text in a PDF Using .NET

This technical tip shows how to .NET Developers can add text in an existing PDF file using Aspose.Pdf. To add text to an existing PDF file Open the input PDF using the Document object and get the particular page to which you want to add the text. After that create a TextFragment object with the input text along with other text properties. The TextBuilder object created from that particular page – to which you want to add the text – allow you to add the TextFragment object to the page using the AppendText method. Now just call the Document object's Save method and save the output PDF file.Converting PDF to DOC
The following code snippet shows you how to add text in an existing PDF file.
[C#]
//Open document
Document pdfDocument = new Document("input.pdf");
//Get particular page
Page pdfPage = (Page)pdfDocument.Pages[1];

//Create text fragment
TextFragment textFragment = new TextFragment("main text");
textFragment.Position = new Position(100, 600);

//Set text properties
textFragment.TextState.FontSize = 12;
textFragment.TextState.Font = FontRepository.FindFont("TimesNewRoman");
textFragment.TextState.BackgroundColor = Aspose.Pdf.Color.FromRgb(System.Drawing.Color.LightGray);
textFragment.TextState.ForegroundColor = Aspose.Pdf.Color.FromRgb(System.Drawing.Color.Red);

//Create TextBuilder object
TextBuilder textBuilder = new TextBuilder(pdfPage);

//Append the text fragment to the PDF page
textBuilder.AppendText(textFragment);

//Save document
pdfDocument.Save("output.pdf");

[VB.NET]
'Open document
Dim pdfDocument As New Document("input.pdf")
'Get particular page
Dim pdfPage As Page = CType(pdfDocument.Pages(1), Page)

'Create text fragment
Dim textFragment As New TextFragment("main text")
textFragment.Position = New Position(100, 600)

'Set text properties
textFragment.TextState.FontSize = 12
textFragment.TextState.Font = FontRepository.FindFont("TimesNewRoman")
textFragment.TextState.BackgroundColor = Aspose.Pdf.Color.FromRgb(System.Drawing.Color.LightGray)
textFragment.TextState.ForegroundColor = Aspose.Pdf.Color.FromRgb(System.Drawing.Color.Red)

'Create TextBuilder object
Dim textBuilder As New TextBuilder(pdfPage)

'Append the text fragment to the PDF page
textBuilder.AppendText(textFragment)

'Save document
pdfDocument.Save("output.pdf")

Adding Underline Text
The following code snippet shows you how to add Underline text while creating a new PDF file.
[C#]
// create documentation object
Document pdfDocument = new Document();
// add age page to PDF document
pdfDocument.Pages.Add();
// create TextBuilder for first page
TextBuilder tb = new TextBuilder(pdfDocument.Pages[1]);
// TextFragment with sample text
TextFragment fragment = new TextFragment("Test message");
// set the font for TextFragment
fragment.TextState.Font = FontRepository.FindFont("Arial");
fragment.TextState.FontSize = 10;
// set the formatting of text as Underline
fragment.TextState.Underline = true;
// specify the position where TextFragment needs to be placed
fragment.Position = new Position(10, 800);
// append TextFragment to PDF file
tb.AppendText(fragment);
// save the PDF file
pdfDocument.Save("c:/pdftest/UnderLine.pdf");

[VB.NET]
' create documentation object
Dim pdfDocument As Document = New Document()
' add age page to PDF document
pdfDocument.Pages.Add()
' create TextBuilder for first page
Dim tb As Aspose.Pdf.Text.TextBuilder = New Aspose.Pdf.Text.TextBuilder(pdfDocument.Pages(1))
' TextFragment with sample text
Dim fragment As TextFragment = New TextFragment("Test message")
' set the font for TextFragment
fragment.TextState.Font = FontRepository.FindFont("Arial")
fragment.TextState.FontSize = 10
' set the formatting of text as Underline
fragment.TextState.Underline = True
' specify the position where TextFragment needs to be placed
fragment.Position = New Position(10, 800)
' append TextFragment to PDF file
tb.AppendText(fragment)
' save the PDF file
pdfDocument.Save("c:/pdftest/UnderLine.pdf")

Adding a Border Around Added Text
You have control over the look and feel of the text you add. The example below shows how to add a border around a piece of text that you have added by drawing a rectangle around it. Find out more about the PdfContentEditor class.
[C#]
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("c:/pdftest/UniCode_Characters.pdf");
LineInfo lineInfo = new LineInfo();
lineInfo.LineWidth = 2;
lineInfo.VerticeCoordinate = new float[] { 0, 0, 100, 100,50,100};
lineInfo.Visibility = true;
editor.CreatePolygon(lineInfo,1, new System.Drawing.Rectangle(0, 0, 0, 0),"");
editor.Save("c:/pdftest/UniCode_Characters_example_out.pdf");

Loading Font from Stream
The following code snippet shows how to load Font from Stream object when adding text to PDF document.
[C#]
// load input PDF file
Document doc = new Document("input.pdf");
// creat text builder object for first page of document
TextBuilder textBuilder = new TextBuilder(doc.Pages[1]);
// create text fragment with sample string
TextFragment textFragment = new TextFragment("Hello world");
// load the TrueType font into stream object
using (FileStream fontStream = File.OpenRead(@"C:\CustomerFont.ttf"))
{
    // set the font name for text string
    textFragment.TextState.Font = FontRepository.OpenFont(fontStream, FontTypes.TTF);
    // specify the position for Text Fragment
    textFragment.Position = new Position(10, 10);
    // add the text to TextBuilder so that it can be placed over the PDF file
    textBuilder.AppendText(textFragment);
}
// save the updated PDF file

doc.Save("c:/TTF_FontAdded.pdf");
More about Aspose.Pdf for .NET

Monday, November 25, 2013

PDF Document Conversion to Excel Worksheet EPS SVG & PDF/A_1b Using .NET

What's New in this Release?

The latest version of Aspose.Pdf for .NET (8.6.0) has been released. This release includes a very exciting and demanding feature for converting PDF document to Excel worksheet. Using this new release, developers can convert PDF document to XLS format, where the individual pages of PDF file appear as separate worksheet. The earlier versions of Aspose.Pdf for .NET support the capability convert PDF files to PS format, and in order to convert the PDF document to EPS format, you only have to change PrintFileName. However the only difference between ways of getting PS and EPS files in Printer Options. Please take a look of the Printing to EPS section of Using LaTeX with EPS Figures. By default 'HP LaserJet 2300 Series PS' printer and any other PS printer creates PS files. However you can change PostScript Output Option to Encapsulate Postscript (EPS) and get EPS files as output.  The conversion of SVG to PDF has been added in our component for quite some time. However in this release, we have introduced the feature to directly save PDF file to SVG format.  During PDF to HTML conversion, you can also specify a separate folder for the image files. Further details can be found in the documentation section about PDF to HTML conversion . This release is far better than the earlier releases and provides much better support for PDF to PDF/A_1b, PDF to XPS, TIFF to PDF, XSL-FO to PDF, text extraction and many other features. For code snippets and other details please visit the blog announcement page. This release includes plenty of new and improved features as listed below
  • Save PDF as .eps
  • PDF to EPS Support
  • Convert PDF file to SVG image
  • PDF to Excel worksheet conversion
  • BindHTML method should support Stream object
  • PDF to DOC - Blue box should not appear around the text
  • PDF to HTMl: to specify folder for saving
  • Add option to compress the SVG files
  • HorizontalAlignment property should exist in TextState class
  • PDF to XPS: Resultant file is corrected
  • Problem resolved converting PDF to PDF/A
  • PDF to XPS - Hidden text issue resolved in resultant XPS document
  • Changing PageSice crops page contents
  • PDF to HTML - text alignment is corrected
  • PDF to PDF/A conversion issues resolved
  • PDF file is converted to PDF_A_1B successfully
  • Attachments are properly extracted from PDF file
  • Missing text issue fixed when printing XPS generated with Document class
  • Issue resolved with headers spacing
  • Too much memory is being utilized while manipulating large PDF is now fixed
  • Incorrect coordinates are corrected for TextFragment
  • Attempting to remove JavaScript in attached file raises error is fixed
  • Pdf Sound Annotation return Bad Parameter is fixed
  • PDF to HTML - Some fonts missing are resolved
  • Error after migration to latest release
  • IsKepTogether now working in Nested Tables
  • XSL-FO to PDF: space-after tag now working when parent element has padding attribute
  • PDFA1b compliance with document containing user defined Metadata property
  • Blank lines showing up inside the annotation are now fixed
  • PDF to PDFA1B: Conformance is fixed with Adobe PreFlight option
  • TIFF to PDF : Image width and height impact only first frame of Multi-Page TIFF
  • While modifying document privileges using PdfFileSecurity, a user password is set
  • Splitting page is now working in 8.5 but 7.5
  • Form.Fields collection missing is fixed for some form fields
  • Setting IsHtmlTagSupported as true ignores font name and size for text element
  • Text Wrapping issue is resolved in table cell
  • Aspose.Pdf (DOM) now honor BackgroundColor property of FloatingBox object
  • Line drawn using PdfContentEditor is now visible in Firefox/Chrome
Other most recent bug fixes are also included in this release.

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.
Homepage of Aspose.Pdf for .NET C#

Sunday, November 24, 2013

Render Excel Worksheet to Image & PDF, Dom4j Library Dependency Removal

What’s new in this release?
The long awaited version of Aspose.Cells for Java 7.6.1 has been released. In this release, the dependency of dom4j library has been removed. So, now dom4j-1.6.1.jar can be excluded from its ClassPath when using Aspose.Cells component as we have written our own XML parser for certain operations. We have done a number of enhancements in the new release. For example, we fixed an issue regarding set license, i.e., “Cannot find black listed licenses resource” exception as sometimes our users find this issue in their diverse environments. You may also use the product in OSGi environment without any problem now. We have resolved some exceptions when reading/writing Excel files and rendering Excel spreadsheets to image files and PDF format. This release is also a kind of maintenance release that contains certain enhancements and fixes for the issues reported in the earlier versions. In this release, we have fixed the issues for manipulating charts  and shapes. Since the code base of Aspose.Cells for Java now matches the code of relevant .NET version, most of the enhancements and fixes included in the Aspose.Cells for .NET v7.6.1 are also included in this release. This release includes plenty of improved features and bug fixes as listed below
  • Workbook.getWorksheets().setOleSize is not working as expected
  • License issue (CellsException: Cannot find black listed licenses resource)
  • Missing Permissions manifest attribute message after JRE 1.7 u45 upgrade
  • Using Aspose.Cells in an OSGi environment
  • Drawings disappear in the output PDF
  • Wrong value in VerticalAlignment when using XML Spreadsheet
  • DateTime returned for XLSM document’s properties is incorrect
  • Sparklines custom axes are not working
  • Charts are getting cut off while printing
  • Problem rendering spaces at different resolutions
Other most recent bug fixes are also included in this release.

Overview: Aspose.Cells for Java
Aspose.Cells is a Java component for spreadsheet reporting without using Microsoft Excel. Other features include creating spreadsheets, opening encrypted excel files, macros, VBA, unicode, formula settings, pivot tables, importing data from JDBC ResultSet and support of CSV, SpreadsheetML, PDF, ODS and all file formats from Excel 97 to Excel 2007. It is compatible with Windows, Linux & Unix and supports all advanced features of data management, formatting, worksheet, charting and graphics

Thursday, November 21, 2013

CIELAB & CMYK Type TIFF Images Support & Enhanced AutoCAD DXF to PDF Conversion

What’s new in this release?
We are pleased to announce the new release of Aspose.Imaging for .NET 2.1.0. This months’ release is mainly about enhancing the recently provided feature DXF AutoCAD 2010 file format conversion to PDF. Aspose.Imaging for .NET 2.0.0 provided this feature with all the widespread 2D entities and basic parameters, whereas Aspose.Imaging for .NET 2.1.0 adds support for the Rotated MTEXT shifting, Splitting of MTEXT special symbols, Spline objects and Dimension filling for AutoCAD default arrows while converting DXF AutoCad 2010 file formats to PDF. In this new release, we have made some significant improvements to the TIFF codecs. Due to these modifications, the Aspose.Imaging for .NET component can now load and manipulate CIELAB & CMYK type TIFF images without raising an exception. Along with these enhancements we have fixed some bugs in the component, such as preserving the transparency while converting a GIF image to PNG, and a few resolution related issues reported with JPEG and TIFF image formats. The main new and improved features added in this release are listed below
  • Support for CIELAB type Tiff Images
  • Support for CMYK type Tiff Images
  • Support for rotated MTEXT shifting in DXF format
  • Support for Spline objects in DXF format
  • Implemented arrow of dimension filling as default in AutoCAD file format
  • Included EULA Updated on 22 Oct 2013
  • Improved rendering of Attribs and attribute definitions
  • Split MTEXT special symbols
  • GIF file lose transparency when converted to PNG is now fixed
  • Image resolution for Jpeg differs from System.Drawing implementation
  • Infinite execution resolved in opening tiff-image
  • Loading a 300DPI Tiff to an instance of RasterImage shows resolution as 96DPI
Overview:Aspose.Imaging for .NET
Aspose.Imaging for .NET is an image processing & manipulation component that allows developers to create, edit, draw or convert images in their .NET application. It allows developers to convert image files to PSD, BMP, JPEG, PNG, TIFF and GIF formats. Moreover a set of pens, brushes and fonts can be used to draw images or add new elements & text to existing images. Aspose.Imaging for .NET works well with both web & windows applications. Moreover, it adds the support for Silverlight platform.

Wednesday, November 20, 2013

Aspose Introduced NEW Image Processing Component for SharePoint Developers

What’s new in this release?
Aspose is proud to expand its SharePoint products family with the addition of a new product; Aspose.Imaging for SharePoint. Aspose.Imaging for SharePoint allows SharePoint users to export images to supported image formats like PNG, JPG, BMP, GIF, TIFF and PSD, resize, crop, and rotate and flip images.   Aspose.Imaging is a flexible image processing set of components that lets developers create, edit, draw and convert images in their applications with ease and performance. Aspose.Imaging provides features that go beyond the native capabilities of the platform they work on and works independently of other applications. To get started, follow the Aspose.Imaging for SharePoint user guide for details and available options. For instance, it shows how easy it is to export an image to other supported image formats (PNG, JPG, BMP, GIF, TIFF and PSD) with reliability and high performance. Aspose.Imaging for SharePoint component adds a Convert Image option to the ECB menu to let you export images.  Many of our users have reported how difficult other applications can be to install on SharePoint. They often have to install plug-ins or extensions more than once and then spent time on configuration before it works as expected. The Aspose team has spent a lot of time to make sure that our SharePoint extensions don’t have any such problems. Instead, our installations are fast and work as expected. SharePoint applications are complex enough without us adding complications. This release includes plenty of new features as listed below
  • Allows users to export images to supported image formats i.e. PNG, BMP, JPEG, TIFF, GIF and PSD.
  • Manipulate images, it supports resize/scale, crop and rotate/flip operation.
  • The component installs quickly and is easy to use.
  • Aspose.Imaging for SharePoint is designed to be used with Microsoft SharePoint Server 2010 and Microsoft SharePoint Foundation 2010.
Overview: Aspose.Imaging for SharePoint
Aspose.Imaging for SharePoint is a flexible image processing component that lets developers create, edit, draw & convert images. It enables SharePoint users to export images to (PNG, JPG, BMP, GIF, TIFF& PSD) formats, resize, crop, rotate & flip images. Moreover a set of pens, brushes & fonts can be used to draw images or add new elements & text to existing images. It supports MS SharePoint Server 2010 & SharePoint Foundation 2010. Currently, it is available for .NET, Java & Cloud platforms.
More about Aspose.Imaging for SharePoint

Monday, November 18, 2013

Render Documents to PDF with PDF/A-1a Compliance & Enhanced HTML Engine

Aspose development team is happy to announce the monthly release of Aspose.Words for .NET and Java 13.10.0 as well as Aspose.Words for Android 1.3.0. We have just integrated an overhaul of our existing HTML engine which adds better support for CSS features and improves overall performance when working with HTML based documents. As you may know HTML documents differs greatly from traditional Word documents so it takes a detailed underlying engine to convert between the two formats with high fidelity, and while our old engine dealt well with many HTML documents there was room for improvement. This new engine is the result of many months of work by our developers and we know you will enjoy the results that it brings.  This is also good news to many customers as this rework closes many open issues that customers have faced with the old HTML engine. Aspose.Words now supports rendering documents to PDF with PDF/A-1a compliance level. This compliance encompasses all of the requirements of PDF/A-1b which Aspose.Words already supports and ensures the document can be searched and repurposed. With this compliance document features are also exported to the logical structure contained in the document. Check out our documentation which demonstrates How to convert any supported document to PDF with just two lines of code. To define the compliance type and many other options when converting to PDF check out the PdfSaveOptions class. The list of new and improved features in this release are listed below
  • Finally implemented a much richer support of CSS cascading and inheritance in HTML and MHTML imports
  • Added support of table styles in HTML and MHTML imports
  • Quirks and Standards modes are supported now in HTML import
  • Improved import of CSS margins for paragraphs, lists and tables
  • Base PDF/A-1b compliance level is implemented in rendering to PDF
  • Improved floating shape positioning in complex scenarios
  • Implemented vertical section alignment
  • Support 'style' attribute of 'img'
  • When import “blockquote”, paragraph should have indentations on left and on right sides.
  • Support PDF/A-1a compliance level
  • Support 'inherit' (explicit CSS attribute inheritance) on import
  • Font size is incorrect upon rendering is now  fixed
  • Support CSS styles on table, tr, td and th nodes on import
  • Add support for tables styles during HTML import
  • CSS styles applied to element by id is ignored upon importing HTML.
  • Multiple classes are completely ignored upon HTML import
  • Background color is applied to paragraph instead of table cell during HTML import
  • Import CSS from HTML Feature
  • All spans in paragraph inherits formatting of span with “display:block” attribute set.
  • Font is now changed during appending with UseDestinationStyles
  • Document looks different when converting from HTML to other format.
  • Cell background color is imported as paragraph background color when CSS sheet is used
  • Consider adding an ability to set “Document structure tags for accessibility” option.
  • Try to avoid a line break after each text line in PDF.
  • Table looks are corrected
  • While converting HTML to EPUB, embedded CSS malfunctioning is fixed
  • Support importing nested CSS selectors from HTML
  • Support 'style' attribute of <h1> ... <h6>
  • Border style is applied to a cell's text (to a child paragraph) instead of to the cell itself
  • DocumentBuilder.InsertHtml supports only styles from CSS
  • Font-family specified inside paragraph style is changed after HTML import.
  • Import css style names used in table tags during converting Html to Word
  • Support tick mark type.
  • Html to Doc/Docx/Pdf file conversion issue with images is fixed
  • AW applies "font-size" css property to text if property is specified for body element in HTML import but browsers don't.
  • Border is now  properly applied to table in HTML import (system color values aren't supported).
  • Border CSS style specified for div is now present in resulting DOCX in HTML import.
  • If hyperlink is a first child in body hyperlink has space after set to 0 in HTML import.
  • td's "text-decoration" css property is not applied to cell's text in HTML import.
  • Extra border appears around text in HTML import is now fixed
  • Text formatting issue is fixed during open/save
  • MS Word 2002 crashes when try to open DOC file produced by Aspose.Words.
  • Border appears around paragraph after importing HTML is now fixed
  • Margin-bottom attribute issue is resolved in specified CSS
  • Numbering format is changed upon rendering is now fixed
  • MoveToMergeField should move based off the builder's current position is fixed
  • Unicode symbols are filtered out of document runs, resulting in information loss during round-trip is now fixed
  • Support characters from Unicode Supplementary Planes
  • Bullet character symbol change after resave the document is now fixed
  • Font size change is resolved after appending one document to another
  • Docx to PDF conversion issue with image position is fixed
  • Docx to PDF conversion issue with page is fixed
  • Docx to PDF conversion issue with header text is resolved
  • Exception resolved while loading MHTML file
  • Docx to Pdf conversion issue with footnotes is fixed
  • Refactoring of HTML Import is enhanced
  • Use of auto spacing for paragraphs on HTML import is enhanced
  • Apply margin values of parent HTML elements to paragraphs
  • Table cell margins in HTML quirks mode
  • Support nowrap attribute of TD
  • Support vertical alignment of section followed by "section break continuous"
  • A Drop Cap letter renders twice in PDF
  • Take width of paragraph border into account on HTML import
  • Wrong number format after field update is now fixed
  • Enhancement of HTML import of lists
  • PdfTextureBrushTilingPattern caching improvement
  • h1, h2 and h3 has "Arial" default font but browsers use "Times New Roman" in HTML import is now fixed
  • CSS style-sheets specified for print media should be ignored in HTML import.
  • Floating shape is rendered on the wrong page is now fixed
  • Shape rendering issue is resolved twice
  • A DrawingML is repeated many times in PDF is now fixed
Other most recent bug fixes are also included in this release

Overview: Aspose.Words
Aspose.Words is a word processing component that enables .NET, Java & Android applications to read, write and modify Word documents without using Microsoft Word. Other useful features include document creation, content and formatting manipulation, mail merge abilities, reporting features, TOC updated/rebuilt, Embedded OOXML, Footnotes rendering and support of DOCX, DOC, WordprocessingML, HTML, XHTML, TXT and PDF formats (requires Aspose.Pdf). It supports both 32-bit and 64-bit operating systems. You can even use Aspose.Words for .NET to build applications with Mono.

Sunday, November 17, 2013

Exchange Web Service (EWS) Support & Enhanced Email Messages Encoding

What's New in this Release?
We are pleased to announce the release of Aspose.Email for .NET 3.5.0. We are pleased to share that this month’s release supports Microsoft Exchange 2013 Exchange Web Service (EWS) features. The EWSClient class’s GetEWSClient method instantiates a new EWS client object that now supports connecting to Exchange server 2013 as well in addition to 2007 and 2010 supported by earlier ExchangeWebServiceClient. Supported features include Connecting to Exchange Server, Getting mailbox information, Sending emails using an Exchange account, Deleting messages from an Exchange Server, Creating, listing and deleting folders and sub folders, Adding messages to Exchange folders, Mark messages as read or unread, Move and copy messages from one Exchange folder to another, List and save messages from Exchange folders, Create and send meeting requests, Fetch appointments and save to disc, Manage user configuration on an Exchange server, Create or update and delete tasks on an Exchange server and many others. This month’s release also includes a number of bug fixes related to message encoding, attachment extraction from RTF formatted messages, custom property addition to messages, Microsoft Fax format address (IMCEAFAX)  support, and others. The main bug fixes, new & improved features added in this release are listed below
  • Exchange 2013 EWS Features
  • Provide SetLicense(File) method
  • Support for IMCEAFAX format in the recipient address
  • EML to MHTML: Characters in message turned garbage is now fixed
  • TemplateEngine misses filling the field is fixed
  • Embedded XLSX extracted from RTF body now properly open in Excel
  • ImapClient: Subject and Sender Info now populated properly in some cases in ImapMessageInfo
  • ICS added to PST raises error "Recurrance pattern not valid" when viewed in outlook is now fixed
  • Category lost is resolved when MSG added to PST
  • Exception is resolved when EML with DOCX attachment loaded using MailMessage
  • MailMessage: Floating text box lost is fixed when MSG loaded and resaved
  • Meeting appearance is enhanced when Outlook opens ics file of calendar, created by MapiMessage.
  • PST: AddMessage gives System.IndexOutOfRangeException:Index was outside the bounds of the array is fixed
  • Sometimes AE loads 100% of CPU time for several hours is now fixed
  • Custom property added by Aspose.Email can be read using Outlook Interop and Outlook
Other most recent bug fixes are also included in this release.
Overview:Aspose.Email for .NET
Aspose.Email for .NET is a set of .net email components allowing developers to easily implement email functionality within their ASP.NET web applications, web services & Windows applications. It Supports Outlook PST, EML, MSG & MHT formats. It allows developers to work with SMTP, POP3, FTP & MS Exchange servers. It supports mail merge, iCalendar, customized header & body, header information, embedded files, Twitter & many more. It makes it easy to work with HTML or plain text emails & their attachments.

Tuesday, November 12, 2013

Work With Office Binary Files Formats DOC ODT XLS PPTX MSG on Hadoop

What's New in this Release?
Aspose team is proud to announce the release of Aspose for Hadoop. Apache Hadoop has great capabilities for archiving big data through its flexible distributed file system (HDFS) across several nodes. This big data solution is also powered by the MapReduce Framework which enables developers to analyze the archived data through its APIs. The big data may be structured or unstructured and may be in any file format. Keeping this in mind, we have the released first version of the Aspose for Hadoop project which enables developers to work with a number of file formats. Below is a list of the file formats supported in the initial version:
  • Microsoft Word (DOC)
  • WordprocessingML (DOCX, XML)
  • Rich Text Format (RTF)
  • HTML, XHTML and MHTML
  • OpenDocument (ODT)
  • Microsoft Excel (XLS)
  • SpreadsheetML (XLSX, XML)
  • OpenDocument Spreadsheet (ODS)
  • PresentationML (PPTX, XML)
  • Outlook Emails (MSG)
Using the Aspose for Hadoop project, the Hadoop developers can parse text from any of the above formats. The text can then be used in MapReduce analysis algorithms or for any other purpose depending on the use case.
Overview: Aspose
Aspose are file format experts. At Aspose you will find a wide variety of file management components. Supported formats include Word documents, Excel spreadsheets, PowerPoint presentations, PDF documents, Flash & Project files. Aspose produce components for .NET, Java and SharePoint as well as rendering extensions for SQL Server Reporting Services & JasperReports exporters. Aspose helps developers to become more productive & maximize their investments by delivering reliable solutions on time.
More about Aspose Products

Monday, November 11, 2013

Read, Write & Edit EXIF Data for a Given Image, AutoCad DXF to PDF Conversion

Aspose development team is pleased to announce the new release Aspose.Imaging for Java 2.0.0.This release includes a new feature for  reading, writing or editing EXIF data for a given image as well as Concatenation of JPG to TIFF format. It also Support DXF AutoCad files for conversion to PDF & parallelogram mode for the Graphics.DrawImage methods family. Being a maintenance release this release also contains enhancements and fixes for issues reported in earlier versions of Aspose.Imaging component.  With this version, we have fixed several issues related to Tiff file format, resizing problem with PNG images, duplication of Evaluation Watermarks and problems in basic image processing such as load/save pixels. The main new features added in this release are listed below
  • Reading, writing or editing EXIF data for a given image
  • Support DXF AutoCad files for conversion to PDF
  • Support parallelogram mode for the Graphics.DrawImage methods family
  • DrawImage() overload method with ImageAttributes object parameter
  • Drop .Net 1.1 support
  • Concatenation of JPG to TIFF format
  • Conversion of DXF (AutoCad files) to PDF
  • Simplified the creation of images
  • Improved Tiff file format support
  • Resize image destroys EXIF data is now fixed
  • DXF to PDF: document properties missing in resultant PDF is now fixed
  • Tiff image concatenation is throwing LzwCompressorException
  • Exception thrown while converting Array to black and white
  • ResizeType.CenetertoCenter enum not working properly
  • Pixels load/save issue
  • Duplication of watermarks during image processing
    Opening and saving multipage Tiff image throwing Exception
Overview:Aspose.Imaging for Java
Aspose.Imaging for Java is an image processing & manipulation component that allows developers to create, edit, draw or convert images in their Java application. It allows developers to convert images to BMP, JPEG, TIFF, GIF, PNG & PSD formats. It draws images using advanced features like Graphics & GraphicsPath. The drawing feature is useful for adding shapes, building up new images or adding watermarks to images. It works well with both web & windows applications. It supports JDK 1.5 & above.

Sunday, November 10, 2013

Export MS Project Data to CSV, TXT & Popular Excel Formats like XLS/XLSX

We are happy to announce the release of Aspose.Tasks for .NET 6.0.0. With this month’s release, Aspose.Tasks supports exporting project data to CSV, TXT and popular Microsoft Excel formats like XLS and XLSX. Using Aspose.Tasks, a project’s tasks, resources and assignment data can be exported to CSV, TXT, XLS and XLSX formats with ease. In addition, saving project data as a Microsoft Project Template (MPT) is also supported. A great feature that lets you create a project from scratch with default properties is also supported in this month’s release. This lets developers avoid initializing all data properties as in the case of MSP. Below is the complete list of new features and important bug fixes included in this release.
  • [Project to Excel] Export project as Excel sheet
  • Save project data to CSV (comma delimited) format.
  • Save project data to text format.
  • Save project data as a template (mpt).
  • Set default properties of a Project when created from scratch
  • Resource information now can be read from MPP
  • Enhanced reading/writing Resource.BookingType field in mpp 2003 format.
  • Writing Task.CanLevelingSplit, Task.IsLevelAssignments, Task.Contact fields in mpp 2003 format is enhanced
  • Setting flag attribute to resource is fixed.
  • MSP now can read written Resource.Number2 attribute in 2010 mpp and Resource.Text11, Resource.T
  • MSP can now read written Task.Text6 -Text9 and Finish10 attributes in 2013 mpp formats.
  • Reading  written Task.Hyperlink in mpp 2010-2013 is enhanced.
Newly added documentation pages and articles
Some new tips and articles have now been added into Aspose.Tasks for .NET documentation that may guide you briefly how to use Aspose.Tasks for performing different tasks like the followings.
Overview: Aspose.Tasks for .NET
Aspose.Tasks is a non-graphical .NET Project management component that enables .NET applications to read, write and manage Project documents without utilizing Microsoft Project. With Aspose.Tasks you can read and change tasks, recurring tasks, resources, resource assignments, relations and calendars. Aspose.Tasks is a very mature product that offers stability and flexibility. As with all of the Aspose file management components, Aspose.Tasks works well with both WinForm and WebForm applications.

Thursday, November 7, 2013

Get Orientation of the Detected Barcode & Improved Speed of Copying Images


The new version of Aspose.BarCode for Java 5.6.2 has been released. We are glad to state that this release lets you get the rotation angle of a detected barcode. You can see how that works in How to Detect the Orientation of a Detected Barcode. This release also includes the most recent bug fixes and enhanced recognition support.  Below is the list of main improved features and bug fixes added in this release.
  • Detect orientation of the detected bar code
  • Bad class error message when compiling Java class using jdk1.5.0_22 is fixed
  • Improve the copying speed of the images
  • Out of memory exception is resolved while recognizing QR code
  • Enhanced Pdf417 barcode recognition
  • Unable to generate bar code with custom size is now fixed
  • Loading GS1DataMatrix bar code images is now fixed
  • Loading ISSN bar code image
  • Out of memory exception is resolved while recognizing DataMatrix code
  • Out of memory exception is resolved while recognizing EAN13 code
  • Out of memory exception resolved while recognizing Code128 code
  • Release the Java examples dashboard
  • Recognition of Pdf417 barcode from pdf file is now fixed
  • Encoded number of bytes are different from decoded number of bytes is fixed
  • BarCodeBuilder.getCustomSizeBarCodeImage method is returning a b type of object is now fixed
Overview: Aspose.BarCode for Java
Aspose.BarCode is a Java based visual component for generation & recognition of 1D & 2D barcodes to support Java, web applications and J2ME platform. It supports 29+ barcode symbologies like MSI, QR, OneCode, Australia Post, Aztec, Code128, Code11, EAN128, Codabar, Postnet, USPS and also supports image output in GIF, PNG, BMP & JPG formats. Other features include barcode size & color settings, rotation angle & caption. You can render barcodes to images, printers, HTTP servlet response & graphical objects too.

Wednesday, November 6, 2013

Replace Images Added in the Presentation Images Collection using .NET

The long awaited version of Aspose.Slides for .NET (8.0.0) has been released. This is primarily a maintenance release where the focus has been on resolving rendering issues. We have introduced a new feature for replacing the image in the Presentation class’s PictureCollection. Now, one can replace the selected image in a PictureCollection. All the shapes in the presentation that use the selected image are automatically updated to use the new image. For more details about this feature, please visit this documentation link. We have also improved the rendering support by resolving many chart, bullets and text rendering issues encountered during slide thumbnail generation, PDF and HTML exports. We have also rectified presentation access and saving issues in this new release as well. Some important bug fixes included in this release are given below
  • Support for altering pictures added into the image collection of a presentation
  • Drop support for .NET 1.1.
  • The bullet rendered in wrong color for generated PDF is now fixed
  • Index out of range exception is resolved on adding HTML text
  • Nan is returned when accessing the portion font height is fixed
  • Font family failed to get applied on portion text is now fixed
  • NullReference Exception is resolved on saving presentation
  • IndexOutOfRange Exception is fixed on saving presentation
  • Charts with a multi-level category axis are now properly rendered
  • Double bullets rendering is resolved in generated PDF
  • Chart line missing is fixed in generated Pdf
  • Chart missing is fixed in generated thumbnail
  • Chart category and value axis are now properly rendered
  • Major horizontal and vertical lines missing is fixed in generated thumbnail
  • Support for rendering of multi-level category axis is fixed
  • Support for rendering shapes in Chart Drawing part
  • Font of category axis looks bigger than in original is now fixed
Please the documentation page for more details: Replace the Image in Presentation Picture Collection for PPT Shapes

Tuesday, November 5, 2013

How to Build New Table inside MS Word Using Table Styles in C# & VB.NET

This technical tip explains how developers can build a table with applying Table Style & expand styles to rows & cells of the table.  A table style defines a set of formatting that can be easily applied to a table. Formatting such as borders, shading, alignment and font can be set in a table style and applied to many tables for a consistent appearance. Aspose.Words supports applying a table style to a table and also reading properties of any table style. Table styles are preserved during loading and saving in the following ways:
  • Table styles in DOCX and WordML formats are preserved when loading and saving to these formats.
  • Table styles are preserved when loading and saving in the DOC format (but not to any other format).
  • When exporting to other formats, rendering or printing, table styles are expanded to direct formatting on the table so all formatting is preserved.
In Aspose.Words you can apply a table style by using any of the Table.Style, Table.StyleIdentifier and Table.StyleName properties.
Code shows how to build a new table with a table style applied
[C#]
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
Table table = builder.StartTable();
// We must insert at least one row first before setting any table formatting.
builder.InsertCell();
// Set the table style used based of the unique style identifier.
// Note that not all table styles are available when saving as .doc format.
table.StyleIdentifier = StyleIdentifier.MediumShading1Accent1;
// Apply which features should be formatted by the style.
table.StyleOptions = TableStyleOptions.FirstColumn | TableStyleOptions.RowBands | TableStyleOptions.FirstRow;
table.AutoFit(AutoFitBehavior.AutoFitToContents);
// Continue with building the table as normal.
builder.Writeln("Item");
builder.CellFormat.RightPadding = 40;
builder.InsertCell();
builder.Writeln("Quantity (kg)");
builder.EndRow();
builder.InsertCell();
builder.Writeln("Apples");
builder.InsertCell();
builder.Writeln("20");
builder.EndRow();
builder.InsertCell();
builder.Writeln("Bananas");
builder.InsertCell();
builder.Writeln("40");
builder.EndRow();
builder.InsertCell();
builder.Writeln("Carrots");
builder.InsertCell();
builder.Writeln("50");
builder.EndRow();
doc.Save(MyDir + "DocumentBuilder.SetTableStyle Out.docx");
[VB.NET]
Dim doc As New Document()
Dim builder As New DocumentBuilder(doc)
Dim table As Table = builder.StartTable()
' We must insert at least one row first before setting any table formatting.
builder.InsertCell()
' Set the table style used based of the unique style identifier.
' Note that not all table styles are available when saving as .doc format.
table.StyleIdentifier = StyleIdentifier.MediumShading1Accent1
' Apply which features should be formatted by the style.
table.StyleOptions = TableStyleOptions.FirstColumn Or TableStyleOptions.RowBands Or TableStyleOptions.FirstRow
table.AutoFit(AutoFitBehavior.AutoFitToContents)
' Continue with building the table as normal.
builder.Writeln("Item")
builder.CellFormat.RightPadding = 40
builder.InsertCell()
builder.Writeln("Quantity (kg)")
builder.EndRow()
builder.InsertCell()
builder.Writeln("Apples")
builder.InsertCell()
builder.Writeln("20")
builder.EndRow()
builder.InsertCell()
builder.Writeln("Bananas")
builder.InsertCell()
builder.Writeln("40")
builder.EndRow()
builder.InsertCell()
builder.Writeln("Carrots")
builder.InsertCell()
builder.Writeln("50")
builder.EndRow()
doc.Save(MyDir & "DocumentBuilder.SetTableStyle Out.docx")
Code for how to expand the formatting from styles onto the rows and cells of the table as direct formatting
[C#]
Document doc = new Document(MyDir + "Table.TableStyle.docx");
// Get the first cell of the first table in the document.
Table table = (Table)doc.GetChild(NodeType.Table, 0, true);
Cell firstCell = table.FirstRow.FirstCell;
// First print the color of the cell shading. This should be empty as the current shading
// is stored in the table style.
Color cellShadingBefore = firstCell.CellFormat.Shading.BackgroundPatternColor;
Console.WriteLine("Cell shading before style expansion: " + cellShadingBefore.ToString());
// Expand table style formatting to direct formatting.
doc.ExpandTableStylesToDirectFormatting();
// Now print the cell shading after expanding table styles. A blue background pattern color
// should have been applied from the table style.
Color cellShadingAfter = firstCell.CellFormat.Shading.BackgroundPatternColor;
Console.WriteLine("Cell shading after style expansion: " + cellShadingAfter.ToString());
[VB.NET]
Dim doc As New Document(MyDir & "Table.TableStyle.docx")
' Get the first cell of the first table in the document.
Dim table As Table = CType(doc.GetChild(NodeType.Table, 0, True), Table)
Dim firstCell As Cell = table.FirstRow.FirstCell
' First print the color of the cell shading. This should be empty as the current shading
' is stored in the table style.
Dim cellShadingBefore As Color = firstCell.CellFormat.Shading.BackgroundPatternColor
Console.WriteLine("Cell shading before style expansion: " & cellShadingBefore.ToString())
' Expand table style formatting to direct formatting.
doc.ExpandTableStylesToDirectFormatting()
' Now print the cell shading after expanding table styles. A blue background pattern color
' should have been applied from the table style.
Dim cellShadingAfter As Color = firstCell.CellFormat.Shading.BackgroundPatternColor
Console.WriteLine("Cell shading after style expansion: " & cellShadingAfter.ToString())
More about Aspose.Words for .NET
Aspose.Words is a word processing component that enables Java & .NET applications to read, write and modify Word documents without using Microsoft Word. Other useful features include document creation, content and formatting manipulation, mail merge abilities, reporting features, TOC updated/rebuilt, Embedded OOXML, Footnotes rendering and support of DOCX, DOC, WordprocessingML, HTML, XHTML, TXT and PDF formats (requires Aspose.Pdf). It supports both 32-bit and 64-bit operating systems. You can even use Aspose.Words to build applications with Mono.

Monday, November 4, 2013

Relative Scaling of Images in PowerPoint Slide Picture Frame in .NET Apps

The long awaited version of Aspose.Slides for Java (7.9.0) has been released. This new release introduces a couple of new features. We have introduced support for setting the scaling factor for an image added in a slide’s picture frame. Please read Adding Picture Frame to SlideEx for further details and an example of how to use it. We have included the support for hanging bullets for paragraph text. If you want to know more about that feature, read Managing Paragraph Bullets. We have rectified slide cloning issues, and multi-threading issues when Aspose.Slides was used in multi-threaded environment. We have also improved the API usability in Linux/Unix environment by rectifying several slide rendering issues. Finally, we have improved the API documentation by specifying the deprecated classes.kind reference. Some important bug fixes included in this release are given below
  • Support for scaling options of image added in slide shapes
  • Support for appropriate exception messages on loading MS Office files using Aspose.Slides
  • Performance is slow and resulting file is too large when exporting pptx with large images into PDF is now enhanced
  • Hanging Bullet text indentation is improved when text is moved to second line
  • Aspose.Slides API docs contain methods as deprecated is now fixed
  • Setting date type in custom document properties throws exception
  • setDefaultRegularFont/setDefaultAsianFont now has effect in Aspose.Slides for Java 7.6.0
  • com.aspose.ms.System.Drawing.Drawing2D.Matrix.transformPoints(Point[]) not the same as in C# is now fixed
  • Chart series markers missing in generated PDF is now fixed
  • Master is improperly applied on cloned slides is now fixed
  • Bullets rendering in the generated PDF is now fixed
  • NullPointer exception on accessing presentation in threaded environment is resolved
  • Chinese character are improperly rendered in generated thumbnail is fixed
  • Presentation custom document property lost when opening the presentation in PowerPoint 2007 is fixed
  • Missing transparency on the resulting PDF file is now fixed
  • Nonexistent white and green rectangles in the generated thumbnail is fixed
  • PowerPoint 2008 opening ppt files on Mac is fixe

Sunday, November 3, 2013

Aspose.Newsletter November 2013 Edition is Out Now

Aspose Newsletter for November 2013 has now been published that highlights all the newly supported features offered in the recent releases of its JasperReports exporters, SQL Server rendering extensions, .NET, Java, SharePoint components, Android and REST APIs. It includes information about how to create, modify, combine, convert & print documents using Aspose.Total for Java, integration of Aspose.Metafile features into Aspose.Imaging for Java and information about Aspose.Pdf for Android 1.1.0.
Aspose.Total for Java
All of our Java APIs in one handy package, Aspose.Total for Java is a great deal if you’re using several of our products. Create, modify, combine, convert and print documents and images from Java with minimum programming and maximum performance. Find out more about this Java Component Suite.
Product News
Aspose.Metafile for Java Features Integrated into Aspose.Imaging for Java
Aspose.Metafiles was developed to support metafiles on Java. These features were integrated into Aspose.Imaging for Java 1.8.0 and we’ll no longer develop Aspose.Metafiles for Java. If you have Aspose.Metafiles, don’t worry: we’ll continue support until your subscription runs out. Find out more about Aspose.Imaging for Java
The First Aspose.Cells for Android Update Adds More Features
Aspose.Cells for Android 1.1.0 was released early October. It is ported from Aspose.Cells for Java and contains all of that product’s important features. Developers can now render workbooks to more formats, including PDF, as well as rendering a worksheet, chart and shape to image formats. Download the update
The First Aspose.Pdf for Android Update Improves Image Management
Aspose.Pdf for Android 1.1.0 was released last week. It adds a host of improved image management features so that developers can add, remove, replace and extract images from PDF files. Download the update.
Aspose.Words’ Monthly Releases Include Aspose.Words for Android
Aspose.Words for .NET and Java releases has been published monthly for a while now. As of last month, the monthly update also includes Aspose.Words for Android. Aspose.Words for Java is ported from Aspose.Words for .NET, and Aspose.Words for Android is based on the Aspose.Words for Java code base so the three products offer very similar features. Find out what’s new: