/** * Sets the shrink to fit flag * * @param b the shrink to fit flag */ public void setShrinkToFit(boolean s) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFShrinkToFit(s); }
/** * Sets the shrink to fit flag * * @param b the shrink to fit flag */ public void setShrinkToFit(boolean s) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFShrinkToFit(s); }
/** * Sets the indentation of the cell text * * @param i the indentation */ public void setIndentation(int i) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFIndentation(i); }
/** * Sets the indentation of the cell text * * @param i the indentation */ public void setIndentation(int i) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFIndentation(i); }
/** * Sets the text orientation for cells with this style * * @exception WriteException * @param o the orientation */ public void setOrientation(Orientation o) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFOrientation(o); }
/** * Sets the alignment for the cell * * @exception WriteException * @param a the alignment */ public void setAlignment(Alignment a) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFAlignment(a); }
/** * Sets the vertical alignment for cells with this style * * @exception WriteException * @param va the vertical alignment */ public void setVerticalAlignment(VerticalAlignment va) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFVerticalAlignment(va); }
/** * Sets the alignment for the cell * * @exception WriteException * @param a the alignment */ public void setAlignment(Alignment a) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFAlignment(a); }
/** * Sets the vertical alignment for cells with this style * * @exception WriteException * @param va the vertical alignment */ public void setVerticalAlignment(VerticalAlignment va) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFVerticalAlignment(va); }
/** * Sets the text orientation for cells with this style * * @exception WriteException * @param o the orientation */ public void setOrientation(Orientation o) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFOrientation(o); }
/** * Sets the text wrapping for cells with this style. If the parameter is * set to TRUE, then data in this cell will be wrapped around, and the * cell's height adjusted accordingly * * @exception WriteException * @param w the wrap */ public void setWrap(boolean w) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFWrap(w); }
/** * Sets the text wrapping for cells with this style. If the parameter is * set to TRUE, then data in this cell will be wrapped around, and the * cell's height adjusted accordingly * * @exception WriteException * @param w the wrap */ public void setWrap(boolean w) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFWrap(w); }
/** * Sets whether or not this XF record locks the cell * * @param l the locked flag * @exception WriteException */ public void setLocked(boolean l) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFLocked(l); super.setXFCellOptions(0x8000); }
/** * Sets whether or not this XF record locks the cell * * @param l the locked flag * @exception WriteException */ public void setLocked(boolean l) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFLocked(l); super.setXFCellOptions(0x8000); }
/** * Sets the background for the cell * * @exception WriteException * @param c the background colour * @param p the background patter */ public void setBackground(Colour c, Pattern p) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFBackground(c, p); super.setXFCellOptions(0x4000); }
/** * Sets the background for the cell * * @exception WriteException * @param c the background colour * @param p the background patter */ public void setBackground(Colour c, Pattern p) throws WriteException { if (isInitialized()) { throw new JxlWriteException(JxlWriteException.formatInitialized); } super.setXFBackground(c, p); super.setXFCellOptions(0x4000); }
throws WriteException if (isInitialized())
throws WriteException if (isInitialized())