importing pdf-invoices from email

Marcus Wolschon Marcus at Wolschon.biz
Wed Jul 1 12:24:55 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Phil Longstaff schrieb:
> I'm somewhat language-ambivalent.  At this point, gnucash is in C, so I'm working in C.  I wonder, though, if there isn't some way we can leverage the work Marcus is doing.  I haven't looked at your jgnucashlib.  If we were to wrap the gnucash engine and qof using jni, could we supply you with the backend and engine objects, and you could write your java stuff on top of that?  We could also use some of the design/architecture you have to better improve gnucash.  Your class hierarchy, for example, might help shape an equivalent gobject-based class hierarchy in gnucash for some new feature. It wouldn't be as much leverage and reuse as it would be if you would code directly for gnucash, but it would allow cross-fertilization of ideas.


Sure. Write an implementation of the GnucashWritableFile -interface and
the related interfaces with a compatible behavior and you`re set.
Using JNI, you would have to supply implementations for at least
Linux x86-32 x86-64 and Win32 x86-32 and -64. That would leave all
Linux ARMv4l- and SHA1 or powerpc -Users and the BSD- and Macintosh
- -folks out but it would work.
Of cause the jGnuashViewer could not longer be guaranteed to run
from a CD and would no longer be guaranteed to contain no code
that could ever modify the file.

jGnucashLib has a different purpose then Gnucash.
It is a companion-tool purely for automating and
scripting repetitive and boring tasks.

Of cause I would be glad about an implementation of the above
interfaces for the dbi-backend but it seems to be much less
work to use an OR-mapper or plain JDBC then to interface changing
native libraries for such a task.


Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpLjdYACgkQf1hPnk3Z0cRUSgCeMZTzg3vPleBfkiMJjzbW//Eh
Y8cAni/uiGJdBQsVegx/Kou0k9Nscr+a
=watZ
-----END PGP SIGNATURE-----


More information about the gnucash-user mailing list