docx - 标记 / 标记 - docx 转换
我必须以 docx 格式存储一些文档,但无法忍受使用 msword:我想编辑某种纯文本标记,除了基于 XML 的内容(我也不喜欢这样)并从/转换到 docx 或从 docx 开始。
有什么选择吗?
编辑:由于人们认为这与编程无关,所以我将扩展我的问题。您建议使用哪些库来编写完整的 tex-docx/docx-tex 转换器?
I have to store some documents in the docx format, but can't stand using msword: I would like to edit some kind of plain text markup, anything except stuff based on XML (I don't like that either) and convert from/to that to/from docx.
Are there any options for this?
EDIT: since people think this is not programming related, I'll extend my question. What libraries do you suggest for writing a complete tex-docx/docx-tex converter?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您谈论的是 .net,我会首先查看 OpenXML 工具包。互联网上有很多“库”可以做到这一点,但它们似乎都只是 OpenXML 内容的薄包装。
您还可以查看
http://openxmldeveloper.org/
If you're talking .net, I'd check out the OpenXML toolkit first. There are lots of "libraries" on the internet to do this, but they all seem to just be thin wrappers around the OpenXML stuff.
You might also check out
http://openxmldeveloper.org/
Aspose.Words for .NET 允许您创建使用文本或其他内容从头开始创建 DOCX 文件,然后将 DOCX 文件转换为文本 等。它不需要在系统上安装 MS Office。该组件是一个简单的 .NET 程序集,具有易于学习和实现的 API。请尝试看看它是否对您的情况有帮助。
披露:我在 Aspose 担任开发人员传播者。
Aspose.Words for .NET allows you to create DOCX files from scratch using text or other content and then convert DOCX files to text etc. It doesn't require MS Office to be installed on the system. And the component is a simple .NET assembly with an easy to learn and implement API. Please try and see if it helps in your scenario.
Disclosure: I work as developer evangelist at Aspose.
您可以尝试 DocxEditorKit http://java-sl.com/docx_editor_kit.html
将编辑器套件设置为 JEditorPane,添加样式文本并将文档存储为 docx 格式。
You can try the DocxEditorKit http://java-sl.com/docx_editor_kit.html
Set the editor kit to JEditorPane, add styled text and store the document in docx format.