diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-08-18 14:33:48 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-08-18 14:34:15 +0200 |
commit | d40dce0f0f00b88dd645a0f334e3d7b2d6af6515 (patch) | |
tree | 9803baff43eae4683216fa81347e5e1e8fc1414a /cui/source/options/optcolor.cxx | |
parent | 81ad146539b27391689aceb5770e8eaa382ba58b (diff) |
Header/Footer: moved the decorator color to the options
Diffstat (limited to 'cui/source/options/optcolor.cxx')
-rw-r--r-- | cui/source/options/optcolor.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx index 3fda1758996a..7199c229ec1e 100644 --- a/cui/source/options/optcolor.cxx +++ b/cui/source/options/optcolor.cxx @@ -77,6 +77,7 @@ const char* aColorLBHids[] = HID_COLORPAGE_WRITERNOTESINDICATOR_LB, HID_COLORPAGE_WRITERSCRIPTINDICATOR_LB, HID_COLORPAGE_WRITERSECTIONBOUNDARIES_LB, + HID_COLORPAGE_WRITERHEADERFOOTERMARK_LB, HID_COLORPAGE_WRITERPAGEBREAKS_LB, HID_COLORPAGE_HTMLSGML_LB, HID_COLORPAGE_HTMLCOMMENT_LB, @@ -121,6 +122,7 @@ const char* aColorCBHids[] = HID_COLORPAGE_WRITERNOTESINDICATOR_CB, HID_COLORPAGE_WRITERSCRIPTINDICATOR_CB, HID_COLORPAGE_WRITERSECTIONBOUNDARIES_CB, + HID_COLORPAGE_WRITERHEADERFOOTERMARK_CB, HID_COLORPAGE_WRITERPAGEBREAKS_CB, HID_COLORPAGE_HTMLSGML_CB, HID_COLORPAGE_HTMLCOMMENT_CB, @@ -218,6 +220,9 @@ class ColorConfigWindow_Impl : public Window CheckBox aWrtSectionBoundCB; ColorListBox aWrtSectionBoundLB; Window aWrtSectionBoundWN; + FixedText aWrtHeaderFooterMarkFT; + ColorListBox aWrtHeaderFooterMarkLB; + Window aWrtHeaderFooterMarkWN; FixedText aWrtPageBreaksFT; ColorListBox aWrtPageBreaksLB; Window aWrtPageBreaksWN; @@ -524,6 +529,9 @@ ColorConfigWindow_Impl::ColorConfigWindow_Impl(Window* pParent, const ResId& rRe aWrtSectionBoundCB(this, ResId( CB_WRITERSECTIONBOUNDARIES, *rResId.GetResMgr())), aWrtSectionBoundLB(this, ResId( LB_WRITERSECTIONBOUNDARIES, *rResId.GetResMgr())), aWrtSectionBoundWN(this, ResId( WN_WRITERSECTIONBOUNDARIES, *rResId.GetResMgr())), + aWrtHeaderFooterMarkFT(this, ResId( FT_WRITERHEADERFOOTERMARK, *rResId.GetResMgr())), + aWrtHeaderFooterMarkLB(this, ResId( LB_WRITERHEADERFOOTERMARK, *rResId.GetResMgr())), + aWrtHeaderFooterMarkWN(this, ResId( WN_WRITERHEADERFOOTERMARK, *rResId.GetResMgr())), aWrtPageBreaksFT(this, ResId( FT_WRITERPAGEBREAKS, *rResId.GetResMgr())), aWrtPageBreaksLB(this, ResId( LB_WRITERPAGEBREAKS, *rResId.GetResMgr())), aWrtPageBreaksWN(this, ResId( WN_WRITERPAGEBREAKS, *rResId.GetResMgr())), @@ -664,6 +672,7 @@ ColorConfigWindow_Impl::ColorConfigWindow_Impl(Window* pParent, const ResId& rRe aFixedTexts[CALCREFERENCE ]=& aCalcReferenceFT; aFixedTexts[CALCNOTESBACKGROUND ]=& aCalcNotesBackFT; aFixedTexts[WRITERPAGEBREAKS] = &aWrtPageBreaksFT; + aFixedTexts[WRITERHEADERFOOTERMARK] = &aWrtHeaderFooterMarkFT; aFixedTexts[DRAWGRID ] = &aDrawGridFT ; aFixedTexts[BASICIDENTIFIER ] = &aBasicIdentifierFT; aFixedTexts[BASICCOMMENT ] = &aBasicCommentFT; @@ -698,6 +707,7 @@ ColorConfigWindow_Impl::ColorConfigWindow_Impl(Window* pParent, const ResId& rRe aColorBoxes[WRITERSCRIPTINDICATOR ] = &aWrtScriptIndicatorLB ; aColorBoxes[WRITERSECTIONBOUNDARIES ] = &aWrtSectionBoundLB ; aColorBoxes[WRITERPAGEBREAKS] = &aWrtPageBreaksLB; + aColorBoxes[WRITERHEADERFOOTERMARK] = &aWrtHeaderFooterMarkLB; aColorBoxes[HTMLSGML ] = &aHTMLSGMLLB ; aColorBoxes[HTMLCOMMENT ] = &aHTMLCommentLB ; aColorBoxes[HTMLKEYWORD ] = &aHTMLKeywdLB ; @@ -744,6 +754,7 @@ ColorConfigWindow_Impl::ColorConfigWindow_Impl(Window* pParent, const ResId& rRe aWindows[WRITERSCRIPTINDICATOR ] = &aWrtScriptIndicatorWN ; aWindows[WRITERSECTIONBOUNDARIES ] = &aWrtSectionBoundWN ; aWindows[WRITERPAGEBREAKS] = &aWrtPageBreaksWN; + aWindows[WRITERHEADERFOOTERMARK] = &aWrtHeaderFooterMarkWN; aWindows[HTMLSGML ] = &aHTMLSGMLWN ; aWindows[HTMLCOMMENT ] = &aHTMLCommentWN ; aWindows[HTMLKEYWORD ] = &aHTMLKeywdWN ; |