Re: I need to convert MSWord ".doc" files to plain data ".rtf" ones . . .



On Dec 31, 5:09 am, Ramon F Herrera <ra...@xxxxxxxxxxx> wrote:
On Dec 30, 9:52 am, lbrt...@xxxxxxxxx wrote:

~
I need to convert MSWord ".doc" files to plain data ".rtf" ones using
java
~
I know how to do this using MS Word's VBA, but I don't know how to
load the VBA libraries and run VBA programs from within java.
~
I tried searching on in but couldn't really find anything
~
How could you do this?
~
Thanks
lbrtchx

What you need is OpenOffice. The regular installation already includes
the Java classes, etc. to develop applications. There is an SDK but it
is only required for the fancier stuff.

http://development.openoffice.org/index.htmlhttp://www.oooforum.org/

The Eclipse plugin for OO needs some work (in fact, they may have
stopped working on it) so you are well advised to develop with
NetBeans because has an excellent OO plugin.

-Ramon


The SDK comes with several examples in the java/DocumentHandling
folder:

- DocumentConverter.java
- DocumentLoader.java
- DocumentPrinter.java
- DocumentSaver.java

-Ramon

.



Relevant Pages

  • Re: Can I call an Excel VBA function from within a WebBrowser control?
    ... One difference in VBA: you can't set the default member of a class via the ... I looked at the source code for you posting and found this ... Once you find the workbook name then the application is what you need ... I not an expert on Java and not sure how to test my theory. ...
    (microsoft.public.excel.programming)
  • Re: Need help/advice to make a decision
    ... One of the things I see that you miss is Office interop, ... During all this, I took Intro VB.Net, OO level C++, reviewd Java Basic, ... I a the only coder here usign Code Builder, ie VBA. ... the effects on my learning .Net. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: I need to convert MSWord ".doc" files to plain data ".rtf" ones . . .
    ... I know how to do this using MS Word's VBA, but I don't know how to ... load the VBA libraries and run VBA programs from within java. ... The Eclipse plugin for OO needs some work (in fact, ...
    (comp.lang.java.programmer)
  • Re: OT: OpenOffice not 100% compatible?
    ... For the same reason MS Office needs VBA installed. ... the use of Java in OO is documented here ... The only plausible explaination to this is Java. ... I don't care about willy waving benchmarks. ...
    (sci.electronics.design)
  • VBA Causing Excel To Crash
    ... I have recently started building a system using Excel and VBA. ... Coming from a Java background I am keen to use an OO approach and spent ... In fact Excel crashes so often I have also ... The most recent is a line of code 'Set v_MyClassA = new clsMyClassA' ...
    (microsoft.public.excel.programming)