plug-ins, windows, interface, questions

From: Francis James Franklin <postmaster_at_alinameridon.plus.com>
Date: Sun Mar 27 2005 - 12:27:12 CEST

On 24 Mar 2005, at 10:16, michael leisner wrote:
> I tried to subscribe to the mailing list but it didn't work (I don't
> know why). Could you please send this message to the mailing list?
> ----------
>
> I'm working on a project with AbiWord and I have some questions about
> that.
> I already asked some people but I had that much success yet.
>
> I'm working with the current version of AbiWord on WinXP SP2.
>
> Let me just explain my problems:
>
> 1. I have to split the AbiWord GUI from the AbiWord Engine.
> I wasn't able to find out how to split these two parts yet.
> What I found out, was to convert documents with the command-line
> arguments.
> What do I have to do to use this function separated from AbiWord with
> any
> other application (especially with a kind of a database system)?
> Is the only way to solve this by hacking the sourcecode?
>
> 2. GUI: What about the script-function of AbiWord? How far can this
> be used?
> Can I use this function to create new menu bar folders
> and new functions?
> What toolkit was used to create the AbiWord GUI (for
> Windows)?
>
>
> 3. Plugins:
> Francis wrote, that a plugin just has to use these 3 C-functions:
>
> ABI_FAR_CALL int abi_plugin_register (XAP_ModuleInfo * mi);
> ABI_FAR_CALL int abi_plugin_unregister (XAP_ModuleInfo * mi);
> ABI_FAR_CALL int abi_plugin_supports_version (UT_uint32 major,
> UT_uint32 minor, UT_uint32 release);
>
> ...and he also wrote:
>
> > When AbiWord finds a file that it thinks is a plug-in, it searches
> for
> > these 3 C functions. If these are found, then AbiWord calls
> > abi_plugin_supports_version() to see whether the plug-in supports
> the
> > current version of AbiWord, and if so then it calls
> > abi_plugin_register() to activate the plug-in. Later it will call
> > abi_plugin_unregister() to de-activate the plug-in.
>
> > These are fairly simple little functions, and the best way to see
> how
> > to write them is to look at the source of other plug-ins (get the
> > abiword-plugins source).
>
> OK, thank you for that, but what can plugins based on that 3
> functions do?
> Anything I want to do? Like creating a new menu-function (for example
> an user-login or any dialog box I want to create,...) or do I have to
> use scripts for that?
>
> 4. Another thing I want to do with AbiWord is to load XML-files
> (docbookDTD-conform)
> with AbiWord. Is this possible?
> Mr Staudinger wrote that this is very simple by using an import-plugin
> and change it as I need to. Well, as far as I know, I have to use a
> mapping tool to
> assimilate the tags of the two (AbiWord and docbook)
> XML-files!?
> Could I please have some more details about that?
>
> The main project I'm working on is to use the AbiWord GUI as a
> client-application for a kind of a database-system. Therefor I first
> need to create a new menu for an user-login dialog.
> Next I want to load docbook-conform XML-files from this database in
> AbiWord. AbiWord should display the files like a "normal" document (no
> tags of course).
> When the user wants to save the file/document this should be saved
> just as a xml-file to the database. The next time the user opens the
> document, it should be displayed by AbiWord as it was displayed the
> last time, with the same template.
>
> Well that's it for now, I hope anyone can help me.
> Please please explain it in detail and easy to understand!
> Maybe someone can answer my questions on German.
>
> Thank you very much!
>
> Mike.
>
> Nutzen Sie Outlook für Lycos Mail! -
> http://mail.lycos.de/app/lycosinside/setupLI.exe
>
>
> --
> This email has been verified as Virus free
> Virus Protection and more available at http://www.plus.net
>
Received on Sun Mar 27 12:30:24 2005

This archive was generated by hypermail 2.1.8 : Sun Mar 27 2005 - 12:30:27 CEST