> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Types: OfficeJS

Option, result and value types that OfficeJS names, A to Z.

## `ApplyTemplateOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `slideIds?` | `string[]` | The slides that take the design; all of them when absent. |

## `ArrowheadLength`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ArrowheadLength = "Short" | "Medium" | "Long"
```

## `ArrowheadStyle`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type ArrowheadStyle = "None" | "Triangle" | "Stealth" | "Diamond" | "Oval" | "Open"
```

## `ArrowheadWidth`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ArrowheadWidth = "Narrow" | "Medium" | "Wide"
```

## `BaselineAlignment`

Extension (VBA `MsoBaselineAlignment` without its `msoBaselineAlign` prefix) → `a:pPr@fontAlgn`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type BaselineAlignment = "Auto" | "Baseline" | "Top" | "Center" | "FarEast50"
```

## `BgHost`

The part + kind whose background a handle edits.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `kind` | `PartKind` | |
| `part` | `string` | |
| `session` | `PptxSession` | |

## `BorderPreset`

The Borders menu Excel, Word and PowerPoint share: each entry names edges of the selected block.

Not exported by name. You get it from the API.

```ts theme={null}
type BorderPreset = "bottom" | "top" | "left" | "right" | "none" | "all" | "outside" | "inside" | "insideH" | "insideV" | "thickOutside" | "bottomDouble" | "thickBottom" | "topBottom" | "topThickBottom" | "topDoubleBottom"
```

## `BorderProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `color?` | `string` | |
| `dashStyle?` | `ShapeLineDashStyle` | |
| `transparency?` | `number` | |
| `weight?` | `number` | |

## `BulletPPrs`

Not exported by name. You get it from the API.

```ts theme={null}
type BulletPPrs = (create: boolean) => (XElement | undefined)[]
```

## `BulletStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type BulletStyle = keyof typeof BULLET_STYLE | "Unsupported"
```

## `BulletType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type BulletType = "None" | "Numbered" | "Unnumbered"
```

## `CellHost`

Where a cell handle lives: the table, and the part that owns relationships.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `part` | `string` | |
| `session` | `PptxSession` | |
| `tbl` | `XElement` | |

## `ChartHost`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `kind` | `"slide" \| "layout" \| "master"` | |
| `part` | `string` | |
| `session` | `PptxSession` | |

## `ChartShapeType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ChartShapeType = "TextBox" | "GeometricShape" | "Line" | "Unsupported"
```

## `ChildOrder`

Schema order of a parent's children. A member of a choice group (fills,
bullet kinds) shares its slot, so the group stays contiguous in the list.

Not exported by name. You get it from the API.

```ts theme={null}
type ChildOrder = readonly string[]
```

## `ClientResult`

The value half of an Office.js `ClientResult`; the facade applies edits at once, so it is ready at return.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `value` | `T` | |

## `CommentAddOptions`

Extension: how `CommentCollection.add` anchors and signs a comment.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `author` | `string` | |
| `authorInitials?` | `string` | |
| `left?` | `number` | Pin position in points from the slide's top-left corner. Not for replies. |
| `providerId?` | `string` | VBA `ProviderID`; defaults to "None". |
| `shape?` | `Shape \| string` | The shape the comment points at, or its id. Not for replies. |
| `top?` | `number` | |
| `userId?` | `string` | VBA `UserID`; defaults to the author's name. |

## `CommentAuthor`

Who writes a comment. PowerPoint keys its author list by name and user id.

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| - | - | - |
| `initials?` | `string` | |
| `name` | `string` | |
| `providerId?` | `string` | |
| `userId?` | `string` | |

## `CommentReply`

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| - | - | - |
| `author` | `string` | |
| `created?` | `string` | ISO time, UTC. |
| `id` | `string` | |
| `initials` | `string` | |
| `text` | `string` | |

## `ConnectorType`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type ConnectorType = "Straight" | "Elbow" | "Curve"
```

## `CropInsets`

The share of the picture cut off each side (`a:srcRect`); negative adds space.

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| - | - | - |
| `bottom` | `number` | |
| `left` | `number` | |
| `right` | `number` | |
| `top` | `number` | |

## `CustomPropertyValue`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type CustomPropertyValue = boolean | Date | number | string
```

## `CustomXmlHost`

Where a set of custom XML parts hangs. The presentation relates every part in the
package; a slide, layout, master or shape names its own through `p:custDataLst/p:custData`.

Not exported by name. You get it from the API.

```ts theme={null}
type CustomXmlHost = { part: string; session: PptxSession } | TagHost
```

## `DateTimeFormat`

VBA `PpDateTimeFormat` without its `ppDateTime` prefix.

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type DateTimeFormat = "Mdyy" | "ddddMMMMddyyyy" | "dMMMMyyyy" | "MMMMdyyyy" | "dMMMyy" | "MMMMyy" | "MMyy" | "MMddyyHmm" | "MMddyyhmmAMPM" | "Hmm" | "Hmmss" | "hmmAMPM" | "hmmssAMPM" | "FigureOut"
```

## `DocumentPropertyType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type DocumentPropertyType = "Boolean" | "Date" | "Number" | "String"
```

## `EditingType`

VBA `MsoEditingType`: a corner node takes the control points given; an auto node is smoothed.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type EditingType = "Auto" | "Corner"
```

## `EmbeddedFontFaces`

Font file bytes (TrueType or OpenType), or base64, for each style to embed.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type EmbeddedFontFaces = Partial<Record<"regular" | "bold" | "italic" | "boldItalic", ImageSource>>
```

## `EmbeddedFontOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `compress?` | `boolean` | MicroType Express compression of TrueType outlines, as PowerPoint saves them; default true. |

## `EmbeddedFontStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type EmbeddedFontStyle = "Regular" | "Bold" | "Italic" | "BoldItalic"
```

## `Figure`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `closed` | `boolean` | |
| `segments` | `Segment[]` | |
| `start` | `Point` | |

## `FontProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `allCaps?` | `boolean` | |
| `bold?` | `boolean` | |
| `color?` | `string` | |
| `doubleStrikethrough?` | `boolean` | |
| `italic?` | `boolean` | |
| `name?` | `string` | |
| `size?` | `number` | |
| `smallCaps?` | `boolean` | |
| `strikethrough?` | `boolean` | |
| `subscript?` | `boolean` | |
| `superscript?` | `boolean` | |
| `underline?` | `ShapeFontUnderlineStyle` | |

## `FormatHost`

The shape's `p:spPr` (or `p:grpSpPr`) and the `p:style` refs that stand in for it.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `line?` | `string` | The line element's local name: `ln`, or a table cell's `lnL`, `lnT`, …. |
| `order?` | `ChildOrder` | Child order of `spPr()`; `p:spPr` when absent. |
| `part` | `string` | |
| `session` | `PptxSession` | |
| `spPr()` | `() => XElement` | |
| `styleRef()` | `(local: "fillRef" \| "lnRef") => number` | |

## `GradHost`

One gradient, or several kept alike (the runs of a text range): reads take the first.

Not exported by name. You get it from the API.

```ts theme={null}
type GradHost = () => XElement | XElement[]
```

## `GradientDirection`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type GradientDirection = "LinearDiagonalTopLeft" | "LinearDown" | "LinearDiagonalTopRight" | "FromBottomRightCorner" | "FromBottomLeftCorner" | "LinearRight" | "FromCenter" | "LinearLeft" | "FromTopRightCorner" | "FromTopLeftCorner" | "LinearDiagonalBottomLeft" | "LinearUp" | "LinearDiagonalBottomRight"
```

## `GradientFillType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type GradientFillType = "Linear" | "Radial" | "Rectangular" | "Path"
```

## `GradientFocus`

Where a path gradient starts: insets of `a:fillToRect` as fractions of the shape box.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `bottom` | `number` | |
| `left` | `number` | |
| `right` | `number` | |
| `top` | `number` | |

## `GradientVariation`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type GradientVariation = "Light" | "Dark"
```

## `GuideOrientation`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type GuideOrientation = "Horizontal" | "Vertical"
```

## `GuideRow`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `color` | `string` | |
| `id` | `number` | |
| `orientation` | `GuideOrientation` | |
| `pos` | `number` | |

## `GuideStore`

Where a list of guides lives: the presentation (slide guides) or a master or layout part.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `color` | `string` | |
| `session` | `PptxSession` | |
| `read()` | `() => GuideRow[]` | |
| `write()` | `(rows: readonly GuideRow[]) => void` | |

## `HyperlinkAddOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `address?` | `string` | |
| `screenTip?` | `string` | |

## `HyperlinkType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type HyperlinkType = "TextRange" | "Shape"
```

## `ImageBox`

A box in points on the slide.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `height` | `number` | |
| `left` | `number` | |
| `top` | `number` | |
| `width` | `number` | |

## `ImageRenderer`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ImageRenderer = (request: ImageRequest) => Promise<Uint8Array>
```

## `ImageRequest`

What a host rasterizes for `getImageAsBase64`: `slideIndex` of `bytes` (hidden slides
count), cut to `crop` when given, at `width` by `height` pixels. Resolves PNG bytes.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `bytes` | `Uint8Array` | |
| `crop?` | `ImageBox` | |
| `height` | `number` | |
| `slideIndex` | `number` | |
| `width` | `number` | |

## `ImageSizeOptions`

Office.js `SlideGetImageOptions` / `ShapeGetImageOptions`, in pixels.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `format?` | `"Png"` | |
| `height?` | `number` | |
| `width?` | `number` | |

## `ImageSource`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ImageSource = string | Uint8Array
```

## `InsertMathOptions`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type InsertMathOptions = TexOptions & { display?: boolean }
```

## `InsertSlideFormatting`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type InsertSlideFormatting = "KeepSourceFormatting" | "UseDestinationTheme"
```

## `InsertSlideOptions`

`PowerPoint.InsertSlideOptions`.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `formatting?` | `InsertSlideFormatting` | |
| `sourceSlideIds?` | `string[]` | |
| `targetSlideId?` | `string` | |

## `LinkScope`

Where links live, and how to hand out the shape or text they sit on.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `part` | `string` | |
| `session` | `PptxSession` | |
| `frame()?` | `(host: XElement) => TextFrame` | |
| `shape()?` | `(el: XElement) => Shape` | |

## `LinkTarget`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `setHyperlink()` | `(options?: HyperlinkAddOptions) => Hyperlink` | |

## `NotesBox`

A frame on the notes page, in points from its top left.

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| - | - | - |
| `height` | `number` | |
| `left` | `number` | |
| `top` | `number` | |
| `width` | `number` | |

## `NotesPage`

Import from `@reductoai/pptx/editor`.

| Name | Type | Description |
| - | - | - |
| `body` | `NotesBox` | |
| `fontSize` | `number` | The first notes level's size in points. |
| `height` | `number` | |
| `image` | `NotesBox` | |
| `number?` | `NotesBox` | The page number's frame; absent when the notes page has no slide number placeholder. |
| `width` | `number` | The page in points; PowerPoint's portrait 7.5 x 10 in when the deck sets none. |

## `Nullable`

Not exported by name. You get it from the API.

```ts theme={null}
type Nullable<T> = T & { isNullObject: boolean }
```

## `NullAware`

Not exported by name. You get it from the API.

```ts theme={null}
type NullAware = CustomXmlPart & { isNullObject: boolean }
```

## `Owner`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `kind` | `"slide" \| "master"` | |
| `part` | `string` | |
| `session` | `PptxSession` | |

## `ParagraphHorizontalAlignment`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ParagraphHorizontalAlignment = "Left" | "Center" | "Right" | "Justify" | "JustifyLow" | "Distributed" | "ThaiDistributed"
```

## `PartKind`

Not exported by name. You get it from the API.

```ts theme={null}
type PartKind = "slide" | "layout" | "master"
```

## `PictureRecolor`

A Recolor tile; `none` is No Recolor.

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type PictureRecolor = "none" | "grayscale" | "sepia" | "washout" | "blackAndWhite25" | "blackAndWhite50" | "blackAndWhite75" | `${typeof ACCENTS[number]}Dark` | `${"bg2" | typeof ACCENTS[number]}Light`
```

## `PlaceholderType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type PlaceholderType = "Unsupported" | "Date" | "SlideNumber" | "Footer" | "Header" | "Title" | "Body" | "CenterTitle" | "Subtitle" | "VerticalTitle" | "VerticalBody" | "Content" | "Chart" | "Table" | "OnlinePicture" | "SmartArt" | "Media" | "VerticalContent" | "Picture" | "Cameo"
```

## `Point`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `x` | `number` | |
| `y` | `number` | |

## `PPrs`

Not exported by name. You get it from the API.

```ts theme={null}
type PPrs = (create: boolean) => (XElement | undefined)[]
```

## `PresetLineDash`

ST\_PresetLineDashVal: every `a:prstDash` PowerPoint writes, some with no Office.js name.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type PresetLineDash = "solid" | "dot" | "dash" | "lgDash" | "dashDot" | "lgDashDot" | "lgDashDotDot" | "sysDash" | "sysDot" | "sysDashDot" | "sysDashDotDot"
```

## `ReflectionType`

VBA `MsoReflectionType`; the facade writes `Type1` and reads anything else as `Mixed`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ReflectionType = "None" | "Type1" | "Mixed"
```

## `Segment`

Not exported by name. You get it from the API.

```ts theme={null}
type Segment = { kind: "line"; to: Point } | { c1: Point; c2: Point; kind: "curve"; to: Point } | { kind: "auto"; to: Point }
```

## `SegmentType`

VBA `MsoSegmentType`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SegmentType = "Line" | "Curve"
```

## `ShadowHost`

The property elements a shadow lives in (`p:spPr` or every `a:rPr` of a range) and their child order.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `order` | `ChildOrder` | |
| `targets()` | `(create: boolean) => XElement[]` | |

## `ShadowStyle`

VBA `MsoShadowStyle`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShadowStyle = "OuterShadow" | "InnerShadow"
```

## `ShapeAutoSize`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeAutoSize = "AutoSizeNone" | "AutoSizeTextToFitShape" | "AutoSizeShapeToFitText" | "AutoSizeMixed"
```

## `ShapeFillType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeFillType = "NoFill" | "Solid" | "Gradient" | "Pattern" | "PictureAndTexture" | "SlideBackground" | "Unsupported"
```

## `ShapeFlip`

VBA `MsoFlipCmd`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeFlip = "Horizontal" | "Vertical"
```

## `ShapeFontUnderlineStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeFontUnderlineStyle = "None" | "Single" | "Double" | "Heavy" | "Dotted" | "DottedHeavy" | "Dash" | "DashHeavy" | "DashLong" | "DashLongHeavy" | "DotDash" | "DotDashHeavy" | "DotDotDash" | "DotDotDashHeavy" | "Wavy" | "WavyHeavy" | "WavyDouble"
```

## `ShapeLineCapStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeLineCapStyle = "Flat" | "Round" | "Square"
```

## `ShapeLineDashStyle`

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeLineDashStyle = "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot"
```

## `ShapeLineJoinStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeLineJoinStyle = "Round" | "Bevel" | "Miter"
```

## `ShapeLineStyle`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeLineStyle = "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin"
```

## `ShapeOwner`

The part a shape lives in and the slide-level handle `getParentSlide` returns.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `kind` | `"slide" \| "layout" \| "master"` | |
| `part` | `string` | |
| `session` | `PptxSession` | |
| `parent()` | `() => Slide \| SlideMaster \| SlideLayout` | |

## `ShapeThemeColor`

Extension (VBA `MsoThemeColorIndex`): a theme slot, or the text and background colours the master maps.

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeThemeColor = "Text1" | "Background1" | "Text2" | "Background2" | "Dark1" | "Light1" | "Dark2" | "Light2" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Hyperlink" | "FollowedHyperlink"
```

## `ShapeType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeType = "Unsupported" | "Image" | "GeometricShape" | "Group" | "Line" | "Table" | "Callout" | "Chart" | "ContentApp" | "Diagram" | "Freeform" | "Graphic" | "Ink" | "Media" | "Model3D" | "Ole" | "Placeholder" | "SmartArt" | "TextBox"
```

## `ShapeZOrder`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ShapeZOrder = "BringForward" | "BringToFront" | "SendBackward" | "SendToBack"
```

## `Side`

Not exported by name. You get it from the API.

```ts theme={null}
type Side = "left" | "right" | "top" | "bottom" | "diagonalDown" | "diagonalUp"
```

## `SlideBackgroundFillType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideBackgroundFillType = "Unsupported" | "Solid" | "Gradient" | "PictureOrTexture" | "Pattern"
```

## `SlideBackgroundGradientFillOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `type?` | `SlideBackgroundGradientFillType` | |

## `SlideBackgroundGradientFillType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideBackgroundGradientFillType = "Unsupported" | "Linear" | "Radial" | "Rectangular" | "Path" | "ShadeFromTitle"
```

## `SlideBackgroundPatternFillOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `backgroundColor?` | `string` | |
| `foregroundColor?` | `string` | |
| `pattern?` | `SlideBackgroundPatternFillType` | |

## `SlideBackgroundPatternFillType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideBackgroundPatternFillType = keyof typeof PATTERNS | "Unsupported"
```

## `SlideBackgroundPictureOrTextureFillOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `imageBase64?` | `string` | |
| `transparency?` | `number` | |

## `SlideBackgroundSolidFillOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `color?` | `string` | |
| `transparency?` | `number` | |

## `SlideColorMapping`

How a slide or layout maps the theme's text and background colours.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideColorMapping = "FollowMaster" | "Light" | "Dark" | "Custom"
```

## `SlideLayoutType`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideLayoutType = "Blank" | "Chart" | "ChartAndText" | "ClipArtAndText" | "ClipArtAndVerticalText" | "Comparison" | "ContentWithCaption" | "Custom" | "FourObjects" | "LargeObject" | "MediaClipAndText" | "Mixed" | "Object" | "ObjectAndText" | "ObjectAndTwoObjects" | "ObjectOverText" | "OrganizationChart" | "PictureWithCaption" | "SectionHeader" | "Table" | "Text" | "TextAndChart" | "TextAndClipArt" | "TextAndMediaClip" | "TextAndObject" | "TextAndTwoObjects" | "TextOverObject" | "Title" | "TitleOnly" | "TwoColumnText" | "TwoObjects" | "TwoObjectsAndObject" | "TwoObjectsAndText" | "TwoObjectsOverText" | "VerticalText" | "VerticalTitleAndText" | "VerticalTitleAndTextOverChart"
```

## `SlideRef`

Not exported by name. You get it from the API.

```ts theme={null}
type SlideRef = Slide | string
```

## `SlideSizeScale`

What happens to slide content on a smaller slide: shrink it to fit, or keep it large and crop.

Import from `@reductoai/pptx/editor`, `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideSizeScale = "EnsureFit" | "Maximize"
```

## `SlideTransitionDirection`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideTransitionDirection = "Left" | "Right" | "Up" | "Down"
```

## `SlideTransitionEffect`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideTransitionEffect = "None" | typeof EFFECTS[number] | "Unsupported"
```

## `SlideTransitionSpeed`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type SlideTransitionSpeed = "Slow" | "Medium" | "Fast"
```

## `Slot`

Not exported by name. You get it from the API.

```ts theme={null}
type Slot = "ftr" | "sldNum" | "dt"
```

## `TableCellBorders`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type TableCellBorders = Partial<Record<Side, BorderProperties>>
```

## `TableCellMargins`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `bottom?` | `number` | |
| `left?` | `number` | |
| `right?` | `number` | |
| `top?` | `number` | |

## `TableCellProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `borders?` | `TableCellBorders` | |
| `fill?` | `{ color?: string; transparency?: number }` | |
| `font?` | `FontProperties` | |
| `horizontalAlignment?` | `ParagraphHorizontalAlignment` | |
| `indentLevel?` | `number` | |
| `margins?` | `TableCellMargins` | |
| `text?` | `string` | |
| `textRuns?` | `TextRun[]` | |
| `verticalAlignment?` | `TextVerticalAlignment` | |

## `TableClearOptions`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `all?` | `boolean` | |
| `format?` | `boolean` | |
| `text?` | `boolean` | |

## `TableColumnProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `columnWidth?` | `number` | |

## `TableMergedAreaProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `columnCount` | `number` | |
| `columnIndex` | `number` | |
| `rowCount` | `number` | |
| `rowIndex` | `number` | |

## `TableRowProperties`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `rowHeight?` | `number` | |

## `TabStop`

Extension (VBA `TabStop2`): one stop, read off the paragraphs' `a:tabLst`.

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `position` | `number` | |
| `type` | `TabStopType` | |

## `TabStopType`

Extension (VBA `MsoTabStopType` without its `msoTab` prefix).

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type TabStopType = "Left" | "Center" | "Right" | "Decimal"
```

## `TagHost`

Where a `p:custDataLst` lives: its parent, and the siblings it must precede
(`p:cSld`: controls, extLst; `p:nvPr`: extLst; `p:presentation`: kinsoku and after).

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `before` | `readonly string[]` | |
| `part` | `string` | |
| `session` | `PptxSession` | |
| `parent()` | `() => XElement` | |

## `Targets`

Not exported by name. You get it from the API.

```ts theme={null}
type Targets = (create: boolean) => RangeTargets
```

## `TextHost`

What a text frame needs from its shape.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `links?` | `LinkScope` | Where a link on this text writes its relationship. |
| `listStyle?` | `() => ((create: boolean) => XElement \| undefined) \| undefined` | The list style a layout or master placeholder hands down; its formatting lands there, not on runs. |
| `shape` | `unknown` | |

## `TextOrientation`

VBA `MsoTextOrientation` names for the `a:bodyPr@vert` values PowerPoint's UI offers.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type TextOrientation = "Horizontal" | "Upward" | "Downward" | "VerticalFarEast" | "Vertical"
```

## `TextRun`

Import from `@reductoai/pptx/officejs`.

| Name | Type | Description |
| - | - | - |
| `font?` | `FontProperties` | |
| `text` | `string` | |

## `TextStyleType`

VBA `PpTextStyleType`: `ppTitleStyle`, `ppBodyStyle`, `ppDefaultStyle`.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type TextStyleType = "Title" | "Body" | "Default"
```

## `TextVerticalAlignment`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type TextVerticalAlignment = "Top" | "Middle" | "Bottom" | "TopCentered" | "MiddleCentered" | "BottomCentered"
```

## `ThemeColor`

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ThemeColor = "Mixed" | "None" | "Accent1" | "Accent2" | "Accent3" | "Accent4" | "Accent5" | "Accent6" | "Dark1" | "Dark2" | "FollowedHyperlink" | "Hyperlink" | "Light1" | "Light2"
```

## `ThemeFontRole`

Extension (VBA `ThemeFonts` index): the heading or the body font.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ThemeFontRole = "Major" | "Minor"
```

## `ThemeFontScript`

Extension (VBA `MsoFontLanguageIndex`): which script a theme font serves.

Import from `@reductoai/pptx/officejs`.

```ts theme={null}
type ThemeFontScript = "Latin" | "EastAsian" | "ComplexScript"
```

## `UpdateData`

What a handle's set() takes: any of its non-method members, a navigation member as a nested
batch. Read-only scalars are allowed by type; they throw at run time unless throwOnReadOnly is false.

Not exported by name. You get it from the API.

```ts theme={null}
type UpdateData<T> = { [K in keyof T as T[K] extends (args: never[]) => unknown ? never : K]?: T[K] extends readonly unknown[] | null | string | number | boolean ? T[K] : UpdateData<T[K]> }
```

## `UpdateOptions`

OfficeExtension.UpdateOptions: read-only keys throw unless throwOnReadOnly is false.

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `throwOnReadOnly?` | `boolean` | |
