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 |
|||
\title Xlsx Demo |
|||
\title Qt Xlsx Demo |
|||
\brief This is a demo which is used to show features of the library |
|||
\ingroup qtxlsx-examples |
|||
|
|||
\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 |
|||
\title Xlsx DocProperties Example |
|||
\title Document Properties Example |
|||
\brief This is a simplest xlsx examples. |
|||
|
|||
\image doc_property.png |
|||
|
|||
\ingroup qtxlsx-examples |
|||
|
|||
This example demonstrates how to generate a |
|||
.xlsx file with Qt Xlsx Library. |
|||
This example demonstrates how to set the document properties. |
|||
*/ |
|||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
@ -1,20 +1,22 @@ |
|||
/*! |
|||
\example hello |
|||
\title Xlsx Hello Example |
|||
\brief This is a simplest xlsx examples. |
|||
\title Hello QtXlsx Example |
|||
\brief This is a simplest Qt Xlsx example. |
|||
\ingroup qtxlsx-examples |
|||
|
|||
This example demonstrates how to generate a |
|||
simplest .xlsx file with Qt Xlsx Library. |
|||
This example demonstrates how to create a new |
|||
.xlsx file containing some basic data and calculations |
|||
with Qt Xlsx Library. So lets see how this is achieved. |
|||
\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 |
|||
|
|||
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 |
|||
|
|||
Save it. |
|||
Now save the file and all its components. |
|||
\snippet hello/main.cpp 2 |
|||
|
|||
*/ |
|||
|