How to remove frame in SdrCustomShape during import from docx?
Regina Henschel
rb.henschel at t-online.de
Mon Nov 28 19:19:26 UTC 2022
Hi Miklos,
I will try this now. It seems to remove the frame:
uno::Reference<beans::XPropertySet> xPropertySet(mxShape, uno::UNO_QUERY);
if (xPropertySet.is())
{
uno::Reference<text::XTextFrame> xTextBoxContent(
xPropertySet->getPropertyValue("TextBoxContent"), uno::UNO_QUERY);
if (xTextBoxContent.is())
xTextBoxContent->dispose();
}
I need to implement the conversion to Fontwork too to see if it really
works.
Kind regards,
Regina
More information about the LibreOffice
mailing list