Issue 128527 - .getPresentation() unavailable in Impress if Draw is opened first
Summary: .getPresentation() unavailable in Impress if Draw is opened first
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 4.1.12
Hardware: PC Windows, all
: P5 (lowest) Minor
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 06:34 UTC by Czesław Wolański
Modified: 2022-07-12 06:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Impress file to test the issue (11.37 KB, application/vnd.oasis.opendocument.presentation)
2022-07-12 06:34 UTC, Czesław Wolański
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Czesław Wolański 2022-07-12 06:34:47 UTC
Created attachment 87131 [details]
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