PHP Class PhpOffice\PhpPresentation\Shape\Comment

Inheritance: extends PhpOffice\PhpPresentation\AbstractShape, implements PhpOffice\PhpPresentation\ComparableInterface
ファイルを表示 Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Property Type Description
$author PhpOffice\PhpPresentation\Shape\Comment\Author
$dtComment integer
$text string

Public Methods

Method Description
__construct ( )
getAuthor ( ) : Author
getDate ( ) : integer
getHeight ( ) : null Comment has not height
getText ( ) : string
getWidth ( ) : null Comment has not width
setAuthor ( Author $author ) : Comment
setDate ( integer $dtComment ) : Comment
setHeight ( integer $pValue ) : self Set Height
setText ( string $text = '' ) : Comment
setWidth ( integer $pValue ) : self Set Width

Method Details

__construct() public method

public __construct ( )

getAuthor() public method

public getAuthor ( ) : Author
return PhpOffice\PhpPresentation\Shape\Comment\Author

getDate() public method

public getDate ( ) : integer
return integer

getHeight() public method

Comment has not height
public getHeight ( ) : null
return null

getText() public method

public getText ( ) : string
return string

getWidth() public method

Comment has not width
public getWidth ( ) : null
return null

setAuthor() public method

public setAuthor ( Author $author ) : Comment
$author PhpOffice\PhpPresentation\Shape\Comment\Author
return Comment

setDate() public method

public setDate ( integer $dtComment ) : Comment
$dtComment integer timestamp of the comment
return Comment

setHeight() public method

Set Height
public setHeight ( integer $pValue ) : self
$pValue integer
return self

setText() public method

public setText ( string $text = '' ) : Comment
$text string
return Comment

setWidth() public method

Set Width
public setWidth ( integer $pValue ) : self
$pValue integer
return self

Property Details

$author protected_oe property

protected Author,PhpOffice\PhpPresentation\Shape\Comment $author
return PhpOffice\PhpPresentation\Shape\Comment\Author

$dtComment protected_oe property

protected int $dtComment
return integer

$text protected_oe property

protected string $text
return string