Board index » delphi » design question with document

design question with document


2004-02-06 04:07:01 AM
delphi17
I have about 500 word documents. I want to create a knowledgebase so I can
create an Access Database to fill in FAQ and the answers that are in the
word documents.
I can use an OleContainer load from a stream and save that stream to a blob
file. This stores all the information inside the word document which I
understand is Worked as Designed.
How can I open the word doc and read all the lines out and then copy those
into a Blob field in an Access database?
Is there an easier way of doing this? Has anyone else done this and have
any suggestions to design?
The ultimate goal is to put this in an Access db and display it on a webpage
to view for a knowledgebase.
thanks,
Mike
 
 

Re:design question with document

Do you want to store the plain text in BLOB (extracted from doc)?
If yes, you may use our native MSWordDocument:
www.scalabium.com/msword
MS Word installed is not required
Else I suggest to use ole-automation and convert doc-file to rtf and store
this rtf in BLOB
When you will want to show this info in web, just convert rtf to html and
display generated stream
"Mike Downey" <XXXX@XXXXX.COM>writes
Quote
I have about 500 word documents. I want to create a knowledgebase so I
can
create an Access Database to fill in FAQ and the answers that are in the
word documents.

I can use an OleContainer load from a stream and save that stream to a
blob
file. This stores all the information inside the word document which I
understand is Worked as Designed.

How can I open the word doc and read all the lines out and then copy those
into a Blob field in an Access database?

Is there an easier way of doing this? Has anyone else done this and have
any suggestions to design?

The ultimate goal is to put this in an Access db and display it on a
webpage
to view for a knowledgebase.

thanks,
Mike