Questions tagged [presentationml]

Part of the Office Open XML specification ECMA-376

Part of the Office Open XML specification ECMA-376, along with WordprocessingML, SpreadsheetML, DrawingML, Shared MLs and Custom XML Schema

34 questions
18
votes
6 answers

Generate PowerPoint 2007/2010 file using Java

Does anyone know of any API (commercial or open-source) that can generate/edit PowerPoint 2007/2010 presentations through Java. I have a template in the PowerPoint 2007/2010 format that I require to edit/update. So far I have been converting the…
sreeprasad
  • 229
  • 1
  • 3
  • 4
8
votes
1 answer

Calculate the size (Extents) of a text (TextBody) in OpenXML (PresentationML) PowerPoint (PPTX)

I want to create a presentation with data coming from a database. I manage to get valid presentations that open in PowerPoint (the Open XML Productivity Tool of the SDK 2.5 is a big help in doing this). But, how to calculate the size of the textbox…
outofmind
  • 1,240
  • 1
  • 14
  • 32
6
votes
1 answer

PPTX - Finding out whether text is bulleted from OpenXML

I have not been able to find any indicator which could tell me whether text in txBody tag is bulleted or not, can you please me in identifying which indicator should I use to understand whether the text is bulleted or plain ? -Thank you
6
votes
1 answer

Change text in a textbox in Powerpoint slide

I have a Powerpoint presentation which contains 3 slides. Each slide has a Textbox which is a place holder. I would like to replace the Textbox contents on one slide. I need to know how to do this using C# and OpenXML Thanks a ton
Matthew Balraj
  • 101
  • 2
  • 7
5
votes
3 answers

Create PowerPoint 2007 presentation from a template

I need to create a PowerPoint 2007 presentation from a template with Open XML Format SDK 2.0. The template has to be provided by the customer and is used for a individual layout style (font, background color or image,...). It needs to contain two…
Alexander
  • 3,620
  • 8
  • 38
  • 50
5
votes
1 answer

How to split table to new PowerPoint slide when content flows off current slide using Open XML SDK 2.0

I have a bunch of data that I need to export from a website to a PowerPoint presentation and have been using Open XML SDK 2.0 to perform this task. I have a PowerPoint presentation that I am putting through Open XML SDK 2.0 Productivity Tool to…
amurra
  • 14,431
  • 4
  • 65
  • 85
4
votes
2 answers

PPT Text x,y,width,height - openxml

I tried following this Presentation ML inheritance chain: Slide <-- SlideLayout <-- SlideMaster <-- default styles in SlideMaster to obtain x,y,width,height properties of text content in a PPT Slide but I am not sure whether I am getting correct…
4
votes
2 answers

OpenXML, PresentationML Table Height and Row Height on word wrap

I'm new to Open Xml, and have created a reporting application using Open Xml SDK. It populates the data in to a table, and when the table height exceeds slide border clone the slide and and populate the next set of data in new slides and so on. All…
Aneef
  • 3,041
  • 9
  • 36
  • 61
3
votes
2 answers

Inject Open XML into an Open PowerPoint Presentation

I'm looking for a way to inject PresentationML and/or DrawingML into an open PowerPoint 2007/2010 presentation using the Open XML SDK or just System.IO.Packaging. There is an article on doing this with Word, but in that example it is using the…
Todd Main
  • 31,359
  • 10
  • 76
  • 141
3
votes
1 answer

How to insert a newline in PowerPoint (PPTX) in OpenXML / PresentationML / C#

While Word and PowerPoint both use OpenXML, newlines are handled differently. In Word/WordprocessingML you can run.Append(new Break()) (see here) to insert a newline. Unfortunately in PresentationML this leads to a nonvalid presentation and with…
outofmind
  • 1,240
  • 1
  • 14
  • 32
3
votes
0 answers

OpenXML - PresentationML - newMasterPart.SlideMaster.Preserve = false, is not working

I'm trying to use the Preserve attribute of Slide Master, in order to clear unreferenced Slide Masters. My aim is to clone all slides in a presentation(has only one slide) to a base presentation(has only one slide) and change the layout of the…
3
votes
0 answers

Editing PresentationML using openxml

Hello everyone i am working on a project in which i have to export some data into a ppt using openxml on button click.Here is my code for the aspx page: using System; using System.Collections.Generic; using System.Linq; using System.Web; using…
nitinvertigo
  • 1,105
  • 2
  • 29
  • 55
2
votes
1 answer

How do I get the font size of text in a shape through openxml?

I am trying to check the size of a text in shape in a powerpoint presentation through openXML but I am not sure how to get it, since it is a RunProperty. Does somebody know how to get it? I already know how to get the font and the color of the font,…
UsefulUserName
  • 545
  • 1
  • 4
  • 14
2
votes
1 answer

When creating a presentation programatically, how to split a large blob of text between slides?

I am creating a presentation programatically using presentationml. The full presentation will be a long table with rows having various amounts of text. What is the best way to figure out where to split the table? Or is there a way to make PowerPoint…
medhat
  • 183
  • 4
2
votes
1 answer

Correcting Powerpoint 2007 XML Errors

I'm currently writing a process that generates Powerpoint reports programmatically from a given template using the MSXML library via VBScript. The only manipulation of the XML I'm doing is to duplicate slides, insert data into the Excel datatables…
user69820
1
2 3