PHP 클래스 PhpOffice\PhpPresentation\Style\Alignment

상속: implements PhpOffice\PhpPresentation\ComparableInterface
파일 보기 프로젝트 열기: phpoffice/phppowerpoint 1 사용 예제들

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

getHashCode() 공개 메소드

Get hash code
public getHashCode ( ) : string
리턴 string Hash code

getHashIndex() 공개 메소드

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
리턴 string Hash index

getHorizontal() 공개 메소드

Get Horizontal
public getHorizontal ( ) : string
리턴 string

getIndent() 공개 메소드

Get indent
public getIndent ( ) : integer
리턴 integer

getLevel() 공개 메소드

Get Level
public getLevel ( ) : integer
리턴 integer

getMarginLeft() 공개 메소드

Get margin left
public getMarginLeft ( ) : integer
리턴 integer

getMarginRight() 공개 메소드

Get margin right
public getMarginRight ( ) : integer
리턴 integer

getVertical() 공개 메소드

Get Vertical
public getVertical ( ) : string
리턴 string

setHashIndex() 공개 메소드

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() 공개 메소드

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

setIndent() 공개 메소드

Set indent
public setIndent ( integer $pValue ) : Alignment
$pValue integer
리턴 Alignment

setLevel() 공개 메소드

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

setMarginLeft() 공개 메소드

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

setMarginRight() 공개 메소드

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

setVertical() 공개 메소드

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