<repositories>
   <repository>
      <id>repository.groupdocs.com</id>
      <name>GroupDocs Repository</name>
      <url>https://releases.groupdocs.com/java/repo/</url>
   </repository>
</repositories>

<dependencies>
   <dependency>
      <groupId>com.groupdocs</groupId>
      <artifactId>groupdocs-assembly</artifactId>
      <version>22.2</version>
   </dependency>
</dependencies>
copied!  
repositories {
    maven {
        url 'https://releases.groupdocs.com/java/repo/'
    }
}

compile(group: 'com.groupdocs', name: 'groupdocs-assembly', version: '22.2')
copied!  
<ivysettings>
    <settings defaultResolver="chain"/>
    <resolvers>
        <chain name="chain">
            <ibiblio name="GroupDocs Repository" m2compatible="true" root="https://releases.groupdocs.com/java/repo/"/>
        </chain>
    </resolvers>
</ivysettings>

<dependency org="com.groupdocs" name="groupdocs-assembly" rev="22.2">
   <artifact name="groupdocs-assembly" ext="jar"/>
</dependency>
copied!  
resolvers += Resolver.url("GroupDocs Repository", url("https://releases.groupdocs.com/java/repo/"))

libraryDependencies += "com.groupdocs" % "groupdocs-assembly" % "22.2"
copied!  

高码Java API用于文档自动化和汇编

main-banner

产品页面 | 文档 | 演示 | API参考 | 例子 | 博客 | 免费支持 | 临时许可

Java的GroupDocsAssembly是一种本地Java API,可帮助您根据用户定义的模板从各种数据源(DB,XML,JSON,ODATA)获取数据和信息,然后根据这些模板组装各种文件格式的文档。支持综合报告建设,自定义和发电功能。

文档组件Java本地API功能

  • 根据用户定义的模板和从数据源获取的数据组装文档,例如DB,XML,JSON。

  • 支持多种数据格式。

  • 应用公式并顺序执行数据操作。

  • 在模板语法中应用字符串格式(FirstCap,Capital,下,较高)。

  • Supports alphabetic, cardinal, ordinal numeric formatting support within the template syntax

  • 在模板语法标签中允许文本注释。

  • 在模板文档中使用自定义变量。

  • Ability to dynamically perform the following operations with in the reports:

    • 插入文档内容
    • 插入超链接
    • 将属性应用于电子邮件主体
    • 添加电子邮件附件
    • 配置HTML页面背景颜色
    • 在报告中生成条形码
  • Apply formula while spreadsheet is assembling

  • Configure template formatting for the following elements:

    • 数字
    • 文本
    • 图片
    • 约会时间
    • 图表
  • Apply conditional formatting to the template text elements

  • Supports LINQ based template syntax

  • Auto-removal of paragraphs which are empty

  • Generate various report types, such as:

    • 图表(气泡图,列图报告,饼图报告,散点图报告)
    • 图像(通用列表图像报告,单行图像报告,公共主详细图像报告)
    • 表(Tablemaster-detail报告,带有突出显示的行,全能主义者的表报告)
    • 列表(子弹,编号列表报告,多色编号列表报告,无限级报告,段落列表报告)
  • Facility of in-line template syntax errors in the generated documents

  • Load template documents from HTML with resources

  • Save assembled Word®, Excel®, PowerPoint® & Email to HTML with resources

  • 包含相等文本内容的表单元可以在您的报告中动态合并。

  • 使用条形码标签将条形码图像动态插入文档。

  • 支持60多种类型的条形码,要插入组装文档中。

  • 生成报告从多个数据源获取数据

  • 能够使用电子表格,演示文稿和文字处理表作为数据源的能力。

  • 在模板语法中指定格式

  • 使用DOC标签定义占位符至在运行时插入报告中的外部文档

支持的文档组装文件格式

Microsoft Word&reg;: DOC,DOT,DOCX,DOCM,DOTX,DOTM,RTF,XML
OpenOffice&Reg;作家: ODT,OTT
Microsoft Excel&reg;: XLSX,XLSM,XLTX,XLTM,XLSB,XLS,XLT,XLT,XML \
OpenOffice&Reg;电子表格: ods
Microsoft PowerPoint&reg;: PPTX,PPTM,PPSX,PPSM,POTX,POTM,PPT,PPT,PPS,POT
OpenOffice&Reg;演示文稿: ODP,OTP
Microsoft Outlook&reg;: EML,MSG
Apple&Reg;电子邮件: emlx
文字: txt
网络: html,mhtml
固定布局: PDF,XPS
电子书: epub
栅格图像: tiff
矢量: svg
后记: ps
打印机命令语言: pcl
Markdown: MD
其他: XAML,牛仔

有关详细信息和限制,请访问支持的文档格式

支持的文档组件数据源

  • Database (DB)
  • OData
  • JSON
  • XML
  • Custom Java Object
  • Spreadsheet
  • Word processing Table

系统要求

  • Microsoft Windows: Windows Desktop&Server(X86,X64),Microsoft Azure
  • macOS: Mac OS X
  • Linux: Ubuntu,Opensuse,Centos等
  • Java版本:``J2SE 7.0(1.7)J2SE 8.0(1.8)`或更高(例如Java 10)

groupDocs.sembly for Java不需要安装任何外部软件或第三方工具。只需按照安装和配置中描述的方式之一即可。

开始

GroupDocs在GroupDocs存储库托管所有Java API。您可以在Maven项目中轻松地使用Java API的组件。有关详细说明,请访问使用Maven从GroupDocs存储库安装文档页面。

示例Java代码在PowerPointreg 2013中生成饼图

请下载示例[<github.com/groupdocs-assembly/groupdocs.assembly-for-java/blob/master/master/examples/groupdocs.assembly.examples.java/data/data/data/storage/preneentation%在下面的示例中使用了20 emplates/pie%20 chart.pptx?raw = true)pptx使用。

产品页面 | 文档 | 演示 | API参考 | 例子 | 博客 | 免费支持 | 临时许可

VersionRelease Date
22.22022年3月5日
20.62022年1月25日
20.42022年1月25日
20.122022年1月25日
19.102022年1月25日
18.62022年1月25日
18.22022年1月25日
17.122022年1月25日
17.1.02022年1月25日
21.72021年7月9日
21.42021年4月30日
21.32021年3月19日
21.12021年1月31日
20.112020年11月26日
20.92020年9月30日
20.82020年8月25日
20.32020年3月17日
19.112019年11月18日
19.82019年8月24日
19.72019年7月16日
19.52019年5月27日
19.32019年3月8日
19.12019年1月29日
18.122018年12月6日
18.102018年10月31日
18.92018年9月11日
18.72018年7月31日
18.52018年6月1日
17.112018年4月20日
17.3.02018年4月20日
17.5.02018年4月20日
17.8.02018年4月20日
17.92018年4月20日
18.12018年4月20日