Last updated on
Apr 27, 2021
|
Also applies to ColdFusion
The following example converts a PowerPoint presentation to an Adobe Connect presentation.
<cfpresentation title="my presentation" directory="C:\presentations\" overwrite=true> <cfpresentationslide src="#ppttemplate#backgrounds.ppt" slides="1"> </cfpresentationslide> <cfpresentationslide duration="4" video="video1.flv"> Sample slide </cfpresentationslide> </cfpresentation>
The following example converts an HTML file to a PowerPoint presentation.
<cfpresentation title = "text string" format= "ppt" destination="#generated#html_to_ppt_01.ppt" backgroundColor = "YELLOW" overwrite = "yes"> <cfpresentationslide Title="Q1 Sales Figures" duration="14"> <h3>Q1 Sales Figures</h3> <cfchart format="png" showborder="yes" chartheight="250" chartwidth="300" pieslicestyle="sliced"> <cfchartseries type="pie"> <cfchartdata item="Europe" value="9"> <cfchartdata item="Asia" value="20"> <cfchartdata item="North America" value="50"> <cfchartdata item="South America" value="21"> </cfchartseries> </cfchart> </cfpresentationslide> <cfpresentationslide src="cfdocument_pos24.html" duration="15" /> </cfpresentation>
The following example converts a PowerPoint presentation to a Connect presentation.
<cfpresentation title="my presentation" directory="C:\presentations" overwrite=true> <cfpresentationslide src="#ppttemplate#backgrounds.ppt" slides="1-3,5"> </cfpresentationslide> <cfpresentationslide duration="4" video="video1.flv"> Sample slide </cfpresentationslide> </cfpresentation>