View | Details | Raw Unified | Return to issue 85241
Collapse All | Expand All

(-)sc/inc/ViewSettingsSequenceDefines.hxx (-8 / +9 lines)
Lines 27-33 Link Here
27
// this are the defines for the position of the settings in the
27
// this are the defines for the position of the settings in the
28
// ViewSettingsSequence
28
// ViewSettingsSequence
29
29
30
#define SC_VIEWSETTINGS_COUNT				23
30
#define SC_VIEWSETTINGS_COUNT				24
31
31
32
#define SC_VIEW_ID							0
32
#define SC_VIEW_ID							0
33
#define SC_TABLE_VIEWSETTINGS				1
33
#define SC_TABLE_VIEWSETTINGS				1
Lines 45-57 Link Here
45
#define SC_COLROWHDR						13
45
#define SC_COLROWHDR						13
46
#define SC_SHEETTABS						14
46
#define SC_SHEETTABS						14
47
#define SC_OUTLSYMB							15
47
#define SC_OUTLSYMB							15
48
#define SC_SNAPTORASTER						16
48
#define SC_VALUE_HIGHLIGHTING				16
49
#define SC_RASTERVIS						17
49
#define SC_SNAPTORASTER						17
50
#define SC_RASTERRESX						18
50
#define SC_RASTERVIS						18
51
#define SC_RASTERRESY						19
51
#define SC_RASTERRESX						19
52
#define SC_RASTERSUBX						20
52
#define SC_RASTERRESY						20
53
#define SC_RASTERSUBY						21
53
#define SC_RASTERSUBX						21
54
#define SC_RASTERSYNC						22
54
#define SC_RASTERSUBY						22
55
#define SC_RASTERSYNC						23
55
56
56
57
57
// this are the defines for the position of the settings in the
58
// this are the defines for the position of the settings in the
(-)sc/source/ui/view/viewdata.cxx (+4 lines)
Lines 2766-2771 Link Here
2766
			ScUnoHelpFunctions::SetBoolInAny( pSettings[SC_SHEETTABS].Value, pOptions->GetOption( VOPT_TABCONTROLS ) );
2766
			ScUnoHelpFunctions::SetBoolInAny( pSettings[SC_SHEETTABS].Value, pOptions->GetOption( VOPT_TABCONTROLS ) );
2767
			pSettings[SC_OUTLSYMB].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_OUTLSYMB));
2767
			pSettings[SC_OUTLSYMB].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_OUTLSYMB));
2768
			ScUnoHelpFunctions::SetBoolInAny( pSettings[SC_OUTLSYMB].Value, pOptions->GetOption( VOPT_OUTLINER ) );
2768
			ScUnoHelpFunctions::SetBoolInAny( pSettings[SC_OUTLSYMB].Value, pOptions->GetOption( VOPT_OUTLINER ) );
2769
			pSettings[SC_VALUE_HIGHLIGHTING].Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNO_VALUEHIGH ) );
2770
			ScUnoHelpFunctions::SetBoolInAny( pSettings[SC_VALUE_HIGHLIGHTING].Value, pOptions->GetOption( VOPT_SYNTAX ) );
2769
2771
2770
			const ScGridOptions& aGridOpt = pOptions->GetGridOptions();
2772
			const ScGridOptions& aGridOpt = pOptions->GetGridOptions();
2771
			pSettings[SC_SNAPTORASTER].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_SNAPTORASTER));
2773
			pSettings[SC_SNAPTORASTER].Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SC_UNO_SNAPTORASTER));
Lines 2916-2921 Link Here
2916
            if ( rSettings[i].Value >>= nTemp16 )
2918
            if ( rSettings[i].Value >>= nTemp16 )
2917
                pOptions->SetObjMode( VOBJ_TYPE_DRAW, (nTemp16 == 1) ? VOBJ_MODE_HIDE : VOBJ_MODE_SHOW );
2919
                pOptions->SetObjMode( VOBJ_TYPE_DRAW, (nTemp16 == 1) ? VOBJ_MODE_HIDE : VOBJ_MODE_SHOW );
2918
        }
2920
        }
2921
        else if ( sName.compareToAscii( SC_UNO_VALUEHIGH ) == 0 )
2922
            pOptions->SetOption( VOPT_SYNTAX, ScUnoHelpFunctions::GetBoolFromAny( rSettings[i].Value ) );
2919
		else
2923
		else
2920
		{
2924
		{
2921
			ScGridOptions aGridOpt(pOptions->GetGridOptions());
2925
			ScGridOptions aGridOpt(pOptions->GetGridOptions());

Return to issue 85241