Interface: IPptxGenJSSlide
Defined in: src/interfaces/ipptxgenjs-slide.ts:8
Usage of pptxGenJs insinde pptx-automizer is restricted to supported shape types.
Methods
addChart()
addChart(
type,data,options?):void
Defined in: src/interfaces/ipptxgenjs-slide.ts:16
Add chart to Slide
Parameters
type
CHART_NAME | IChartMulti[]
chart type
data
any[]
data object
options?
IChartOpts
chart options
Returns
void
addImage()
addImage(
options):void
Defined in: src/interfaces/ipptxgenjs-slide.ts:26
Add image to Slide
Parameters
options
ImageProps
image options
Returns
void
addShape()
addShape(
shapeName,options?):void
Defined in: src/interfaces/ipptxgenjs-slide.ts:33
Add shape to Slide
Parameters
shapeName
SHAPE_NAME
shape name
options?
ShapeProps
shape options
Returns
void
addTable()
addTable(
tableRows,options?):void
Defined in: src/interfaces/ipptxgenjs-slide.ts:43
Add table to Slide
Parameters
tableRows
TableRow[]
table rows
options?
TableProps
table options
Returns
void
addText()
addText(
text,options?,callbacks?):void
Defined in: src/interfaces/ipptxgenjs-slide.ts:54
Add text to Slide
Parameters
text
string | TextProps[]
text string or complex object
options?
TextPropsOptions
text options
callbacks?
ModificationCallback[]
use pptx-automizer's modifiers to update the generated textfield
Returns
void