Page 1 of 1

pptx 2010

PostPosted: Wed Jul 28, 2010 5:23 pm
by manivannans
Hi,

I am trying to convert a pptx file created in Office 2010. The tags related to transition (mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">) are not recognised. Can you please provide a solution for this ?

Also if the PresentationMLPackage.java have the API to load from an InputStream also it would be better.

Thanks,
Mani.

Re: pptx 2010

PostPosted: Sat Jul 31, 2010 9:38 pm
by jason
Hi Mani

manivannans wrote:I am trying to convert a pptx file created in Office 2010. The tags related to transition (mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">) are not recognised. Can you please provide a solution for this ?


docx4j/pptx4j does not officially support Office 2010 yet. I'll probably add this in a month or so.

manivannans wrote:Also if the PresentationMLPackage.java have the API to load from an InputStream also it would be better.


To load from an InputStream is, you would use LoadFromZipNG directly:

Code: Select all
      LoadFromZipNG loader = new LoadFromZipNG();
      PresentationMLPackage pkg = (PresentationMLPackage)loader.get(is);