Lines Matching defs:value

290              * Delete default value (version=1.1 for instance)
297 if ($defaultValues[$name] == $attribute->value) {
308 foreach ($attributesNameToDelete as $value) {
310 if (in_array($value, ["style", "class", "id"]) && $this->getRequestedPreserveStyleOrDefault()) {
315 $nodes = $this->getXmlDocument()->xpath("//@$value");
1162 $value = $nodeElement->getAttribute("fill");
1163 if ($value !== "none") {
1168 $fillColors[$value] = $value;
1208 * or not because we set the color value to `currentColor`
1278 $value = $nodeElement->getAttribute("fill");
1279 if ($value !== "none") {
1313 $value = $nodeElement->getAttribute(FetcherSvg::STROKE_ATTRIBUTE);
1314 if ($value !== "none") {
1337 foreach ($extraAttributeAsArray as $name => $value) {
1338 $documentElement->setAttribute($name, $value);
1396 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1398 $lengthInt = ConditionalLength::createFromString($value)->toPixelNumber();
1400 LogUtility::error("The $svgAttribute value ($value) of the svg ($this) is not an integer", self::CANONICAL);
1410 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1412 $lengthFloat = DataType::toFloat($value);
1414 LogUtility::error("The $svgAttribute value ($value) of the svg ($this) is not a float", self::CANONICAL);
1420 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1422 $color = ColorRgb::createFromString($value);
1424 LogUtility::error("The $svgAttribute value ($value) of the svg ($this) is not an valid color", self::CANONICAL);
1430 $value = $tagAttributes->getValue($svgAttribute);
1431 $this->setRequestedType($value);
1434 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1435 if ($value === "style") {
1443 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1444 $this->setRequestedName($value);
1447 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1448 $this->setRequestedClass($value);
1451 $value = $tagAttributes->getValueAndRemove($svgAttribute);
1452 $this->setRequestedPreserveAspectRatio($value);
1574 public function setRequestedClass(string $value): FetcherSvg
1576 $this->requestedClass = $value;
1618 throw new ExceptionBadSyntax("The media height ($viewBoxHeight) of the svg image ($this) is not a valid integer value");
1632 throw new ExceptionBadSyntax("The media width ($height) of the svg image ($this) is not a valid integer value");
1653 throw new ExceptionBadSyntax("The media with ($viewBoxWidth) of the svg image ($this) is not a valid integer value");
1669 throw new ExceptionBadSyntax("The media width ($width) of the svg image ($this) is not a valid integer value");