Spire.Doc for Java 3.5.5

Spire.Doc for Java 3.5.5 improves printing quality and conversion from Word to PDF

We’re pleased to announce the release of Spire.Doc for Java 3.5.5. This version improves the file printing quality and fixes some issues that occurred when converting Word to PDF, extracting math formula and loading Word file. See the content below for more details.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREDOC-3682
SPIREDOC-3763
Improves printing quality.
Document loDoc = new Document(inputFile);
PrinterJob loPrinterJob = PrinterJob.getPrinterJob();
PageFormat loPageFormat  = loPrinterJob.defaultPage();
Paper loPaper = loPageFormat.getPaper();
//remove the default printing margins
loPaper.setImageableArea(0,0,loPageFormat.getWidth(),loPageFormat.getHeight());
//set the number of copies
loPrinterJob.setCopies(1);
loPageFormat.setPaper(loPaper);
loPrinterJob.setPrintable(loDoc,loPageFormat);s
 try {
         loPrinterJob.print();
     } catch (PrinterException e)
 {
         e.printStackTrace();
       }
Bug SPIREDOC-3961 Fixes the issue that the extracted math formula value was incorrect.
Bug SPIREDOC-3973 Fixes the issue that it was added a blank page when converting Word to PDF.
Bug SPIREDOC-4368 Fixes the issue that the application threw an error "Unknown format".
Bug SPIREDOC-4132 Fixes the issue that some content lost when loading and then resaving the document.
Bug SPIREDOC-4460 Fixes the issue that the application threw an error"Attempted to read past the end of the stream".
Bug SPIREDOC-4465 Fixes the issue that the application threw an error"NullPointerException".
Bug SPIREDOC-4468 Fixes the issue that the application threw an error"Invalid data" when using MathML Code to create OfficeMath.
Bug SPIREDOC-4483 Fixes the issue that the application threw an error"No have this value 115"when converting Word to PDF .
Click the link to download Spire.Doc for Java 3.5.5: