<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Changing text formatting in Header/Footer dialog can be confusing"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103035#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Changing text formatting in Header/Footer dialog can be confusing"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103035">bug 103035</a>
              from <span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span></b>
        <pre>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 ! =)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>