docs: protected void initMergeRegions(HSSFSheet currentSheet) {
          int rangeNumber = templateWorkbook.getNumberOfNames();
          for (int i = 0; i < rangeNumber; i++) {
              HSSFName aNamedRange = templateWorkbook.getNameAt(i);
  
              String refersToFormula = aNamedRange.getRefersToFormula();
              if (!AreaReference.isContiguous(refersToFormula)) {
                  continue;
              }
  
              AreaReference aref = new AreaReference(refersToFormula, SpreadsheetVersion.EXCEL97);
              Integer rangeFirstRow = aref.getFirstCell().getRow();
              Integer rangeFirstColumn = (int) aref.getFirstCell().getCol();
              Integer rangeLastRow = aref.getLastCell().getRow();
              Integer rangeLastColumn = (int) aref.getLastCell().getCol();
  
              for (int j = 0; j < currentSheet.getNumMergedRegions(); j++) {
                  CellRangeAddress mergedRegion = currentSheet.getMergedRegion(j);
                  if (mergedRegion != null) {
                      Integer regionFirstRow = mergedRegion.getFirstRow();
                      Integer regionFirstColumn = mergedRegion.getFirstColumn();
                      Integer regionLastRow = mergedRegion.getLastRow();
                      Integer regionLastColumn = mergedRegion.getLastColumn();
  
                      boolean mergedInsideNamed = isMergeRegionInsideNamedRange(
                              rangeFirstRow, rangeFirstColumn, rangeLastRow, rangeLastColumn,
                              regionFirstRow, regionFirstColumn, regionLastRow, regionLastColumn);
  
                      boolean namedInsideMerged = isNamedRangeInsideMergeRegion(
                              rangeFirstRow, rangeFirstColumn, rangeLastRow, rangeLastColumn,
                              regionFirstRow, regionFirstColumn, regionLastRow, regionLastColumn);
  
                      if (mergedInsideNamed || namedInsideMerged) {
                          String name = aNamedRange.getNameName();
                          SheetRange sheetRange = new SheetRange(mergedRegion, currentSheet.getSheetName());
                          if (mergeRegionsForRangeNames.get(name) == null) {
                              ArrayList<SheetRange> list = new ArrayList<>();
                              list.add(sheetRange);
                              mergeRegionsForRangeNames.put(name, list);
                          } else {
                              mergeRegionsForRangeNames.get(name).add(sheetRange);
                          }
                      }
                  }
              }
          }
      }