[sword-devel] Open Office Bible Text Inserter extension

jonathon jonathon.blake at gmail.com
Thu Dec 31 14:27:54 MST 2009


On Thu, Dec 31, 2009 at 18:53, Andrew Drapper  wrote:

> So the time has come to bite the built as it where and face that fact the open office needs a new extension, or Linux a universal Bible text inserter.

+1

> I have no programming experience except in HTML PHP and JavaScript for web work

If you want it to work within OOo, you have a steep learning curve.

> so do not know where to start,

http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Scripting/Writing_Macros
 is the most readable documentation.

Documentation for the OOo API can be found at
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide

_OpenOffice.org Macros Explained_ by Andrew Pitonyak is one of the few
(?only¿) books on macro writing for OOo.

If you want to use the built in Basic,
http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide

Personally, I suggest using Javascript, if you are fluent in that
language.  It will be slightly more difficult integrating it into OOo,
than some other language choices, but that is going to be true for
virtually any language you write the macro in.

> but I want to write or preferably work with a team to write an open office extension to insert Bible text into open office documents. writer and impress probably are the only ones that needed it.

I'm aware of  two previous attempts to write a macro, that would
insert Bible passages into OOo.  Neither of those attempts got as far
as a semi-working beta.   (

> There are some refinements that could be made, life chose of Bible, where the reference goes are verse numbers to be included etc, but that gives you the idea.

Trivial details.  If you can get something that can add verses from
even one translation, it will be a huge step forward.

DM Smith wrote:

>One possible path would be to use JSword. This is a Java implementation of SWORD. The advantage is that it works on all platforms without having to compile the SWORD C code for each.

My perception is that Java is the easiest language to integrate macros into OOo.
Even so, the OOo  API can be incredibly frustrating to utilize.


jonathon
-- 
Ethical conduct is a vice.
Corrupt conduct is a virtue.

Guiding principles of the legal and ethical system of Nacarima.



More information about the sword-devel mailing list