MCPcopy Create free account
hub / github.com/Distrotech/reportlab / pack_slide

Method pack_slide

tools/pythonpoint/stdparser.py:422–436  ·  view source on GitHub ↗
(self, element, args)

Source from the content-addressed store, hash-verified

420
421
422 def pack_slide(self, element, args):
423 if self.fx:
424 effectName = self._arg(element,args,'effectname')
425 if effectName <> 'None':
426 curSlide = copy.deepcopy(self._curSlide)
427 if self._curFrame:
428 curFrame = copy.deepcopy(self._curFrame)
429 curSlide.frames.append(curFrame)
430 self._curPres.slides.append(curSlide)
431 self._curSlide.effectName = effectName
432 self._curSlide.effectDirection = self.ceval(element,args,'effectdirection')
433 self._curSlide.effectDimension = self._arg(element,args,'effectdimension')
434 self._curSlide.effectDuration = self.ceval(element,args,'effectduration')
435 self._curSlide.effectMotion = self._arg(element,args,'effectmotion')
436 self._curSlide.outlineEntry = None
437
438 def start_para(self, args):
439 self.pack_slide('para', args)

Callers 9

start_paraMethod · 0.95
start_imageMethod · 0.95
start_tableMethod · 0.95
start_rectangleMethod · 0.95
start_roundrectMethod · 0.95
start_lineMethod · 0.95
start_ellipseMethod · 0.95
start_polygonMethod · 0.95
start_stringMethod · 0.95

Calls 4

_argMethod · 0.95
cevalMethod · 0.95
deepcopyMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected