The rendering feature in Aspose.Words allows to:
· Convert any document or selected pages to PDF.
· Convert any document or selected pages to XPS.
· Convert any document or selected pages to SWF.
· Convert any page of a document into a raster image and save as BMP, PNG or JPEG.
· Convert any document or some pages into a multipage TIFF document.
· Render (draw) any page of a document to a specified size or scale on the Java Graphics object to create thumbnails, full sized or scaled images of document pages.
· Display any page of a document in a Swing Component.
· Print or preview document pages using the standard Java printing infrastructure.
All of the document formats that can be loaded into Aspose.Words are known as “flow-layout” formats. Flow-layout formats include DOC, OOXML, RTF, ODT, HTML. Documents in these formats consist of various elements e.g. paragraphs, tables, headers, footers, images, fields and their formatting e.g. bold, italic, font, size etc. However, the flow-layout formats do not contain information that specifies where on a page each particular paragraph or character is displayed.
To contrast, the “fixed-layout” formats, such as PDF and XPS, preserve the appearance of a document after it was laid out into pages so the viewing fidelity is preserved.
Aspose.Words implements its own page layout engine that takes a flow-layout document and formats it out into pages. Then, Aspose.Words implements a number of renderers that either produce a fixed-layout document, such as PDF or XPS or output pages into another medium, such as printing or drawing.
The most important advantage of the Aspose.Words page layout engine is that it tries to mimic the way the Microsoft Word’s page layout engine works. To you, this means that if you convert a Microsoft Word document into PDF, XPS or print it using Aspose.Words, the output will appear almost exactly as if it was done by Microsoft Word. But of course Aspose.Words does not utilize Microsoft Word.