Replacing poi-ooxml-schemas-3.8-20120326.jar with ooxml-schemas-1.1.jar it
works!!

Thanks a million!


   -
   - *Pablo Rivera*
   - Software Engineer
   -
   - [email protected]
   - T:(+34) 902 10 83 84
   -
      -
   - www.mediasq.com




2012/5/15 Yegor Kozlov <[email protected]>

> Can you replace  poi-ooxml-3.8.jar with ooxml-schemas-1.1.jar and try
> again?
> ooxml-schemas-1.1.jar can be downloaded from the Maven central repo:
> http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22ooxml-schemas%22
>
> I suspect the problem has to do with missing definition of OOXML schemas.
>
> Yegor
>
> On Mon, May 14, 2012 at 6:13 PM, Pablo Rivera | MediaSquare
> <[email protected]> wrote:
> > It isnt only LibreOffice. I tried to open the The table.pptx created
> from *java
> > org.apache.poi.xslf.usermodel.Tutorial4* in Powerpoint 2010 and shows the
> > error (LibreOffice doesnt show any error, simply crashes :)). I'll attach
> > you the generated file.
> >
> > I tried just a second ago the same tutorial with the 3.9 beta version
> and I
> > got the same result. Also I tried with different javas (openjdk and sun)
> > from the Ubuntu repository and anything changes. Im using Ubuntu 11.10,
> btw
> >
> > Any ideas?
> >
> >   -
> >   -
> >   - *Pablo Rivera*
> >   - Software Engineer
> >   -
> >   - [email protected]
> >   - T:(+34) 902 10 83 84
> >   -
> >      -
> >   - www.mediasq.com
> >
> >
> >
> >
> > 2012/5/14 Yegor Kozlov <[email protected]>
> >
> >> Tables in XSLF were tested against MS Office 2007 and 2010. I've
> >> re-checked this functionality now and it is working OK for me.
> >>
> >> You are welcome to research why LibreOffice is not happy opening
> >> tables generated by XSLF.
> >>
> >>  - Open the file in MS Office and then save. Can LibreOffice  open it
> >> ? If yes, unzip both pre-save and after-save files and compare the
> >> xml. What makes LibreOffice crash?
> >>  - create a new pptx file in with a table in LibreOffice and compare
> >> with a similar file created by XSLF. Are there any differences?
> >>
> >>
> >> Yegor
> >>
> >> On Mon, May 14, 2012 at 1:12 PM, wirthi <[email protected]> wrote:
> >> > Hi,
> >> > obviously not. I'm having the same problem:
> >> >
> >>
> http://apache-poi.1045710.n5.nabble.com/Create-XSLF-Table-What-am-I-doing-wrong-td5670738.html
> >> >
> >>
> http://apache-poi.1045710.n5.nabble.com/Create-XSLF-Table-What-am-I-doing-wrong-td5670738.html
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://apache-poi.1045710.n5.nabble.com/XSLF-tables-doesnt-working-tp5697188p5708778.html
> >> > Sent from the POI - User mailing list archive at Nabble.com.
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [email protected]
> >> > For additional commands, e-mail: [email protected]
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to