[Libreoffice-bugs] [Bug 103035] UI: Changing text formatting in Header/Footer dialog can be confusing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 2 12:19:52 UTC 2020


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

--- Comment #10 from Michael Meeks <michael.meeks at collabora.com> ---
Code pointers:
sc/uiconfig/scalc/ui/headerfootercontent.ui - describes that dialog
sc/source/ui/pagedlg/scuitphfedit.cxx - has the code for this:

    , m_xBtnText(m_xBuilder->weld_button("buttonBTN_TEXT"))

is the 'Text attributes' button

IMPL_LINK( ScHFEditPage, ClickHdl, weld::Button&, rBtn, void )

handles the setting of text attributes.

And we need to check for and set a selection here I guess:

    if (&rBtn == m_xBtnText.get())
    {
        m_pEditFocus->SetCharAttributes();
    }

Thanks ! =)

-- 
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/20200102/d87e2c0b/attachment.htm>


More information about the Libreoffice-bugs mailing list