Ejemplo n.º 1
0
     /**
 * merges two column info records (if they are adjacent and have the same formatting, etc)
 * @return <c>false</c> if the two column records could not be merged
 */
     private static bool MergeColInfoRecords(ColumnInfoRecord ciA, ColumnInfoRecord ciB)
     {
         if (ciA.IsAdjacentBefore(ciB) && ciA.FormatMatches(ciB))
         {
             ciA.LastColumn = ciB.LastColumn;
             return true;
         }
         return false;
     }