--- Comment #3 from Eric M <majzo...@umsl.edu> ---
Here is a macro that forces LO to redraw the slide thumbnails. This is poorly
written, and simply loops through the slides and will copy, paste, and delete
each one. I don't what call I need to just force a redraw of the thumbnail, but
this works. For some reason this only works if you are in the 'slide sorter'
REM ***** BASIC *****
REM * You must be in 'slide sorter' view for this to work!!
msg = "Starting refresh..."
oDoc = ThisComponent
oSlideList = oDoc.getDrawPages()
REM loop through all slides and copy, paste, delete each one
For i = 0 to oDoc.getDrawPages().Count-1
oSlide = oSlideList.getByIndex(i)
REM msg = msg & "get slide : " & i
oController = oDoc.CurrentController
REM oCurrentPage = oController.CurrentPage
oDispatch = createUnoService( "com.sun.star.frame.DispatchHelper")
oProvider = oController.Frame
oDispatch.executeDispatch(oProvider, ".uno:Copy","", 0, Array())
oDispatch.executeDispatch(oProvider, ".uno:Paste", "", 0, Array())
oDispatch.executeDispatch(oProvider, ".uno:Delete","", 0, Array())
REM msgbox msg
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list