Lines Matching refs:aViewOpt

90 		SwViewOption aViewOpt = *GetUsrPref(!bTextDialog);  in CreateItemSet()  local
102 aViewOpt = *pAppView->GetWrtShell().GetViewOptions(); in CreateItemSet()
134 pRet->Put( SwDocDisplayItem( aViewOpt, FN_PARAM_DOCDISP) ); in CreateItemSet()
135 pRet->Put( SwElemItem( aViewOpt, FN_PARAM_ELEM) ); in CreateItemSet()
138 pRet->Put( SwShadowCursorItem( aViewOpt, FN_PARAM_SHADOWCURSOR )); in CreateItemSet()
139 pRet->Put( SfxBoolItem(FN_PARAM_CRSR_IN_PROTECTED, aViewOpt.IsCursorInProtectedArea())); in CreateItemSet()
229 aGridItem.SetUseGridSnap( aViewOpt.IsSnap()); in CreateItemSet()
230 aGridItem.SetSynchronize( aViewOpt.IsSynchronize()); in CreateItemSet()
231 aGridItem.SetGridVisible( aViewOpt.IsGridVisible()); in CreateItemSet()
233 const Size& rSnapSize = aViewOpt.GetSnapSize(); in CreateItemSet()
237 aGridItem.SetFldDivisionX( aViewOpt.GetDivisionX()); in CreateItemSet()
238 aGridItem.SetFldDivisionY( aViewOpt.GetDivisionY()); in CreateItemSet()
260 pRet->Put(SvxBrushItem(aViewOpt.GetRetoucheColor(), RES_BACKGROUND)); in CreateItemSet()
268 aTestItem.bTest1 = aViewOpt.IsTest1(); in CreateItemSet()
269 aTestItem.bTest2 = aViewOpt.IsTest2(); in CreateItemSet()
270 aTestItem.bTest3 = aViewOpt.IsTest3(); in CreateItemSet()
271 aTestItem.bTest4 = aViewOpt.IsTest4(); in CreateItemSet()
272 aTestItem.bTest5 = aViewOpt.IsTest5(); in CreateItemSet()
273 aTestItem.bTest6 = aViewOpt.IsTest6(); in CreateItemSet()
274 aTestItem.bTest7 = aViewOpt.IsTest7(); in CreateItemSet()
275 aTestItem.bTest8 = aViewOpt.IsTest8(); in CreateItemSet()
277 aTestItem.bTest10 = aViewOpt.IsTest10(); in CreateItemSet()
305 SwViewOption aViewOpt = *GetUsrPref(!bTextDialog); in ApplyItemSet() local
319 if(!aViewOpt.IsViewMetaChars()) in ApplyItemSet()
321 if( (!aViewOpt.IsTab( sal_True ) && pDocDispItem->bTab) || in ApplyItemSet()
322 (!aViewOpt.IsBlank( sal_True ) && pDocDispItem->bSpace) || in ApplyItemSet()
323 (!aViewOpt.IsParagraph( sal_True ) && pDocDispItem->bParagraphEnd) || in ApplyItemSet()
324 (!aViewOpt.IsLineBreak( sal_True ) && pDocDispItem->bManualBreak) ) in ApplyItemSet()
326 aViewOpt.SetViewMetaChars(sal_True); in ApplyItemSet()
332 pDocDispItem->FillViewOptions( aViewOpt ); in ApplyItemSet()
347 pElemItem->FillViewOptions( aViewOpt ); in ApplyItemSet()
395 aViewOpt.SetRetoucheColor( rBrushItem.GetColor() ); in ApplyItemSet()
406 aViewOpt.SetSnap( pGridItem->GetUseGridSnap() ); in ApplyItemSet()
407 aViewOpt.SetSynchronize(pGridItem->GetSynchronize()); in ApplyItemSet()
408 if( aViewOpt.IsGridVisible() != pGridItem->GetGridVisible() ) in ApplyItemSet()
409 aViewOpt.SetGridVisible( pGridItem->GetGridVisible()); in ApplyItemSet()
412 if( aViewOpt.GetSnapSize() != aSize ) in ApplyItemSet()
413 aViewOpt.SetSnapSize( aSize ); in ApplyItemSet()
415 if( aViewOpt.GetDivisionX() != nDiv ) in ApplyItemSet()
416 aViewOpt.SetDivisionX( nDiv ); in ApplyItemSet()
418 if( aViewOpt.GetDivisionY() != nDiv ) in ApplyItemSet()
419 aViewOpt.SetDivisionY( nDiv ); in ApplyItemSet()
448 ((SwShadowCursorItem*)pItem)->FillViewOptions( aViewOpt ); in ApplyItemSet()
466 aViewOpt.SetCursorInProtectedArea(((const SfxBoolItem*)pItem)->GetValue()); in ApplyItemSet()
479 aViewOpt.SetTest1((sal_Bool)pTestItem->bTest1); in ApplyItemSet()
480 aViewOpt.SetTest2((sal_Bool)pTestItem->bTest2); in ApplyItemSet()
481 aViewOpt.SetTest3((sal_Bool)pTestItem->bTest3); in ApplyItemSet()
482 aViewOpt.SetTest4((sal_Bool)pTestItem->bTest4); in ApplyItemSet()
483 aViewOpt.SetTest5((sal_Bool)pTestItem->bTest5); in ApplyItemSet()
484 aViewOpt.SetTest6((sal_Bool)pTestItem->bTest6); in ApplyItemSet()
485 aViewOpt.SetTest7((sal_Bool)pTestItem->bTest7); in ApplyItemSet()
486 aViewOpt.SetTest8((sal_Bool)pTestItem->bTest8); in ApplyItemSet()
488 aViewOpt.SetTest10((sal_Bool)pTestItem->bTest10); in ApplyItemSet()
492 ApplyUsrPref( aViewOpt, pAppView, bTextDialog? VIEWOPT_DEST_TEXT : VIEWOPT_DEST_WEB); in ApplyItemSet()