Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 38 KiB |
@ -1,8 +1,12 @@ |
|||||
/*! |
/*! |
||||
\example demo |
\example demo |
||||
\title Xlsx Demo |
\title Qt Xlsx Demo |
||||
\brief This is a demo which is used to show features of the library |
\brief This is a demo which is used to show features of the library |
||||
\ingroup qtxlsx-examples |
\ingroup qtxlsx-examples |
||||
|
|
||||
\image xlsx_demo.png |
\image xlsx_demo.png |
||||
|
\image xlsx_demo_fonts.png |
||||
|
\image xlsx_demo_formulas.png |
||||
|
\image xlsx_demo_merging.png |
||||
|
\image xlsx_demo_grouping.png |
||||
*/ |
*/ |
||||
|
After Width: | Height: | Size: 32 KiB |
@ -1,11 +1,11 @@ |
|||||
/*! |
/*! |
||||
\title Qt Xlsx Examples - Document Properties |
|
||||
\example documentproperty |
\example documentproperty |
||||
\title Xlsx DocProperties Example |
\title Document Properties Example |
||||
\brief This is a simplest xlsx examples. |
\brief This is a simplest xlsx examples. |
||||
|
|
||||
|
\image doc_property.png |
||||
|
|
||||
\ingroup qtxlsx-examples |
\ingroup qtxlsx-examples |
||||
|
|
||||
This example demonstrates how to generate a |
This example demonstrates how to set the document properties. |
||||
.xlsx file with Qt Xlsx Library. |
|
||||
*/ |
*/ |
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
@ -1,20 +1,22 @@ |
|||||
/*! |
/*! |
||||
\example hello |
\example hello |
||||
\title Xlsx Hello Example |
\title Hello QtXlsx Example |
||||
\brief This is a simplest xlsx examples. |
\brief This is a simplest Qt Xlsx example. |
||||
\ingroup qtxlsx-examples |
\ingroup qtxlsx-examples |
||||
|
|
||||
This example demonstrates how to generate a |
This example demonstrates how to create a new |
||||
simplest .xlsx file with Qt Xlsx Library. |
.xlsx file containing some basic data and calculations |
||||
|
with Qt Xlsx Library. So lets see how this is achieved. |
||||
\image hello.png |
\image hello.png |
||||
|
|
||||
Create an object of the class QXlsx::Document. |
This creates a new instance of the all important Document |
||||
|
class which gives you access to the Excel workbook and worksheets. |
||||
\snippet hello/main.cpp 0 |
\snippet hello/main.cpp 0 |
||||
|
|
||||
Set the cells of worksheet. |
A default worksheet have been created by Document. Let's start |
||||
|
by adding some basic data. |
||||
\snippet hello/main.cpp 1 |
\snippet hello/main.cpp 1 |
||||
|
|
||||
Save it. |
Now save the file and all its components. |
||||
\snippet hello/main.cpp 2 |
\snippet hello/main.cpp 2 |
||||
|
|
||||
*/ |
*/ |
||||
|