PHP Class PhpOffice\PhpPresentation\Style\Alignment

Inheritance: implements PhpOffice\PhpPresentation\ComparableInterface
Exibir arquivo Open project: phpoffice/phppowerpoint Class Usage Examples

Public Methods

Method Description
__construct ( ) Create a new \PhpOffice\PhpPresentation\Style\Alignment
getHashCode ( ) : string Get hash code
getHashIndex ( ) : string Get hash index
getHorizontal ( ) : string Get Horizontal
getIndent ( ) : integer Get indent
getLevel ( ) : integer Get Level
getMarginLeft ( ) : integer Get margin left
getMarginRight ( ) : integer Get margin right
getVertical ( ) : string Get Vertical
setHashIndex ( string $value ) Set hash index
setHorizontal ( string $pValue = self::HORIZONTAL_LEFT ) : Alignment Set Horizontal
setIndent ( integer $pValue ) : Alignment Set indent
setLevel ( integer $pValue ) : Alignment Set Level
setMarginLeft ( integer $pValue ) : Alignment Set margin left
setMarginRight ( integer $pValue ) : Alignment Set margin ight
setVertical ( string $pValue = self::VERTICAL_BASE ) : Alignment Set Vertical

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Style\Alignment
public __construct ( )

getHashCode() public method

Get hash code
public getHashCode ( ) : string
return string Hash code

getHashIndex() public method

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public getHashIndex ( ) : string
return string Hash index

getHorizontal() public method

Get Horizontal
public getHorizontal ( ) : string
return string

getIndent() public method

Get indent
public getIndent ( ) : integer
return integer

getLevel() public method

Get Level
public getLevel ( ) : integer
return integer

getMarginLeft() public method

Get margin left
public getMarginLeft ( ) : integer
return integer

getMarginRight() public method

Get margin right
public getMarginRight ( ) : integer
return integer

getVertical() public method

Get Vertical
public getVertical ( ) : string
return string

setHashIndex() public method

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public setHashIndex ( string $value )
$value string Hash index

setHorizontal() public method

Set Horizontal
public setHorizontal ( string $pValue = self::HORIZONTAL_LEFT ) : Alignment
$pValue string
return Alignment

setIndent() public method

Set indent
public setIndent ( integer $pValue ) : Alignment
$pValue integer
return Alignment

setLevel() public method

Set Level
public setLevel ( integer $pValue ) : Alignment
$pValue integer Ranging 0 - 8
return Alignment

setMarginLeft() public method

Set margin left
public setMarginLeft ( integer $pValue ) : Alignment
$pValue integer
return Alignment

setMarginRight() public method

Set margin ight
public setMarginRight ( integer $pValue ) : Alignment
$pValue integer
return Alignment

setVertical() public method

Set Vertical
public setVertical ( string $pValue = self::VERTICAL_BASE ) : Alignment
$pValue string
return Alignment