/** * @param IdmlElement $element - IdmlParagraphRange, IdmlCharacterRange, etc. * @return string $styleAttrib - the full string to be assigned to the HTML style='' attribute, including fixed layout styles. */ public function getStyleAttrib(IdmlElement $element) { $styleAttribs = array(); $styleAttribs[] = $element->getStyleOverrides(); $styleAttribs[] = $this->getDimensionCSS($element); $styleAttribs[] = $this->getPositionCSS($element); $styleAttribs[] = $this->getTransformationCSS($element); $s = implode(' ', $styleAttribs); $s = trim($s); return $s; }