ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct () | |
Create a new BaseDrawing. More... | |
getImageIndex () | |
Get image index. More... | |
getName () | |
Get Name. More... | |
setName ($pValue) | |
Set Name. More... | |
getDescription () | |
Get Description. More... | |
setDescription ($description) | |
Set Description. More... | |
getWorksheet () | |
Get Worksheet. More... | |
setWorksheet (?Worksheet $pValue=null, $pOverrideOld=false) | |
Set Worksheet. More... | |
getCoordinates () | |
Get Coordinates. More... | |
setCoordinates ($pValue) | |
Set Coordinates. More... | |
getOffsetX () | |
Get OffsetX. More... | |
setOffsetX ($pValue) | |
Set OffsetX. More... | |
getOffsetY () | |
Get OffsetY. More... | |
setOffsetY ($pValue) | |
Set OffsetY. More... | |
getWidth () | |
Get Width. More... | |
setWidth ($pValue) | |
Set Width. More... | |
getHeight () | |
Get Height. More... | |
setHeight ($pValue) | |
Set Height. More... | |
setWidthAndHeight ($width, $height) | |
Set width and height with proportional resize. More... | |
getResizeProportional () | |
Get ResizeProportional. More... | |
setResizeProportional ($pValue) | |
Set ResizeProportional. More... | |
getRotation () | |
Get Rotation. More... | |
setRotation ($pValue) | |
Set Rotation. More... | |
getShadow () | |
Get Shadow. More... | |
setShadow (?Drawing\Shadow $pValue=null) | |
Set Shadow. More... | |
getHashCode () | |
Get hash code. More... | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
setHyperlink (?Hyperlink $pHyperlink=null) | |
getHyperlink () | |
Protected Attributes | |
$name | |
$description | |
$worksheet | |
$coordinates | |
$offsetX | |
$offsetY | |
$width | |
$height | |
$resizeProportional | |
$rotation | |
$shadow | |
Private Attributes | |
$imageIndex = 0 | |
$hyperlink | |
Static Private Attributes | |
static | $imageCounter = 0 |
Definition at line 9 of file BaseDrawing.php.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::__construct | ( | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 506 of file BaseDrawing.php.
References $key.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getCoordinates | ( | ) |
Get Coordinates.
Definition at line 244 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$coordinates.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getDescription | ( | ) |
Get Description.
Definition at line 171 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$description.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getHashCode | ( | ) |
Get hash code.
Implements PhpOffice\PhpSpreadsheet\IComparable.
Definition at line 486 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\setWorksheet().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getHeight | ( | ) |
Get Height.
Definition at line 347 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$height.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getHyperlink | ( | ) |
Definition at line 528 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$hyperlink.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getImageIndex | ( | ) |
Get image index.
Definition at line 137 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$imageIndex.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\Drawing\getIndexedFilename(), and PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\getIndexedFilename().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getName | ( | ) |
Get Name.
Definition at line 147 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$name.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getOffsetX | ( | ) |
Get OffsetX.
Definition at line 268 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$offsetX.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getOffsetY | ( | ) |
Get OffsetY.
Definition at line 292 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$offsetY.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getResizeProportional | ( | ) |
Get ResizeProportional.
Definition at line 414 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$resizeProportional.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getRotation | ( | ) |
Get Rotation.
Definition at line 438 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$rotation.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getShadow | ( | ) |
Get Shadow.
Definition at line 462 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$shadow.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getWidth | ( | ) |
Get Width.
Definition at line 316 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$width.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\Drawing\writeDrawing().
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::getWorksheet | ( | ) |
Get Worksheet.
Definition at line 195 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$worksheet.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setCoordinates | ( | $pValue | ) |
Set Coordinates.
string | $pValue | eg: 'A1' |
Definition at line 256 of file BaseDrawing.php.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setDescription | ( | $description | ) |
Set Description.
string | $description |
Definition at line 183 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$description.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setHeight | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setHyperlink | ( | ?Hyperlink | $pHyperlink = null | ) |
Definition at line 520 of file BaseDrawing.php.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setName | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setOffsetX | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setOffsetY | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setResizeProportional | ( | $pValue | ) |
Set ResizeProportional.
bool | $pValue |
Definition at line 426 of file BaseDrawing.php.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setRotation | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setShadow | ( | ?Drawing\Shadow | $pValue = null | ) |
Set Shadow.
Drawing\Shadow | $pValue |
Definition at line 474 of file BaseDrawing.php.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setWidth | ( | $pValue | ) |
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setWidthAndHeight | ( | $width, | |
$height | |||
) |
Set width and height with proportional resize.
Example: $objDrawing->setResizeProportional(true); $objDrawing->setWidthAndHeight(160,120);
int | $width | |
int | $height |
Definition at line 389 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$height, and PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\$width.
PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing::setWorksheet | ( | ?Worksheet | $pValue = null , |
$pOverrideOld = false |
|||
) |
Set Worksheet.
Worksheet | $pValue | |
bool | $pOverrideOld | If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet? |
Definition at line 208 of file BaseDrawing.php.
References PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getHashCode().
|
protected |
Definition at line 51 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getCoordinates().
|
protected |
Definition at line 37 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getDescription(), and PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\setDescription().
|
protected |
Definition at line 79 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\cloneResource(), PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getHeight(), and PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\setWidthAndHeight().
|
private |
Definition at line 107 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getHyperlink().
|
staticprivate |
Definition at line 16 of file BaseDrawing.php.
|
private |
Definition at line 23 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getImageIndex().
|
protected |
Definition at line 30 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getName().
|
protected |
Definition at line 58 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getOffsetX().
|
protected |
Definition at line 65 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getOffsetY().
|
protected |
Definition at line 86 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getResizeProportional().
|
protected |
Definition at line 93 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getRotation().
|
protected |
Definition at line 100 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getShadow().
|
protected |
Definition at line 72 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\MemoryDrawing\cloneResource(), PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getWidth(), and PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\setWidthAndHeight().
|
protected |
Definition at line 44 of file BaseDrawing.php.
Referenced by PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing\getWorksheet().