software/browser-util/src/gov/nih/nci/evs/browser/utils/ResolvedValueSetIteratorHolder.java
//    private void tr(final HSSFRow row) {
private void tr(final HSSFRow row) {
private void tr ( final HSSFRow row ) {
private void tr(Row sheet_row) {
        if (sheet_row == null) {
            return;
        }
        if (sheet_row instanceof HSSFRow) {
			HSSFRow row = (HSSFRow) sheet_row;
			out.append("<tr ");
			for (int i = 0; i < row.getSheet().getNumMergedRegions(); ++i) {
				final CellRangeAddress merge = row.getSheet().getMergedRegion(i);
				if (merge == null) return;
				if (rowIndex >= merge.getFirstRow()
						&& rowIndex <= merge.getLastRow()) {
					mergeStart = merge.getFirstColumn();
					mergeEnd = merge.getLastColumn();
					break;
				}
			}
			out.append("style='");
			if (row.getHeight() != -1) {
				out.append("height: ")
						.append(Math.round(row.getHeight() / 20.0 * 1.33333))
						.append("px; ");
			}
			out.append("'>\n");
			for (colIndex = 0; colIndex < row.getLastCellNum(); ++colIndex) {
				td(row.getCell(colIndex));
			}
			out.append("</tr>\n");
		} else {
			XSSFRow row = (XSSFRow) sheet_row;
			out.append("<tr ");
			for (int i = 0; i < row.getSheet().getNumMergedRegions(); ++i) {
				final CellRangeAddress merge = row.getSheet().getMergedRegion(i);
				if (merge == null) return;
				if (rowIndex >= merge.getFirstRow()
						&& rowIndex <= merge.getLastRow()) {
					mergeStart = merge.getFirstColumn();
					mergeEnd = merge.getLastColumn();
					break;
				}
			}
			out.append("style='");
			if (row.getHeight() != -1) {
				out.append("height: ")
						.append(Math.round(row.getHeight() / 20.0 * 1.33333))
						.append("px; ");
			}
			out.append("'>\n");
			for (colIndex = 0; colIndex < row.getLastCellNum(); ++colIndex) {
				td(row.getCell(colIndex));
			}
			out.append("</tr>\n");
		}
    }
private void tr ( Row sheet_row ) { if ( sheet_row == null ) { return ; } if ( sheet_row instanceof HSSFRow ) { HSSFRow row = ( HSSFRow ) sheet_row ; out . append ( "<tr " ) ; for ( int i = 0 ; i < row . getSheet ( ) . getNumMergedRegions ( ) ; ++ i ) { final CellRangeAddress merge = row . getSheet ( ) . getMergedRegion ( i ) ; if ( merge == null ) return ; if ( rowIndex >= merge . getFirstRow ( ) && rowIndex <= merge . getLastRow ( ) ) { mergeStart = merge . getFirstColumn ( ) ; mergeEnd = merge . getLastColumn ( ) ; break ; } } out . append ( "style='" ) ; if ( row . getHeight ( ) != - 1 ) { out . append ( "height: " ) . append ( Math . round ( row . getHeight ( ) / 20.0 * 1.33333 ) ) . append ( "px; " ) ; } out . append ( "'>\n" ) ; for ( colIndex = 0 ; colIndex < row . getLastCellNum ( ) ; ++ colIndex ) { td ( row . getCell ( colIndex ) ) ; } out . append ( "</tr>\n" ) ; } else { XSSFRow row = ( XSSFRow ) sheet_row ; out . append ( "<tr " ) ; for ( int i = 0 ; i < row . getSheet ( ) . getNumMergedRegions ( ) ; ++ i ) { final CellRangeAddress merge = row . getSheet ( ) . getMergedRegion ( i ) ; if ( merge == null ) return ; if ( rowIndex >= merge . getFirstRow ( ) && rowIndex <= merge . getLastRow ( ) ) { mergeStart = merge . getFirstColumn ( ) ; mergeEnd = merge . getLastColumn ( ) ; break ; } } out . append ( "style='" ) ; if ( row . getHeight ( ) != - 1 ) { out . append ( "height: " ) . append ( Math . round ( row . getHeight ( ) / 20.0 * 1.33333 ) ) . append ( "px; " ) ; } out . append ( "'>\n" ) ; for ( colIndex = 0 ; colIndex < row . getLastCellNum ( ) ; ++ colIndex ) { td ( row . getCell ( colIndex ) ) ; } out . append ( "</tr>\n" ) ; } }
private void tr(final HSSFRow row) {
private void tr ( final HSSFRow row ) {
// Find merged cells in current row. // Find merged cells in current row.