**Analyze PPTX Template:** Decompress the PPTX file and parse the XML structure to extract styles, layouts, and background information.
**Extract Content:** Process the provided DOCX or other document formats to extract text, images, and data.
**Structure Content:** Organize the extracted content into a structured format suitable for presentation.
**Map Content to Slides:** Determine which content should go on which slide, based on the template's layout and the content's structure.
**Generate Slides:** Use pptxgenjs to create slides and populate them with content, applying the template's styles.
**Create Charts:** Generate data visualizations (charts) using the extracted data and insert them into the appropriate slides.
**Output PPTX:** Save the generated presentation as a PPTX file.