Kingsoft WPS, Microsoft Office Excel Table General C + + interface
There was a small project in the Win32 framework, there is a small need to export the report of Excel, a small collation of the next few interfaces. Recently idle to understand the next VAB macro, extended a few practical interface, applicable to Jinshan WPS Office software, as for Microsoft's Excel version can ignore, this really did not try, in theory some interface is possible (as long as the VAB macro has not changed, these information is from some professional VAB group, Thanks to the brothers in the group for support). The source is pulled down for learning and communication. There is time behind to do word again.
Description: A common action wrapper class for Excel, for Microexcel, wpsexcel table files
1. Open, new, save, and save Excel files
2, add, delete, hide operation, copy, move the worksheet
3, cell text write and read, various emptying
4, font settings, foreground color, background color settings
3, Row height, column width settings, rows and columns hidden, deleted
5, image insertion, including position and size
6, gets the last valid row index for a specific column * * * personal feeling this is better
Background: Based on VAB macro C + + interface
Note: A memory leak is not detected. Ensure that CoInitialize (NULL) is called before applicable. After applicable release couninitialize ();
Environment: WINXP+VC6
There are several classes that do not count the specific look at the code. SOURCE on
Kingsoft WPS, Microsoft Office Excel Table General C + + interface