Sorry for the late reply but I've sent this msg several times without success last days ---------
Hi Mathias, Alle 15:57, mercoledì 8 febbraio 2006, Mathias Bauer ha scritto: [....] > There is no explicit documentation, this API was never intended for > writing macros, it is used internally for GUI components and for the > recording of macros. > > > May we find interresting information in the source code ? > > Yes. Use the source, Luke! :-):-) > > > where should we start ? > > So you want a five minutes crash course in dispatching? Let's try! :-):-) [...] > First you can see that the C++ class name is what you find as the last > entry of the struct definition. The shown methods show you that some of > the parameters are converted into a SearchOptions struct. > It's not > always that clear but at least sometimes. :-):-) But it also possible that > there is no UNO API at all that you can use to replace the dispatch call > (e.g. clipboard functions) Yes, the clipboard is a problem from StarBasic ! In effect, at least in calc I would try to "translate" clipboard calls with copyRange API calls This should cover almost cases because the recorder does not record between different documents and in addition, I think that many of the clipboard operations that the user want to record, deal with simple ranges. This is obviously a compromise but in my mind it should be acceptable. > or there is one but the dispatch > implementation does not use it and so you can't find any help in the > source code. > > I hope that this small introduction is of help. It is a great help!! Thank you very much for taking the time. ciao Paolo Mantovani --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]