jxl.write.biff
Class CellXFRecord

public class CellXFRecord
extends XFRecord
A cell XF Record
SinceNot specified.
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
Fields inherited from jxl.biffWritableRecordData
Fields inherited from jxl.biffXFRecord
Constructor Summary
CellXFRecord( FontRecord fnt, DisplayFormat form )
Constructor
CellXFRecord( CellFormat format )
A public copy constructor which can be used for copy formats between different sheets
Method Summary
void setAlignment( Alignment a )
Sets the alignment for the cell
void setBackground( Colour c, Pattern p )
Sets the background for the cell
void setBorder( Border b, BorderLineStyle ls, Colour c )
Sets the border style for cells with this format
void setIndentation( int i )
Sets the indentation of the cell text
void setLocked( boolean l )
Sets whether or not this XF record locks the cell
void setOrientation( Orientation o )
Sets the text orientation for cells with this style
void setShrinkToFit( boolean s )
Sets the shrink to fit flag
void setVerticalAlignment( VerticalAlignment va )
Sets the vertical alignment for cells with this style
void setWrap( boolean w )
Sets the text wrapping for cells with this style.
Methods inherited from jxl.biffByteData
Methods inherited from jxl.biffRecordData
Methods inherited from jxl.biffWritableRecordData
CellXFRecord
protected CellXFRecord ( FontRecord fnt, DisplayFormat form )
Constructor
Parameters
TypeNameDescription
FontRecord fnt the font
DisplayFormat form the format
Wiki javadoc Use textile entry format.
Add your comments here.
CellXFRecord
protected CellXFRecord ( CellFormat format )
A public copy constructor which can be used for copy formats between different sheets
Parameters
TypeNameDescription
CellFormat format No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setAlignment
public void setAlignment ( Alignment a )
Sets the alignment for the cell
Parameters
TypeNameDescription
Alignment a the alignment
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setBackground
public void setBackground ( Colour c, Pattern p )
Sets the background for the cell
Parameters
TypeNameDescription
Colour c the background colour
Pattern p the background patter
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setBorder
public void setBorder ( Border b, BorderLineStyle ls, Colour c )
Sets the border style for cells with this format
Parameters
TypeNameDescription
Border b the border
BorderLineStyle ls the line for the specified border
Colour c No description provided.
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setIndentation
public void setIndentation ( int i )
Sets the indentation of the cell text
Parameters
TypeNameDescription
int i the indentation
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setLocked
public void setLocked ( boolean l )
Sets whether or not this XF record locks the cell
Parameters
TypeNameDescription
boolean l the locked flag
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setOrientation
public void setOrientation ( Orientation o )
Sets the text orientation for cells with this style
Parameters
TypeNameDescription
Orientation o the orientation
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setShrinkToFit
public void setShrinkToFit ( boolean s )
Sets the shrink to fit flag
Parameters
TypeNameDescription
boolean s No description provided.
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setVerticalAlignment
public void setVerticalAlignment ( VerticalAlignment va )
Sets the vertical alignment for cells with this style
Parameters
TypeNameDescription
VerticalAlignment va the vertical alignment
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
setWrap
public void setWrap ( boolean 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
Parameters
TypeNameDescription
boolean w the wrap
Returns void No description provided.
Exceptions
WriteException No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.