ICode9

精准搜索请尝试: 精确搜索
首页 > 编程语言> 文章详细

支持LINQ Reporting Engine动态书签!Aspose.Words迎来新年首更

2022-02-07 20:31:40  阅读:241  来源: 互联网

标签:Engine 功能 object Reporting LINQ 添加 file table WORDSNET


  Aspose.Words for .Net是一种高级Word文档处理API,用于执行各种文档管理和操作任务。API支持生成,修改,转换,呈现和打印文档,而无需在跨平台应用程序中直接使用Microsoft Word。

  令人兴奋的是,在2022新年开年之际,.NET版Aspose.Words迎来了新年第一次更新!新增了如下五大新功能:

  在脚注中实现了对段落规则的支持。公开了获取/设置浮动表位置的API。实现了检查VbaProject是否已签名的功能。添加了在使用InsertOleObject时插入IconCaption的功能。支持LINQ Reporting Engine的动态书签插入。

  WORDSNET-12444 支持API检查VBAcode是否已签名 新功能 WORDSNET-12204 添加功能以设置/获取浮动表的位置 新功能 WORDSNET-19648 使用LINQ Reporting Engine创建书签 新功能 WORDSNET-11833 添加功能以在使用InsertOleObject时插入IconCaption 新功能 WORDSNET-19366 在使用InsertOleObject时插入IconCaption的功能 新功能 WORDSNET-18818 使DML图像渲染对具有损坏的SVG扩展名的图像具有弹性 增强功能 WORDSNET-19498 内容已推送到PDF的前一页 增强功能 WORDSNET-11110 表格布局的DOC至PDF转换问题 增强功能添加了新的公共属性VbaProject.IsSigned

  ////// Shows whether the VbaProject is signed or not.///public bool IsSigned添加了用于浮动表属性的设置器:RelativeHorizontalAlignment、AbsoluteHorizontalDistance、RelativeVerticalAlignment、AbsoluteVerticalDistance。这些属性允许设置浮动表的位置。可参考下列用

  Document doc=new Document("some doc"); Table table=document.FirstSection.Body.Tables\[0\];table.AbsoluteHorizontalDistance=10; // sets absolute table horizontal position at 10pt.table.RelativeVerticalAlignment=VerticalAlignment.Center; // sets vertical table position to center of entity specified by Table.VerticalAnchor.添加功能以在使用InsertOleObject时插入IconCaption并更正图标,新的公共方法已添加到DocumentBuilder类中。

  ////// Inserts an embedded or linked OLE object as icon into the document. /// Allows to specify icon file and caption. Detects OLE object type using file extension. //////Full path to the file.////// If true then linked OLE object is inserted otherwise embedded OLE object is inserted.///////// Full path to the ICO file. /// If the value is null or the ICO file is not readable, Aspose.Words will use a predefined image.//////Icon caption.///Shape node containing Ole object and inserted at the current Builder positionlic Shape InsertOleObjectAsIcon(string fileName, bool isLinked, string iconFile, string iconCaption)

  用例:

  Document doc=new Document();DocumentBuilder builder=new DocumentBuilder(doc);Shape shape=build

标签:Engine,功能,object,Reporting,LINQ,添加,file,table,WORDSNET
来源: https://www.cnblogs.com/ebuybay/p/15869068.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有