DreamStruct: Understanding Slides and User Interfaces via Synthetic Data Generation