setStyleByArray($style); } /** * Get distance from left of table to text * * @return int */ public function getLeftFromText() { return $this->leftFromText; } /** * Set distance from left of table to text * * @param int $value * @return self */ public function setLeftFromText($value = null) { $this->leftFromText = $this->setNumericVal($value, $this->leftFromText); return $this; } /** * Get distance from right of table to text * * @return int */ public function getRightFromText() { return $this->rightFromText; } /** * Set distance from right of table to text * * @param int $value * @return self */ public function setRightFromText($value = null) { $this->rightFromText = $this->setNumericVal($value, $this->rightFromText); return $this; } /** * Get distance from top of table to text * * @return int */ public function getTopFromText() { return $this->topFromText; } /** * Set distance from top of table to text * * @param int $value * @return self */ public function setTopFromText($value = null) { $this->topFromText = $this->setNumericVal($value, $this->topFromText); return $this; } /** * Get distance from bottom of table to text * * @return int */ public function getBottomFromText() { return $this->bottomFromText; } /** * Set distance from bottom of table to text * * @param int $value * @return self */ public function setBottomFromText($value = null) { $this->bottomFromText = $this->setNumericVal($value, $this->bottomFromText); return $this; } /** * Get table vertical anchor * * @return string */ public function getVertAnchor() { return $this->vertAnchor; } /** * Set table vertical anchor * * @param string $value * @return self */ public function setVertAnchor($value = null) { $enum = array( self::VANCHOR_TEXT, self::VANCHOR_MARGIN, self::VANCHOR_PAGE, ); $this->vertAnchor = $this->setEnumVal($value, $enum, $this->vertAnchor); return $this; } /** * Get table horizontal anchor * * @return string */ public function getHorzAnchor() { return $this->horzAnchor; } /** * Set table horizontal anchor * * @param string $value * @return self */ public function setHorzAnchor($value = null) { $enum = array( self::HANCHOR_TEXT, self::HANCHOR_MARGIN, self::HANCHOR_PAGE, ); $this->horzAnchor = $this->setEnumVal($value, $enum, $this->horzAnchor); return $this; } /** * Get relative horizontal alignment from anchor * * @return string */ public function getTblpXSpec() { return $this->tblpXSpec; } /** * Set relative horizontal alignment from anchor * * @param string $value * @return self */ public function setTblpXSpec($value = null) { $enum = array( self::XALIGN_LEFT, self::XALIGN_CENTER, self::XALIGN_RIGHT, self::XALIGN_INSIDE, self::XALIGN_OUTSIDE, ); $this->tblpXSpec = $this->setEnumVal($value, $enum, $this->tblpXSpec); return $this; } /** * Get absolute horizontal distance from anchor * * @return int */ public function getTblpX() { return $this->tblpX; } /** * Set absolute horizontal distance from anchor * * @param int $value * @return self */ public function setTblpX($value = null) { $this->tblpX = $this->setNumericVal($value, $this->tblpX); return $this; } /** * Get relative vertical alignment from anchor * * @return string */ public function getTblpYSpec() { return $this->tblpYSpec; } /** * Set relative vertical alignment from anchor * * @param string $value * @return self */ public function setTblpYSpec($value = null) { $enum = array( self::YALIGN_INLINE, self::YALIGN_TOP, self::YALIGN_CENTER, self::YALIGN_BOTTOM, self::YALIGN_INSIDE, self::YALIGN_OUTSIDE, ); $this->tblpYSpec = $this->setEnumVal($value, $enum, $this->tblpYSpec); return $this; } /** * Get absolute vertical distance from anchor * * @return int */ public function getTblpY() { return $this->tblpY; } /** * Set absolute vertical distance from anchor * * @param int $value * @return self */ public function setTblpY($value = null) { $this->tblpY = $this->setNumericVal($value, $this->tblpY); return $this; } }