402403404405406407408409410411412
} } } else { xfmt.setBorderRight(null); } x.mySetFormat(xfmt, false); //copy formats } } //handle the merged cell left/right border for (int row = top; row <= bottom; ++row) {