How to extract hidden text with office automation?

S

Susan Kong

Hi there!

I'm using VC++ 6.0 plus Office automation stuff to deal with rtf
file(*.rtf). I'd like to read some text but seems the hidden text can not be
extracted out? However, I can use VBA to extract hidden text.

BTW, I only extract pure text content without consideration of other format
(style, font etc)

Any idea?

Susan
 
S

Susan Kong

Digged out all MSDN stuff for programming Office automation with C++, but no
solution found.

I tried to use this line:
oRange.TextRetrievalMode.IncludeHiddenText = TRUE;
but the compile says TextRetrievalMode is not a property/method of object
Range, :-(

Anybody can help?

Susan
 

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