all shapes with text frames (also inside grouped shapes) chart categories table cells while preserving the original character's formatting. The script is work in progress! There might still be quirks ...
Need to use pptx python library to use these scripts. Import Presentation from pptx Import Inches, Pt, Cm from pptx.util Change the Margins and Frame Locations as per your need.