# UnifiedSlide Next Implementation Plan

This document captures the implementation direction after alpha21.

## 1. Control Framework Completion

- Move legacy `scripts/app.js` UI handlers behind CommandRegistry commands.
- Keep `UnifiedSlideControl` as the only Host-facing entry point.
- Expose `exec`, `on`, `off`, `getState`, `setOptions`, `resize`, and `refreshLayout` as stable Control APIs.

## 2. Google Slides-class UI

- Make Slide thumbnails fully product-ready with drag handles, context menu, and keyboard operations.
- Continue improving the Inspector with grouped Geometry, Style, Text, Image, and Table panels.
- Add object context menu integration with CommandRegistry.

## 3. Native Package and Security

- Harden `.usldx` package validation in SecurityPolicyService.
- Add package manifest guards, entry count limits, and size limits.
- Keep Native work file under Save / Save As only; Export remains output-only.

## 4. PPTX Import / Export

- Improve `UnifiedPptxWriter` from slide-as-image output to native OOXML text, shape, image, and table output.
- Continue PPTX Import Level 3 work: master, layout, chart, SmartArt metadata preservation.

## 5. Regression

- Expand regression-tests.html to cover File I/O callback requests, command execution, dirty state, and frame resize.
