Libreoffice Impress Macro: Insert images and captions with animations

Job ID: 31148780

Budget: €8 – €30 EUR

I need someone to write the code for a macro in Libreoffice Impress 7.1.5.2 that does the following:

1) Ask how many images will you want to insert in the slide?
2) Ask for a sound in a folder
3) For as many images said, do:
3.1) Ask for a caption.
3.2) Insert a textbox below the previous one (if it's not the first one) with that caption on the slide with these format settings:
3.2.1) Calibri font 18pt color #2F4F4F
And this animation settings:
3.2.2) Entrance
3.2.3) Fade in and Zoom
3.2.4) Start with previous
3.2.5) Duration 0,50 sec
3.2.6) Delay 0,0 sec
3.2.7) Sound: the one given in step 2
3.2.8) Text animation: All at once
3.2.9) Don't dim
3.2.10) Group text: all paragraphs at once
3.3) Ask for an image in a folder and do:
3.3.1) Insert that image below the previous one (if it's not the first one) on the slide with these animation
format settings:
3.3.1.1) 2cm x 2cm
And this animation settings:
3.3.1.2) Entrance
3.3.1.3) Fade in and Zoom
3.3.1.4) Start with previous
3.3.1.5) Duration 0,50 sec
3.3.1.6) Delay 0,0 sec
3.4) Insert an animation for the caption created on step 3.2 with these settings:
3.4.1) Exit
3.4.2) Disappear
3.4.3) Start on click
3.4.4) Delay 0,0 sec


Code must be precisely commented.