Documentation

Style
in package

Table of Contents

Constants

CELL_STYLE_PREFIX  = 'ce'
COLUMN_STYLE_PREFIX  = 'co'
ROW_STYLE_PREFIX  = 'ro'
TABLE_STYLE_PREFIX  = 'ta'

Properties

$writer  : XMLWriter

Methods

__construct()  : mixed
write()  : void
writeColumnStyles()  : void
writeRowStyles()  : void
writeTableStyle()  : void
mapUnderlineStyle()  : string
writeColumnProperties()  : void
writeRowProperties()  : void
writeTextProperties()  : void
mapBorderStyle()  : string
mapBorderWidth()  : string
mapHorizontalAlignment()  : string
mapVerticalAlignment()  : string
writeBordersStyle()  : void
writeBorderStyle()  : void
writeCellProperties()  : void
writeFillStyle()  : void

Constants

CELL_STYLE_PREFIX

public mixed CELL_STYLE_PREFIX = 'ce'

COLUMN_STYLE_PREFIX

public mixed COLUMN_STYLE_PREFIX = 'co'

ROW_STYLE_PREFIX

public mixed ROW_STYLE_PREFIX = 'ro'

TABLE_STYLE_PREFIX

public mixed TABLE_STYLE_PREFIX = 'ta'

Properties

Methods

writeTableStyle()

public writeTableStyle(Worksheet $worksheet, int $sheetId) : void
Parameters
$worksheet : Worksheet
$sheetId : int

mapUnderlineStyle()

protected mapUnderlineStyle(Font $font) : string
Parameters
$font : Font
Return values
string

writeTextProperties()

protected writeTextProperties(Style $style) : void
Parameters
$style : Style

mapBorderStyle()

private mapBorderStyle(Border $border) : string
Parameters
$border : Border
Return values
string

mapBorderWidth()

private mapBorderWidth(Border $border) : string
Parameters
$border : Border
Return values
string

mapHorizontalAlignment()

private mapHorizontalAlignment(string $horizontalAlignment) : string
Parameters
$horizontalAlignment : string
Return values
string

mapVerticalAlignment()

private mapVerticalAlignment(string $verticalAlignment) : string
Parameters
$verticalAlignment : string
Return values
string

writeBordersStyle()

private writeBordersStyle(Borders $borders) : void
Parameters
$borders : Borders

writeBorderStyle()

private writeBorderStyle(string $direction, Border $border) : void
Parameters
$direction : string
$border : Border

writeCellProperties()

private writeCellProperties(Style $style) : void
Parameters
$style : Style

writeFillStyle()

private writeFillStyle(Fill $fill) : void
Parameters
$fill : Fill

        
On this page

Search results