Re: How to remove frame in SdrCustomShape during import from docx?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux