Lines Matching refs:match
75 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
77 if (preg_match($pattern, $match, $data) == 1) {
430 if (preg_match('/([\d\.]+)(.+)/', $width, $match) == 1) {
431 switch ($match[2]) {
434 … $width = ($match[1] / 100 * $metrics['page-width']) . $metrics['page-width-units'];
438 … $width = ($match[1] * 0.8 * $metrics['font-size']) . $metrics['font-size-units'];
472 if (preg_match('/fo:page-width="([\d\.]+)(.+?)"/', $style, $match) == 1) {
473 $result['page-width'] = floatval($match[1]);
474 $result['page-width-units'] = $match[2];
475 $units = $match[2];
477 if (preg_match('/fo:margin-left="([\d\.]+)(.+?)"/', $style, $match) == 1) {
479 if ($match[2] == $units) {
480 $result['page-width'] -= floatval($match[1]);
483 if (preg_match('/fo:margin-right="([\d\.]+)(.+?)"/', $style, $match) == 1) {
484 if ($match[2] == $units) {
485 $result['page-width'] -= floatval($match[1]);
497 …le:default-style style:family="paragraph">(.+?)<\/style:default-style>/s', $styles, $match) == 1) {
498 if (preg_match('/<style:text-properties(.+?)>/', $match[1], $match) == 1) {
499 if (preg_match('/fo:font-size="([\d\.]+)(.+?)"/', $match[1], $match) == 1) {
500 $result['font-size'] = floatval($match[1]);
501 $result['font-size-units'] = $match[2];