Hi,
Im using the following code snippet to get
contents of word documents as strings:
XTextDocument xTextDocument =
(XTextDocument) UnoRuntime.queryInterface(
XTextDocument.class,
xComp);
String s =
xTextDocument.getText().getString();
This seems to work fine for
that connection and getting that document open.
--- Gascoigne Thomas [EMAIL PROTECTED] wrote:
Cheers Kent,
Just another quick one before I give it a try. To do
this simple text
extraction task should it be possible to use an OO
api in process by
just including necessary jars
. 90% of the effort is getting
that connection and getting that document open.
--- Gascoigne Thomas [EMAIL PROTECTED] wrote:
Cheers Kent,
Just another quick one before I give it a try. To do
this simple text
extraction task should it be possible to use an OO
api in process by
just including