These are chat archives for PHPOffice/PHPPresentation

29th
Jul 2015
Progi1984
@Progi1984
Jul 29 2015 12:24
ODPresentation reader pushed to develop branch.
JewrassicPark
@JewrassicPark
Jul 29 2015 13:34
I may have use of a simple appear animation for my job, I was going to try and implement it but it might not be generalized enough to commit properly (it would only be simple appear onclick) I checked out some of the source for a ppt with that animation and it's pretty simple, just an extra structure at the end of each slide1.xml, slide2.xml etc
Progi1984
@Progi1984
Jul 29 2015 13:35
@JewrassicPark Do you talk about transitions ? I added it in 0.4 : https://github.com/PHPOffice/PHPPowerPoint/blob/master/samples/Sample_10_Transition.php
JewrassicPark
@JewrassicPark
Jul 29 2015 14:00
I think that's slide transitions right? Like from slide 1 to slide 2?
I'm talking about shape animations
Progi1984
@Progi1984
Jul 29 2015 14:00
affirmative
JewrassicPark
@JewrassicPark
Jul 29 2015 14:00
so on slide 1, click and some text appears, click again and some other text appears etc
is what I'm trying to do
Progi1984
@Progi1984
Jul 29 2015 14:13
oki.... Else create an issue, I would work on it in 0.6.0 of PhpPresentation :)
JewrassicPark
@JewrassicPark
Jul 29 2015 17:05
Is there a way to uniquely identify shapes on a slide. Each animation can have n shapes associated with it (you click once and two shapes appear for example). But shapes in the writer are given an id in their order of collection. The animation objects might not contain every shape so I need that id to map. I can iterate through the shapescollection in the animation but i need to know which shape it is in the entire slide shape collection. Can I use the Hash Index for this or is that for something else entirely?
...getHashCode looks more like what i want