powerpoint

Can width/height of a powerpoint presentation be calculated on iPad

断了今生、忘了曾经 提交于 2019-12-22 00:44:15
问题 I have an ipad app, which displays a powerpoint presentation from an NSData, within a UIWebView, and I need to know the width/height of a single slide so I know how far to scroll when advancing to the next slide. In PDF, I can calculate it using CGPDFDocumentRef, as below, but I can't find a corresponding API for powerpoint, and since it's a microsoft format, I doubt it even exists. I can use javascript to determine the width/height of the ENTIRE presentation, but that doesn't help me know

Clear Microsoft Office Add-Ins cache

十年热恋 提交于 2019-12-22 00:32:44
问题 I wrote some code in an add-in for Microsoft PowerPoint 2007. I executed it. It said there was a problem. With help from a fellow member here, I rectified the problem. I compiled the new code and ran it. It still considers the old code and ignores the new one and still throws the same problem. The two versions of code are radically different in that they do not share the variables that the problem reports, thus my reason for being sure that the problem isn't in the code now. Clearly, MS

Any tools/libraries to convert ppt and pdf files to flash swf on server side?

假如想象 提交于 2019-12-22 00:08:45
问题 I'm building a pet project which needs to convert pdf and ppt files to flash swf files on the server side. This should look similar to what Scribd, Docstoc or Slideshare these websites do. But after some googling, I couldn't find any open source tools or libraries to do this except the OpenOffice wrapper. So I'm wondering how those websites do it or maybe there are some tools/libraries I don't know? Thanks, Wei 回答1: Convert your ppts into pdfs. And then use swftools for converting pdf (using

Chinese characters converted to squares when using APACHE POI to convert PPT to Image

北慕城南 提交于 2019-12-21 20:59:13
问题 I got a problem when I try to use Apache POI project to convert my PPT to Images. My code as follows: FileInputStream is = new FileInputStream("test.ppt"); SlideShow ppt = new SlideShow(is); is.close(); Dimension pgsize = ppt.getPageSize(); Slide[] slide = ppt.getSlides(); for (int i = 0; i < slide.length; i++) { BufferedImage img = new BufferedImage(pgsize.width, pgsize.height, BufferedImage.TYPE_INT_RGB); Graphics2D graphics = img.createGraphics(); //clear the drawing area graphics.setPaint

Convert file .pptx to .ppt using Java

北城以北 提交于 2019-12-21 20:38:29
问题 I was wondering if someone knows a way to convert .pptx to .ppt progamatically using Java? 回答1: Use Apache POI. 回答2: You can use openoffice for conversion. You have to configure eclipse/netbeans properly. You need jodconverter plugin, too. oh, and remember to open OO in listening mode package openofficeconv; import java.io.File; import java.net.ConnectException; import com.artofsolving.jodconverter.DocumentConverter; import com.artofsolving.jodconverter.openoffice.connection.*; import com

Convert powerpoint to flash

血红的双手。 提交于 2019-12-21 20:03:39
问题 How hard is it to import a powerpoint presentation into flash. It would be perfect for me if the output would look like this: every powerpoint slide becomes a movieclip or a .swf file. I don't have any animations and sounds, its just text and images. I know i could save the slides to png but its very bad idea using bitmaps for text in flash. I also cant use programs like slideshare, because they add their own navigation bars and i cant use them offline. 回答1: OpenOffice's Impress has a

Display Cocoa window above Keynote presentation

喜欢而已 提交于 2019-12-21 19:22:02
问题 Some context: I am building a tool to be used on screen during a Keynote or PowerPoint presentation. The biggest issue I've had so far is that Keynote seems to take over the desktop whenever you view a presentation. I have tried setting my Cocoa window's level to the maximum using: [[self window] setLevel:kCGMaximumWindowLevel]; That seems to have some effect (I can have the window hover over Keynote's "control panel" that's active in the off-screen window), but it doesn't let me hover over

Accessing Slide object in PowerPoint add-in

﹥>﹥吖頭↗ 提交于 2019-12-21 17:54:37
问题 I'm building a add-in for PowerPoint and need to access the Slides or Slide objects, or even the whole presentation; alas, the only method I can see of doing this is to open a new ppt file. Right now I'm having to resort to the hacky method of saving the current presentation and reopening it with Packaging to manipulate anything (more specifically I'm having to SHA the Slide objects from the pptx file to see if they've changed -- not ideal) Is there any way to open the file that is currently

Saving a powerpoint file using C#

*爱你&永不变心* 提交于 2019-12-21 14:58:09
问题 I just need to create a .pptx file with 1 dummy slide using C# and save it to the current directory. Can anyone tell me how to do this? So far, I have this code to create a Powerpoint presentation: Microsoft.Office.Interop.PowerPoint.Application obj = new Application(); obj.Visible = Microsoft.Office.Core.MsoTriState.msoTrue; 回答1: The following resources include how to save file and also many other code samples on how to manipulate Ms - Power Point presentation files using C# : http://code

Embed Powerpoint viewer on a web page (PHP)

我是研究僧i 提交于 2019-12-21 09:03:10
问题 I am building a PHP application where the user upload Powerpoint files. I want the other users to view it online instead of downloading. (Using a third party apps like google docs might be a little cumbersome for the users) Is it possible to write a powerpoint viewer code in PHP? 回答1: You could automate the process of using google docs with php. Google provides a ppt viewer that can be embed into webpages using the following code <iframe src="http://docs.google.com/gview?url=http://www