File: main.cpp

package info (click to toggle)
libqt5qxlsx 1.4.4-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,304 kB
  • sloc: cpp: 17,870; ansic: 4,644; python: 15; makefile: 4
file content (81 lines) | stat: -rw-r--r-- 1,396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// main.cpp

#include <QtGlobal>
#include <QCoreApplication>
#include <QtCore>
#include <QDebug>

#include <iostream>
using namespace std;

#include "xlsxdocument.h"
#include "xlsxchartsheet.h"
#include "xlsxcellrange.h"
#include "xlsxchart.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;
}