Parameter for addShape for a child of a group in oox import
vmiklos at collabora.com
Tue May 4 07:19:42 UTC 2021
On Mon, May 03, 2021 at 08:25:42PM +0200, Regina Henschel <rb.henschel at t-online.de> 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 shape is known. It does not call Shape::createAndInsert()
> directly, but calls Shape::addShape(), which then calls
> So add a pointer to addShape() and to createAndInsert()? If they are called
> first time, it would be a nullptr. Such pointer could likely replace the
> 'bInGroup' parameter.
Yes, I would suggest to try that way.
More information about the LibreOffice