Lines Matching refs:pPref

81 void lcl_SetUIPrefs(const SwViewOption* pPref, SwView* pView, ViewShell* pSh )  in lcl_SetUIPrefs()  argument
84 sal_Bool bVScrollChanged = pPref->IsViewVScrollBar() != pSh->GetViewOptions()->IsViewVScrollBar(); in lcl_SetUIPrefs()
85 … sal_Bool bHScrollChanged = pPref->IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar(); in lcl_SetUIPrefs()
86 sal_Bool bVAlignChanged = pPref->IsVRulerRight() != pSh->GetViewOptions()->IsVRulerRight(); in lcl_SetUIPrefs()
88 pSh->SetUIOptions(*pPref); in lcl_SetUIPrefs()
175 SwMasterUsrPref* pPref = (SwMasterUsrPref*)GetUsrPref( static_cast< sal_Bool >( in ApplyUsrPref() local
187 pPref->SetUIOptions( rUsrPref ); in ApplyUsrPref()
188 pPPView->ShowVScrollbar(pPref->IsViewVScrollBar()); in ApplyUsrPref()
189 pPPView->ShowHScrollbar(pPref->IsViewHScrollBar()); in ApplyUsrPref()
192 pPref->SetPagePrevRow(rUsrPref.GetPagePrevRow()); in ApplyUsrPref()
193 pPref->SetPagePrevCol(rUsrPref.GetPagePrevCol()); in ApplyUsrPref()
200 pPref->SetUsrPref( rUsrPref ); in ApplyUsrPref()
201 pPref->SetModified(); in ApplyUsrPref()
216 pViewOpt = new SwViewOption( *pPref ); in ApplyUsrPref()
235 pPref->SetIdle(sal_True); in ApplyUsrPref()
244 SwMasterUsrPref* pPref; in ApplyUserMetric() local
249 pPref = pWebUsrPref; in ApplyUserMetric()
255 pPref = pUsrPref; in ApplyUserMetric()
257 FieldUnit eOldMetric = pPref->GetMetric(); in ApplyUserMetric()
259 pPref->SetMetric(eMetric); in ApplyUserMetric()
261 FieldUnit eHScrollMetric = pPref->IsHScrollMetric() ? pPref->GetHScrollMetric() : eMetric; in ApplyUserMetric()
262 FieldUnit eVScrollMetric = pPref->IsVScrollMetric() ? pPref->GetVScrollMetric() : eMetric; in ApplyUserMetric()
282 SwMasterUsrPref* pPref; in ApplyRulerMetric() local
287 pPref = pWebUsrPref; in ApplyRulerMetric()
293 pPref = pUsrPref; in ApplyRulerMetric()
296 pPref->SetHScrollMetric(eMetric); in ApplyRulerMetric()
298 pPref->SetVScrollMetric(eMetric); in ApplyRulerMetric()
591 SwMasterUsrPref* pPref; in GetMetric() local
596 pPref = pWebUsrPref; in GetMetric()
602 pPref = pUsrPref; in GetMetric()
604 return static_cast< sal_uInt16 >(pPref->GetMetric()); in GetMetric()