@Override public void visit(StyleTableRowPropertiesElement ele) { // background-color String backgroundColor = ele.getFoBackgroundColorAttribute(); if (StringUtils.isNotEmpty(backgroundColor)) { cssStyleSheet.setCSSProperty(BACKGROUND_COLOR, backgroundColor); } // min-height String minHeight = ele.getStyleMinRowHeightAttribute(); if (StringUtils.isNotEmpty(minHeight)) { cssStyleSheet.setCSSProperty(MIN_HEIGHT, minHeight); } // height String height = ele.getStyleRowHeightAttribute(); if (StringUtils.isNotEmpty(height)) { cssStyleSheet.setCSSProperty(HEIGHT, minHeight); } super.visit(ele); }
@Override public void visit( StyleTableRowPropertiesElement ele ) { // background-color String backgroundColor = ele.getFoBackgroundColorAttribute(); if ( StringUtils.isNotEmpty( backgroundColor ) ) { cssStyleSheet.setCSSProperty( BACKGROUND_COLOR, backgroundColor ); } // min-height String minHeight = ele.getStyleMinRowHeightAttribute(); if ( StringUtils.isNotEmpty( minHeight ) ) { cssStyleSheet.setCSSProperty( MIN_HEIGHT, minHeight ); } // height String height = ele.getStyleRowHeightAttribute(); if ( StringUtils.isNotEmpty( height ) ) { cssStyleSheet.setCSSProperty( HEIGHT, minHeight ); } super.visit( ele ); }