[sword-devel] Converting documents with OpenOffice

Manfred Bergmann bergmannmd at web.de
Tue Sep 23 00:16:53 MST 2008


Hi Greg

Am 23.09.2008 um 08:58 schrieb Greg Hellings:

> Manfred,
>
> On Tue, Sep 23, 2008 at 1:54 AM, Manfred Bergmann  
> <bergmannmd at web.de> wrote:
>> Hi Daniel.
>>
>> That works for XML based document formats like ODT and the new XML
>> based Formats from Microsoft.
>> But might not work for older .doc documents which some Bible sources
>> are based on still.
>
> Can't you just open the sources in Word and then save out to a .docx
> format?  If you lack Office 2007 to do so, I have a copy through
> school and could help you out with that.  If it's a continuous,
> on-going deal, you might be able to just open them in OO, save to .odt
> format, and move on from there?

Well, the thing is, that for the NeÜ german bible the author makes  
available all books in seperate files in .doc format.
Instead of opening each file and export to XHTML or to ODT manually I  
was looking for a way to automate this.
Using UNO you can basically remote control OO and it seems to work.

Regards,
Manfred


>
>
>
>>
>>
>> Regards,
>> Manfred
>>
>>
>>
>> Am 23.09.2008 um 08:05 schrieb Daniel Holmlund:
>>
>>> Hi Manfred,
>>>
>>> I work full time on the conversion of various document types to and
>>> from OpenDocument format.  The best way I've found to approach this
>>> is simply to use your favorite programming language to unzip the ODF
>>> document and launch an XSLT stylesheet to do the transformation.  I
>>> think this was much simpler than trying to rap my head around UNO.
>>>
>>> - Daniel Holmlund
>>>
>>>
>>>
>>>
>>> On Mon, Sep 22, 2008 at 11:52 AM, Manfred Bergmann
>>> <bergmannmd at web.de> wrote:
>>> Hi.
>>>
>>> I was searching for a way to convert source documents to XHTML or
>>> other formats automated.
>>> OpenOffice offers a way to do this using your prefered language  
>>> using
>>> UNO (Universal Network Objects).
>>>
>>> For Java I found the easiest way is to install the OpenOffice  
>>> NetBeans
>>> plugin and create a OpenOffice Client project.
>>> Everything will be automatically setup and once you know how the
>>> plugin does it, it can be done in any IDE.
>>> http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration
>>>
>>> On the wiki is also some more general information about the OOo SDK
>>> and how the UNO bridge works.
>>>
>>>
>>> Regards,
>>> Manfred
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list