Lines Matching refs:params

69                 $params = explode (',', $item);
71 if ( $page == $params [1] ) {
73 … $link = '<text:a xlink:type="simple" xlink:href="#'.$params [0].'" '.$linkStyle.'>';
505 * @param ODTInternalParams $params Commom params.
511 …public static function openHTMLElement (ODTInternalParams $params, array &$dest, $element, $attrib… argument
513 $params->htmlStack->open($element, $attributes);
514 $toMatch = $params->htmlStack->getCurrentElement();
515 $params->import->getPropertiesForElement($dest, $toMatch, $params->units);
518 self::adjustValuesForODT($dest, $params->units, $maxWidth);
525 * @param ODTInternalParams $params Commom params.
528 public static function closeHTMLElement (ODTInternalParams $params, $element) { argument
529 $params->htmlStack->close($element);
541 * @param ODTInternalParams $params Commom params.
548 …public static function getHTMLElementProperties (ODTInternalParams $params, array &$dest, $element… argument
550 $params->htmlStack->open($element, $attributes);
551 $toMatch = $params->htmlStack->getCurrentElement();
552 $params->import->getPropertiesForElement($dest, $toMatch, $params->units, $inherit);
555 self::adjustValuesForODT($dest, $params->units, $maxWidth);
558 $params->htmlStack->removeCurrent();
649 …protected static function createTextStyle (ODTInternalParams $params, $element, $attributes, $styl… argument
651 if (!isset($styleName) || !$params->document->styleExists($styleName)) {
654 self::getHTMLElementProperties ($params, $properties, $element, $attributes);
662 $params->document->createTextStyle($properties, false);
672 …protected static function createParagraphStyle (ODTInternalParams $params, $element, $attributes, … argument
674 if (!isset($styleName) || !$params->document->styleExists($styleName)) {
677 self::getHTMLElementProperties ($params, $properties, $element, $attributes);
685 $params->document->createParagraphStyle($properties, false);
754 * @param ODTInternalParams $params The internal params
758 …public static function generateODTfromHTMLCode(ODTInternalParams $params, $HTMLCode, array $option… argument
795 $p_style = $params->document->getStyleName('body');
802 $p_list_style = $params->document->getStyleName('body');
807 $ol_list_style = $params->document->getStyleName('numbering');
812 $ul_list_style = $params->document->getStyleName('list');
816 $media = $params->import->getMedia ();
818 $params->import->setMedia($options['media_selector']);
822 $params->htmlStack->open($options ['element'], $options ['attributes']);
882 $checked [$out] = $params->document->replaceXMLEntities($found ['content']);
925 … $style_name = self::createTextStyle ($params, 'span', $found ['attributes'], $style_name);
934 … $checked [$out] = $params->document->openHyperlink ($url, NULL, NULL, true);
935 $checked [$in] = $params->document->closeHyperlink (true);
971 … $style_name = self::createParagraphStyle ($params, 'li', $found ['attributes'], $style_name);
998 … $checked [$out] = $params->document->replaceXMLEntities($found ['tag-orig']);
1006 $checked [$out] = $params->document->replaceXMLEntities($found ['tag-orig']);
1015 $params->document->paragraphClose();
1018 $params->document->paragraphClose();
1019 $params->document->paragraphOpen($p_style);
1049 $params->content .= $content;
1059 $params->document->paragraphClose();
1065 $params->htmlStack->removeCurrent();
1070 $params->import->setMedia ($media);