Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could add the following in your With block.

.HasHorizontalScrollBar = False
.HasVerticalScrollBar = False
.Frame.ContainerWindow.IsMaximized = True

This still leaves the window title bar and the windows task bar.

You could add the following in your With block.

.HasHorizontalScrollBar = False
.HasVerticalScrollBar = False
.Frame.ContainerWindow.IsMaximized = True

This still leaves the window title bar and the windows task bar.

Edit to add example calc document. Untitled 34.ods

This is as close to full screen as I could get using a macro without calling windows user32.dll that will work only on 32 bit version of LibreOffice and only on windows.

Please post a screenshot or describe in more detail what doesn't work.

On my Windows 8.1 LibreOffice 5.2.2.2, 64 bit it looks like this: image description