Ejemplo n.º 1
0
 /**
  * Get hanging
  *
  * @return int
  */
 public function getHanging()
 {
     if ($this->indentation !== null) {
         return $this->indentation->getHanging();
     } else {
         return null;
     }
 }
Ejemplo n.º 2
0
 /**
  * Set shading
  *
  * @param array $value
  * @return self
  */
 public function setIndentation($value = null)
 {
     if (is_array($value)) {
         if (!$this->indentation instanceof Indentation) {
             $this->indentation = new Indentation();
         }
         $this->indentation->setStyleByArray($value);
     } else {
         $this->indentation = null;
     }
     return $this;
 }