SdrObject from SwFrameFormat
rb.henschel at t-online.de
Wed Jun 2 09:33:32 UTC 2021
Miklos Vajna schrieb am 02.06.2021 um 08:53:
> Hi Regina,
> On Wed, Jun 02, 2021 at 12:48:59AM +0200, Regina Henschel <rb.henschel at t-online.de> wrote:
>> in DocxSdrExport::startDMLAnchorInline() in
>> I can get the SdrObject of an object with
>> SdrObject* pObject = pFrameFormat->FindRealSdrObject();
>> Do you know a Scenario, when pObject does not exist when
>> startDMLAnchorInline() is used?
> I'm not aware of such a case. That function is meant to be shared code:
> it's used for both Writer images/textframes and Draw shapes, and there
> should be an SdrObject for all of them.
That is good to know. Then I do not need to invest time to find the best
possible ersatz, but default values will do.
More information about the LibreOffice