[Libreoffice-ux-advise] [Bug 124041] Maybe place focus on header/footer frame menu button when header/footer is empty

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 16 10:26:06 UTC 2019


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

--- Comment #8 from Jim Raykowski <raykowj at gmail.com> ---
Code pointers to grab focus to the empty header/footer frame menu button. 

Use SwHeaderFooterWin::IsEmptyHeaderFooter() to check if... header footer is
empty, then grab focus to SwHeaderFooterWin using Window::GrabFocus() inherited
by SwHeaderFooterWin.

Add lines of code in the appropriate place in this function
sw/source/uibase/docvw/FrameControlsManager.cxx
void SwFrameControlsManager::SetHeaderFooterControl( const SwPageFrame*
pPageFrame, ...


After is this is done I can supply code pointers for adding key input handling
of Escape key to return to main document and handling of Space and Enter key to
add the header/footer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list