[Libreoffice-bugs] [Bug 117838] VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 6 11:10:50 UTC 2018


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

--- Comment #6 from Balint Fodor <fodorbalint at gmail.com> ---
Created attachment 142555
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142555&action=edit
Workaround by setting background image.

Thanks for the tip, it works!

This is what I needed to use:
oPageStyle=ThisComponent.getStyleFamilies().getByName("PageStyles").getByName("Default
Style")
oPageStyle.BackGraphicLocation = com.sun.star.style.GraphicLocation.LEFT_TOP
oPageStyle.BackGraphicURL=url

The BackGraphicLocation needs to be set either LEFT_TOP, LEFT_MIDDLE or TILED,
otherwise you will get 1 px borders different places around the image.
Probably this can be reviewed by the developers too.

-- 
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/20180606/faa6a99c/attachment.html>


More information about the Libreoffice-bugs mailing list