XEROF

 

xlsgen 3.0 build #26 : Improved text boxes


Build 3.0.0.26 of xlsgen improves text boxes formattings.

Before that build text boxes only supported a fill color and a border. Beginning with this build, text boxes can support ALL border formattings (style, width, color) and all area formattings (fill, gradients, texture, pattern and images).

This support is for XLS and XLSX files. And it supports both floating text boxes and chart text boxes.

Here is a preview of what can be created with build 3.0.0.26 with a few lines of code :


Border and area formattings for text boxes

And here is the corresponding source code :

xlsgen::IXlsTextBoxPtr textbox = worksheet->NewTextBox(2,3, 5,6, 0,200, 80,300);
textbox->Label = L"text box formattings";

textbox->Patterns->Borders->Type = xlsgen::chartbordertype_custom;
textbox->Patterns->Borders->Weight = xlsgen::chartborderweight_hairline;
textbox->Patterns->Borders->Style = xlsgen::chartborderstyle_dashdot;
textbox->Patterns->Borders->Color = xlsgen::colorRed;

textbox->Patterns->Area->Type = xlsgen::chartareatype_custom;
textbox->Patterns->Area->Gradient->SingleColor->GradientStyle = xlsgen::gradientstyle_diagonalUp1;
textbox->Patterns->Area->Gradient->SingleColor->Color = 0x0000DD;
textbox->Patterns->Area->Gradient->SingleColor->LightThreshold = 100;

Posted on 05-April-2012 10:03 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< April >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930



 

 

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)