Lines Matching refs:units

28     public $units = NULL;  variable in ODTInternalParams
68 protected $units = null; variable in ODTDocument
130 $this->units = new ODTUnits();
131 $this->units->setPixelPerEm(16);
132 $this->units->setTwipsPerPixelX(16);
133 $this->units->setTwipsPerPixelY(20);
161 $this->params->units = $this->units;
376 ODTUtility::adjustValuesForODT($properties, $this->units);
448 ODTUtility::adjustValuesForODT($properties, $this->units);
1556 return ODTUtility::getImageSizeString($src, $width, $height, false, $this->params->units);
1622 ODTUtility::getCSSStylePropertiesForODT($properties, $style, $baseURL, $this->units);
1841 $this->units->setTwipsPerPixelX ($value);
1850 $this->units->setTwipsPerPixelY ($value);
1859 $this->units->setPixelPerEm ($value);
1871 return $this->units->toPoints ($value, $axis);
1883 return $this->units->toPixel ($value, $axis);
2041 $this->importnew->getPropertiesForElement($dest, $element, $this->units, $inherit);
2045 ODTUtility::adjustValuesForODT($dest, $this->units, $maxWidth);
2051 ODTUtility::adjustValuesForODT($properties, $this->units);
2055 return ODTUtility::adjustValueForODT($property, $value, $this->units);
2207 $valueInPt = $this->units->toPoints($value, 'y');
2208 $valueInPt = $this->units->getDigits($valueInPt);
2209 $addInPt = $this->units->toPoints($add, 'y');
2210 $addInPt = $this->units->getDigits($addInPt);
2215 $valueInPt = $this->units->toPoints($value, 'y');
2216 $valueInPt = $this->units->getDigits($valueInPt);
2217 $subInPt = $this->units->toPoints($sub, 'y');
2218 $subInPt = $this->units->getDigits($subInPt);
2240 $oldBaseSizeInPt = trim($this->units->toPoints($oldBaseSize, 'y'), 'pt');
2243 $newBaseSizeInPt = trim($this->units->toPoints($newBaseSize, 'y'), 'pt');
2256 $fontSizeInPt = trim($this->units->toPoints($fontSize, 'y'), 'pt');