ShapeFill
PowerPoint.ShapeFill.
Import from @reductoai/pptx/officejs.
ShapeFill properties
ShapeFill.clear()
ShapeFill.removeGradient()
ShapeFill.setBackground()
FillFormat.Background): the shape shows the slide background (p:sp@useBgFill).
ShapeFill.setGradientFill()
SlideBackgroundFill.setGradientFill: two stops from the fill colour to its shade.
ShapeFill.setGradientPreset()
ShapeFill.setImage()
ShapeFill.setSolidColor()
ShapeLineFormat
PowerPoint.ShapeLineFormat over a:ln.
Import from @reductoai/pptx/officejs.
ShapeLineFormat properties
ShapeLineFormat.setGradientFill()
ShapeFill.setGradientFill: a two-stop gradient outline from the line colour to its shade.
GradientStops
VBA GradientStops. A gradient keeps at least two stops, as in PowerPoint.
Import from @reductoai/pptx/officejs.
GradientStops properties
GradientStops.delete()
GradientStops.getItemAt()
GradientStops.insert()
index it goes in position order.
ShadowFormat
Extension (VBA ShadowFormat): an outer or inner shadow, a:effectLst/a:outerShdw or a:innerShdw.
A getter reads the first target; null when it has no shadow.
Import from @reductoai/pptx/officejs.
ShadowFormat properties
GlowFormat
Extension (VBA GlowFormat): a coloured, blurred outline, a:effectLst/a:glow.
Import from @reductoai/pptx/officejs.
GlowFormat properties
ReflectionFormat
Extension (VBA ReflectionFormat): a faded mirror copy below the shape, a:effectLst/a:reflection.
Import from @reductoai/pptx/officejs.
ReflectionFormat properties
SoftEdgeFormat
Extension (VBA SoftEdgeFormat): edges that fade out, a:effectLst/a:softEdge.
Import from @reductoai/pptx/officejs.
SoftEdgeFormat properties
PictureFormat
Headless extension, VBA PictureFormat; only on pictures (p:pic).
Import from @reductoai/pptx/officejs.
PictureFormat properties
PictureFormat.cropToAspectRatio()
width:height inside this one,
centred, with the picture kept in place. Without a ratio, the picture’s own.
PictureFormat.cropToFill()
PictureFormat.cropToFit()
PictureFormat.setImage()
Crop
VBA Crop: the picture and its visible frame, both in slide points.
Import from @reductoai/pptx/officejs.