/** * Return the font text line style * <p> * TextLineStyle.REGULAR will be returned if there is no text line style setting * * @return the font style */ public StyleTypeDefinitions.TextLinePosition getTextLineStyle() { String throughLine = mElement.getStyleTextLineThroughStyleAttribute(); String underLine = mElement.getStyleTextUnderlineStyleAttribute(); if (throughLine ==null && underLine == null) return StyleTypeDefinitions.TextLinePosition.REGULAR; if (throughLine !=null && underLine == null) return StyleTypeDefinitions.TextLinePosition.THROUGH; if (throughLine !=null && underLine != null) return StyleTypeDefinitions.TextLinePosition.THROUGHUNDER; if (throughLine ==null && underLine != null) return StyleTypeDefinitions.TextLinePosition.UNDER; return null; }
/** * Return the font text line style * <p> * TextLineStyle.REGULAR will be returned if there is no text line style * setting * * @return the font style */ public StyleTypeDefinitions.TextLinePosition getTextLineStyle() { String throughLine = mElement.getStyleTextLineThroughStyleAttribute(); String underLine = mElement.getStyleTextUnderlineStyleAttribute(); if (throughLine == null && underLine == null) { return StyleTypeDefinitions.TextLinePosition.REGULAR; } if (throughLine != null && underLine == null) { return StyleTypeDefinitions.TextLinePosition.THROUGH; } if (throughLine != null && underLine != null) { return StyleTypeDefinitions.TextLinePosition.THROUGHUNDER; } if (throughLine == null && underLine != null) { return StyleTypeDefinitions.TextLinePosition.UNDER; } return null; }
/** * Return the font text line style * <p> * TextLineStyle.REGULAR will be returned if there is no text line style * setting * * @return the font style */ public StyleTypeDefinitions.TextLinePosition getTextLineStyle() { String throughLine = mElement.getStyleTextLineThroughStyleAttribute(); String underLine = mElement.getStyleTextUnderlineStyleAttribute(); if (throughLine == null && underLine == null) { return StyleTypeDefinitions.TextLinePosition.REGULAR; } if (throughLine != null && underLine == null) { return StyleTypeDefinitions.TextLinePosition.THROUGH; } if (throughLine != null && underLine != null) { return StyleTypeDefinitions.TextLinePosition.THROUGHUNDER; } if (throughLine == null && underLine != null) { return StyleTypeDefinitions.TextLinePosition.UNDER; } return null; }
String underlineStyle = ele.getStyleTextUnderlineStyleAttribute(); if (StringUtils.isNotEmpty(underlineStyle) && !underlineStyle.equals(NONE)) {
String underlineStyle = ele.getStyleTextUnderlineStyleAttribute(); if ( StringUtils.isNotEmpty( underlineStyle ) && !underlineStyle.equals( "none" ) )
String underlineStyle = ele.getStyleTextUnderlineStyleAttribute(); if (StringUtils.isNotEmpty(underlineStyle) && !underlineStyle.equals("none")) {
String underlineStyle = ele.getStyleTextUnderlineStyleAttribute(); if ( StringUtils.isNotEmpty( underlineStyle ) )
String underlineStyle = ele.getStyleTextUnderlineStyleAttribute(); if ( StringUtils.isNotEmpty( underlineStyle ) )