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

Reply via email to