post_process_powerpoint
Optimize PowerPoint text boxes by enabling text wrapping and auto-fitting for content exceeding a specified length threshold. Simplify slide formatting with automated post-processing.
Instructions
Apply post-processing to a PowerPoint presentation to optimize text boxes.
This function enables text wrapping and shrink text on overflow for text boxes that contain text longer than the specified threshold.
Args: input_file: Path to the input PowerPoint file (.pptx) output_file: Path to save the processed file (optional, auto-generated if not provided) text_threshold: Text length threshold for enabling auto-fit (overrides .env setting) enable_autofit: Enable text auto-fitting (default: True)
Returns: Success message with post-processing details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enable_autofit | No | ||
input_file | Yes | ||
output_file | No | ||
text_threshold | No |