https://bugs.documentfoundation.org/show_bug.cgi?id=149395

--- Comment #8 from Regina Henschel <[email protected]> ---
(In reply to Attila Bakos (NISZ) from comment #6)
> @Regina: Thank you for your idea. Unfortunately i do not know how to realize
> that, because the filter reads the xml sequentially, line by line. In the
> case, when the complex content is at the end of the textbox and we read it
> into the shape (as editeng text), it will be lost and there is no
> possibility to  turn back, because the read is done line by line. So the
> filter have to decide where the content have to be read, before the content
> is known. There might be a solution, but i have no idea about it for now.

I think it can be done in WpsContext::onEndElement(). The challenge is, that
the simple solution
OUString sFrameContent(xText->getString());
pCustomShape->NbcSetText(sFrameContent);
xShapePropertySet->setPropertyValue("TextBox", uno::Any(false));
as done for Fontwork will not work in this case, because it looses character
formattings.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to