Exemplo n.º 1
0
 private static int countColumns(CT_Worksheet worksheet)
 {
     int count;
     count = 0;
     for (int i = 0; i < worksheet.sizeOfColsArray(); i++)
     {
         for (int y = 0; y < worksheet.GetColsArray(i).sizeOfColArray(); y++)
         {
             for (long k = worksheet.GetColsArray(i).GetColArray(y).min; k <= worksheet
                     .GetColsArray(i).GetColArray(y).max; k++)
             {
                 count++;
             }
         }
     }
     return count;
 }