MCPcopy Create free account
hub / github.com/scanny/python-pptx / hyperlink

Method hyperlink

src/pptx/text/text.py:654–662  ·  view source on GitHub ↗

Proxy for any `a:hlinkClick` element under the run properties element. Created on demand, the hyperlink object is available whether an `a:hlinkClick` element is present or not, and creates or deletes that element as appropriate in response to actions on its methods and attri

(self)

Source from the content-addressed store, hash-verified

652
653 @lazyproperty
654 def hyperlink(self) -> _Hyperlink:
655 """Proxy for any `a:hlinkClick` element under the run properties element.
656
657 Created on demand, the hyperlink object is available whether an `a:hlinkClick` element is
658 present or not, and creates or deletes that element as appropriate in response to actions
659 on its methods and attributes.
660 """
661 rPr = self._r.get_or_add_rPr()
662 return _Hyperlink(rPr, self)
663
664 @property
665 def text(self):

Callers

nothing calls this directly

Calls 1

_HyperlinkClass · 0.85

Tested by

no test coverage detected