原創|產品更新|編輯:龔雪|2014-04-25 14:01:45.000|閱讀 721 次
概述:PDF控件activePDF WebGrabber推出新版本2013 R2,這次更新有較大改動,增加不少新功能,結構設計發生改變,大大提升了產品性能。此外還修復了多個bug,對已存在的問題給出了臨時解決方案。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
PDF控件activePDF WebGrabber推出新版本2013 R2,這次更新有較大改動,增加不少新功能,結構設計發生改變,大大提升了產品性能。此外還修復了多個bug,具體內容請參看下文。
全新API
包含新的類和計算結果。新的調用名稱更簡明易懂,為往后的版本產品的發布增加連貫性。
增加對字體的支持
支持 WebFonts (允許真正在線排版)。
轉換引擎選項
使你能根據實際需求選擇本地引擎或IE。
新PDF功能
支持 AES加密, 數字簽名, 標記和水印。
流線型結構
server的新結構減去了要求的服務數并簡化了內部交流。
性能提升
結構的重新設計提升了整體效率,大大提高了性能。
改善了錯誤處理
錯誤都通過Results object in .NET 和 the ServerResult object in COM.進行處理。
加強故障診斷工具
日志和Support Tools為解決疑難提供了更多細節支持。
增強了文件功能
文件編制進一步增強且顯示成HTML5格式,包含了一些新功能,如更強大的Google式搜索結果。
基于瀏覽器的界面
全新UI--Configuration Manager,可用性增強,減少加載時間,處理多個文件或設置都比以往更便捷。
新版本對 API做了一些改動,專門為使用IE添加了 WaitBeforePrinting 屬性(除了WebGrabber 2013早期版本使用本地引擎)。用 WaitBeforePrinting規定時間 (秒) 使 WebGrabber 在打印URL前等待, 這個等待時間允許異步加載頁面上的對象。
Configuration Manager
Configuration Manager是全新基于瀏覽器UI,它使你能夠在一處輕松管理activePDF產品的文件和設置。Server 2013是首個應用新 Configuration Manager的activePDF產品。
啟動Configuration Manager
啟動Configuration Manager時,雙擊Configuration Manager的桌面圖標,Configuration Manager就會在默認瀏覽器中打開。要是無法連接,請確認URL的地址輸入正確。使用這種格式://###.###.###.###:PORT,例如://127.0.0.1:90。 Server的端口為Port 90。
License Manager
activePDF License Manager已更新,主要是簡化了管理和維護產品授權的程序。 Server 2013也是首個使用新 License Manager的 activePDF產品。
默認的分配端口發生變化
DoPrint 被替換為新 ConvertToPDF 方法。為確保你不僅改變代碼, 所以使用ConvertToPDF方法,而且E這也是為了確保你能檢查t分配給WebGrabber的端口。默認情況下,.Net分配的端口是54545alt, COM的分配端口是58585。默認端口是90。
遠程提交
activePDF Webgrabber 2013支持遠程提交, 允許從遠程提交 URLs 或 HTML文件到你的應用程序的服務器 。
遠程提交必須滿足以下要求:
新版本修復的漏洞
Bug ID # | 描述 | 解決辦法 | Fixed in Build # |
2562 |
Uninstalling a Remote installer results in an error message. The message varies slightly with each remote installer, but will be similar to, "On Pre Uninstall, Line 20: attempt to call global 'val'(a nil value)." | The remote installer uninstallation routine was updated. | 14183 |
2980 |
Using CreateFromHTML with special characters results in unexpected output. | Special characters are no longer converted, and are instead contained in an xml CDATA block. | 13222 |
2992 | Calling MediaType = 1 does not retain the screen CSS in WebGrabber Enterprise. | Use WebGrabber 2013 to call MediaType. | 14182 |
3130 | Calling CreateFromHTMLText results in output that is missing lines. | Special characters are no longer converted, and are instead contained in an xml CDATA block. | 14115 |
3279 | CaptureRequestXml is implemented in the .NET dll but not in COM. | CaptureRequestXml was implemented in the COM ATL. | 14183 |
3360 | Setting Impersonation = true with DoPrint in ASP.NET fails with a NetNamedPipe WCF exception. | Using impersonation with DoPrint no longer results in an exception. | 14088 |
3496 | When calling the CreateFromHTMLText property for certain HTML files, the conversion results in an exception. | Special characters are no longer converted, and are instead contained in an xml CDATA block. | 14136 |
3943 | .NET and Native Engine Only: When CreateFromHTML is called before the HTMLTextToFile property, the text is not printed to the output PDF. |
HTML written to CreateFromHTMLText prior to setting HTMLText to file is now included in the output PDF. |
14115 |
3945 | Configuration Manager (UI) Only: Attempting to save a WebGrabber profile results in the error, "waitbeforePrinting is invalid." | The Print Wait option was assigned a default value of 0. | 14089 |
3950 | IE Engine Only: The IE Engine uses IE7 compatibility mode by default and ignores the compatibility level set in the browser itself. This can only be changed by setting the appropriate registry setting for the application or by having the X-UA-Compatibility header in the html. | A new setting was added to the UI for Browser Emulation. To set the compatibility level, edit the WG Profile in the Configuration Manager. Select a Browser Emulation Option: Internet Explorer 10, Internet Explorer 10 Emulate, Internet Explorer 9, Internet Explorer 9 Emulate, Internet Explorer 8, Internet Explorer 8 Emulate, Internet Explorer 7, EDGE or Undefined. | 14089 |
3961 | An exception occurs when converting a text file over 24KB with the CreateFromHTMLText property. | CreateFromHTMLText functionality was updated to save the html to a file prior to conversion. | 14115 |
3963 |
COM Only: Calling ClearHTMLText does not clear CreateFromHTMLText.
|
CreateFromHTMLText functionality was updated. | 14183 |
3967 | Converting a PDF containing an item list results in different output for each engine (Native and IE). The Native Engine produces output with the item list in a table, while the IE Engine does not contain the item list. | The WaitBeforePrinting property was added to the IE Engine. Setting the value to 1 second provides enough time for the IE Engine to render the content. | 14130 |
3978 | When a timeout occurs, the Timeout property returns the wrong code (-12 or -30) instead of -99. This issue occurs as an Exception error (-12) when using the .NET dll with the IE or Native engines, and as -12 with COM and the Native engine. | The Timeout property was updated to return -99 on timeout. | 14182 |
3980 | The WGIELogin is not FIPS-compliant, and returns the following error when a user is added, "This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms." | Updated the WebGrabberLogin.exe and the service to use a FIPS-compliant algorithm. When installing or running the executable and there is data stored by the older encrytion scheme, the login displays an error and the dialog box shows no data. This is expected behavior. | 14089 |
3993 |
A basic default font test including the following fonts fails, as the output PDF does not match the expected result: MainFont, FontNormal, FontAddress, FontBlockQuote, FontDir, FontExample, FontHeading1, FontHeading2, FontHeading3, FontHeading4, FontHeading5, FontHeading6, FontListing, FontMenu, FontPreformatted. |
Basic font functions apply styles to the HTML prior to printing. |
14183 |
3995 | SetPageNbrParams is not cleared after disposing of the WebGrabber object. |
Header and footer page number parameters are cleared when the WebGrabber object is released. |
14183 |
3996 | COM Only: FooterHTML does not apply the page numbers set in SetPageNbrParams. | The ATL DLL correctly sets header and footer page number parameters. | 14183 |
3998 | Converting a Web page in Hebrew with CreateFromHTMLText results in a -12 exception. | Pages with Hebrew text are converted and an exception is no longer thrown. | 14115 |
4123 | Add WaitBeforePrinting functionality, which was previously available only for the Native Engine, to the IE Engine. | The WaitBeforePrinting property was added to the IE Engine specify the time (in seconds) that WebGrabber waits before printing the URL. This wait time allows asynchronous objects to load on the page. | 14130 |
4144 | Attempting to convert HTML containing a ScriptX object with the IE Engine results in a -12 exception. The log file reads, "Result Exception: Only one ScriptX object can be used per browser window." | Added a check for an existing ScriptX factory in the HTML. | 14136 |
4260 | FILE SPECIFIC: WebGrabber does not return error codes or write a log file in the event of a failed conversion via Remote Connection. | A syntax error in the script prevented it from properly executing. When the script was edited to call oWG.ConvertToPDF, rather than WG.ConvertToPDF, WebGrabber returned -30, as expected. | 14183 |
已知的存在的問題
This section lists known WebGrabber 2013 R1.1 issues. When a known issue is fixed, it is moved to the Bug Fixes table. NOTE: The availability of a workaround does not imply that a particular issue will not be fixed.
Bug ID # | 已知存在的問題 | 臨時解決方案 |
271 | When using page breaks, the bottom cell of a page is split improperly, resulting in the text being split between two pages. | Use page-break-inside, where applicable. See for instructions and cautions. |
1313 |
When converting HTML to PDF, the first page of the output PDF has a larger amount of space before the first line of text than do subsequent pages. |
This is an issue with a third-party component. See for a workaround. Alternatively, use the IE Engine. |
2673 | PDF hyperlink locations are shifted when the linked text is located within a table, and when margins are applied to the output (Native Engine only). | N/A |
3037 | EmbedFlash does not work for an absolute path. | Use a virtual path rather than an absolute path. |
3038 | SetOutputSecurity encrypts the title when no metadata is passed. | Pass in metadata via the API or the UI. |
3128 | Native Engine Only: Field Borders on some text boxes are cut off on conversion. | Use the IE Engine. |
3133 | Text at page break is cut off when SetMargins is used. (Native Engine only) | Use the IE Engine. |
3134 | Japanese characters in text areas are garbled in the output PDF. (Native Engine only) | Currently, the workaround is to use the IE Engine.NOTE: PDF text boxes will not be preserved. This issue will be resolved in a future release. |
3135 | Converting Right to Left languages results in paragraphs that are not properly aligned. In addition, extra pages appear for page-breaks in the output PDF. | In some cases, removing the first page-break-after in the HTML and changing the remaining page breaks to page-break-before will resolve the issue. |
3137 3779 |
Intermittently, dynamic charts created with Google Chart Tools are not included in the output PDF. (IE Engine only)
|
Current workaround is to use the Native Engine. |
3139 |
FILE SPECIFIC: Converting an HTML file containing Kendo UI graphs results in the following error, "This page contains the following errors: error on line 1 at column 891: Expected '#' or '[a-zA-Z]', but got ' '.
Below is a rendering of the page up to the first error." (Native Engine only) |
Charts should be modified to utilize HTML character codes for special characters in embedded titles (i.e. replace "&" with "&"). |
3142 | HTML anchor links are not handled correctly in the output PDF. | Feature Request #246 has been created to support creation of internal PDF links when converting files with anchor links. |
3146 | FILE SPECIFIC: There are extra horizontal and vertical lines inside the output PDF. | The HTML should be updated to ensure that the border is inside the <div> tag, rather than inside the table cell. |
3147 | Including a .PNG image in the input HTML results in an increase in the text font weight, causing it appear bold. | Current workaround is to use the IE Engine. This will be resolved in an upcoming release. |
3148 | A dotted line that is clearly visible on a web page, appears as a solid line, or a randomly broken line in the output PDF. Zooming may make the line appear dotted. | Current workaround is to use the IE Engine. This will be resolved in an upcoming release. |
3172 | Conversions using IE9 and IE Engine result in output file size increases by 80 - 100% over that of files converted using IE7 or IE8. | See for workarounds. |
3414 | Values of text input boxes or text areas are not preserved in the output. (Native Engine only) | Current workaround is to set HTML form fields font property to use one of the Base14 fonts. Alternatively, use the IE engine (NOTE: Text boxes are not preserved with the IE engine.) |
3419 | Native Engine and COM Only: When using the preserve settings, such as PreserveTextboxes and PreserveCheckboxes, the resulting form fields are misaligned. | Use IE Engine with COM, or use Native Engine with .NET. |
3430 | Native Engine Only: The content, including radio buttons and text boxes, appears cut in half between pages when FitToPage = true. | Use the IE Engine. |
3514 | IE Engine Only: Form content is cut off at page break in the output PDF. | Use the Native Engine. |
3515 | Native Engine Only: The checkmarks within checkboxes are distorted in the output PDF. | Use the IE Engine. |
3689 | Native Engine Only: When using the HTML tag ![]() |
Use the IE Engine. |
3703 | The size specified in the HTML for an SVG image is not respected, and results in an extremely small image in the output PDF. (Native Engine only) | Current workaround is to use the IE Engine. |
3774 | Font names in Document Properties > Fonts of the output PDF are garbled in conversions using the IE Engine with IE9. | See for workarounds. |
3783 |
Calling SetSecurity Methods (i.e. SetPDFSecurity, SetPDFSecurity128, SetPDFSecurityAES, SetOutputSecurity or SetOutputSecurity128) with linearize methods (i.e. LinearizePDF or LinearizeDocument) produces an undesirable output PDF. |
Do not attempt to call SetSecurity methods along with linearize methods. |
3813 |
The output PDF is not editable. The error, "All or part of the selection has no available system font. You cannot add or delete text using the currently selected font," appears when attempting to edit the PDF. |
See for workarounds. |
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:慧都控件網