Using ActiveX Object in QT

From Qt Wiki
Revision as of 18:01, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

While working on an assignment I was told to read the Excel and read an Image (OLE) object in excel.
I started searching in the web and got some snippets to read the excel sheet. But no tutorials/wiki were available on this subject. So thought I will add this page here.

Here is the snippet which will be used to read the Excel sheet. Found it in one of the QT thread.

But my main problem was finding out the API of sheet QAX object to get the relative information like row count ,column count etc.

There is a API in QAXBASe class which generates the API documentation for the corresponding QAxObject . Which can be redirected to a file by using the sample code as below.

Depending on the QAxObject type the generated API doc will be different and can be used for finding out the statndard APIs.

Categories: