原创|产品更新|编辑:龚雪|2016-06-29 19:03:10.000|阅读 470 次
概述:文档管理控件Aspose.Words全面更新,新版本在ReportingEngine类中增加了overload,允许在创建报告时使用多个数据源。
# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>
本次月更共有72项改进与修复,以下几点需要注意:
核心 | 概述 | 类别 |
---|---|---|
WORDSNET-11897 | 图片中的一个符号被转换成了SDT,而且它看起来并不是打开或保存一个DOCX文档时的存储操作 | Bug |
WORDSNET-12133 | 将WORD保存为PDF时艺术字会被损坏 | Bug |
WORDSNET-12432 | 转换为PDF时在文本框中丢失文本 | Bug |
WORDSNET-12535 | Word 转换为PDF时文本框的问题 | Bug |
WORDSNET-12927 | 水平线在生成的文档中不可见 | Bug |
WORDSNET-13011 | /para rules during row break/ A Table row breaks across pages in PDF | Bug |
WORDSNET-13062 | TestJira4499 fails on certain machines | Bug |
WORDSNET-13122 | Numbered list does not get converted properly in the attached PDF | Bug |
WORDSNET-13134 | Google Chrome error: Duplicate headers received from server | Bug |
WORDSNET-13137 | Div is not imported into Aspose.Words DOM | Bug |
WORDSNET-13169 | Specifying new values to ComparisonOperator, LeftExpression or RightExpression of FieldIf cause lose of Tables and other formatting | Bug |
WORDSNET-13282 | {{SHAPE * MERGEFORMAT }} is overlapped after re-saving Rtf. | Bug |
WORDSNET-13357 | Japanese text wraps to next line after English word in output Pdf | Bug |
WORDSNET-13365 | Hyperlink text should not wrap to the next line | Bug |
WORDSNET-13372 | A Page's content is splitting into two pages during rendering | Bug |
WORDSNET-13373 | Docx to SVG conversion issue with text selection in IE-11 | Bug |
WORDSNET-13409 | Word to PDF conversion - missing drawing | Bug |
WORDSNET-13410 | Converting to PDF pushes last row on next page | Bug |
WORDSNET-13417 | Table's rows are moved to previous page after saving Doc to Pdf | Bug |
WORDSNET-13419 | Document.UpdateFields corrupts the document | Bug |
WORDSNET-13442 | Table's cell margins are changed after re-saving Docx | Bug |
WORDSNET-13444 | Table's cells width are changed after re-saving Doc | Bug |
WORDSNET-13448 | Mergefield TableStart inside an IF field are processed although the IF condition is false (IF field is outside any merge regions) | Bug |
WORDSNET-13458 | Docx to Doc/Pdf conversion issue with bounded check-boxes | Bug |
WORDSNET-13464 | Document.UpdateFields does not update REF fields | Bug |
WORDSNET-13465 | Image (shape) is lost after re-saving mhtml | Bug |
WORDSNET-13471 | Not able to load DOCX file | Bug |
WORDSNET-13474 | Paragraph moves to previous page after conversion from Docx to Pdf | Bug |
WORDSNET-13477 | Cell border not rendered in Word where rowspan is used in Html | Bug |
WORDSNET-13481 | Barcode font is changed to Arial after re-saving Docx | Bug |
WORDSNET-13491 | Chinese text is truncated in output HtmlFixed format | Bug |
WORDSNET-13494 | Asian text is improperly wrapped. Font is improperly detected for not asian characters. | Bug |
WORDSNET-13511 | Data Labels in chart are changed after re-saving Docx | Bug |
WORDSNET-13523 | Missing Numbering when save as PDF in Memory Stream | Bug |
WORDSNET-13528 | Special characters are displayed in PDF | Bug |
WORDSNET-13536 | MailMerge.PreserveUnusedTags does not preserve "mustache" tags | Bug |
WORDSNET-13549 | Right-hand border thickness is incorrect during open/save a DOC | Bug |
WORDSNET-13579 | Converting to PDF messes up the table cell format | Bug |
WORDSNET-13582 | Hyperlink color changes to Black in generated DOC/PDF | Bug |
WORDSNET-5108 | Images are lost after open/save DOCX document (Sdt). | Bug |
WORDSNET-5134 | Drop caps do not export well to HTML | Bug |
WORDSNET-6464 | The contents do not fit in table's cell in output PDF file. | Bug |
WORDSNET-6514 | Unable to view Aspose.Words generated DOCX file with GoogleDocs | Bug |
WORDSNET-7492 | Picture is shifted up during DOCX to PDF conversion | Bug |
WORDSNET-7795 | Table contents become invisible in output PDF file | Bug |
WORDSNET-7847 | Incorrect text color in output PDF | Bug |
WORDSNET-8232 | Moderate effect Shape Style is not preserved during open/save | Bug |
WORDSNET-11353 | SmartArt text render incorrectly in output Pdf | 优化 |
WORDSNET-11963 | Inconsistent formatting of comment references exported to HTML | 优化 |
WORDSNET-12169 | Implement public API to set the shape fill to picture (at least) / Ellipse shape image is rendered as square in PDF | 优化 |
WORDSNET-12225 | Html to Docx conversion issue with display : inline style | 优化 |
WORDSNET-12398 | Contents are moved from 1st page to second page in output Pdf | 优化 |
WORDSNET-13295 | Support special handling of backslash for IF fields | 优化 |
WORDSNET-13309 | list-style:none does not take effect in output document | 优化 |
WORDSNET-13400 | Unrecognized image type encountered during DOCX export | 异常 |
WORDSNET-13437 | Aspose.Words.FileCorruptedException is thrown while loading mhtml | 异常 |
WORDSNET-13483 | Saving to PDF throws "Parameter is not valid" exception | 异常 |
WORDSNET-13499 | System.NullReferenceException during converting DOCX to DOCX | 异常 |
WORDSNET-13501 | Document.AcceptAllRevisions throws "The bookmark range is invalid" exception | 异常 |
WORDSNET-13507 | Aspose.Words.FileCorruptedException is thrown while loading Doc | 异常 |
WORDSNET-13508 | Document.Save throws System.NullReferenceException while re-saving Docx | 异常 |
WORDSNET-13517 | Aspose.Words.FileCorruptedException is thrown while loading Doc | 异常 |
WORDSNET-13534 | "Memory stream is not expandable" error occurs upon loading a RTF | 异常 |
WORDSNET-13560 | UnsupportedFileFormatException while loading txt file | 异常 |
WORDSNET-10921 | /para rules during row break/ Table's row split over pages after conversion from Docx to Pdf | 特色 |
WORDSNET-12492 | Allow creation of bookmarks over 40 chars long when the target document is PDF | 特色 |
WORDSNET-13014 | Add a special mode to Aspose.Words optimized for high-performance text extraction | 特色 |
WORDSNET-13325 | PageSetup.SuppressEndnotes does not work when saving to PDF | 特色 |
WORDSNET-13538 | Provide ReportingEngine.buildReport overload that accepts multiple data source objects | 特色 |
WORDSNET-13418 | 优化自动换行的性能 | 性能 |
WORDSNET-13514 | 将文件保存为PDF文档需要很长时间 | 性能 |
WORDSNET-13577 | 一些图片未能出现在生成报告的印刷版本中 | 回归 |
下方的overload已被添加至ReportingEngine类中:
////// Populates the specified template document with data from the specified sources making it a ready report. //////////// Using this overload you can reference multiple data source objects and their members in the template. /// The name of the first data source can be omitted (i.e. be an empty string or null) if you are going to /// reference the data source's members but not the data source object itself. Names of the other data sources /// must be specified and unique. ///////// If you are going to use a single data source, consider using of/// andoverloads instead. /////////A template document to be populated with data.///An array of data source objects.///An array of names to reference the data source objects within the template.public void BuildReport(Document document, object[] dataSources, string[] dataSourceNames)
它允许在创建报告时使用多个数据源。
本次月更共有83项改进与修复,以下几点需要注意:
核心 | 概述 | 类别 |
---|---|---|
WORDSJAVA-1064 | 错误的模糊形状 | Bug |
WORDSJAVA-1173 | 图像颜色变化 | Bug |
WORDSJAVA-1324 | 输出PDF时形状被错误渲染 | Bug |
WORDSJAVA-1361 | DigitalSignatureUtil.sign() receives InputStream for input and output. | Bug |
WORDSJAVA-1374 | 没有[Test] 的[TestCase] 添加'enabled = false' 到java测试. | 优化 |
WORDSJAVA-1231 | 将Docx转换为PDF时,产生java.lang.非法状态异常 | 异常 |
WORDSJAVA-1347 | Shadow mirror Dml效果丢失 | 回归 |
WORDSJAVA-1348 | DML图像的阴影大小和样式被改变 | 回归 |
WORDSJAVA-1349 | DML图像的边框被改变 | 回归 |
WORDSJAVA-1381 | 嵌入字体丢失 | 回归 |
WORDSNET-11897 | 图片中的一个符号被转换成了SDT,而且它看起来并不是打开或保存一个DOCX文档时的存储操作 | Bug |
WORDSNET-12133 | 将WORD保存为PDF时艺术字会被损坏 | Bug |
WORDSNET-12432 | 转换为PDF时在文本框中丢失文本 | Bug |
WORDSNET-12535 | Word 转换为PDF时文本框的问题 | Bug |
WORDSNET-12927 | 水平线在生成的文档中不可见 | Bug |
WORDSNET-13011 | /para rules during row break/ A Table row breaks across pages in PDF | Bug |
WORDSNET-13062 | TestJira4499 fails on certain machines | Bug |
WORDSNET-13122 | Numbered list does not get converted properly in the attached PDF | Bug |
WORDSNET-13134 | Google Chrome error: Duplicate headers received from server | Bug |
WORDSNET-13137 | Div is not imported into Aspose.Words DOM | Bug |
WORDSNET-13169 | Specifying new values to ComparisonOperator, LeftExpression or RightExpression of FieldIf cause lose of Tables and other formatting | Bug |
WORDSNET-13282 | {{SHAPE * MERGEFORMAT }} is overlapped after re-saving Rtf. | Bug |
WORDSNET-13357 | Japanese text wraps to next line after English word in output Pdf | Bug |
WORDSNET-13365 | Hyperlink text should not wrap to the next line | Bug |
WORDSNET-13372 | A Page's content is splitting into two pages during rendering | Bug |
WORDSNET-13373 | Docx to SVG conversion issue with text selection in IE-11 | Bug |
WORDSNET-13409 | Word to PDF conversion - missing drawing | Bug |
WORDSNET-13410 | Converting to PDF pushes last row on next page | Bug |
WORDSNET-13417 | Table's rows are moved to previous page after saving Doc to Pdf | Bug |
WORDSNET-13419 | Document.UpdateFields corrupts the document | Bug |
WORDSNET-13442 | Table's cell margins are changed after re-saving Docx | Bug |
WORDSNET-13444 | Table's cells width are changed after re-saving Doc | Bug |
WORDSNET-13448 | Mergefield TableStart inside an IF field are processed although the IF condition is false (IF field is outside any merge regions) | Bug |
WORDSNET-13458 | Docx to Doc/Pdf conversion issue with bounded check-boxes | Bug |
WORDSNET-13464 | Document.UpdateFields does not update REF fields | Bug |
WORDSNET-13465 | Image (shape) is lost after re-saving mhtml | Bug |
WORDSNET-13471 | Not able to load DOCX file | Bug |
WORDSNET-13474 | Paragraph moves to previous page after conversion from Docx to Pdf | Bug |
WORDSNET-13477 | Cell border not rendered in Word where rowspan is used in Html | Bug |
WORDSNET-13481 | Barcode font is changed to Arial after re-saving Docx | Bug |
WORDSNET-13491 | Chinese text is truncated in output HtmlFixed format | Bug |
WORDSNET-13494 | Asian text is improperly wrapped. Font is improperly detected for not asian characters. | Bug |
WORDSNET-13511 | Data Labels in chart are changed after re-saving Docx | Bug |
WORDSNET-13523 | Missing Numbering when save as PDF in Memory Stream | Bug |
WORDSNET-13528 | Special characters are displayed in PDF | Bug |
WORDSNET-13536 | MailMerge.PreserveUnusedTags does not preserve "mustache" tags | Bug |
WORDSNET-13549 | Right-hand border thickness is incorrect during open/save a DOC | Bug |
WORDSNET-13579 | Converting to PDF messes up the table cell format | Bug |
WORDSNET-13582 | Hyperlink color changes to Black in generated DOC/PDF | Bug |
WORDSNET-13619 | Text is truncated and renders outside the Table in PDF | Bug |
WORDSNET-5108 | Images are lost after open/save DOCX document (Sdt). | Bug |
WORDSNET-5134 | Drop caps do not export well to HTML | Bug |
WORDSNET-6464 | The contents do not fit in table's cell in output PDF file. | Bug |
WORDSNET-6514 | Unable to view Aspose.Words generated DOCX file with GoogleDocs | Bug |
WORDSNET-7492 | Picture is shifted up during DOCX to PDF conversion | Bug |
WORDSNET-7795 | Table contents become invisible in output PDF file | Bug |
WORDSNET-7847 | Incorrect text color in output PDF | Bug |
WORDSNET-8232 | Moderate effect Shape Style is not preserved during open/save | Bug |
WORDSNET-11353 | SmartArt text render incorrectly in output Pdf | 优化 |
WORDSNET-11963 | Inconsistent formatting of comment references exported to HTML | 优化 |
WORDSNET-12169 | Implement public API to set the shape fill to picture (at least) // Ellipse shape image is rendered as square in PDF | 优化 |
WORDSNET-12225 | Html to Docx conversion issue with display : inline style | 优化 |
WORDSNET-12398 | Contents are moved from 1st page to second page in output Pdf | 优化 |
WORDSNET-13295 | Support special handling of backslash for IF fields | 优化 |
WORDSNET-13309 | list-style:none does not take effect in output document | 优化 |
WORDSNET-13400 | Unrecognized image type encountered during DOCX export | 异常 |
WORDSNET-13437 | Aspose.Words.FileCorruptedException is thrown while loading mhtml | 异常 |
WORDSNET-13483 | Saving to PDF throws "Parameter is not valid" exception | 异常 |
WORDSNET-13499 | System.NullReferenceException during converting DOCX to DOCX | 异常 |
WORDSNET-13501 | Document.AcceptAllRevisions throws "The bookmark range is invalid" exception | 异常 |
WORDSNET-13507 | Aspose.Words.FileCorruptedException is thrown while loading Doc | 异常 |
WORDSNET-13508 | Document.Save throws System.NullReferenceException while re-saving Docx | 异常 |
WORDSNET-13517 | Aspose.Words.FileCorruptedException is thrown while loading Doc | 异常 |
WORDSNET-13534 | "Memory stream is not expandable" error occurs upon loading a RTF | 异常 |
WORDSNET-13560 | UnsupportedFileFormatException while loading txt file | 异常 |
WORDSNET-10921 | /para rules during row break/ Table's row split over pages after conversion from Docx to Pdf | 特色 |
WORDSNET-12492 | 当目标文件是PDF时,允许创建超过40字符长度的书签 | 特色 |
WORDSNET-13014 | 为Aspose.Words添加一个特殊模式,为更高性能的文本提取而优化 | 特色 |
WORDSNET-13325 | 保存PDF时PageSetup.SuppressEndnotes不能正常工作 | 特色 |
WORDSNET-13538 | 提供接受多个数据源对象的 ReportingEngine.buildReport overload | 特色 |
WORDSNET-13418 | 优化自动换行性能 | 性能 |
WORDSNET-13514 | 将文件保存为PDF文档需要很长时间 | 性能 |
WORDSNET-13577 | 一些图片未能出现在生成报告的印刷版本中 | 回归 |
////// Populates the specified template document with data from the specified sources making it a ready report. //////////// Using this overload you can reference multiple data source objects and their members in the template. /// The name of the first data source can be omitted (i.e. be an empty string or null) if you are going to /// reference the data source's members but not the data source object itself. Names of the other data sources /// must be specified and unique. ///////// If you are going to use a single data source, consider using of/// andoverloads instead. /////////A template document to be populated with data.///An array of data source objects.///An array of names to reference the data source objects within the template.public void BuildReport(Document document, object[] dataSources, string[] dataSourceNames)
它允许在创建报告时使用多个数据源。
本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@pclwef.cn
文章转载自:慧都控件网