Lines Matching refs:pWrtShell

169 		if ( !pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT) )  in ImpSetVerb()
202 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
210 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
239 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : NULL; in IMPL_LINK()
243 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in IMPL_LINK()
261 const SwFrmFmt* pCurTableFmt = pWrtShell->GetTableFmt(); in SelectShell()
269 int nNewSelectionType = (pWrtShell->GetSelectionType() in SelectShell()
478 pWrtShell->UpdateTable(); in SelectShell()
508 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt && in IMPL_LINK()
513 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt ) in IMPL_LINK()
518 if ( pWrtShell->BasicActionPend() || bNoInterrupt || in IMPL_LINK()
543 mpPostItMgr->SetShadowState( pWrtShell->GetPostItFieldAtCursor() ); in IMPL_LINK()
555 if( pWrtShell->BasicActionPend() || bNoInterrupt ) in IMPL_LINK()
571 sal_Bool bOldUndo = pWrtShell->DoesUndo(); in IMPL_LINK()
572 pWrtShell->DoUndo( sal_False ); in IMPL_LINK()
574 pWrtShell->DoUndo( bOldUndo ); in IMPL_LINK()
594 if ( !pWrtShell->IsCrsrReadonly() ) in _CheckReadonlyState()
643 else if( pWrtShell->IsAllProtect() ) in _CheckReadonlyState()
675 if( pWrtShell->HasReadonlySel() && in _CheckReadonlySelection()
676 ( !pWrtShell->GetDrawView() || in _CheckReadonlySelection()
677 !pWrtShell->GetDrawView()->GetMarkedObjectList().GetMarkCount() )) in _CheckReadonlySelection()
733 pWrtShell(0), in SwView()
837 pWrtShell = new SwWrtShell( *((SwView*)pExistingSh)->pWrtShell, in SwView()
842 pWrtShell = new SwWrtShell( *(SwWrtShell*)pDocSh->GetDoc()->GetCurrentViewShell(), in SwView()
866 pWrtShell = new SwWrtShell( rDoc, pEditWin, *this, &aUsrPref ); in SwView()
872 pWrtShell->MoveTo(&rPreviewViewShell); in SwView()
883 pWrtShell->HasDrawView() ) in SwView()
885 SdrView* pDrawView = pWrtShell->GetDrawView(); in SwView()
894 const bool bIsDocModified = pWrtShell->GetDoc()->IsModified(); in SwView()
899 aUsrPref.SetReadonly( pWrtShell->GetViewOptions()->IsReadonly() ); in SwView()
906 pWrtShell->SetBrowseBorder( aBrwsBorder ); in SwView()
946 DocSzChgd( pWrtShell->GetDocSize() ); in SwView()
949 pWrtShell->SetChgLnk(LINK(this, SwView, AttrChangedNotify)); in SwView()
958 pWrtShell->DoUndo( 0 != SW_MOD()->GetUndoOptions().GetUndoCount() ); in SwView()
960 const sal_Bool bBrowse = pWrtShell->GetViewOptions()->getBrowseMode(); in SwView()
973 pWrtShell->SetUIOptions( aUsrPref ); in SwView()
974 pWrtShell->SetReadOnlyAvailable( aUsrPref.IsCursorInProtectedArea() ); in SwView()
975 pWrtShell->ApplyAccessiblityOptions(SW_MOD()->GetAccessibilityOptions()); in SwView()
977 if( pWrtShell->GetDoc()->IsUpdateExpFld() ) in SwView()
979 SET_CURR_SHELL( pWrtShell ); in SwView()
980 pWrtShell->StartAction(); in SwView()
981 pWrtShell->CalcLayout(); in SwView()
982 pWrtShell->GetDoc()->UpdateFlds(NULL, false); in SwView()
983 pWrtShell->EndAction(); in SwView()
984 pWrtShell->GetDoc()->SetUpdateExpFldStat( sal_False ); in SwView()
988 if( pWrtShell->GetDoc()->IsUpdateTOX() ) in SwView()
992 pWrtShell->GetDoc()->SetUpdateTOX( sal_False ); // wieder zurueck setzen in SwView()
993 pWrtShell->SttEndDoc(sal_True); in SwView()
1005 if (!pWrtShell->GetDoc()->GetIDocumentUndoRedo().IsUndoNoResetModified() && in SwView()
1010 pWrtShell->ResetModified(); in SwView()
1030 SwDBData aData = pWrtShell->GetDBData(); in SwView()
1069 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : 0; in ~SwView()
1079 delete pWrtShell; in ~SwView()
1080 pWrtShell = 0; // Auf 0 setzen, damit folgende DToren nicht drauf zugreifen in ~SwView()
1113 const SwRect& rRect = pWrtShell->GetCharRect(); in WriteUserData()
1120 rUserData += String::CreateFromInt32( pWrtShell->GetViewOptions()->GetZoom() ); in WriteUserData()
1131 (sal_uInt16)pWrtShell->GetViewOptions()->GetZoomType());//eZoom; in WriteUserData()
1133 rUserData += FRMTYPE_NONE == pWrtShell->GetSelFrmType() ? '0' : '1'; in WriteUserData()
1159 (!pWrtShell->IsNewLayout() || pWrtShell->GetViewOptions()->getBrowseMode() || bBrowse) ) in ReadUserData()
1164 SET_CURR_SHELL(pWrtShell); in ReadUserData()
1182 …const long nAdd = pWrtShell->GetViewOptions()->getBrowseMode() ? DOCUMENTBORDER : DOCUMENTBORDER*2; in ReadUserData()
1183 if ( nBottom <= (pWrtShell->GetDocSize().Height()+nAdd) ) in ReadUserData()
1185 pWrtShell->EnableSmooth( sal_False ); in ReadUserData()
1191 if( !pWrtShell->GetViewOptions()->getBrowseMode() ) in ReadUserData()
1200 && pWrtShell->IsObjSelectable( aCrsrPos ); in ReadUserData()
1205 bool bSavedFlagValue = pWrtShell->IsMacroExecAllowed(); in ReadUserData()
1206 pWrtShell->SetMacroExecAllowed( false ); in ReadUserData()
1212 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos, !bSelectObj ); in ReadUserData()
1215 pWrtShell->SelectObj( aCrsrPos ); in ReadUserData()
1216 pWrtShell->EnterSelFrmMode( &aCrsrPos ); in ReadUserData()
1221 pWrtShell->SetMacroExecAllowed( bSavedFlagValue ); in ReadUserData()
1243 bSelectObj = pWrtShell->IsObjSelectable( aCrsrPos2 ); in ReadUserData()
1245 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos2, sal_False ); in ReadUserData()
1248 pWrtShell->SelectObj( aCrsrPos2 ); in ReadUserData()
1249 pWrtShell->EnterSelFrmMode( &aCrsrPos2 ); in ReadUserData()
1251 pWrtShell->MakeSelVisible(); in ReadUserData()
1256 pWrtShell->GotoPage(nNewPage, sal_True); in ReadUserData()
1262 pWrtShell->StartAction(); in ReadUserData()
1263 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in ReadUserData()
1267 pWrtShell->LockView( sal_True ); in ReadUserData()
1268 pWrtShell->EndAction(); in ReadUserData()
1269 pWrtShell->LockView( sal_False ); in ReadUserData()
1270 pWrtShell->EnableSmooth( sal_True ); in ReadUserData()
1282 …if (nLength && (!pWrtShell->IsNewLayout() || pWrtShell->GetViewOptions()->getBrowseMode() || bBrow… in ReadUserDataSequence()
1284 SET_CURR_SHELL(pWrtShell); in ReadUserDataSequence()
1286 const SwRect& rRect = pWrtShell->GetCharRect(); in ReadUserDataSequence()
1288 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in ReadUserDataSequence()
1297 sal_Bool bSelectedFrame = ( pWrtShell->GetSelFrmType() != FRMTYPE_NONE ), in ReadUserDataSequence()
1372 …const long nAdd = pWrtShell->GetViewOptions()->getBrowseMode() ? DOCUMENTBORDER : DOCUMENTBORDER*2; in ReadUserDataSequence()
1373 if (nBottom <= (pWrtShell->GetDocSize().Height()+nAdd) ) in ReadUserDataSequence()
1375 pWrtShell->EnableSmooth( sal_False ); in ReadUserDataSequence()
1380 if ( !pWrtShell->GetViewOptions()->getBrowseMode() ) in ReadUserDataSequence()
1390 && pWrtShell->IsObjSelectable( aCrsrPos ); in ReadUserDataSequence()
1393 bool bSavedFlagValue = pWrtShell->IsMacroExecAllowed(); in ReadUserDataSequence()
1394 pWrtShell->SetMacroExecAllowed( false ); in ReadUserDataSequence()
1402 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos, !bSelectObj ); in ReadUserDataSequence()
1405 pWrtShell->SelectObj( aCrsrPos ); in ReadUserDataSequence()
1406 pWrtShell->EnterSelFrmMode( &aCrsrPos ); in ReadUserDataSequence()
1411 pWrtShell->SetMacroExecAllowed( bSavedFlagValue ); in ReadUserDataSequence()
1433 pWrtShell->StartAction(); in ReadUserDataSequence()
1439 pWrtShell->StartAction(); in ReadUserDataSequence()
1470 pWrtShell->LockView( sal_True ); in ReadUserDataSequence()
1471 pWrtShell->EndAction(); in ReadUserDataSequence()
1472 pWrtShell->LockView( sal_False ); in ReadUserDataSequence()
1473 pWrtShell->EnableSmooth( sal_True ); in ReadUserDataSequence()
1481 const SwRect& rRect = pWrtShell->GetCharRect(); in WriteUserDataSequence()
1521 … const sal_Int16 nZoomType = static_cast< sal_Int16 >(pWrtShell->GetViewOptions()->GetZoomType()); in WriteUserDataSequence()
1526 …const sal_Int16 nViewLayoutColumns = static_cast< sal_Int16 >(pWrtShell->GetViewOptions()->GetView… in WriteUserDataSequence()
1531 const sal_Bool bIsViewLayoutBookMode = pWrtShell->GetViewOptions()->IsViewLayoutBookMode(); in WriteUserDataSequence()
1536 pValue->Value <<= static_cast < sal_Int16 > (pWrtShell->GetViewOptions()->GetZoom()); in WriteUserDataSequence()
1540 const sal_Bool bIsSelected = FRMTYPE_NONE == pWrtShell->GetSelFrmType() ? sal_False : sal_True; in WriteUserDataSequence()
1554 sal_Bool bUnlockView = !pWrtShell->IsViewLocked(); in ShowCursor()
1555 pWrtShell->LockView( sal_True ); //lock visible section in ShowCursor()
1558 pWrtShell->HideCrsr(); in ShowCursor()
1559 else if( !pWrtShell->IsFrmSelected() && !pWrtShell->IsObjSelected() ) in ShowCursor()
1560 pWrtShell->ShowCrsr(); in ShowCursor()
1563 pWrtShell->LockView( sal_False ); in ShowCursor()
1623 pGlosHdl = new SwGlossaryHdl(GetViewFrame(), pWrtShell); in GetGlosHdl()
1716 AttrChangedNotify(pWrtShell); in Notify()
1748 pWrtShell->Insert( aEmptyStr, aEmptyStr, aGrf ); in ScannerEventHdl()
1805 sal_uInt16 nPasteDestination = SwTransferable::GetSotDestination( *pWrtShell ); in IsPasteAllowed()
1813 bPasteState = SwTransferable::IsPaste( *pWrtShell, aDataHelper ); in IsPasteAllowed()
1815 *pWrtShell, aDataHelper ); in IsPasteAllowed()
1832 sal_uInt16 nPasteDestination = SwTransferable::GetSotDestination( *pWrtShell ); in IsPasteSpecialAllowed()
1840 bPasteState = SwTransferable::IsPaste( *pWrtShell, aDataHelper ); in IsPasteSpecialAllowed()
1842 *pWrtShell, aDataHelper ); in IsPasteSpecialAllowed()