I use LibreOffice Writer with a double page mode, full-screen, on a landscape display.
I want the double page “WYSIWYG editor” to be centred on screen when I navigate, as if the scrolling was not continuous, but viewing [N/A-1], or [2-3], or [4-5] etc. instead of their fractions (e.g. some lower bit of [2-3] and a good part of the upper [4-5]).
I tried many keys (“Navigate / To Begin of Next Page”, “Navigate / To End of Previous Page” etc.) and the placement of the page on the screen is always “scattery”.
What instead I want is being able to place the page with the top-left corner always at n-ish pixel from left and m-ish pixel from top: my zoom of the page is that sufficient to view all of the content of the double page, as big as possible, and I want to see all of the content of that couple of pages in a single screen.
__
EDIT: I found that the “[View > Zoom > ] Entire Page” command also centers the page.
While this will be useful in practice as a workaround, for the future, we need a way to control the view (position page on top of the screen, in the middle, 123 pixels from top etc.). We have many commands to control the cursor position and none to directly control the position of the page.
EDIT2: and in fact, the workaround is not good enough, since it also controls the zoom, not in the correct way. The page is properly displayed at, e.g., 92%, the command centers it but zooms it to 84%, putting huge margins in the display.
We need a “Center Page(s)” command.
EDIT3: that
aPos.setY( m_pWrtShell->GetAnyCurRect(CurRectType::Page).Top() - DOCUMENTBORDER );
in core/sw/source/uibase/uiview/viewmdi.cxx , I suspect…
We at least need to be able to issue (if I am not mistaken, I have not studied the code thoroughly) that - of course, independently of any SvxZoomType. Actually, with SvxZoomType::PERCENT .