Re: Parameter for addShape for a child of a group in oox import

2021-05-04 Thread Miklos Vajna
Hi Regina, On Mon, May 03, 2021 at 08:25:42PM +0200, Regina Henschel wrote: > That means, I do not sent the information to the child, but the child > fetches it from the parent. I like your idea. > > Shape::addChildren() is called with a reference to the group shape. So there > the parent

Re: Parameter for addShape for a child of a group in oox import

2021-05-03 Thread Regina Henschel
Hi Miklos, answer below. Miklos Vajna schrieb am 03.05.2021 um 15:47: Hi Regina, On Fri, Apr 30, 2021 at 04:39:41PM +0200, Regina Henschel wrote: So I still need a way to transport the values from the group to its children. Besides my first idea to put all group infos into a struct and use

Re: Parameter for addShape for a child of a group in oox import

2021-05-03 Thread Miklos Vajna
Hi Regina, On Fri, Apr 30, 2021 at 04:39:41PM +0200, Regina Henschel wrote: > So I still need a way to transport the values from the group to its > children. Besides my first idea to put all group infos into a struct and use > that instead of the aTransformation parameter, I can also think to

Re: Parameter for addShape for a child of a group in oox import

2021-04-30 Thread Regina Henschel
Hi Miklos, Miklos Vajna schrieb am 30.04.2021 um 10:19: Hi Regina, On Thu, Apr 29, 2021 at 11:03:14AM +0200, Regina Henschel wrote: Overnight, I found a much easier way. I only need to apply the rotation of the child shape around its center after applying the parent transformation. Please