彩票走势图

PDF控件activePDF WebGrabber出新版本啦

原创|产品更新|编辑:龚雪|2014-04-25 14:01:45.000|阅读 670 次

概述:PDF控件activePDF WebGrabber推出新版本2013 R2,这次更新有较大改动,增加不少新功能,结构设计发生改变,大大提升了产品性能。此外还修复了多个bug,对已存在的问题给出了临时解决方案。

# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>

PDF控件activePDF WebGrabber推出新版本2013 R2,这次更新有较大改动,增加不少新功能,结构设计发生改变,大大提升了产品性能。此外还修复了多个bug,具体内容请参看下文。

2013 R2新功能

全新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文件到你的应用程序的服务器 。

远程提交必须满足以下要求:

  • 你的应用程序的服务器必须安装有完全授权版本的activePDF WebGrabber 。
  • 远程计算机也要安装有WebGrabber。
  • 如果使用 WebGrabber COM object,该提交必须用默认端口 90。
  • 如果使用 WebGrabber .NET object, 该提交必须用默认端口57975。

新版本修复的漏洞

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 , the background color is not completely filled in. 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
3784

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.  

 


标签:PDF

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@cahobeh.cn

文章转载自:慧都控件网

为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP