The Open Document format specification:
https://en.wikipedia.org/wiki/OpenDocum ... cification
http://docs.oasis-open.org/office/v1.2/ ... part1.html
~
is essentially based on a zipped xml file with some well-defined internal directories.
I do corpora research, so the constant zipping and unzipping in order to run queries which then blindly run in a linear, textual way, would be prohibitively expensive. Text (free language usage kind) you can not express through a DAG, but xml-ish data you certainly can. So, I was thinking of an interface that would still maintain the functional illusion of saving ODF files onto a file system, but internally that fs path would just be a pointer to a table in a database and once the data is updated the database processing takes it from there.
Does the java UNO API provide a hook into the File -> Save ... , File -> Open, ... IO operations facilitating the encapsulation of such functionality?
I don’t think that implementing such a functionality (letting users define the interface to whatever back-end they choose as part of the setup) is a big deal. This idea could be worked up into a RFE for the spec itself.
Setting up ooa with a database as back-end...
Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Return to “Macros and UNO API”
Jump to
- Getting started
- ↳ Survival guide
- ↳ Beginners
- ↳ Getting Started Guide for 4.x
- ↳ Getting Started Guide for 3.x
- ↳ Install, Setup and Troubleshooting
- ↳ Admin Guide
- ↳ MS Windows
- ↳ Linux
- ↳ Mac OSX
- ↳ LibreOffice
- ↳ Tablets
- ↳ Tutorials
- ↳ Writer
- ↳ Calc
- ↳ Base
- Applications
- ↳ Writer
- ↳ Writer Guide for 4.x
- ↳ Writer Guide for 3.x
- ↳ Writer Tutorials
- ↳ Templates
- ↳ Advanced Uses
- ↳ Calc
- ↳ Calc Guide for 4.x
- ↳ Calc Guide for 3.x
- ↳ Calc Functions
- ↳ Calc Tutorials
- ↳ Impress
- ↳ Impress Guide for 4.x
- ↳ Impress Guide for 3.x
- ↳ Draw
- ↳ Draw Guide for 4.x
- ↳ Draw Guide for 3.x
- ↳ Math
- ↳ Math Guide for 4.x
- ↳ Math Guide for 3.x
- ↳ Math Guide for 3.x
- ↳ Base
- ↳ Base Guide for 4.x
- ↳ Wiki
- ↳ Base Tutorials
- ↳ Tables & Queries
- ↳ Forms
- ↳ External Data Sources
- ↳ Reporting
- ↳ Database Examples
- Customizing and Extending
- ↳ Macros and UNO API
- ↳ Basic Guide
- ↳ Code Snippets
- ↳ Extension Repository
- ↳ Macro Repository
- ↳ External Programs
- ↳ Extensions
- ↳ Extensions page
- Community
- ↳ General Discussion
- ↳ Site Feedback
- ↳ Forum Governance
- ↳ User Experience (UX)
- ↳ Announcements
- Business
- ↳ Institutions & Educational
- ↳ Paid support
- ↳ Consultants Directory