Lines Matching refs:params
65 * @param ODTInternalParams $params Commom params.
69 …public static function openTextBoxUseCSS (ODTInternalParams $params, $element=NULL, $attributes=NU… argument
70 $frame = $params->document->state->getCurrentFrame();
77 ODTUtility::openHTMLElement ($params, $properties, $element, $attributes);
78 $params->elementObj = $params->htmlStack->getCurrentElement();
80 self::openTextBoxUseProperties ($params, $properties);
93 * @param ODTInternalParams $params Commom params.
98 …public static function openTextBoxUseProperties (ODTInternalParams $params, $properties, $element=… argument
100 self::openFrameUseProperties ($params, $properties, $element, $attributes);
109 $params->document->state->enter($box);
112 $params->content .= $box->getOpeningTag($params);
118 * @param ODTInternalParams $params Commom params.
120 public static function closeTextBox (ODTInternalParams $params) { argument
122 $params->document->paragraphClose();
124 $params->document->closeCurrentElement();
126 self::closeFrame($params);
134 * @param ODTInternalParams $params Commom params.
139 …public static function openMultiColumnTextBoxUseProperties (ODTInternalParams $params, $properties… argument
146 $params->document->addAutomaticStyle($style_obj);
149 $width_abs = $params->document->getAbsWidthMindMargins (100);
152 $params->document->paragraphClose();
153 $params->document->paragraphOpen();
158 if (!isset($params->elementObj)) {
160 ODTUtility::openHTMLElement ($params, $properties, $element, $attributes);
168 $params->document->state->enter($frame);
172 $params->content .= $frame->getOpeningTag($params);
178 $params->document->state->enter($box);
181 $params->content .= $box->getOpeningTag($params);
187 * @param ODTInternalParams $params Commom params.
189 public static function closeMultiColumnTextBox (ODTInternalParams $params) { argument
191 $params->document->paragraphClose();
193 $params->document->closeCurrentElement();
195 ODTUtility::closeHTMLElement ($params, $params->document->state->getHTMLElement());
196 $params->document->closeCurrentElement();
198 $params->document->paragraphClose();
200 $params->document->div_z_index -= 5;
213 * @param ODTInternalParams $params Commom params.
218 …public static function openFrameUseProperties (ODTInternalParams $params, $properties, $element=NU… argument
219 $frame = $params->document->state->getCurrentFrame();
227 $elementObj = $params->elementObj;
230 $inParagraph = $params->document->state->getInParagraph();
232 $params->document->paragraphOpen();
247 $pic_link = $params->document->addFileAsPicture($picture);
248 …c_width, $pic_height) = ODTUtility::getImageSizeString($picture, NULL, NULL, true, $params->units);
255 $pic_positions [0] = $params->document->toPoints($pic_positions [0], 'x');
316 $params->document->addAutomaticStyle($style_obj);
322 ODTUtility::openHTMLElement ($params, $throwAway, $element, $attributes);
335 draw:z-index="'.($params->document->div_z_index + 0).'"';
350 $params->document->state->enter($frame);
354 $params->content .= $frame->getOpeningTag($params);
356 $params->document->div_z_index += 1;
362 * @param ODTInternalParams $params Commom params.
364 public static function closeFrame (ODTInternalParams $params) { argument
365 $frame = $params->document->state->getCurrentFrame();
372 $params->document->paragraphClose();
375 $frame->adjustWidth ($params);
378 $element = $params->document->state->getHTMLElement();
379 ODTUtility::closeHTMLElement ($params, $params->document->state->getHTMLElement());
380 $params->document->closeCurrentElement();
384 $params->document->div_z_index -= 1;