/** * Accessor for the strike-out flag * * @return the strike-out flag */ public boolean isStruckout() { return super.isStruckout(); }
/** * Sets the bold style for this font, if the font hasn't been initialized * * @param boldStyle the bold style * @exception WriteException, if this font is already in use elsewhere */ public void setBoldStyle(BoldStyle boldStyle) throws WriteException { super.setBoldStyle(boldStyle.value); }
/** * Sets the italic indicator for this font, if the font hasn't been * initialized * * @param italic the italic flag * @exception WriteException, if this font is already in use elsewhere */ public void setItalic(boolean italic) throws WriteException { super.setItalic(italic); }
/** * Sets the point size for this font, if the font hasn't been initialized * * @param pointSize the point size * @exception WriteException, if this font is already in use elsewhere */ protected void setPointSize(int pointSize) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setFontPointSize(pointSize); }
/** * Sets the colour for this font, if the font hasn't been * initialized * * @param colour the colour * @exception WriteException, if this font is already in use elsewhere */ public void setColour(Colour colour) throws WriteException { super.setColour(colour.getValue()); }
/** * Sets the underline style for this font, if the font hasn't been * initialized * * @param us the underline style * @exception WriteException, if this font is already in use elsewhere */ public void setUnderlineStyle(UnderlineStyle us) throws WriteException { super.setUnderlineStyle(us.getValue()); }
/** * Sets the point size for this font, if the font hasn't been initialized * * @param pointSize the point size * @exception WriteException, if this font is already in use elsewhere */ public void setPointSize(int pointSize) throws WriteException { super.setPointSize(pointSize); }
/** * Sets the script style (eg. superscript, subscript) for this font, * if the font hasn't been initialized * * @param scriptStyle the colour * @exception WriteException, if this font is already in use elsewhere */ public void setScriptStyle(ScriptStyle scriptStyle) throws WriteException { super.setScriptStyle(scriptStyle.getValue()); }
/** * Sets Accessor for the strike-out flag * * @param struckout TRUE if this is a struckout font * @return the strike-out flag * @exception WriteException, if this font is already in use elsewhere */ public void setStruckout(boolean struckout) throws WriteException { super.setStruckout(struckout); }
/** * Sets the italic indicator for this font, if the font hasn't been * initialized * * @param italic the italic flag * @exception WriteException, if this font is already in use elsewhere */ protected void setItalic(boolean italic) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setFontItalic(italic); }
/** * Sets the colour for this font, if the font hasn't been * initialized * * @param colour the colour * @exception WriteException, if this font is already in use elsewhere */ public void setColour(Colour colour) throws WriteException { super.setColour(colour.getValue()); }
/** * Sets the underline style for this font, if the font hasn't been * initialized * * @param us the underline style * @exception WriteException, if this font is already in use elsewhere */ public void setUnderlineStyle(UnderlineStyle us) throws WriteException { super.setUnderlineStyle(us.getValue()); }
/** * Sets the point size for this font, if the font hasn't been initialized * * @param pointSize the point size * @exception WriteException, if this font is already in use elsewhere */ public void setPointSize(int pointSize) throws WriteException { super.setPointSize(pointSize); }
/** * Sets the script style (eg. superscript, subscript) for this font, * if the font hasn't been initialized * * @param scriptStyle the colour * @exception WriteException, if this font is already in use elsewhere */ public void setScriptStyle(ScriptStyle scriptStyle) throws WriteException { super.setScriptStyle(scriptStyle.getValue()); }
/** * Sets Accessor for the strike-out flag * * @param struckout TRUE if this is a struckout font * @return the strike-out flag * @exception WriteException, if this font is already in use elsewhere */ public void setStruckout(boolean struckout) throws WriteException { super.setStruckout(struckout); }
/** * Sets the point size for this font, if the font hasn't been initialized * * @param pointSize the point size * @exception WriteException, if this font is already in use elsewhere */ protected void setPointSize(int pointSize) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setFontPointSize(pointSize); }
/** * Sets the italic indicator for this font, if the font hasn't been * initialized * * @param italic the italic flag * @exception WriteException, if this font is already in use elsewhere */ public void setItalic(boolean italic) throws WriteException { super.setItalic(italic); }
/** * Sets the bold style for this font, if the font hasn't been initialized * * @param boldStyle the bold style * @exception WriteException, if this font is already in use elsewhere */ public void setBoldStyle(BoldStyle boldStyle) throws WriteException { super.setBoldStyle(boldStyle.value); }
/** * Accessor for the strike-out flag * * @return the strike-out flag */ public boolean isStruckout() { return super.isStruckout(); }
/** * Sets the script style (eg. superscript, subscript) for this font, * if the font hasn't been initialized * * @param scriptStyle the colour * @exception WriteException, if this font is already in use elsewhere */ protected void setScriptStyle(int scriptStyle) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setFontScriptStyle(scriptStyle); }