[Libreoffice-bugs] [Bug 99296] Calc: Disable headers/footers by default

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 24 13:13:18 UTC 2019


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|heiko.tietze at documentfounda |libreoffice-bugs at lists.free
                   |tion.org                    |desktop.org
             Status|ASSIGNED                    |NEW

--- Comment #33 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
It's pretty simple to add exclude testing of ( !m_bHeaderOn && !m_bFooterOn )
in ScDocShell::GetStatePageStyle() sc/source/ui/docshell/docsh4.cxx and to add
checkboxes to the dialog which are assigned at ScHFEditPage::ScHFEditPage()
sc/source/ui/pagedlg/scuitphfedit.cxx with

    const bool bOn = rCoreAttrs.Get( bHeader ? ATTR_PAGE_HEADERSET :
ATTR_PAGE_FOOTERSET ).GetItemSet().Get( ATTR_PAGE_ON ).GetValue();
    m_xEnableHF->set_active( bOn );
    m_xEnableHF->set_label(m_xEnableHF->get_label() + " " +
m_xFtDefinedHF->get_label());

but then the trouble begins. The dialog is heavily overloaded and tabs are show
or not depending on many conditions. So unassigning myself to save time for
other tasks.

-- 
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/20190924/aed58dc8/attachment.html>


More information about the Libreoffice-bugs mailing list