/** * Sets the horizontal alignment for this format * * @param a the alignment * @exception WriteException */ public void setAlignment(Alignment a) throws WriteException { super.setAlignment(a); }
/** * Sets the background colour and pattern for this cell format * * @param c the colour * @param p the pattern * @exception jxl.write.WriteException */ public void setBackground(Colour c, Pattern p) throws WriteException { super.setBackground(c, p); }
/** * Sets the specified border for this format * * @param b the border * @param ls the border line style * @exception jxl.write.WriteException */ public void setBorder(Border b, BorderLineStyle ls) throws WriteException { super.setBorder(b, ls, Colour.BLACK); }
/** * 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); }
CellXFRecord cf1 = new CellXFRecord(tlformat); Cell bottomRight = range.getBottomRight(); cf1.setBorder(Border.ALL, BorderLineStyle.NONE, Colour.BLACK); cf1.setBorder(Border.LEFT, tlformat.getBorderLine(Border.LEFT), tlformat.getBorderColour(Border.LEFT)); cf1.setBorder(Border.TOP, tlformat.getBorderLine(Border.TOP), tlformat.getBorderColour(Border.TOP)); cf1.setBorder(Border.BOTTOM, tlformat.getBorderLine(Border.BOTTOM), tlformat.getBorderColour(Border.BOTTOM)); cf1.setBorder(Border.RIGHT, tlformat.getBorderLine(Border.RIGHT), tlformat.getBorderColour(Border.RIGHT)); CellXFRecord cf2 = new CellXFRecord(tlformat); cf2.setBorder(Border.ALL, BorderLineStyle.NONE, Colour.BLACK); cf2.setBorder(Border.LEFT, tlformat.getBorderLine(Border.LEFT), tlformat.getBorderColour(Border.LEFT)); cf2.setBorder(Border.BOTTOM, tlformat.getBorderLine(Border.BOTTOM), tlformat.getBorderColour(Border.BOTTOM)); CellXFRecord cf3 = new CellXFRecord(tlformat);
/** * Sets the text orientation for this format * * @param o the orientation * @exception WriteException */ public void setOrientation(Orientation o) throws WriteException { super.setOrientation(o); }
/** * Sets the indentation of the cell text * * @param i the indentation */ public void setIndentation(int i) throws WriteException { super.setIndentation(i); }
/** * Sets the vertical alignment for this format * * @param va the vertical alignment * @exception WriteException */ public void setVerticalAlignment(VerticalAlignment va) throws WriteException { super.setVerticalAlignment(va); }
/** * Sets the shrink to fit flag * * @param s shrink to fit flag * @exception WriteException */ public void setShrinkToFit(boolean s) throws WriteException { super.setShrinkToFit(s); }
/** * Sets whether or not this XF record locks the cell. For this to * have any effect, the sheet containing cells with this format must * also be locke3d * * @param l the locked flag * @exception WriteException */ public void setLocked(boolean l) throws WriteException { super.setLocked(l); }
/** * 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); }
CellXFRecord cf1 = new CellXFRecord(tlformat); Cell bottomRight = range.getBottomRight(); cf1.setBorder(Border.ALL, BorderLineStyle.NONE, Colour.BLACK); cf1.setBorder(Border.LEFT, tlformat.getBorderLine(Border.LEFT), tlformat.getBorderColour(Border.LEFT)); cf1.setBorder(Border.TOP, tlformat.getBorderLine(Border.TOP), tlformat.getBorderColour(Border.TOP)); cf1.setBorder(Border.BOTTOM, tlformat.getBorderLine(Border.BOTTOM), tlformat.getBorderColour(Border.BOTTOM)); cf1.setBorder(Border.RIGHT, tlformat.getBorderLine(Border.RIGHT), tlformat.getBorderColour(Border.RIGHT)); CellXFRecord cf2 = new CellXFRecord(tlformat); cf2.setBorder(Border.ALL, BorderLineStyle.NONE, Colour.BLACK); cf2.setBorder(Border.LEFT, tlformat.getBorderLine(Border.LEFT), tlformat.getBorderColour(Border.LEFT)); cf2.setBorder(Border.BOTTOM, tlformat.getBorderLine(Border.BOTTOM), tlformat.getBorderColour(Border.BOTTOM)); CellXFRecord cf3 = new CellXFRecord(tlformat);
/** * Sets the text orientation for this format * * @param o the orientation * @exception WriteException */ public void setOrientation(Orientation o) throws WriteException { super.setOrientation(o); }
/** * Sets the indentation of the cell text * * @param i the indentation */ public void setIndentation(int i) throws WriteException { super.setIndentation(i); }
/** * Sets the vertical alignment for this format * * @param va the vertical alignment * @exception WriteException */ public void setVerticalAlignment(VerticalAlignment va) throws WriteException { super.setVerticalAlignment(va); }
/** * Sets the shrink to fit flag * * @param s shrink to fit flag * @exception WriteException */ public void setShrinkToFit(boolean s) throws WriteException { super.setShrinkToFit(s); }
/** * Sets whether or not this XF record locks the cell. For this to * have any effect, the sheet containing cells with this format must * also be locke3d * * @param l the locked flag * @exception WriteException */ public void setLocked(boolean l) throws WriteException { super.setLocked(l); }
/** * 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 specified border for this format * * @param b the border * @param ls the border line style * @param c the colour of the specified border * @exception jxl.write.WriteException */ public void setBorder(Border b, BorderLineStyle ls, Colour c) throws WriteException { super.setBorder(b, ls, c); }
/** * Sets the horizontal alignment for this format * * @param a the alignment * @exception WriteException */ public void setAlignment(Alignment a) throws WriteException { super.setAlignment(a); }