Reply in-line.

On Wed, 2005-06-08 at 10:56, Daniel Carrera wrote:
> Ian Laurenson wrote:
> 
> > 2. For changing the document, an approach might be, for each call to the
> > common scripting routine:
> > * The file gets saved (temporary file?)
> > * The file location gets passed to the script
> > * The script manipulates the file contents, using common library
> > routines (I am aware of such routines in Perl)
> > * I think that the cursor location is included as part of the open
> > document standard, so this too could be changed by the script
> > * The revised file is saved on exit
> > * Reload the file
> 
> How would you implement the virtual keyboard macro with that approach? 
> Or the reveal codes macro?

These macros are both examples of "extensions" or "add-ons" to
OpenOffice.org. In both cases they are an extension to the user
interface of OpenOffice.org. They are not specific to a document. Such
extensions would still be written as they are now. What I interpret
Marco to be talking about is macros that are specific to a document.
> 
> I can see how your suggestion could cover a subset of macros though 
> (e.g. Danny's drawing tools). And having a stand-alone Python library 
> for manipulating OD files is a great idea.
> 
> Maybe we'll just have to accept that a stand-alone library is as good as 
> one can get.
A "stand-alone" library, to me, is a first step. I really like the idea
of the API of the library being part of the Open Document standard.

My ideas as outlined at the start of this message did miss one important
area that Marco mentioned, and that is custom written spreadsheet
functions. Having an agreed upon method of passing parameters, to and
values back from custom spreadsheet functions in an Open Spreadsheet
document (also tables in a text document ??) would be a sensible idea
for the Open Document standard (I confess that I haven't checked if it
is already specified).

Thanks, Ian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to