public function setBodyStyleAtLvl(RichTextParagraph $style, $lvl) { if (!$this->checkLvl($lvl)) { $this->bodyStyle[$lvl] = $style; } }