getStyle(); if (!$style instanceof \PhpOffice\PhpWord\Style\Indentation) { return ''; } $content = '\fi' . round($style->getFirstLine()); $content .= '\li' . round($style->getLeft()); $content .= '\ri' . round($style->getRight()); return $content . ' '; } }