Lines Matching refs:widths
12 function use_colspans(&$table, $widths, &$context, $width_fun, $minwc, $maxwc) { argument
28 $spanned_widths[] = $widths[$i];
59 array_splice($widths, $colspan->column, $colspan->size, $spanned_widths);
62 return $widths;
111 $widths = array();
115 $widths[$i] = $minwc[$i];
128 $sum_cw += $widths[$i];
166 $rest = $width - array_sum($widths);
177 if (!isset($widths[$j])) {
191 $widths[$i] = $current_max;
197 if (array_sum($widths) < EPSILON) {
198 for ($i=0; $i<count($widths); $i++) {
199 $widths[$i] = 0.01;
214 if (array_sum($widths) < $width) {
218 for ($i=0; $i<count($widths); $i++) {
219 if ($widths[$i] == 0) { $widths[$i] = EPSILON; };
234 $widths = expand_to_with_flags($width,
235 $widths,
240 $widths = expand_to($width, $widths);
243 $table->put_full_width(array_sum($widths));
246 ksort($widths, SORT_NUMERIC);
248 return $widths;