Kingsoft WPS, Microsoft Office Excel Table General C + + interface

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.