https://bz.apache.org/ooo/show_bug.cgi?id=128527
Issue ID: 128527
Issue Type: DEFECT
Summary: .getPresentation() unavailable in Impress if Draw is
opened first
Product: App Dev
Version: 4.1.12
Hardware: PC
OS: Windows, all
Status: CONFIRMED
Severity: Minor
Priority: P5 (lowest)
Component: api
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 87131
--> https://bz.apache.org/ooo/attachment.cgi?id=87131&action=edit
Impress file to test the issue
The problem was reported and analyzed on the English forum:
"Impress Macro Not Working After Opening Draw"
https://forum.openoffice.org/en/forum/viewtopic.php?t=108051
Steps to reproduce:*
1. Open the attached file.
2. Press the "Slide Show" button to start a slide show.
3. Finish the slide show.
4. Close the file and then quit OpenOffice.
5. Launch OpenOffice
6. Open new Draw document.
7. Open the attached file.
8. Press the "Slide Show" button.
Result: This time an error message is displayed:
"BASIC runtime error.
Property or method not found: getPresentation."
---------------------------
* The attached file "StartPres.odp" contains a macro:
Sub Main
oPres = ThisComponent.getPresentation()
oPres.Start()
End Sub
--
You are receiving this mail because:
You are the assignee for the issue.