$font_index =
[line 55]
Index to the FONT record.
Index to the FONT record.
$_bg_color =
[line 199]
The cell's background color.
The cell's background color.
Tags:
$_bold =
[line 73]
Bold style
Bold style
Tags:
$_bottom =
[line 211]
Style of the bottom border of the cell
Style of the bottom border of the cell
Tags:
$_bottom_color =
[line 217]
Color of the bottom border of the cell.
Color of the bottom border of the cell.
Tags:
$_color =
[line 85]
Index to the cell's color
Index to the cell's color
Tags:
$_fg_color =
[line 193]
The cell's foreground color.
The cell's foreground color.
Tags:
$_font_charset =
[line 127]
Byte specifiying the font charset.
Byte specifiying the font charset.
Tags:
$_font_family =
[line 121]
Byte specifiying the font family.
Byte specifiying the font family.
Tags:
$_font_name =
[line 61]
The font name (ASCII).
The font name (ASCII).
Tags:
$_font_outline =
[line 103]
Bit specifiying if the font has outline.
Bit specifiying if the font has outline.
Tags:
$_font_script =
[line 115]
2 bytes specifiying the script type for the font.
2 bytes specifiying the script type for the font.
Tags:
$_font_shadow =
[line 109]
Bit specifiying if the font has shadow.
Bit specifiying if the font has shadow.
Tags:
$_font_strikeout =
[line 97]
Bit specifiying if the font has strikeout.
Bit specifiying if the font has strikeout.
Tags:
$_hidden =
[line 139]
Bit specifying if formulas are hidden.
Bit specifying if formulas are hidden.
Tags:
$_indent =
[line 163]
Indent level
Indent level
Tags:
$_italic =
[line 79]
Bit specifiying if the font is italic.
Bit specifiying if the font is italic.
Tags:
$_left =
[line 235]
Style of the left border of the cell
Style of the left border of the cell
Tags:
$_left_color =
[line 241]
Color of the left border of the cell.
Color of the left border of the cell.
Tags:
$_locked =
[line 145]
Bit specifying if the cell is locked.
Bit specifying if the cell is locked.
Tags:
$_num_format =
[line 133]
An index (2 bytes) to a FORMAT record (number format).
An index (2 bytes) to a FORMAT record (number format).
Tags:
$_pattern =
[line 205]
The cell's background fill pattern.
The cell's background fill pattern.
Tags:
$_right =
[line 247]
Style of the right border of the cell
Style of the right border of the cell
Tags:
$_right_color =
[line 253]
Color of the right border of the cell.
Color of the right border of the cell.
Tags:
$_rotation =
[line 187]
Integer specifying the text rotation.
Integer specifying the text rotation. (-90 to +90 or -165 indicating stacked text)
Tags:
$_shrink_to_fit =
[line 169]
Shrink to fit
Shrink to fit
Tags:
$_size =
[line 67]
Height of font (1/20 of a point)
Height of font (1/20 of a point)
Tags:
$_text_h_align =
[line 151]
The three bits specifying the text horizontal alignment.
The three bits specifying the text horizontal alignment.
Tags:
$_text_justlast =
[line 181]
1 bit, apparently not used.
1 bit, apparently not used.
Tags:
$_text_v_align =
[line 175]
The three bits specifying the text vertical alignment.
The three bits specifying the text vertical alignment.
Tags:
$_text_wrap =
[line 157]
Bit specifying if the text is wrapped at the right border.
Bit specifying if the text is wrapped at the right border.
Tags:
$_top =
[line 223]
Style of the top border of the cell
Style of the top border of the cell
Tags:
$_top_color =
[line 229]
Color of the top border of the cell.
Color of the top border of the cell.
Tags:
$_underline =
[line 91]
The text underline property
The text underline property
Tags:
$_xf_index =
[line 49]
The index given by the workbook when creating a new format.
The index given by the workbook when creating a new format.
Tags:
constructor PHPExcel_Writer_Excel5_Format [line 262]
PHPExcel_Writer_Excel5_Format PHPExcel_Writer_Excel5_Format(
$BIFF_version, [integer
$index = 0], [array
$properties = array()])
|
|
Constructor
Constructor
Tags:
Parameters:
method getFont [line 471]
Generate an Excel BIFF FONT record.
Generate an Excel BIFF FONT record.
Tags:
method getFontKey [line 527]
Returns a unique hash key for a font.
Returns a unique hash key for a font. Used by PHPExcel_Writer_Excel5_Workbook::_storeAllFonts()
The elements that form the key are arranged to increase the probability of generating a unique key. Elements that hold a large range of numbers (eg. _color) are placed between two binary elements such as _italic
Tags:
method getXf [line 327]
string getXf(
string
$style)
|
|
Generate an Excel BIFF XF record (style or cell).
Generate an Excel BIFF XF record (style or cell).
Tags:
Parameters:
method getXfIndex [line 543]
Returns the index used by PHPExcel_Writer_Excel5_Worksheet::_XF()
Returns the index used by PHPExcel_Writer_Excel5_Worksheet::_XF()
Tags:
method setAlign [line 615]
void setAlign(
string
$location)
|
|
Set cell alignment.
Set cell alignment.
Tags:
Parameters:
method setBgColor [line 932]
void setBgColor(
mixed
$color)
|
|
Sets the cell's background color
Sets the cell's background color
Tags:
Parameters:
method setBold [line 761]
void setBold(
[integer
$weight = 1])
|
|
Sets the boldness of the text.
Sets the boldness of the text. Bold has a range 100..1000.
- (400) is normal. 1 (700) is bold.
Tags:
Parameters:
method setBorder [line 834]
void setBorder(
integer
$style)
|
|
Set cells borders to the same style
Set cells borders to the same style
Tags:
Parameters:
method setBorderColor [line 854]
void setBorderColor(
mixed
$color)
|
|
Sets all the cell's borders to the same color
Sets all the cell's borders to the same color
Tags:
Parameters:
method setBottom [line 789]
void setBottom(
integer
$style)
|
|
Sets the width for the bottom border of the cell
Sets the width for the bottom border of the cell
Tags:
Parameters:
method setBottomColor [line 868]
void setBottomColor(
mixed
$color)
|
|
Sets the cell's bottom border color
Sets the cell's bottom border color
Tags:
Parameters:
method setColor [line 947]
void setColor(
mixed
$color)
|
|
Sets the cell's color
Sets the cell's color
Tags:
Parameters:
method setFgColor [line 917]
void setFgColor(
mixed
$color)
|
|
Sets the cell's foreground color
Sets the cell's foreground color
Tags:
Parameters:
method setFontFamily [line 1162]
void setFontFamily(
$font_family, string
$fontfamily)
|
|
Sets the font family name.
Sets the font family name.
Tags:
Parameters:
method setHAlign [line 673]
void setHAlign(
string
$location)
|
|
Set cell horizontal alignment.
Set cell horizontal alignment.
Tags:
Parameters:
method setHidden [line 1140]
Hide a cell.
Hide a cell.
Tags:
method setIndent [line 1014]
void setIndent(
integer
$indent)
|
|
Sets indent level
Sets indent level
Tags:
Parameters:
method setItalic [line 982]
Sets the font style as italic
Sets the font style as italic
Tags:
method setLeft [line 811]
void setLeft(
integer
$style)
|
|
Sets the width for the left border of the cell
Sets the width for the left border of the cell
Tags:
Parameters:
method setLeftColor [line 892]
void setLeftColor(
mixed
$color)
|
|
Sets the cell's left border color
Sets the cell's left border color
Tags:
Parameters:
method setLocked [line 1120]
Locks a cell.
Locks a cell.
Tags:
method setMerge [line 746]
This is an alias for the unintuitive setAlign('merge')
This is an alias for the unintuitive setAlign('merge')
Tags:
method setNumFormat [line 1068]
void setNumFormat(
integer
$num_format)
|
|
Sets the numeric format.
Sets the numeric format. It can be date, time, currency, etc...
Tags:
Parameters:
method setOutLine [line 1088]
Sets outlining for a font.
Sets outlining for a font.
Tags:
method setPattern [line 960]
void setPattern(
[integer
$arg = 1])
|
|
Sets the fill pattern attribute of a cell
Sets the fill pattern attribute of a cell
Tags:
Parameters:
method setRight [line 822]
void setRight(
integer
$style)
|
|
Sets the width for the right border of the cell
Sets the width for the right border of the cell
Tags:
Parameters:
method setRightColor [line 904]
void setRightColor(
mixed
$color)
|
|
Sets the cell's right border color
Sets the cell's right border color
Tags:
Parameters:
method setScript [line 1110]
void setScript(
integer
$script)
|
|
Sets the script type of the text
Sets the script type of the text
Tags:
Parameters:
method setShadow [line 1098]
Sets font as shadow.
Sets font as shadow.
Tags:
method setShrinkToFit [line 1024]
Sets Shrink To Fit
Sets Shrink To Fit
Tags:
method setSize [line 993]
void setSize(
integer
$size)
|
|
Sets the font size
Sets the font size
Tags:
Parameters:
method setStrikeOut [line 1078]
Sets font as strikeout.
Sets font as strikeout.
Tags:
method setTextRotation [line 1035]
void setTextRotation(
integer
$rotation)
|
|
Sets the orientation of the text
Sets the orientation of the text
Tags:
Parameters:
method setTextWrap [line 1003]
Sets text wrapping
Sets text wrapping
Tags:
method setTop [line 800]
void setTop(
integer
$style)
|
|
Sets the width for the top border of the cell
Sets the width for the top border of the cell
Tags:
Parameters:
method setTopColor [line 880]
void setTopColor(
mixed
$color)
|
|
Sets the cell's top border color
Sets the cell's top border color
Tags:
Parameters:
method setUnderline [line 972]
void setUnderline(
integer
$underline)
|
|
Sets the underline of the text
Sets the underline of the text
Tags:
Parameters:
method setUnhidden [line 1150]
Unhide a cell.
Unhide a cell.
Tags:
method setUnLocked [line 1130]
Unlocks a cell.
Unlocks a cell. Useful for unprotecting particular cells of a protected sheet.
Tags:
method setVAlign [line 713]
void setVAlign(
string
$location)
|
|
Set cell vertical alignment.
Set cell vertical alignment.
Tags:
Parameters:
method _getColor [line 557]
integer _getColor(
[string
$name_color = ''])
|
|
Used in conjunction with the set_xxx_color methods to convert a color string into a number. to 8.
Used in conjunction with the set_xxx_color methods to convert a color string into a number. Color range is 0..63 but we will restrict it to 8..63 to comply with Gnumeric. Colors 0..7 are repeated in 8..15.
Tags:
Parameters: