• Luboš Luňák's avatar
    write (no)wrap of text only for custom shapes to .pptx (fdo#71961) · b3b84348
    Luboš Luňák yazdı
    Apparently checking the TextWordWrap property in DrawingML::WriteText()
    gives false by default for objects that do not have it set, which happens
    to be everything except for custom shapes, which seem to be the only ones
    to actually obey it. So all normal text would be exported as nowrap to .pptx
    and read back as custom shape that has non-wrapping text.
    
    I tried to make the property return true (which is what it should be in practice),
    but that appears to be an exercise in futility, or I'm not mad enough to follow
    the complicated property sets and whatnot. So just write it out only for custom
    shapes. UNO purists, if any, are welcome to change the dynamic_cast to something
    UNO-better if they manage without an ambiguous base class error.
    
    Change-Id: I3ed906285fde88d902ac9c801986a82a7515638b
    b3b84348
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
source Loading commit data...
util Loading commit data...
CustomTarget_generated.mk Loading commit data...
Library_oox.mk Loading commit data...
Makefile Loading commit data...
Module_oox.mk Loading commit data...
README Loading commit data...