/** * @return whether this run of text is formatted as bold text. */ public boolean isBold() { return findDefinedProperty(props -> props.isSetB(), props -> props.getB()) .orElse(false); }
public void setBold(Boolean bold) { if (bold == null) { if (props.isSetB()) { props.unsetB(); } } else { props.setB(bold); } }
@Override public boolean fetch(CTTextCharacterProperties props){ if (props != null && props.isSetB()) { setValue(props.getB()); return true; } return false; } };
/** * @return whether this run of text is formatted as bold text */ public boolean isBold(){ CTTextCharacterProperties rPr = getRPr(); if(rPr.isSetB()){ return rPr.getB(); } return false; }
/** * @return whether this run of text is formatted as bold text. */ public boolean isBold() { return findDefinedProperty(props -> props.isSetB(), props -> props.getB()) .orElse(false); }
@Override public boolean fetch(CTTextCharacterProperties props){ if (props != null && props.isSetB()) { setValue(props.getB()); return true; } return false; } };
/** * @return whether this run of text is formatted as bold text */ public boolean isBold(){ CTTextCharacterProperties rPr = getRPr(); if(rPr.isSetB()){ return rPr.getB(); } return false; }
public void setBold(Boolean bold) { if (bold == null) { if (props.isSetB()) { props.unsetB(); } } else { props.setB(bold); } }
public boolean fetch(CTTextCharacterProperties props){ if(props.isSetB()){ setValue(props.getB()); return true; } return false; } };