[Libreoffice-bugs] [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 the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190316/4829c2fd/attachment.html>


More information about the Libreoffice-bugs mailing list