Remarks put a group of values into a row in worksheet
BOOL SetCells( const vector<string> & vsValues, int nRow = -1, int nC1 = 0, BOOL bConsiderNumeric = true )
TRUE for success, otherwise return false.
EX1
//Remarks put a group of values into a row in worksheet. void Worksheet_SetCells_Ex1() { WorksheetPage wp = Project.WorksheetPages(0); if(!wp) return; Worksheet wks(wp.GetName()); vector<string> vsValues; for(int ii = 0; ii < 10; ii++) { vsValues.Add(ftoa(ii)); } if( wks.SetCells(vsValues) ) printf("Success to set worksheet cell values!"); else printf("Fail to set cell values!"); }
origin.h