Lines Matching refs:align
100 private ?string $align = null;
248 $align = $mediaMarkup->getAlign();
250 $align = null;
314 return $renderer->internalmedia($src, $title, $align, $width, $height, $cache, $linking, true);
316 return $renderer->externalmedia($src, $title, $align, $width, $height, $cache, $linking, true);
461 $align = null;
464 $align = 'center';
466 $align = 'right';
468 $align = 'left';
470 if ($align !== null) {
471 $mediaMarkup->setAlign($align);
479 public function setAlign(string $align): MediaMarkup
481 $this->align = $align;
496 * Dokuwiki extracts already the width, height and align property
504 $align = $callAttributes[2];
513 ->setAlign($align)
540 $attributes[Align::ALIGN_ATTRIBUTE] = $this->align;
577 if ($this->align !== null) {
578 return $this->align;
580 throw new ExceptionNotFound("No align was specified");
589 * The align attribute on an image parse
594 $align = $this->getAlign();
595 if ($align === "right") {
598 $this->extraMediaTagAttributes->addComponentAttributeValue(Align::ALIGN_ATTRIBUTE, $align);
729 $align = $tagAttributes->getValueAndRemoveIfPresent(Align::ALIGN_ATTRIBUTE);
730 if ($align !== null) {
731 $this->setAlign($align);
829 $this->align = $fetchUrl->getQueryPropertyValueAndRemoveIfPresent(Align::ALIGN_ATTRIBUTE);