J
Jim
I am using PowerPoint 2003.
I have a HTML/ASP web page that uses DIV and TABLE statements to create data
for a PowerPoint slide.
My code works if I create a single slide. I have not figured out how to make
multiple slides.
If I try to create multiple slides, all the data overwrites slide number
one. What I need is something like the page break used in Word.
This is a small example to illustrate the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<%Dim ndx%>
<head>
<title>Test Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="pragma" CONTENT="nocache">
<style>
<!--
BODY { position:absolute; font:Times New Roman; font-size:12pt;
font-weight:bold; line-height:0.75 }
-->
</style>
</head>
<body>
<% for ndx = 1 to 2 %>
<div align="center" style="top:18px; height:20px;
font-size:14pt">UNCLAS</div>
<div align="center" style="top:42px; height:20px; font-size:18pt">ISSUE
<%=ndx%> TITLE GOES HERE</div>
<% next %>
</body>
</html>
<%
'set page content type, etc.
Response.ContentType = "application/vnd.ms-powerpoint"
Response.addheader "Content-Disposition", "attachment; filename=PPSample.ppt"
%>
In this example, two slides should be created, each with a different number
in the ndx field of the title of the second DIV statement. My problem is that
only one is created and the ndx field is overwritten.
I am trying to eliminate using Office Automation with PowerPoint running on
our server.
Thanks in advance for any and all help.
I have a HTML/ASP web page that uses DIV and TABLE statements to create data
for a PowerPoint slide.
My code works if I create a single slide. I have not figured out how to make
multiple slides.
If I try to create multiple slides, all the data overwrites slide number
one. What I need is something like the page break used in Word.
This is a small example to illustrate the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<%Dim ndx%>
<head>
<title>Test Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="pragma" CONTENT="nocache">
<style>
<!--
BODY { position:absolute; font:Times New Roman; font-size:12pt;
font-weight:bold; line-height:0.75 }
-->
</style>
</head>
<body>
<% for ndx = 1 to 2 %>
<div align="center" style="top:18px; height:20px;
font-size:14pt">UNCLAS</div>
<div align="center" style="top:42px; height:20px; font-size:18pt">ISSUE
<%=ndx%> TITLE GOES HERE</div>
<% next %>
</body>
</html>
<%
'set page content type, etc.
Response.ContentType = "application/vnd.ms-powerpoint"
Response.addheader "Content-Disposition", "attachment; filename=PPSample.ppt"
%>
In this example, two slides should be created, each with a different number
in the ndx field of the title of the second DIV statement. My problem is that
only one is created and the ndx field is overwritten.
I am trying to eliminate using Office Automation with PowerPoint running on
our server.
Thanks in advance for any and all help.