XEROF

 

xlsgen 3.5 build #62 : Smart art diagrams


Build 3.5.0.62 of xlsgen adds support for copying smart art diagrams in XLSX files in worksheet duplicate scenarios.


Copying smart art diagrams using xlsgen

Posted on 30-August-2014 11:14 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

xlsgen 3.5 build #61 : 48 Chart styles


Build 3.5.0.61 of xlsgen adds support for all the 48 built-in chart styles for XLSX files.


The 48 built-in chart styles, supported in xlsgen

Numbering goes from left to right, and top to bottom. The first row of chart styles are flat styles. The next row has a shadow and white borders for every slice of the pie. The next row has a shadow and that's it. The next row has bevels for every slice of the pie. The next row is flat and has thin borders for every slice of the pie. And finally the last row has bevels for every slice of the pie and a black background.

In fact, white and black colors are Windows system foreground and background colors, respectively. So the user experience may be different.

How it works in xlsgen is quite simple. Here is a piece of code in C++ for a creating a pie chart with the 14-th chart style :



C++ code


xlsgen::IXlsWorksheetPtr wksht001 = workbook->AddWorksheet( L"Sheet1" );

// make sure to disable modern themes
workbook->Theme = xlsgen::workbooktheme_classic;

xlsgen::IXlsChartPtr chart001s0 = wksht001->NewChart(xlsgen::charttype_pie2D, 5, 2, 20, 9);

// pick the 14-th style ([1..48])
chart001s0->CustomProperties->ChartStyle = 14;

xlsgen::IXlsChartDynamicDataSourcePtr datasource001s0 = chart001s0->DynamicDataSource;

xlsgen::IXlsChartDynamicDataSourceSeriesPtr serie001s0ss0 = datasource001s0->AddSerie();
serie001s0ss0->SeriesValuesFormula = L"={2;5;4}";
chart001s0->SurfaceArea->Options->Patterns->Area->Type = xlsgen::chartareatype_custom;
chart001s0->SurfaceArea->Options->Patterns->Area->Pattern->PatternStyle = xlsgen::chartareapattern_solid;
chart001s0->SurfaceArea->Options->Patterns->Area->Pattern->BackgroundColor = 0xB4DDE7;
chart001s0->PlotArea->Options->Patterns->Borders->Type = xlsgen::chartbordertype_none;
chart001s0->PlotArea->Options->Patterns->Area->Type = xlsgen::chartareatype_none;
chart001s0->CustomProperties->PieExplodedSliceDistance = 0;
chart001s0->Legend->Show = xlsgen::chartlegend_right;
chart001s0->SeriesByIndex[1]->DataElements[2]->PieExplodedSliceDistance = 12;




Posted on 30-August-2014 10:59 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< August >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930
31



 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)