问题标签 [aspose.words]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
aspose-cells - 运行 GroupDocs 示例“Java 查看器 - 示例 Dropwizard”时“找不到 com.aspose:aspose-email:jar:5.3.0.0”
我正在尝试运行此示例“GroupDocs Java Viewer - Sample Dropwizard”从此处下载
它需要这些 jar 文件:
- aspose-email-5.3.0.0.jar
- aspose-imaging-2.9.0.jar
- aspose-words-15.6.0.jar
- aspose-slides-15.5.1.jar
我在这里找不到它们 maven.aspose.com
我找到了带有 jdk16 的罐子,但仍然有同样的错误:
无法在项目 groupdocs-viewer-dropwizard 上执行目标:无法解析项目 com.groupdocs.samples:groupdocs-viewer-dropwizard:jar:2.12.0 的依赖项:无法解析以下工件:com.aspose:aspose-电子邮件:jar:5.3.0.0,com.aspose:aspose-imaging:jar:2.9.0,com.aspose:aspose-slides:jar:15.5.1,com.aspose:aspose-words:jar:15.6.0:http://repository.springsource.com/maven/bundles/external中找不到 com.aspose:aspose-email:jar:5.3.0.0 失败 缓存在本地仓库中,直到 com 的更新间隔才会重新尝试解析.springsource.repository.bundles.external 已过期或强制更新 -> [帮助 1]
java - 通过使用 java,我如何计算字数,结果与 MS-Office 字数功能相同
I/P 文件 : doc,docx with en-dash,em-dash
我已经通过使用 Apache Tika(元数据属性)和 Aspose wordtojava(library) 实现了字数统计功能,但它们没有给我准确的字数统计结果。
en-dash 和 em-dash 字数与 MS-Office ex 不同。2-3 4-5 结果:MS-office 给出上述示例的字数 4 APache - Tika & Aspose 库给出字数 2
如何计算与 MS-Office 相同的正确字数?
任何帮助都是非常可观的。
需要快速响应。
谢谢
java - Aspose Words - 仅删除部分书签
我在删除书签和段落时遇到问题。
书签:SUB_1、SUB_2、SUB_3、SUB_4、SUB_5。
循环执行后,仅删除SUB_1、SUB_3和SUB_5。
输出:
.net - 在新文档中复制项目符号列表编号?
我有一个像这样的节点导入器
我正在使用它将子节点从一个文档复制到另一个文档。我的子节点是一个项目符号列表。
但我的问题是子节点的某些属性,如 ListLabel 即项目符号列表编号没有被复制
根据您的回答,我尝试了以下操作。但是当我为每个节点创建新文档时它不起作用。
每个输出文档都包含列表索引为 1。
c# - 如何从 .docx 获取图像以使用 Aspose.Words 进行流式传输
任务是用流替换磁盘操作。当 .docx 保存到磁盘时 - 完美运行。尝试使用流进行更改。
有以下代码:
在 doc.Save() 上,它会在图像的图像流为空的地方进行回调 - 但图像存在于 Word 文档中。
有什么想法吗?
java - 在 docx/doc 中集成视频文件 (.mp4)
我想在 docx 或 doc 文档中集成视频文件意味着我需要在 docx 文件中播放视频。
那么,您能否在 docx 文件中提供此视频集成的开源或企业 Java API 列表。
提前致谢... :)
c# - MailMerge #foreach list of strings using Aspose.Words
I'm currently making a MailMerge file and want to show a list of strings. In the past I've used a list of objects (for example Customer
) and was able to have something like this in the Word-doc:
Now however, I have a list of strings
instead of Objects, and I simply want to show them:
So, what is supposed to go at the ???
. Or should I change the #foreach List
to something like a foreach in .NET C#, i.e. {{ #foreach value in List }}
or something similar?
I haven't been able to find a lot about MailMerge in general to be honest, and nothing about foreach in the MS Word-doc.
If this isn't possible I guess I'll have to put the string in a container-class? Like:
and
EDIT:
We use Aspose.Words
(.MailMerge
& .MailMerging
) for this conversion from our Data-object to data in the MS Word doc. Here is the code for the conversion:
And here an example of how we use it:
java - Aspose.Words Java,性能低,从 Word 生成 PDF 时间长。运行嵌入应用程序 2 天后
当我重新启动 App Server(Mule 3.6.2)时,从 Word 生成 PDF 的时间很好,差不多了。828.72 毫秒,
执行轨迹:
应用程序运行一两天后(平均生成 30000 个 pdf),从 Word 生成 PDF 的时间非常高,差不多。17264.77ms,
执行轨迹:
是否有任何设置可以防止这种糟糕的性能?或者它是 Api Aspose 的错误。