code: function OpenDoc_StylesFeed(&$Styles, $Txt) {
  		$p = 0;
  		while ($loc = clsTbsXmlLoc::FindElement($Txt, 'style:style', $p)) {
  			unset($o);
  			$o = (object) null;
  			$o->name = $loc->GetAttLazy('style:name');
  			$o->parentName = $loc->GetAttLazy('style:parent-style-name');
  			$o->childs = array();
  			$o->pbreak = false;
  			$o->ctrl = false;
  			$src = $loc->GetSrc();
  			if (strpos($src, ' fo:break-before="page"')!==false) $o->pbreak = 'before';
  			if (strpos($src, ' fo:break-after="page"')!==false) $o->pbreak = 'after';
  			if ($o->name!==false) $Styles[$o->name] = $o;
  			$p = $loc->PosEnd;
  		}
  	}
docs: Feed $Styles with styles found in $Txt