是否有 RTF 或 PDF 的替代格式

发布于 2024-11-11 15:16:58 字数 93 浏览 1 评论 0原文

我们使用 RTF 来保存我们生成的一些数据。然而,我们的客户说这种格式已经过时了,需要一种新的格式来使用。那么有人可以建议一种可以用来代替 RTF 或 PDF 的新格式吗?

We are using RTFs to save some data that we generate. However, our client says that this format has become old and needs a new format to use. So can anybody please suggest a new format which can be used instead of RTFs or PDFs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

吐个泡泡 2024-11-18 15:16:58

格式的年龄并不是真正的问题,除非使用该格式的应用程序不再支持它。例如,HTML 是一种相当古老的格式,但今天仍然有用。但是,它有新版本,因此如果您正在使用/创建它,您应该将其更新到最新版本。

在您的情况下,客户表示他们不想使用 RTF。我们能给您的唯一答案就是询问客户的偏好。 RTF 格式今天将和一年前一样可用,除非使用它的软件发生变化。因此,要么客户的需求发生了变化,要么他们的偏好发生了变化。不管怎样,与其猜测,不如了解他们的新要求。

根据您添加的规范,您可能需要考虑与客户讨论使用 ODF(开放文档格式),因为它可以满足您迄今为止列出的所有要求,而且它是一个开放标准。以下是更多信息的链接:

http://www.fsf.org/campaigns/opendocument/

您还可以更简单地使用 HTML 文档。这将允许您确保每台计算机上都有一个查看器,并且允许您轻松地将这些文档移动到网络上(如果这可能有好处的话)。

The age of a format is not really an issue unless the applications that use that format no longer support it. For example, HTML is a fairly old format but it is still useful today. However, there are new versions of it so if you were consuming/creating it you should be updating it to the latest version.

In your situation, the client is saying that they do not want to use RTF. The only answer we can give you is to ask the customer for their preferences. The RTF format will be just as usable today as it was a year ago unless the software using it changes. Therefore, either the customer's needs have changed or their preferences have changed. Either way, instead of guessing it would be good to know what their new requirements are.

Based upon your added specifications, you probably want to consider talking to the customer about using ODF (Open Document Format) since this can handle all of your requirements listed so far and because it is an open standard. Here is a link to more information:

http://www.fsf.org/campaigns/opendocument/

You could also go simpler and use HTML documents. This would allow you to ensure that there is a viewer on every machine and it would allow you to move these documents to the web easily (if that is something that might be of benefit).

不爱素颜 2024-11-18 15:16:58

LaTeX(如果是为了人眼​​)。 XML(如果用作程序的输入)。 ODF(如果您需要所见即所得编辑器)。

LaTeX if it's for human eyes. XML if it's used as input for programs. ODF if you need a WYSWYG editor.

长不大的小祸害 2024-11-18 15:16:58

您可以尝试 JSON、XML、HTML、Excel 等等。你需要输出做什么?

顺便说一句 - 在 PDF 中,您确实可以按照自己的意愿和需要格式化数据 - 尽管这也是一种旧格式,但它仍然适合任何类型的只读文档

编辑

您应该采取查看BIRT 报告BIRT 输出格式。它支持 HTML、分页 HTML、PDF、WORD、XLS 和 PostScript 格式的输出。它还具有 API,因此您可以将其与您的解决方案集成。

You could try JSON, XML, HTML, excel and many, many other. What do you need the output for?

And by the way - in PDF you can really format your data however you want and need - even though this also is an old format, it is still suited for any types of read only documents

Edit

You should take a look at BIRT reporting and BIRT output formats. It supports output as HTML, Paginated HTML, PDF, WORD, XLS, and PostScript. It also has an API so you can integrate it with your solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文