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
 
Top