admin管理员组

文章数量:1542053

百度搜索轻易得到之破解版Spire.Office for Java is a combination of Enterprise-Level Office Java APIs offered by E-iceblue. It includes Spire.Doc for Java, Spire.XLS for Java, Spire.Presentation for Java, Spire.PDF for Java and Spire.Barcode for Java. 

Spire.Office for Java 7.9.9 is released
We are excited to announce the release of Spire.Office for Java 7.9.9. In this version, Spire.Doc for Java supports word level comparison when comparing Word documents; Spire.Presentation supports adding MathML equations and selecting the print range in the Print dialog box. Besides, some known issues are successfully fixed in this version. More details are listed below.
Here is a list of changes made in this release
Spire.Doc for Java
CategoryIDDescription
New featureSPIREDOC-7817Supports word level comparison when comparing Word documents.
Document doc1 = new Document();
doc1.loadFromFile(folder + "a.docx");
Document doc2 = new Document();
doc2.loadFromFile(folder + "b.docx");
CompareOptions options = new CompareOptions();
options.setLevel(ComparisonLevel.Word);
doc1pare(doc2, "E-iceblue",options);
doc1.saveToFile(result, FileFormat.Docx);
BugSPIREDOC-7268Fixes the issue that setting table row height to auto type did not work when saving to DOC format documents.
BugSPIREDOC- 7835Fixes the issue that TOC contents were not aligned after updating TOC(table of contents).
BugSPIREDOC-8018Fixes the issue that the table layout was incorrect when converting Word to PDF.
BugSPIREDOC-8038Fixes the issue that the total page count was displayed incorrectly when converting Word to PDF.
BugSPIREDOC-8092Fixes the issue that the embedded document could not be opened when clicking on the image displayed by the OLE object after adding an OLE object using OleLinkType.Link.
BugSPIREDOC-8095Fixes the issue that the page numbers were not displayed correctly after updating TOC(table of contents).
BugSPIREDOC-8098Fixes the issue that setting case insensitivity did not work when finding text via regex.
BugSPIREDOC-8162Fixes the issue that the update directory program throws NullPointerException.
BugSPIREDOC-8190Fixes the issue that the text wrapping was incorrect when converting Word to PDF
BugSPIREDOC-8199Fixes the issue that the rotation angle of the watermark was incorrect when converting Word to PDF.
BugSPIREDOC-8200Fixes the issue that the program threw an error (Argument width[0] or height[0] cannot be less or equal to zero) when converting Word to PDF.
BugSPIREDOC-8231Fixes the issue that The table did not span pages correctly when converting Word to PDF.
BugSPIREDOC-8273Fixes the issue that the program threw an exception (Error reading WMF metafile) when loading document.
BugSPIREDOC-8282Fixes the issue that the content layout was incorrect when converting Word to PDF
BugSPIREDOC-8285Fixes the issue that the file format of docm was recognized as docx.
BugSPIREDOC-8303Fixes the issue that the result of detecting whether a file of docm was encrypted was incorrect.
BugSPIREDOC-8369Fixes the issue that the program threw an exception (GC overhead limit exceeded) when converting Word to PDF.
Spire.Presentation for Java
CategoryIDDescription
New featureSPIREPPT-2044Supports adding MathML equations.
Presentation ppt = new Presentation();
String mathMLCode="<mml:math xmlns:mml=\"http://www.w3/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats/officeDocument/2006/math\">" + "<mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msqrt><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:msqrt><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:math>";
IAutoShape shape=ppt.getSlides().get(0).getShapes().appendShape(ShapeType.RECTANGLE, new Rectangle2D.Float(30,100,400,30));
shape.getTextFrame().getParagraphs().clear();
ParagraphEx tp=shape.getTextFrame().getParagraphs().addParagraphFromMathMLCode(mathMLCode);
ppt.saveToFile(outputFile, FileFormat.PDF);
ppt.dispose();
New featureSPIREPPT-2054Supports selecting the print range in the Print dialog box.
  Presentation ppt = new Presentation();
        ppt.loadFromFile("C:\\1.pptx");
        PrinterJob printerJob=PrinterJob.getPrinterJob();
        printerJob.setPrintable(ppt);
        printerJob.printDialog();
        printerJob.print();
        ppt.dispose();
BugSPIREPPT-2036Fixes the issue that the content was cropped when converting PowerPoint to PDF with A4 size.
BugSPIREPPT-2053Fixes the issue that the gradient disappeared when converting PowerPoint to SVG.
BugSPIREPPT-2055Fixes the issue that the application threw NullPointerException when merging PowerPoint files.
BugSPIREPPT-2056Fixes the issue that the application threw ArrayIndexOutOfBoundsException when loading a PowerPoint file.
BugSPIREPPT-2055Fixes the issue that the application threw NullPointerException when splitting a PowerPoint file.

本文标签: Javaofficespire