Sinon TZColorStringGrid peut-être couplé avec TZEXMLSS, cela fait parti de la même suite de composants Avemey non maintenu depuis près de 10 ans !
En fait, c'est même son origine, TZEXMLSS charge le Excel et TZColorStringGrid affiche le TZEXMLSS, et réciproquement pour produire un Excel.
function GridToXmlSS(var XMLSS: TZEXMLSS; const PageNum: integer; var Grid: TZColorStringGrid; ToCol: integer; ToRow: integer; BCol, BRow, ECol, ERow: integer; ignorebgcolor: boolean; _border: byte): boolean; overload;
Copy data from Grid to XMLSS page. XMLSS - Storage. PageNum - page number. Grid - thr zcolorstringgrid, with needed to copy data to XMLSS. ToCol - column number for insertion. ToRow - row number for insertion. BCol - grid's left top cell's column. BRow - grid's left top cell's row. ECol - grid's right bottom cell's column. ERow - grid's right bottom cell's row. ignorebgcolor - if true, then ignore cell's background color. _border - specifies how to copy cell's borders (1 - cells with borders, 0 - cells without borders, 2 - cells with borders, except style sgNone).
For Delphi and CBuilder only!
Return True if copied successful.
Ensuite un TZEXMLSS.SaveXmlssToEXML pour produire le fichier Excel
Tu laisses les utilisateurs utiliser Excel pour imprimer ou échanger le planning par mail
Partager