tonyqus/npoi — pull request #36 by philrykoff (2014-12-26 01:49:46+00:00)
Title: Fix CopySheet()

1. Copying the PageSetup works flawlessly, which is why that block can be removed. With that block, I always get the NotImplementedException, so an Exception which has no benefit.
2. The XSSFHyperlink collection needs to be copied. Otherwise, the links are not displayed in the duplicated sheet but Excel throws a parsing error upon opening the workbook.
3. When hyperRel is null, it is better to cancel adding this hyperlink than canceling the whole process. With the addition of point 2., the links are shown anyway.