/plugin/combo/ComboStrap/ |
H A D | Background.php | 49 public static function processBackgroundAttributes(TagAttributes &$tagAttributes) argument 55 if ($tagAttributes->hasComponentAttribute(self::BACKGROUNDS)) { 57 $backgrounds = $tagAttributes->getValueAndRemove(self::BACKGROUNDS); 88 $tagAttributes->addHtmlAfterEnterTag($backgroundHTML); 103 $tagAttributes->addHtmlAfterEnterTag($backgroundHTML); 112 if ($tagAttributes->hasComponentAttribute(self::BACKGROUND_IMAGE)) { 207 self::processPatternAttribute($tagAttributes); 212 if ($tagAttributes->hasComponentAttribute(self::BACKGROUND_COLOR)) { 272 * @param TagAttributes $tagAttributes 282 if ($tagAttributes->hasComponentAttribute(self::PATTERN_ATTRIBUTE)) { [all …]
|
H A D | Boldness.php | 18 * @param TagAttributes $tagAttributes 20 public static function processBoldnessAttribute(TagAttributes &$tagAttributes) argument 23 if ($tagAttributes->hasComponentAttribute(self::BOLDNESS_ATTRIBUTE)) { 24 $value = $tagAttributes->getValueAndRemove(self::BOLDNESS_ATTRIBUTE); 28 if ($tagAttributes->hasComponentAttribute($booleanAttribute)) { 29 $tagAttributes->removeComponentAttribute($booleanAttribute); 36 $tagAttributes->addClassName("fw-$value"); 39 $tagAttributes->addStyleDeclarationIfNotSet("font-weight", $value);
|
H A D | MediaLink.php | 173 $tagAttributes = TagAttributes::createEmpty(); 181 return self::createMediaLinkFromId($src, $tagAttributes); 388 * @param TagAttributes|null $tagAttributes 398 if ($tagAttributes == null) { 399 $tagAttributes = TagAttributes::createEmpty(); 401 if (!($tagAttributes instanceof TagAttributes)) { 413 * @param TagAttributes|null $tagAttributes 419 if ($tagAttributes === null) { 420 $tagAttributes = TagAttributes::createEmpty(); 454 $media = new ImageRaster($path, $tagAttributes); [all …]
|
H A D | FontSize.php | 33 * @param TagAttributes $tagAttributes 35 public static function processFontSizeAttribute(TagAttributes &$tagAttributes) argument 38 if ($tagAttributes->hasComponentAttribute(self::FONT_SIZE)) { 39 $value = $tagAttributes->getValueAndRemove(self::FONT_SIZE); 43 $tagAttributes->addClassName("fs-$headingValue"); 51 $tagAttributes->addClassName("fs-$headingValue"); 53 $tagAttributes->addStyleDeclarationIfNotSet("font-size", $value);
|
H A D | Tooltip.php | 19 public static function processTooltip(TagAttributes &$tagAttributes) argument 22 $tooltip = $tagAttributes->getValueAndRemove(self::TOOLTIP_ATTRIBUTE); 56 … $tagAttributes->addOutputAttributeValue("data{$dataAttributeNamespace}-html", "true"); 67 $tagAttributes->addOutputAttributeValue("title", $title); 73 $tagAttributes->addOutputAttributeValue("data{$dataAttributeNamespace}-toggle", "tooltip"); 82 … $tagAttributes->addOutputAttributeValue("data{$dataAttributeNamespace}-placement", "${position}"); 93 $logicalTag = $tagAttributes->getLogicalTag(); 95 $tagAttributes->addOutputAttributeValue("tabindex", "0");
|
H A D | Opacity.php | 19 * @param TagAttributes $tagAttributes 21 public static function processOpacityAttribute(TagAttributes &$tagAttributes){ argument 23 if ($tagAttributes->hasComponentAttribute(self::OPACITY_ATTRIBUTE)) { 24 $value = $tagAttributes->getValueAndRemove(self::OPACITY_ATTRIBUTE); 25 $tagAttributes->addStyleDeclarationIfNotSet("opacity",$value);
|
H A D | CacheMedia.php | 51 public function __construct(Path $path, TagAttributes $tagAttributes) argument 63 foreach ($tagAttributes->getComponentAttributes() as $name => $value) { 88 $cacheParameter = $tagAttributes->getValue(self::CACHE_KEY, self::CACHE_DEFAULT_VALUE); 114 public static function createFromPath(Path $path, $tagAttributes = null): CacheMedia argument 116 if ($tagAttributes == null) { 117 $tagAttributes = TagAttributes::createEmpty(); 119 return new CacheMedia($path, $tagAttributes);
|
H A D | Mermaid.php | 36 $tagAttributes = TagAttributes::createFromCallStackArray($callStackAttributes); 37 $tagAttributes->addClassName(Mermaid::CLASS_NAME); 38 return $tagAttributes->toHtmlEnterTag("div"); 94 $tagAttributes = TagAttributes::createFromTagMatch($match); 97 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray()
|
/plugin/combo/syntax/ |
H A D | heading.php | 280 * @param TagAttributes $tagAttributes 290 $type = $tagAttributes->getType(); 319 $tagAttributes->addClassName($displayClass); 329 $tagAttributes->addClassName($type); 337 $tagAttributes->addClassName("card-title"); 353 $tagAttributes->addClassName("d-print-none"); 372 $tagAttributes->addComponentAttributeValue($key, $value); 381 $renderer->doc .= $tagAttributes->toHtmlEnterTag("h$level"); 386 * @param TagAttributes $tagAttributes 491 $type = $tagAttributes->getType(); [all …]
|
H A D | button.php | 326 * @param TagAttributes $tagAttributes 332 $tagAttributes->addClassName($btn); 334 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY, "primary"); 339 $tagAttributes->addClassName("$btn-$type"); 345 $tagAttributes->addClassName("$btn-$type"); 350 $tagAttributes->addClassName("$btn-outline-$type"); 355 $tagAttributes->addClassName("$btn-link"); 363 if ($tagAttributes->hasComponentAttribute($sizeAttribute)) { 364 $size = $tagAttributes->getValueAndRemove($sizeAttribute); 368 $tagAttributes->addClassName("btn-lg"); [all …]
|
H A D | badge.php | 127 $tagAttributes->addClassName("badge"); 128 $type = $tagAttributes->getType(); 157 $backgroundColor = $tagAttributes->getValue(ColorRgb::BACKGROUND_COLOR); 174 if (!$tagAttributes->hasComponentAttribute(ColorRgb::BORDER_COLOR)) { 178 if (!$tagAttributes->hasComponentAttribute(ColorRgb::COLOR)) { 193 $tagAttributes->addClassName("alert-" . $type); 196 $rounded = $tagAttributes->getValueAndRemove(self::ATTRIBUTE_ROUNDED); 203 $tagAttributes->addClassName($badgePillClass); 208 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray() 252 $tagAttributes->addStyleDeclarationIfNotSet("white-space", "normal"); [all …]
|
H A D | inote.php | 143 $tagAttributes = TagAttributes::createFromCallStackArray($attributes); 144 $tagAttributes->addClassName("badge"); 147 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY); 165 $tagAttributes->addClassName("alert-" . $type); 167 $tagAttributes->addClassName("badge-" . $type); 170 if (!$tagAttributes->hasComponentAttribute("background-color")) { 171 … $tagAttributes->addStyleDeclarationIfNotSet("background-color", "#fff79f"); // lum - 195 172 $tagAttributes->addClassName("text-dark"); 175 $rounded = $tagAttributes->getValueAndRemove(self::ATTRIBUTE_ROUNDED); 177 $tagAttributes->addClassName("badge-pill"); [all …]
|
H A D | blockquote.php | 170 $tagAttributes = PluginUtility::getTagAttributes($match); 171 $tagAttributes = PluginUtility::mergeAttributes($tagAttributes, $defaultAttributes); 191 PluginUtility::ATTRIBUTES => $tagAttributes, 395 $type = $tagAttributes->getType(); 399 $tagAttributes->addClassName("blockquote"); 405 $tagAttributes->addClassName("mb-0"); 416 $tagAttributes->addClassName("twitter-tweet"); 426 $renderer->doc .= $tagAttributes->toHtmlEnterTag("blockquote"); 442 $tagAttributes->addClassName("card"); 443 $renderer->doc .= $tagAttributes->toHtmlEnterTag("div") . DOKU_LF; [all …]
|
H A D | icon.php | 158 … $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knownTypes); 174 $requestedColor = $tagAttributes->getValue(ColorRgb::COLOR); 194 $tagAttributes->setComponentAttributeValue(ColorRgb::COLOR, $color); 199 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(), 242 $renderer->doc .= $this->printIcon($tagAttributes); 262 $renderer->doc .= $this->printIcon($tagAttributes); 304 * @param TagAttributes $tagAttributes 307 private function printIcon(TagAttributes $tagAttributes): string argument 310 $name = $tagAttributes->getValue("name"); 314 return Icon::create($name, $tagAttributes) [all …]
|
H A D | pageexplorernamespace.php | 180 … $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 181 $wikiId = $tagAttributes->getValueAndRemoveIfPresent(TagAttributes::WIKI_ID); 182 $tagAttributes->addOutputAttributeValue("data-wiki-id", $wikiId); 183 $targetId = $tagAttributes->getValueAndRemoveIfPresent(self::TARGET_ID_ATT); 184 $tagAttributes->addOutputAttributeValue("data-bs-target", "#$targetId"); 185 $tagAttributes->addOutputAttributeValue("data-bs-toggle", "collapse"); 186 $tagAttributes->addOutputAttributeValue("aria-expanded", "false"); 187 $tagAttributes->addClassName("btn btn-toggle-combo align-items-center rounded"); 188 $renderer->doc .= $tagAttributes->toHtmlEnterTag("button");
|
H A D | brand.php | 50 $linkArrayAttributes = $tagAttributes->toCallStackArray(); 51 $linkArrayAttributes[TagAttributes::TYPE_KEY] = $tagAttributes->getLogicalTag(); 63 $url = $tagAttributes->getValueAndRemoveIfPresent($urlAttribute); 75 $tagAttributes->addOutputAttributeValue("href", $url); 77 $tagAttributes->mergeWithCallStackArray($brandLinkAttributes->toCallStackArray()); 230 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(), 327 $brandName = $tagAttributes->getType(); 329 $brandButton = self::createButtonFromAttributes($tagAttributes); 345 $tagAttributes->addOutputAttributeValue("accesskey", "h"); 346 $tagAttributes->addClassName("navbar-brand"); [all …]
|
H A D | pageimage.php | 94 $tagAttributes = TagAttributes::createFromTagMatch($match); 105 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(), 131 … $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 134 $path = $tagAttributes->getValueAndRemove(PagePath::PROPERTY_NAME); 150 if ($tagAttributes->hasComponentAttribute(Dimension::RATIO_ATTRIBUTE)) { 151 $stringRatio = $tagAttributes->getValue(Dimension::RATIO_ATTRIBUTE); 184 $default = $tagAttributes->getValue(self::DEFAULT_ATTRIBUTE); 225 $tagAttributes->addStyleDeclarationIfNotSet("max-width", "100%"); 226 $tagAttributes->addStyleDeclarationIfNotSet("max-height", "unset"); 233 …$tagAttributes->setComponentAttributeValue(TagAttributes::TYPE_KEY, SvgDocument::ILLUSTRATION_TYPE… [all …]
|
H A D | link.php | 408 $href = $tagAttributes->getValue(self::ATTRIBUTE_HREF); 445 $tagAttributes->addOutputAttributeValue("role", "button"); 449 $tagAttributes->addClassName("dropdown-item"); 452 $tagAttributes->addClassName("navbar-link"); 456 $tagAttributes->addClassName("nav-link"); 523 $href = $tagAttributes->getValue(self::ATTRIBUTE_HREF); 526 $name = $tagAttributes->getValue(self::ATTRIBUTE_LABEL); 578 $refSource = $tagAttributes->getValue(self::ATTRIBUTE_HREF_TYPE); 585 $ref = $tagAttributes->getValue(self::ATTRIBUTE_HREF); 701 * @param TagAttributes $tagAttributes [all …]
|
H A D | carrousel.php | 55 private static function isCarrousel($data, TagAttributes $tagAttributes): bool argument 58 $elementWidth = $tagAttributes->getValue(self::ELEMENT_WIDTH_ATTRIBUTE); 60 … $elementsMin = $tagAttributes->getValue(self::ELEMENTS_MIN_ATTRIBUTE, self::ELEMENTS_MIN_DEFAULT); 180 $tagAttributes = TagAttributes::createFromTagMatch($match); 189 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray(), 270 $slideMinimalWidth = $tagAttributes->getValue(self::ELEMENT_WIDTH_ATTRIBUTE); 284 $isCarrousel = self::isCarrousel($data, $tagAttributes); 334 … $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 335 $isCarrousel = self::isCarrousel($data, $tagAttributes); 350 $control = $tagAttributes->getValue(self::CONTROL_ATTRIBUTE); [all …]
|
H A D | header.php | 67 $tagAttributes = PluginUtility::getTagAttributes($match); 68 $tag = new Tag(HeaderUtility::HEADER, $tagAttributes, $state, $handler); 76 PluginUtility::ATTRIBUTES => $tagAttributes, 121 … $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 122 $tagAttributes->addClassName("card-header"); 123 $renderer->doc .= $tagAttributes->toHtmlEnterTag("div");
|
H A D | backgrounds.php | 102 $tagAttributes = TagAttributes::createFromTagMatch($match); 105 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray() 150 … $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]); 151 $tagAttributes->addClassName(self::TAG); 152 $renderer->doc .= $tagAttributes->toHtmlEnterTag("div");
|
H A D | para.php | 195 $tagAttributes = TagAttributes::createFromCallStackArray($attributes); 196 if ($tagAttributes->hasComponentAttribute(TagAttributes::TYPE_KEY)) { 197 $class = $tagAttributes->getType(); 198 $tagAttributes->addClassName($class); 200 $renderer->doc .= $tagAttributes->toHtmlEnterTag("p"); 204 $tagAttributes = TagAttributes::createFromCallStackArray($attributes); 205 $renderer->doc .= $tagAttributes->toHtmlEnterTag("p");
|
H A D | label.php | 88 $tagAttributes = PluginUtility::getTagAttributes($match); 90 $tag = new Tag(self::TAG, $tagAttributes, $state, $handler); 100 $tagAttributes["id"] = $id; 101 $tagAttributes[self::HEADING_ID] = "heading" . ucfirst($id); 102 $tagAttributes[self::TARGET_ID] = "collapse" . ucfirst($id); 106 $tagAttributes[self::COLLAPSED] = "true"; 108 … $tagAttributes[self::COLLAPSED] = $parentAttribute[self::COLLAPSED]; 114 $tagAttributes = $parentTag->getAttributes(); 131 PluginUtility::ATTRIBUTES => $tagAttributes,
|
/plugin/combo/action/ |
H A D | svg.php | 63 $tagAttributes = TagAttributes::createEmpty(ImageSvg::CANONICAL); 66 $tagAttributes->addComponentAttributeValue(Dimension::WIDTH_KEY, $width); 70 $tagAttributes->addComponentAttributeValue(Dimension::HEIGHT_KEY, $height); 72 $tagAttributes->addComponentAttributeValue(CacheMedia::CACHE_KEY, $event->data['cache']); 76 $tagAttributes->setMime($mime); 103 $tagAttributes->addComponentAttributeValue($name, $value); 119 $svgImage = new ImageSvg($dokuPath, $tagAttributes);
|
/plugin/html2pdf/html2pdf/html2ps/classes/org/active-link/xml/ |
H A D | Tag.php | 44 var $tagAttributes; variable in Tag 72 $this->tagAttributes = array(); 91 return array_key_exists($attrName, $this->tagAttributes); 101 return $this->tagAttributes[$attrName]; 150 foreach($this->tagAttributes as $attrName => $attrValue) { 179 $this->tagAttributes = array(); 188 unset($this->tagAttributes[$attrName]); 210 $this->tagAttributes[$attrName] = $attrValue; 257 $tagAttributes = array(); 325 $tagAttributes[$attributeName] = $attributeValue; [all …]
|