Kaydet (Commit) 16fa2d72 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Andras Timar

Add custom HIDs for the Page Style - Footer tabpage

This is necessary because the Header and Footer tabpages
use a shared .ui file and I can't link different help
content to the same ui elements.

Change-Id: I5718dc3bf1dfae5962ebe1f49f5c3d75d958f1c5
Reviewed-on: https://gerrit.libreoffice.org/32499Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 6897ba36
......@@ -170,6 +170,19 @@ SvxHFPage::SvxHFPage( vcl::Window* pParent, const SfxItemSet& rSet, sal_uInt16 n
{
get(m_pPageLbl,"labelFooterFormat");
get(m_pTurnOnBox, "checkFooterOn");
/* Set custom HIDs for the Footer help page (shared/01/05040400.xhp)
otherwise it would display the same extended help
on both the Header and Footer tabs */
m_pCntSharedBox->SetHelpId( "SVX_HID_FOOTER_CHECKSAMELR" );
m_pCntSharedFirstBox->SetHelpId( "SVX_HID_FOOTER_CHECKSAMEFP" );
m_pLMEdit->SetHelpId( "SVX_HID_FOOTER_SPINMARGLEFT" );
m_pRMEdit->SetHelpId( "SVX_HID_FOOTER_SPINMARGRIGHT" );
m_pDistEdit->SetHelpId( "SVX_HID_FOOTER_SPINSPACING" );
m_pDynSpacingCB->SetHelpId( "SVX_HID_FOOTER_CHECKDYNSPACING" );
m_pHeightEdit->SetHelpId( "SVX_HID_FOOTER_SPINHEIGHT" );
m_pHeightDynBtn->SetHelpId( "SVX_HID_FOOTER_CHECKAUTOFIT" );
m_pBackgroundBtn->SetHelpId( "SVX_HID_FOOTER_BUTTONMORE" );
}
else //Header
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment