2017-09-15 21:59:39 +09:00
|
|
|
//--------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// HelloExcel.pro
|
|
|
|
//
|
|
|
|
// MIT License
|
|
|
|
// Copyright (c) 2017, j2doll (https://github.com/j2doll)
|
|
|
|
//
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
// in the Software without restriction, including without limitation the rights
|
|
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
//
|
|
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
|
|
// copies or substantial portions of the Software.
|
|
|
|
//
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
// SOFTWARE.
|
|
|
|
//
|
|
|
|
//--------------------------------------------------------------------
|
|
|
|
|
2017-08-16 20:58:34 +09:00
|
|
|
//
|
|
|
|
// main.cpp
|
|
|
|
//
|
|
|
|
|
|
|
|
#include <QCoreApplication>
|
|
|
|
#include <QtCore>
|
|
|
|
|
2017-08-26 13:02:08 +09:00
|
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
|
2017-08-16 20:58:34 +09:00
|
|
|
#include "xlsxdocument.h"
|
2017-08-26 19:41:33 +09:00
|
|
|
#include "xlsxchartsheet.h"
|
|
|
|
#include "xlsxcellrange.h"
|
|
|
|
#include "xlsxchart.h"
|
|
|
|
#include "xlsxrichstring.h"
|
|
|
|
#include "xlsxworkbook.h"
|
2017-08-26 13:02:08 +09:00
|
|
|
using namespace QXlsx;
|
2017-08-16 20:58:34 +09:00
|
|
|
|
2017-09-16 16:34:45 +09:00
|
|
|
extern int hello();
|
|
|
|
extern int calendar();
|
|
|
|
extern int chart();
|
|
|
|
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 ruchtext();
|
|
|
|
extern int rowcolumn();
|
|
|
|
extern int style();
|
|
|
|
extern int worksheetoperations();
|
2017-09-12 09:22:47 +09:00
|
|
|
|
2017-08-16 20:58:34 +09:00
|
|
|
int main(int argc, char *argv[])
|
2017-08-26 13:02:08 +09:00
|
|
|
{
|
2017-09-16 16:34:45 +09:00
|
|
|
QCoreApplication app(argc, argv);
|
2017-09-08 22:53:38 +09:00
|
|
|
|
2017-09-16 16:34:45 +09:00
|
|
|
hello();
|
2017-09-08 22:53:38 +09:00
|
|
|
|
2017-08-26 13:02:08 +09:00
|
|
|
return 0;
|
|
|
|
}
|