Lines Matching refs:value

36     protected $value;  variable in css_declaration
42 * @param string $value The assigned value
44 public function __construct($property, $value) { argument
46 $this->value = trim($value, ';');
64 return $this->value;
153 $values = preg_split ('/\s+/', $this->value);
157 $value = $values [$index];
158 if ($value [0] == '#' || csscolors::isKnownColorName($value)) {
159 $decls [] = new css_declaration ('background-color', $value);
162 switch ($value) {
166 $decls [] = new css_declaration ('background-color', $value);
196 $values = preg_split ('/\s+/', $this->value);
204 foreach ($values as $value) {
207 switch ($value) {
213 $decls [] = new css_declaration ('font-style', $value);
229 switch ($value) {
234 $decls [] = new css_declaration ('font-variant', $value);
250 switch ($value) {
266 $decls [] = new css_declaration ('font-weight', $value);
282 $params = explode ('/', $value);
300 if ( strpos ($value, $css_unit) !== false ) {
330 $font_family = $value;
332 $font_family .= ' '.$value;
346 $values = preg_split ('/\s+/', $this->value);
381 $values = preg_split ('/\s+/', $this->value);
417 $values = preg_split ('/\s+/', $this->value);
499 $values = preg_split ('/\s+/', $this->value);
504 foreach ($values as $value) {
507 switch ($value) {
531 $decls [] = new css_declaration ('list-style-type', $value);
545 switch ($value) {
550 $decls [] = new css_declaration ('list-style-position', $value);
563 $decls [] = new css_declaration ('list-style-image', $value);
578 $values = preg_split ('/\s+/', $this->value);
596 $values = preg_split ('/\s+/', $this->value);
617 $values = preg_split ('/\s+/', $this->value);
622 foreach ($values as $value) {
624 $decls [] = new css_declaration ('outline-color', $value);
630 switch ($value) {
643 $decls [] = new css_declaration ('outline-style', $value);
657 switch ($value) {
663 $decls [] = new css_declaration ('outline-width', $value);
668 if ( strpos ($value, $css_unit) !== false ) {
669 $decls [] = new css_declaration ('outline-width', $value);
694 $values = preg_split ('/\s+/', $this->value);
727 $values = preg_split ('/\s+/', $this->value);
732 foreach ($values as $value) {
735 switch ($value) {
741 $decls [] = new css_declaration ('border-bottom-width', $value);
746 if ( strpos ($value, $css_unit) !== false ) {
747 $decls [] = new css_declaration ('border-bottom-width', $value);
765 switch ($value) {
778 $decls [] = new css_declaration ('border-bottom-style', $value);
791 $decls [] = new css_declaration ('border-bottom-color', $value);
804 $values = preg_split ('/\s+/', $this->value);
824 $values = preg_split ('/\s+/', $this->value);
846 $this->value =
847 …call_user_func($callback, $this->property, $this->value, CSSValueType::StrokeOrBorderWidth, $rule);
856 $this->value =
857 … call_user_func($callback, $this->property, $this->value, CSSValueType::LengthValueXAxis, $rule);
867 $this->value =
868 … call_user_func($callback, $this->property, $this->value, CSSValueType::LengthValueYAxis, $rule);
895 $values = preg_split ('/\s+/', $this->value);
900 $this->value = $width . ' ' . $values [1] . ' ' . $values [2];
909 if (strncmp($this->value, 'url(', 4) == 0) {
910 $url = substr($this->value, 4, -1);
911 $this->value = call_user_func($callback, $this->property, $this->value, $url);
957 $value = substr ($decls, $colon + 1, $semi - ($colon + 1));
958 $value = trim ($value);
959 $values = preg_split ('/\s+/', $value);
960 $value = '';
963 $value .= ' '.$part;
966 $value = trim($value);
969 $declaration = new css_declaration ($property, $value);
1069 $value = $declaration->getValue ();
1070 $values [$property] = $value;
1328 $value = substr ($defs, $quote_start + 1, $quote_end - ($quote_start + 1));
1330 $value = trim($value);
1332 $this->replacements [$replacement] = $value;
1367 $value = NULL;
1373 $value = $current;
1378 return $value;
1391 $value = $this->getPropertyForElement (NULL, $classString, $name);
1392 return $value;
1419 public function adjustValueForODT ($value, $emValue = 0) { argument
1424 $values = preg_split ('/\s+/', $value);
1425 $value = '';
1461 $value .= ' '.$part;
1463 $value = trim($value);
1465 return $value;