XEROF

 

xlsgen 4.0.0.32 : Exposure of cell gradient fills


Build 4.0.0.32 of xlsgen adds exposure to gradient fills in cells in the object model.


Gradient fill in cells

This exposure makes it possible to add such gradient fills in XLSX files and their variants (XLSM, XLSB, ...), by adding the corresponding property in the IXlsPattern interface (regular style object). You can choose both colors, the gradient style (orientation, ...) and you can disable an existing gradient fill in a cell.

Of course, also xlsgen renders those gradient fills in print, preview, PDF, etc. But this has been the case for some time already, including the rendering of gradient fills of BIFF12 records in XLS files (written by Excel 2007 and above for compatibility reasons).

The automatic source code generator also exposes the corresponding source code so in the event you would like to use this feature, you can create it manually in Excel and then use the automatic source code generator to get the lines of code.

Here is an example source code :

xlsgen::IXlsStylePtr style = worksheet->NewStyle();
xlsgen::IXlsGradientPatternPtr gp = style->Pattern->Gradient;
gp->FirstColor = 0xFFFF00;
gp->SecondColor = 0xFF0000;
gp->GradientStyle = xlsgen::gradientstyle_verticall2;
style->Apply();


Posted on 25-April-2016 14:41 | 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)