User:Blue.painting/Staging area/Macros/Impress/001

Description
This macro will insert a ''' com.sun.star. drawing.RectangleShape' to the currently selected slide in an Impress'' document, with various custom presets as specified in the code.

Code
In LibreOffice Basic:

ODP file to test macro

 * [[Media:Example macro to insert RectangleShape in slide.odp|Download ODP file with this macro included]]