OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Using OpenOffice API to parse MS word on server

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Nov 04, 2003 7:13 am    Post subject: Using OpenOffice API to parse MS word on server Reply with quote

Hi all,

Recently I am seeking a java-base solution to reading and merging MS word documents into one on the server side. I've checked that there's the POI project which is exactly what we need but there are still no stable releases so far.

I'm also trying to look at if OpenOffice APIs can be a solution for this issue. Could anybody kindly let me know whether it is possible to perform the following tasks with OpenOffice java API (installing on a unix server, probably solaris).

(Sorry that I'm not familiar with the development tools with OpenOffice, would you mind giving me some directions so that i can be more familiar with OO with regard to my problem)

The actual scenario is as follows:
1. We need to break down a word file with a hierachy into different word files. The level in the hierachy is characterised by its style (whether it's "heading 1", "heading 2", etc)

For example

===========================================

The word document would somewhat look like this:

---------------------------------------
Heading 1
some text under the top level

Heading 2
some text under the second level

Heading 3
....
Heading 2
....
---------------------------------------

The broken down version would be like

---------------------------------------
Heading 1
some text under the top level
---------------------------------------

---------------------------------------
Heading 2
some text under the second level
---------------------------------------

etc...

==========================================

2. We'll need to merge some word files into one single file.

I really hope you could kindly give me some comments and suggestions on this. Actually this is quite (frankly, it's "very") urgent, I hope you could give me a response asap. Thank you so much! Very Happy

Best Regards,
Jack Cheng
Back to top
AJesse
General User
General User


Joined: 22 Sep 2003
Posts: 13

PostPosted: Thu Nov 06, 2003 5:01 pm    Post subject: Reply with quote

I cannot give you a solution to your problem...
but a hint: in the server environment you have to be aware that ooo (or its API's) are not thread-save. So you cannot process requests in parallel...

POI no stable release. Those projects are most often in productive use from the first alpha release on... Best sample ist Struts which drove productive mission critical apps with the struts-version 0.5... If the POI API that is there, fullfills your needs: use it. You are not obbliged to migrate as soon as another release comes out...( This ain't Win$ Twisted Evil ). Nobody will bother you with "upgrade first before asking" unless you want a bug fixed urgently... Being it opensource you have all the control you want...
_________________
====================================
Alexander
visit http://www.carcassonne-online.info
Back to top
View user's profile Send private message
edv
Power User
Power User


Joined: 20 Sep 2005
Posts: 73
Location: Germany

PostPosted: Wed Nov 23, 2005 3:10 am    Post subject: Reply with quote

Does anybody know if there are other products to edit/convert MS Office files except POI? As I recognized OO does not support MS Office meta data, at least OO does not assume it when I save a .doc file as another .doc file.
So if anyone knows another product / solution, please let me know, it may even be commercial... Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group