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

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

2021-04-30 Thread Miklos Vajna
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 excuse me for bothering you with this problem. Ah,

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

2021-04-29 Thread Regina Henschel
Hi all, 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 excuse me for bothering you with this problem. Kind regards Regina ___

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

2021-04-28 Thread Regina Henschel
Hi all, if a child shape in a group is rotated, then it is currently imported wrongly. The visual effect of the wrong import is, that the shape might be skewed. The correct behavior would be: 1. Build transformation matrix Mg for the unrotated group shape. Would use "off" and "ext" from