Convert WORD documents to HTML and commit partial result to oracle DB

M

marrowood

Ok - here's a fun one;

I have documents stored as Word documents in an Oracle Database. I
need to convert them to HTML - grab only part of the resulting HTML
content - add my own warpper tags around it and then commit it back
into the Oracle database as an XMLTYPE.

I am using Oracle Forms to pull each document out of the database and
to launch WORD. Typically, I use macros to do what I need - and I can
for this to - to an extent. if I convert the document to filtered
HTML, I do not see the HTML source code within WORD - to see it, I have
to launch Microsoft Script Editor - and then once I do that - the WORD
macro is no longer active. I typically record a macro and it stops
recording when I go to the script editor (which I expected that it
would). However. Does anyone know how I can programmatically
manipulate the HTML Source code? Even if I can somehow save the WORD
HTML file with the source code instead of the content. Then I can
write a C program or something else that goes through all the files and
manipulate them the way I need. i just need to get the HTML source
code into a file.

Thanks for any help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top