Re: export web page to powerpoint
From: Steve Rindsberg (abuse_at_localhost.com)
Date: 01/11/05
- Next message: Steve Rindsberg: "Re: Hi folks. Issue with action settings on buttons hyperlinked to other slides."
- Previous message: s.o'b: "Re: My slide show transitions and custom animation tools aren't wo"
- In reply to: jon: "Re: export web page to powerpoint"
- Next in thread: jon: "Re: export web page to powerpoint"
- Reply: jon: "Re: export web page to powerpoint"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 22:11:56 EST
In article <756794C5-120C-4230-91DF-C4E8E8462F1A@microsoft.com>, Jon wrote:
> Here's the code.
> <CFCONTENT TYPE = "application/vnd.ms-powerpoint">
> <CFHEADER NAME = "Content-Disposition" VALUE="inline; filename=FileName.ppt">
> <HTML xmlns:o="urn:schemas-microsoft-com:office:office"
> xmlns:x="urn:schemas-microsoft-com:office:powerpoint"
> xmlns="http://www.w3.org/TR/REC-html40">
>
> My understanding of this code, which is limited, is that the Content tag
> tells it which application to work with. The Header tag names the file. And
> the HTML tag tells it what language will be used to transfer the data from IE
> to PowerPoint.
> In this case, use a PowerPoint file named FileName.ppt and use xml as the
> transfer language.
Still doesn't tell us what data is getting to PPT or how it's getting there.
Without that, I'm afraid I can't help.
>
> "Steve Rindsberg" wrote:
>
> > In article <510989F2-4FA9-4E79-9B79-2F7FE04517D9@microsoft.com>, Jon wrote:
> > > Right now the code that I have, rights a single line on a PowerPoint slide. I
> > > can't get it to line feed.
> >
> > Got that, but by what means does the slide (and the PPT file itself) get
created?
> >
> >
> >
> > > Here's a scenario to explain what I want to do.
> > > A user comes to the website runs a report and the report produces a chart
> > > based on data queried from a database. The user wants to use this graph for a
> > > chart deck they will be showing to management. So they want to click a button
> > > and have the chart show up in PowerPoint.
> > > Now I think that this is just plain lazy because screen print and paste
> > > isn't hard if you ask me, but the one click export is what they really want
> > > to see.
> > >
> > > "Steve Rindsberg" wrote:
> > >
> > > > In article <C01FA42A-FF3B-4805-B9C0-A392841BDE68@microsoft.com>, Jon wrote:
> > > > > And that's why I didn't post my code. Cause I new coldfusion would turn
you
> > > > > off. I'm currently using coldfusion, but the language I use for this can
be
> > > > > anything, ASP or VBA... I'm not sure how to use VBA on the web, that one
will
> > > > > be new for me. I imagine it would be something like javascripts. Is that
> > > > > correct?
> > > >
> > > > VBScript or ASP rather than VBA (the browser wouldn't support VBA but if
it's MSIE, it would
> > > > support VBScript, which is similar).
> > > >
> > > > But let's work out how you're trying to go about this; that's what I'm
unclear on.
> > > >
> > > > What's your coldfusion code do right now? From the example below, it looks
like it creates
> > > > a text file, which PPT can open and convert to slides, but since txt files
can't include
> > > > photos, it's a non-starter for what you want.
> > > >
> > > > PowerPoint can also open some HTML files; that might get you further, but
will only allow
> > > > you to create a single-slide file at a time.
> > > >
> > > > Normally the way you'd do this is to automate PowerPoint to create the
slides. Googling on
> > > > "automate powerpoint" should produce some results on how to do that.
> > > >
> > > > >
> > > > > "Steve Rindsberg" wrote:
> > > > >
> > > > > >
> > > > > > I can tell you how to use VBA or VB to bring a JPG into PPT but I
suspect this isn't
> > > > > > what you want. I'm guessing that you're working in ColdFusion (from
all the CFThis and
> > > > > > CFThat tags) but you haven't mentioned that so far. Again, w/o
specifics, we're
> > > > > > wheel-spinning ;-)
> > > > > >
> > > > > > If in fact this is a ColdFusion app, you may need to look for help in a
CF-specific
> > > > > > newsgroup. If some VB code for inserting JPGs would help, have a look
here:
> > > > > >
> > > > > > Insert a picture at the correct size
> > > > > > http://www.rdpslides.com/pptfaq/FAQ00329.htm
> > > > > >
> > > > > > Batch Insert a folder full of pictures, one per slide
> > > > > > http://www.rdpslides.com/pptfaq/FAQ00352.htm
> > > > > >
> > > > > >
> > > > > > In article <DB6FE5E6-C0D8-4A39-99DA-E92A3F9208D8@microsoft.com>, Jon
wrote:
> > > > > > > What I want to do is take a *.jpg file and put it in a powerpoint
slide or
> > > > > > > put the current page that is displayed on the screen into a
powerpoint slide.
> > > > > > > So far all I can do is print a word on the powerpoint slide. Here's
what I
> > > > > > > have...
> > > > > > >
> > > > > > > <!---this is the code that sends the data to microsoft powerpoint--->
> > > > > > > <CFSETTING ENABLECFOUTPUTONLY = "Yes">
> > > > > > > <CFCONTENT TYPE = "application/vnd.ms-powerpoint">
> > > > > > > <CFHEADER NAME = "Content-Disposition" VALUE="inline;
filename=FileName.ppt">
> > > > > > > <HTML xmlns:o="urn:schemas-microsoft-com:office:office"
> > > > > > > xmlns:x="urn:schemas-microsoft-com:office:powerpoint"
> > > > > > > xmlns="http://www.w3.org/TR/REC-html40">
> > > > > > > <HEAD>
> > > > > > > <TITLE>Export to Powerpoint</TITLE>
> > > > > > > </HEAD>
> > > > > > > <BODY>
> > > > > > > <CFSET NewLine = Chr(13)>
> > > > > > > <CFOUTPUT>Hello World</CFOUTPUT>
> > > > > > > </BODY>
> > > > > > > </HTML>
> > > > > > >
> > > > > > > "Steve Rindsberg" wrote:
> > > > > > >
> > > > > > > > Again, we can't go anywhere w/o a more detailed description of what
you're doing,
> > > > > > > > how, and what is/isn't working.
> > > > > > > >
> > > > > > > > In article <5A268E6F-FE9F-42D1-BA6E-41345B1D71C9@microsoft.com>,
Jon wrote:
> > > > > > > > > I figured out how to get the file to open and I can write a
single line, but
> > > > > > > > > when I try to advance to the next line, using Char(10) or
Char(13). Either
> > > > > > > > > nothing happens or it sends it to the next slide, which it won't
allow me to
> > > > > > > > > view.
> > > > > > > > > Also, if you know how to send a picture to powerpoint or excel
that would
> > > > > > > > > help me out a lot as well.
> > > > > > > > > Thanks.
> > > > > > > > >
> > > > > > > > > "Steve Rindsberg" wrote:
> > > > > > > > >
> > > > > > > > > > In article
<9ADAF700-A9C3-4AD2-AFFC-FC862A7367A6@microsoft.com>, Jon wrote:
> > > > > > > > > > > My users would like the capability to click a button on a web
page and send
> > > > > > > > > > > that page to powerpoint.
> > > > > > > > > > > I'm not picky as to how that happens, but they do want the
action to
> > > > > > > > > > > initiate from the web page.
> > > > > > > > > > > I currently allow them to export to Excell using
"application/vnd.ms-excel",
> > > > > > > > > > > but the same doesn't quite work with powerpoint.
> > > > > > > > > > > Version of powerpoint: xp or 2003.
> > > > > > > > > >
> > > > > > > > > > Best place to start: Post example code that works in Excel and
examples of
> > > > > > > > > > what's not working with PPT. Describe what's not working.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----------------------------------------
> > > > > > > > > > Steve Rindsberg, PPT MVP
> > > > > > > > > > PPT FAQ: www.pptfaq.com
> > > > > > > > > > PPTools: www.pptools.com
> > > > > > > > > > ================================================
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > -----------------------------------------
> > > > > > > > Steve Rindsberg, PPT MVP
> > > > > > > > PPT FAQ: www.pptfaq.com
> > > > > > > > PPTools: www.pptools.com
> > > > > > > > ================================================
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > > -----------------------------------------
> > > > > > Steve Rindsberg, PPT MVP
> > > > > > PPT FAQ: www.pptfaq.com
> > > > > > PPTools: www.pptools.com
> > > > > > ================================================
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > > -----------------------------------------
> > > > Steve Rindsberg, PPT MVP
> > > > PPT FAQ: www.pptfaq.com
> > > > PPTools: www.pptools.com
> > > > ================================================
> > > >
> > > >
> > > >
> > >
> >
> > -----------------------------------------
> > Steve Rindsberg, PPT MVP
> > PPT FAQ: www.pptfaq.com
> > PPTools: www.pptools.com
> > ================================================
> >
> >
> >
>
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
- Next message: Steve Rindsberg: "Re: Hi folks. Issue with action settings on buttons hyperlinked to other slides."
- Previous message: s.o'b: "Re: My slide show transitions and custom animation tools aren't wo"
- In reply to: jon: "Re: export web page to powerpoint"
- Next in thread: jon: "Re: export web page to powerpoint"
- Reply: jon: "Re: export web page to powerpoint"
- Messages sorted by: [ date ] [ thread ]