Lines Matching refs:pOpt

269     const SwViewOption* pOpt = GetWrtShell().GetViewOptions();  in StateViewOptions()  local
284 if(!pOpt->IsViewHRuler(sal_True) && !pOpt->IsViewVRuler(sal_True)) in StateViewOptions()
290 aBool.SetValue( pOpt->IsViewAnyRuler()); in StateViewOptions()
296 sal_Bool bState = pOpt->getBrowseMode(); in StateViewOptions()
305 aBool.SetValue( !pOpt->IsGraphic() ); break; in StateViewOptions()
309 aBool.SetValue( pOpt->IsFldName() ); break; in StateViewOptions()
311 aBool.SetValue( lcl_IsViewMarks(*pOpt) ); break; in StateViewOptions()
313 aBool.SetValue( pOpt->IsViewMetaChars() ); break; in StateViewOptions()
318 aBool.SetValue( pOpt->IsPostIts()); in StateViewOptions()
329 aBool.SetValue( pOpt->IsShowHiddenPara()); break; in StateViewOptions()
331 aBool.SetValue( pOpt->IsGridVisible() ); break; in StateViewOptions()
333 aBool.SetValue( pOpt->IsSnap() ); break; in StateViewOptions()
335 aBool.SetValue( pOpt->IsCrossHair() ); break; in StateViewOptions()
337 aBool.SetValue( pOpt->IsSmoothScroll()); break; in StateViewOptions()
341 if( pOpt->getBrowseMode() ) in StateViewOptions()
351 aBool.SetValue( pOpt->IsOnlineSpell() ); in StateViewOptions()
354 if (pIDSA == 0 || pOpt->getBrowseMode() ) in StateViewOptions()
360 aBool.SetValue( pOpt->IsShadowCursor() ); in StateViewOptions()
379 SwViewOption* pOpt = new SwViewOption( *GetWrtShell().GetViewOptions() ); in ExecViewOptions() local
404 bFlag = !pOpt->IsGraphic(); in ExecViewOptions()
405 pOpt->SetGraphic( bFlag ); in ExecViewOptions()
422 bFlag = !pOpt->IsGridVisible(); in ExecViewOptions()
424 pOpt->SetGridVisible( bFlag ); in ExecViewOptions()
429 bFlag = !pOpt->IsSnap(); in ExecViewOptions()
431 pOpt->SetSnap( bFlag ); in ExecViewOptions()
436 bFlag = !pOpt->IsCrossHair(); in ExecViewOptions()
438 pOpt->SetCrossHair( bFlag ); in ExecViewOptions()
444 bFlag = !pOpt->getBrowseMode(); in ExecViewOptions()
447 bBrowseModeChanged = bFlag != pOpt->getBrowseMode(); in ExecViewOptions()
451 pOpt->setBrowseMode( bFlag ); in ExecViewOptions()
456 bFlag = !pOpt->IsPostIts(); in ExecViewOptions()
459 pOpt->SetPostIts( bFlag ); in ExecViewOptions()
460 if (pOpt->IsPostIts()) in ExecViewOptions()
466 bFlag = !pOpt->IsShowHiddenPara(); in ExecViewOptions()
468 pOpt->SetShowHiddenPara( bFlag ); in ExecViewOptions()
474 bFlag = !pOpt->IsSmoothScroll(); in ExecViewOptions()
476 pOpt->SetSmoothScroll( bFlag ); in ExecViewOptions()
482 bFlag = !pOpt->IsViewVRuler(); in ExecViewOptions()
484 pOpt->SetViewVRuler( bFlag ); in ExecViewOptions()
489 bFlag = !pOpt->IsViewVScrollBar(); in ExecViewOptions()
491 pOpt->SetViewVScrollBar( bFlag ); in ExecViewOptions()
496 bFlag = !pOpt->IsViewHScrollBar(); in ExecViewOptions()
498 pOpt->SetViewHScrollBar( bFlag ); in ExecViewOptions()
502 bFlag = !pOpt->IsViewAnyRuler(); in ExecViewOptions()
504 pOpt->SetViewAnyRuler( bFlag ); in ExecViewOptions()
515 bFlag = !pOpt->IsFldName() ; in ExecViewOptions()
517 pOpt->SetFldName( bFlag ); in ExecViewOptions()
521 bFlag = !lcl_IsViewMarks(*pOpt) ; in ExecViewOptions()
523 lcl_SetViewMarks( *pOpt, bFlag ); in ExecViewOptions()
527 bFlag = !pOpt->IsViewMetaChars(); in ExecViewOptions()
529 lcl_SetViewMetaChars( *pOpt, bFlag ); in ExecViewOptions()
533 bFlag = bSet = !pOpt->IsOnlineSpell(); in ExecViewOptions()
535 pOpt->SetOnlineSpell(bSet); in ExecViewOptions()
564 bFlag = bSet = !pOpt->IsShadowCursor(); in ExecViewOptions()
566 pOpt->SetShadowCursor(bSet); in ExecViewOptions()
570 delete pOpt; in ExecViewOptions()
580 if( !(*rSh.GetViewOptions() == *pOpt )) in ExecViewOptions()
582 rSh.ApplyViewOptions( *pOpt ); in ExecViewOptions()
592 pModule->CheckSpellChanges( pOpt->IsOnlineSpell(), sal_False, sal_False, sal_False ); in ExecViewOptions()
599 pModule->ApplyUsrPref( *pOpt, this, bWebView ? VIEWOPT_DEST_WEB : VIEWOPT_DEST_TEXT ); in ExecViewOptions()
612 delete pOpt; in ExecViewOptions()