[Libreoffice-bugs] [Bug 137664] Can't change slide.Background.FillBitmapMode with Macro (Basic or python PyUno)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 8 13:54:15 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=137664
Kevin Suo <suokunlong at 126.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #4 from Kevin Suo <suokunlong at 126.com> ---
I can reproduce this on master build.
I used the following python code:
---
import uno
from com.sun.star.drawing.BitmapMode import STRETCH
from com.sun.star.drawing.BitmapMode import REPEAT
def change_bg():
desktop = XSCRIPTCONTEXT.getDesktop()
doc = desktop.getCurrentComponent()
slide = doc.getDrawPages().getByIndex(0)
slide.Background.FillBitmapMode = STRETCH
# slide.Background.FillBitmapMode = REPEAT
---
The macro can be run without error, but the background bitmap mode has no
effect.
--
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/20201108/26513bbe/attachment.htm>
More information about the Libreoffice-bugs
mailing list