Beispiel #1
0
    def shadow(self):
        """|ShadowFormat| object providing access to shadow for this shape.

        A |ShadowFormat| object is always returned, even when no shadow is
        explicitly defined on this shape (i.e. it inherits its shadow
        behavior).
        """
        return ShadowFormat(self._element.spPr)
Beispiel #2
0
    def shadow(self):
        """|ShadowFormat| object representing shadow effect for this group.

        A |ShadowFormat| object is always returned, even when no shadow is
        explicitly defined on this group shape (i.e. when the group inherits
        its shadow behavior).
        """
        return ShadowFormat(self._element.grpSpPr)
 def inherit_set_fixture(self, request):
     cxml, value, expected_cxml = request.param
     shadow = ShadowFormat(element(cxml))
     expected_value = xml(expected_cxml)
     return shadow, value, expected_value
 def inherit_get_fixture(self, request):
     cxml, expected_value = request.param
     shadow = ShadowFormat(element(cxml))
     return shadow, expected_value