原創(chuàng)|產(chǎn)品更新|編輯:李顯亮|2020-11-17 09:30:49.310|閱讀 476 次
概述:Spire.Office for Java v3.11.0現(xiàn)已正式發(fā)布。該版本包含了許多新功能,還修復(fù)了許多加載、操作、提取及轉(zhuǎn)換Word、Excel、PDF和PowerPoint文檔時(shí)出現(xiàn)的問(wèn)題。
# 界面/圖表報(bào)表/文檔/IDE等千款熱門(mén)軟控件火熱銷售中 >>
你在尋找支持在Java中用編程方法處理各類格式文檔的API嗎?好巧,Java版企業(yè)級(jí)文檔管理組合套包Spire.Office 2020全新上線!Word、Excel、PPT、PDF、條形碼等格式一網(wǎng)打盡。
目前,Spire.Office for Java v3.11.0現(xiàn)已正式發(fā)布。該版本包含了許多新功能,比如,Spire.PDF for Java支持獲取PDF水印及插入SVG到PDF;Spire.XLS for Java支持透視表設(shè)置重復(fù)行標(biāo)簽。除此之外,它還修復(fù)了許多加載、操作、提取及轉(zhuǎn)換Word、Excel、PDF和PowerPoint文檔時(shí)出現(xiàn)的問(wèn)題。點(diǎn)擊下方按鈕即可下載試用↓↓↓
免費(fèi)下載Spire.Office for Java v3.11.0
新功能及問(wèn)題修復(fù)詳情,請(qǐng)參閱如下內(nèi)容。
Spire.DOC for Java(點(diǎn)擊下載)問(wèn)題修復(fù):
優(yōu)化:
新功能:
PdfDocument pdf = new PdfDocument(); pdf.loadFromFile(outputFile); PdfAnnotationCollection annotationWidget= pdf.getPages().get(0).getAnnotationsWidget(); StringBuffer stringBuffer = new StringBuffer(); for(int i=0;i < annotationWidget.getCount();i++){ if (annotationWidget.get(i) instanceof PdfWatermarkAnnotationWidget){ stringBuffer.append(annotationWidget.get(i).getText()+"\r\n"); }
String inputFile_svg = "data/sample.svg"; String inputFile_pdf = "data/sample.pdf"; String outputFile = "result.pdf"; PdfDocument doc1 = new PdfDocument(); doc1.loadFromSvg(inputFile_svg); PdfDocument doc2 = new PdfDocument(); doc2.loadFromFile(inputFile_pdf); PdfTemplate template = doc1.getPages().get(0).createTemplate(); template.draw(doc2.getPages().get(0).getCanvas(), new Point2D.Float()); doc2.saveToFile(outputFile, FileFormat.PDF);
問(wèn)題修復(fù):
新功能
pt.getPivotFields().get("Month").isRepeatItemLabels(true);
Bug修復(fù)
Bug修復(fù)
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn