[Libreoffice-bugs] [Bug 118370] place text when importing from PDF in one text box instead many text boxes with one string

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 18 20:07:49 UTC 2019


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

--- Comment #18 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Justin L from comment #17)
> 
> > "Text along path" is a feature for paths and curves.
> IsFontwork() is reporting false for this object, so it is still being
> consolidated. I didn't see any way to differentiate it. Perhaps IsFontwork()
> is broken.

You are right. Not really broken, but not usable in your context. IsFontwork()
is defined as 
bool SdrTextObj::IsFontwork() const
{
   return !bTextFrame // Default is FALSE
     && GetObjectItemSet().Get(XATTR_FORMTXTSTYLE).GetValue() !=
XFormTextStyle::NONE;
}
in svx/source/svdraw/svdotext.cxx. I see it similar already in OOo1.1.5. That
was correct at that time, because Fontwork was not possible on text boxes.
Fontwork was changed sometime between OOo2.2 and OOo3.2 (I have only those to
test) so that it is applicable to text boxes too. But the function was not
adapted. The function is available as property for macros and people might rely
on it in its current form. Therefore I would not change the function.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190718/792e5425/attachment-0001.html>


More information about the Libreoffice-bugs mailing list