1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00
QXlsx/TestExcel/main.cpp
Daniel Nicoletti db608768a3 Add and apply clang-format
This project has no standard on coding style,
some files use tab, others space, and new
Merge Requests usually break the current formatting
with this clang-format we can easy this.
2023-09-14 11:06:39 -03:00

80 lines
1.5 KiB
C++

// main.cpp
#include <iostream>
#include <QCoreApplication>
#include <QDebug>
#include <QtCore>
#include <QtGlobal>
using namespace std;
#include "xlsxcellrange.h"
#include "xlsxchart.h"
#include "xlsxchartsheet.h"
#include "xlsxdocument.h"
#include "xlsxrichstring.h"
#include "xlsxworkbook.h"
QXLSX_USE_NAMESPACE
extern int hello();
extern int calendar();
extern int chart();
extern int chartExtended();
extern int chartsheet();
extern int datavalidation();
extern int definename();
extern int demo();
extern int documentproperty();
extern int extractdata();
extern int formula();
extern int hyperlink();
extern int image();
extern int mergecells();
extern int numberformat();
extern int richtext();
extern int rowcolumn();
extern int style();
extern int worksheetoperations();
extern int readStyle();
extern int pages();
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
if (argc == 2) {
QString strArg1 = argv[1];
if (strArg1 == QString("hello")) {
hello();
return 0;
}
}
hello();
readStyle();
calendar();
chart();
chartExtended();
chartsheet();
datavalidation();
definename();
demo();
documentproperty();
extractdata();
formula();
hyperlink();
image();
mergecells();
numberformat();
richtext();
rowcolumn();
style();
worksheetoperations();
pages();
qDebug() << "**** end of main() ****";
return 0;
}