Skip to main content

Adjustments

PowerPoint.Adjustments: the shape’s a:avLst over Appendix D’s handles. As in VBA, a length is a fraction of the shape (50000 → 0.5) and an angle is in degrees. Import from @reductoai/pptx/officejs.

Adjustments properties

Adjustments.get()

Office.js returns a ClientResult.

Adjustments.set()

Border

PowerPoint.Border: one edge of a table cell; visible is an extension (VBA LineFormat.Visible). Import from @reductoai/pptx/officejs.

Border properties

Borders

PowerPoint.Borders. Import from @reductoai/pptx/officejs.

Borders properties

ChartShape

Extension (VBA Shape on a chart): one shape in c:userShapes, placed in chart fractions. Import from @reductoai/pptx/officejs.

ChartShape properties

ChartShape.delete()

ChartShape.flip()

VBA Shape.Flip: mirrors the shape in its box; a second flip undoes the first.

ChartShapes

Extension (VBA Chart.Shapes): the shapes drawn on a chart, in c:userShapes. Import from @reductoai/pptx/officejs.

ChartShapes properties

ChartShapes.addGeometricShape()

VBA Shapes.AddShape.

ChartShapes.addLine()

VBA Shapes.AddLine, as a straight connector over the box.

ChartShapes.addTextBox()

VBA Shapes.AddTextbox; the box is in points from the chart’s top-left corner.

ChartShapes.getItemAt()

GradientStop

VBA GradientStop: colour, position (0–1) and transparency (0–1) of one stop. Import from @reductoai/pptx/officejs.

GradientStop properties

HyperlinkScopedCollection

PowerPoint.HyperlinkScopedCollection: the links of a text range. Import from @reductoai/pptx/officejs.

HyperlinkScopedCollection properties

HyperlinkScopedCollection.getCount()

HyperlinkScopedCollection.getItemAt()

ShapeScopedCollection

PowerPoint.ShapeScopedCollection: a fixed set of shapes that share one parent. Import from @reductoai/pptx/officejs.

ShapeScopedCollection properties

ShapeScopedCollection.getCount()

ShapeScopedCollection.getItem()

ShapeScopedCollection.getItemAt()

ShapeScopedCollection.getItemOrNullObject()

Office.js null-object variant; inspect isNullObject before other members.

ShapeScopedCollection.group()

Groups the shapes of this collection; they must share one parent.