OpenOffice 电子表格导入 HSQLDB

发布于 2024-07-08 20:02:22 字数 447 浏览 6 评论 0原文

OpenOffice 附带 HSQLDB。 是否可以轻松地将 OO 电子表格的内容导入到内置数据库中? 一个额外的好处是包括单元格内容的格式。 IE。 颜色、换行等等。

这个问题还没有答案,所以我提供赏金。 请提供解决方案的代码。

提供的链接确实有效,并且不需要编码。 总结一下:

  1. 创建并注册 Open Office DB。
    1.1 看起来您可以注册任何拥有 JDBC 驱动程序的数据库。 (即 MySql、Postgres)
  2. 在第 1 行中创建列标题。
  3. 选择数据并将其复制到剪贴板。
    3.1 仅限于选择所需的行,因为当我选择所有行时 OO 崩溃了。
  4. 转到数据库的表(表窗格)视图。
  5. 右键单击并粘贴您的数据。
  6. 按照打开的向导提供的说明进行操作。

OpenOffice ships with HSQLDB. Is it possible to easily import the contents of an OO spreadsheet into the built in database? An added nice to have would be to include the formatting of the cell contents. ie. colors, line feeds, etc.

This question has gone unanswered so I'm offering a bounty. Please provide the code to the solution.

The provided link does work, and no coding is required. To summarize:

  1. Create and register an Open Office DB.
    1.1 Looks like you can register any DB for which you have a JDBC driver. (ie. MySql,Postgres)
  2. Create column headings in row 1.
  3. Select data and copy it to the clipboard.
    3.1 Limited selection to only the desired rows because OO crashed when I selected all rows.
  4. Go to the Table (Tables pane) view of the database.
  5. Right-click and paste your data.
  6. Follow the instructions provided my the wizard that opens.

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

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

发布评论

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

评论(1

鹿童谣 2024-07-15 20:02:22

我不知道你是否会认为这很简单,但显然有一些方法可以将数据导入开放办公室的基础数据库中。

这篇文章介绍了如何手动将数据导入数据库。 这篇文章为同一过程提供了更多漂亮的图片。 您可能得不到您想要的答案的原因之一是您的问题中的细节很少。 您可以添加更多内容,也许有人可以提供帮助。

I don't know if you would call it easy, but apparently there are ways to import data into open office's base database.

This article explains how to manually import data into the database. And this article has more pretty pictures for the same process. One reason you may not be getting the answer that you want, is that there is very little detail in your question. You could add some more and maybe someone out there can help.

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