openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #00455
[Merge] lp:~j-corwin/openlp/presentations into lp:openlp
Jonathan Corwin has proposed merging lp:~j-corwin/openlp/presentations into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Fix output display position/size for powerpoint
--
https://code.launchpad.net/~j-corwin/openlp/presentations/+merge/12498
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/plugins/presentations/lib/powerpointcontroller.py'
--- openlp/plugins/presentations/lib/powerpointcontroller.py 2009-09-27 12:44:11 +0000
+++ openlp/plugins/presentations/lib/powerpointcontroller.py 2009-09-27 21:55:18 +0000
@@ -150,10 +150,10 @@
self.presentation.SlideShowSettings.Run()
rendermanager = self.plugin.render_manager
rect = rendermanager.screen_list[rendermanager.current_display][u'size']
- self.presentation.SlideShowWindow.Top = rect.y() / 20
- self.presentation.SlideShowWindow.Height = rect.height() / 20
- self.presentation.SlideShowWindow.Left = rect.x() / 20
- self.presentation.SlideShowWindow.Width = rect.width() / 20
+ self.presentation.SlideShowWindow.Top = rect.y()
+ self.presentation.SlideShowWindow.Height = rect.height()
+ self.presentation.SlideShowWindow.Left = rect.x()
+ self.presentation.SlideShowWindow.Width = rect.width()
def get_slide_number(self):
"""
@@ -168,10 +168,19 @@
return self.presentation.Slides.Count
def goto_slide(self, slideno):
+ """
+ Moves to a specific slide in the presentation
+ """
self.presentation.SlideShowWindow.View.GotoSlide(slideno)
def next_step(self):
+ """
+ Triggers the next effect of slide on the running presentation
+ """
self.presentation.SlideShowWindow.View.Next()
def previous_step(self):
+ """
+ Triggers the previous slide on the running presentation
+ """
self.presentation.SlideShowWindow.View.Previous()
Follow ups