https://bz.apache.org/bugzilla/show_bug.cgi?id=66705
Bug ID: 66705 Summary: Slide Transitions not working XSLF Slide Product: POI Version: unspecified Hardware: Macintosh OS: Mac OS X 10.1 Status: NEW Severity: major Priority: P2 Component: XSLF Assignee: dev@poi.apache.org Reporter: eric.may...@gmail.com Target Milestone: --- I'm attempting to use POI to manage slide transitions. Using this: > final XSLFSlide slide; > slide.getXmlObject().getTransition(); Always returns null, even when I know my slide has a transition in it. I notice this in my VALID (source) PPT XML: > <xml-fragment> > <mc:AlternateContent > xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"> > <mc:Choice > xmlns:p159="http://schemas.microsoft.com/office/powerpoint/2015/09/main" > Requires="p159"> > <p:transition advTm="17500" spd="slow"> > <p159:morph option="byObject"/> > </p:transition> > </mc:Choice> > <mc:Fallback> > <p:transition advTm="17500" spd="slow"> > <p:fade/> > </p:transition> > </mc:Fallback> > </mc:AlternateContent> > </xml-fragment> When I use POI to add a transition, it adds this as a node: > slide.getXmlObject().addNewTransition().setAdvTm(1000); > <xml-fragment><p:transition advTm="17000"/></xml-fragment> PPT reads is as corrupted, has to repair it, and it loses it. I believe the format has changed and I could use help navigating it. I was hoping you could help me either work around it or show me what I'm doing wrong. Eric -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org