CI / build (push) Canceled after 0s
Phase 3: - Declare PowerPointApi 1.5 and replace template manifest values - Remove the dead command pipeline and the tracked Babel/polyfill setup - Extract constants, status/settings contexts, PowerPoint services, and an error boundary - Build with ES2020 and strict TypeScript; hash production assets and drop prod source maps - Add Vitest tests, CI, LICENSE, Node 20 pinning, and prune unused dependencies - Correct the README, user guide, developer guide, and audit notes Phase 4: - Add a persisted 16:9/4:3 slide size setting used by all layout tools - Add dark mode with Office/system theme detection - Make sections collapsible and move to accessible Fluent controls - Announce status through aria-live and add semantic status icons - Add a progress counter with cooperative cancellation and a Stop button - Update the tracked dependency tree for the pruned packages
232 lines
8.1 KiB
Markdown
232 lines
8.1 KiB
Markdown
# Edison PowerPoint Add-in User Guide
|
||
|
||
This guide will help you use the Edison PowerPoint Add-in to create professional presentations quickly and efficiently.
|
||
|
||

|
||
|
||
## Getting Started
|
||
|
||
### Installation
|
||
|
||
1. If Edison is not already installed, download it from the [releases page](https://gitea.h3132.de/Edison/powerpoint-toolbox/releases) or follow the installation instructions provided by your organization.
|
||
2. Open PowerPoint and navigate to the "Home" tab in the ribbon.
|
||
3. Click the "Edison Pane" button to open the add-in task pane.
|
||
|
||
### Interface Overview
|
||
|
||
The Edison task pane is organized into collapsible sections:
|
||
|
||
- **Content** - Tools for manipulating content and shapes
|
||
- **Progress Bar** - Add/remove presentation progress indicators
|
||
- **Confidential Marking** - Add/remove confidential labels
|
||
- **Draft Watermark** - Add/remove draft watermarks
|
||
- **Alignment** - Tools for aligning shapes and objects
|
||
- **Layout** - Grids and guidelines for the current slide
|
||
- **Settings** - Slide size and other per-presentation preferences
|
||
|
||
## Content Tools
|
||
|
||
### Match Properties
|
||
|
||
Copies visual properties from the first shape in the selection to all other selected shapes.
|
||
|
||
**How to use:**
|
||
1. Select multiple shapes.
|
||
2. Click the "Match Properties" button.
|
||
3. All selected shapes receive the source shape's supported formatting.
|
||
|
||
**Properties matched include:**
|
||
- Fill color and transparency
|
||
- Line style, color, and weight
|
||
- Text formatting (name, size, bold, italic, underline, color) when the source has text
|
||
|
||
**Note:** The source is the first shape in PowerPoint's selection/z-order, which is not guaranteed to be the shape you clicked first.
|
||
|
||
### Match Sizes
|
||
|
||
Resizes all selected shapes to match the width and height of the first shape in the selection.
|
||
|
||
**How to use:**
|
||
1. Select multiple shapes.
|
||
2. Click the "Match Sizes" button.
|
||
3. All selected shapes are resized to match the source shape.
|
||
|
||
**Note:** The same selection-order caveat as Match Properties applies.
|
||
|
||
### Swap Positions
|
||
|
||
Exchanges the positions of exactly two selected shapes while maintaining their size and formatting.
|
||
|
||
**How to use:**
|
||
1. Select exactly two shapes.
|
||
2. Click the "Swap Positions" button.
|
||
3. The shapes exchange their top-left positions.
|
||
|
||
### Insert Titles
|
||
|
||
Collects the titles from every slide and inserts them into a selected text box, creating an agenda or table of contents.
|
||
|
||
**How to use:**
|
||
1. Select the text box that should receive the agenda.
|
||
2. Choose a title detection method:
|
||
- **Auto-detect titles** (shape name, then position and formatting heuristics)
|
||
- **Title shapes by name**
|
||
- **Position-based detection**
|
||
- **First text on slide**
|
||
3. Choose whether to include slide numbers.
|
||
4. Click "Insert Titles" and confirm.
|
||
|
||
**Note:** The operation replaces all text in the selected text box. Selecting a picture or other shape that cannot hold text produces a warning instead.
|
||
|
||
### Round Image
|
||
|
||
Creates an elliptical mask over an image.
|
||
|
||
**How to use:**
|
||
1. Select an image.
|
||
2. Click the "Round Image" button.
|
||
3. An ellipse is created above the image and both shapes are selected.
|
||
4. In PowerPoint choose **Shape Format → Merge Shapes → Intersect** to finish the crop.
|
||
|
||
## Slide Enhancement Tools
|
||
|
||
### Progress Bar
|
||
|
||
Adds or removes a visual progress indicator at the bottom of every slide showing the current position in the presentation.
|
||
|
||
**How to use:**
|
||
1. Click "Add" to add a progress indicator to every slide.
|
||
2. Click "Remove" (and confirm) to remove all progress indicators.
|
||
|
||
**Notes:**
|
||
- Each slide contains two shapes (a pending bar and the completed portion).
|
||
- Adding again replaces existing bars instead of duplicating them.
|
||
- If you add or remove slides later, run **Add** again to rebuild the bars.
|
||
|
||
### Confidential Marking
|
||
|
||
Adds or removes a "– Confidential –" label on every slide.
|
||
|
||
**How to use:**
|
||
1. Click "Add" to add the label to every slide.
|
||
2. Click "Remove" (and confirm) to remove all labels.
|
||
|
||
**Note:** The label is a full-width text box centered at the bottom of each slide.
|
||
|
||
### Draft Watermark
|
||
|
||
Adds or removes a "DRAFT" watermark on slide masters to mark in-progress presentations.
|
||
|
||
**How to use:**
|
||
1. Click "Add" to add a watermark to every slide master.
|
||
2. Click "Remove" (and confirm) to remove the watermarks.
|
||
|
||
**Note:** Because the watermark is added to slide masters, it affects all slides that use those masters.
|
||
|
||
## Alignment Tools
|
||
|
||
These tools align selected objects to the slide edges or center.
|
||
|
||
### Horizontal Alignment
|
||
|
||
- **Left** - Aligns all shapes to the left edge of the slide
|
||
- **Center** - Centers all shapes horizontally on the slide
|
||
- **Right** - Aligns all shapes to the right edge of the slide
|
||
|
||
### Vertical Alignment
|
||
|
||
- **Top** - Aligns all shapes to the top edge of the slide
|
||
- **Middle** - Centers all shapes vertically on the slide
|
||
- **Bottom** - Aligns all shapes to the bottom edge of the slide
|
||
|
||
**Note:** Alignment uses the slide size selected in **Settings**.
|
||
|
||
## Grid & Guidelines Tools
|
||
|
||
These tools help you position elements precisely on the current slide.
|
||
|
||
### Custom Grid
|
||
|
||
Creates a grid on the current slide.
|
||
|
||
**How to use:**
|
||
1. Navigate to the slide where you want the grid.
|
||
2. Configure:
|
||
- **Spacing** - Distance between grid lines in points (minimum 4 pt)
|
||
- **Opacity** - Grid visibility from 0 to 100
|
||
- **Color** - Blue, red, yellow, or green
|
||
3. Click "Add" to create the grid, or "Remove" to delete it.
|
||
|
||
**Warning:** The grid consists of ordinary slide shapes. It **is included in slideshow, print, and export output**. Remove it before presenting.
|
||
|
||
### Guidelines
|
||
|
||
Adds horizontal or vertical guidelines at specific positions.
|
||
|
||
**How to use:**
|
||
1. Navigate to the slide where you want guidelines.
|
||
2. Set the **Position** (points from the top or left), **Type**, and **Color**.
|
||
3. Click "Add" to add a guideline.
|
||
4. Click "Remove" to clear all guidelines on the slide.
|
||
|
||
**Tip:** Use different colors for different types of guidelines (for example blue for margins and red for key alignment points). Guidelines are also ordinary shapes and appear in output.
|
||
|
||
## Settings
|
||
|
||
### Slide Size
|
||
|
||
Choose **Widescreen (16:9)** or **Standard (4:3)**. The selection is stored with the presentation and used by alignment, grid, progress bar, title detection, and marking tools.
|
||
|
||
## Tips and Best Practices
|
||
|
||
### Selection Order
|
||
|
||
For Match Properties and Match Sizes, the source is the first shape in PowerPoint's selection/z-order, which may not match the order in which you clicked. Check the result and use Ctrl+Z if needed.
|
||
|
||
### Keyboard Shortcuts for Selection
|
||
|
||
- **Ctrl+Click** (Windows) or **Cmd+Click** (Mac) to select multiple objects
|
||
- **Shift+Click** to select a range of objects
|
||
- **Ctrl+A** (Windows) or **Cmd+A** (Mac) to select all objects on a slide
|
||
|
||
### Long Operations
|
||
|
||
A progress counter appears for larger presentations. Click **Stop** to cancel cooperatively; already queued PowerPoint changes may still be applied.
|
||
|
||
### Destructive Actions
|
||
|
||
Removals and Insert Titles ask for confirmation. PowerPoint's own undo command can reverse the changes.
|
||
|
||
## Troubleshooting
|
||
|
||
### Common Issues
|
||
|
||
**The add-in shows an error message:**
|
||
- Ensure you selected the appropriate objects for the tool.
|
||
- Verify the presentation uses a supported PowerPoint version (PowerPoint API 1.5).
|
||
|
||
**Changes aren't appearing:**
|
||
- Wait for the success or warning message before continuing.
|
||
- For slide master features such as the Draft Watermark, switch to Normal view to see the result.
|
||
|
||
**The add-in is slow or unresponsive:**
|
||
- Large presentations take longer; use **Stop** to cancel a batch operation.
|
||
- Wait for the current operation to finish before starting another.
|
||
|
||
### Getting Help
|
||
|
||
Report issues at <https://gitea.h3132.de/Edison/powerpoint-toolbox/issues>.
|
||
|
||
## Version Information
|
||
|
||
This user guide is for Edison PowerPoint Add-in v1.2.0.
|
||
|
||
### What's New in v1.2.0
|
||
|
||
- Batched operations and a progress counter with cooperative cancellation
|
||
- Confirmation dialogs for destructive actions and Insert Titles
|
||
- Slide size setting (16:9 / 4:3) stored with the presentation
|
||
- Automatic light/dark theme following the Office/system theme
|
||
- Collapsible sections, accessible Fluent controls, and screen-reader status announcements
|
||
- Unit tests and continuous integration
|