Lines Matching refs:pWrtShell

169 		if ( !pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT) )  in ImpSetVerb()
201 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
209 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
238 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : NULL; in IMPL_LINK()
242 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in IMPL_LINK()
260 const SwFrmFmt* pCurTableFmt = pWrtShell->GetTableFmt(); in SelectShell()
268 int nNewSelectionType = (pWrtShell->GetSelectionType() in SelectShell()
477 pWrtShell->UpdateTable(); in SelectShell()
507 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt && in IMPL_LINK()
512 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt ) in IMPL_LINK()
517 if ( pWrtShell->BasicActionPend() || bNoInterrupt || in IMPL_LINK()
542 mpPostItMgr->SetShadowState( pWrtShell->GetPostItFieldAtCursor() ); in IMPL_LINK()
554 if( pWrtShell->BasicActionPend() || bNoInterrupt ) in IMPL_LINK()
570 sal_Bool bOldUndo = pWrtShell->DoesUndo(); in IMPL_LINK()
571 pWrtShell->DoUndo( sal_False ); in IMPL_LINK()
573 pWrtShell->DoUndo( bOldUndo ); in IMPL_LINK()
593 if ( !pWrtShell->IsCrsrReadonly() ) in _CheckReadonlyState()
642 else if( pWrtShell->IsAllProtect() ) in _CheckReadonlyState()
674 if( pWrtShell->HasReadonlySel() && in _CheckReadonlySelection()
675 ( !pWrtShell->GetDrawView() || in _CheckReadonlySelection()
676 !pWrtShell->GetDrawView()->GetMarkedObjectList().GetMarkCount() )) in _CheckReadonlySelection()
732 pWrtShell(0), in SwView()
836 pWrtShell = new SwWrtShell( *((SwView*)pExistingSh)->pWrtShell, in SwView()
841 pWrtShell = new SwWrtShell( *(SwWrtShell*)pDocSh->GetDoc()->GetCurrentViewShell(), in SwView()
865 pWrtShell = new SwWrtShell( rDoc, pEditWin, *this, &aUsrPref ); in SwView()
871 pWrtShell->MoveTo(&rPreviewViewShell); in SwView()
882 pWrtShell->HasDrawView() ) in SwView()
884 SdrView* pDrawView = pWrtShell->GetDrawView(); in SwView()
893 const bool bIsDocModified = pWrtShell->GetDoc()->IsModified(); in SwView()
898 aUsrPref.SetReadonly( pWrtShell->GetViewOptions()->IsReadonly() ); in SwView()
905 pWrtShell->SetBrowseBorder( aBrwsBorder ); in SwView()
945 DocSzChgd( pWrtShell->GetDocSize() ); in SwView()
948 pWrtShell->SetChgLnk(LINK(this, SwView, AttrChangedNotify)); in SwView()
957 pWrtShell->DoUndo( 0 != SW_MOD()->GetUndoOptions().GetUndoCount() ); in SwView()
959 const sal_Bool bBrowse = pWrtShell->GetViewOptions()->getBrowseMode(); in SwView()
972 pWrtShell->SetUIOptions( aUsrPref ); in SwView()
973 pWrtShell->SetReadOnlyAvailable( aUsrPref.IsCursorInProtectedArea() ); in SwView()
974 pWrtShell->ApplyAccessiblityOptions(SW_MOD()->GetAccessibilityOptions()); in SwView()
976 if( pWrtShell->GetDoc()->IsUpdateExpFld() ) in SwView()
978 SET_CURR_SHELL( pWrtShell ); in SwView()
979 pWrtShell->StartAction(); in SwView()
980 pWrtShell->CalcLayout(); in SwView()
981 pWrtShell->GetDoc()->UpdateFlds(NULL, false); in SwView()
982 pWrtShell->EndAction(); in SwView()
983 pWrtShell->GetDoc()->SetUpdateExpFldStat( sal_False ); in SwView()
987 if( pWrtShell->GetDoc()->IsUpdateTOX() ) in SwView()
991 pWrtShell->GetDoc()->SetUpdateTOX( sal_False ); // wieder zurueck setzen in SwView()
992 pWrtShell->SttEndDoc(sal_True); in SwView()
1004 if (!pWrtShell->GetDoc()->GetIDocumentUndoRedo().IsUndoNoResetModified() && in SwView()
1009 pWrtShell->ResetModified(); in SwView()
1029 SwDBData aData = pWrtShell->GetDBData(); in SwView()
1068 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : 0; in ~SwView()
1078 delete pWrtShell; in ~SwView()
1079 pWrtShell = 0; // Auf 0 setzen, damit folgende DToren nicht drauf zugreifen in ~SwView()
1112 const SwRect& rRect = pWrtShell->GetCharRect(); in WriteUserData()
1119 rUserData += String::CreateFromInt32( pWrtShell->GetViewOptions()->GetZoom() ); in WriteUserData()
1130 (sal_uInt16)pWrtShell->GetViewOptions()->GetZoomType()); // eZoom; in WriteUserData()
1132 rUserData += FRMTYPE_NONE == pWrtShell->GetSelFrmType() ? '0' : '1'; in WriteUserData()
1158 (!pWrtShell->IsNewLayout() || pWrtShell->GetViewOptions()->getBrowseMode() || bBrowse) ) in ReadUserData()
1163 SET_CURR_SHELL(pWrtShell); in ReadUserData()
1181 …const long nAdd = pWrtShell->GetViewOptions()->getBrowseMode() ? DOCUMENTBORDER : DOCUMENTBORDER*2; in ReadUserData()
1182 if ( nBottom <= (pWrtShell->GetDocSize().Height()+nAdd) ) in ReadUserData()
1184 pWrtShell->EnableSmooth( sal_False ); in ReadUserData()
1190 if( !pWrtShell->GetViewOptions()->getBrowseMode() ) in ReadUserData()
1199 && pWrtShell->IsObjSelectable( aCrsrPos ); in ReadUserData()
1204 bool bSavedFlagValue = pWrtShell->IsMacroExecAllowed(); in ReadUserData()
1205 pWrtShell->SetMacroExecAllowed( false ); in ReadUserData()
1211 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos, !bSelectObj ); in ReadUserData()
1214 pWrtShell->SelectObj( aCrsrPos ); in ReadUserData()
1215 pWrtShell->EnterSelFrmMode( &aCrsrPos ); in ReadUserData()
1220 pWrtShell->SetMacroExecAllowed( bSavedFlagValue ); in ReadUserData()
1242 bSelectObj = pWrtShell->IsObjSelectable( aCrsrPos2 ); in ReadUserData()
1244 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos2, sal_False ); in ReadUserData()
1247 pWrtShell->SelectObj( aCrsrPos2 ); in ReadUserData()
1248 pWrtShell->EnterSelFrmMode( &aCrsrPos2 ); in ReadUserData()
1250 pWrtShell->MakeSelVisible(); in ReadUserData()
1255 pWrtShell->GotoPage(nNewPage, sal_True); in ReadUserData()
1261 pWrtShell->StartAction(); in ReadUserData()
1262 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in ReadUserData()
1266 pWrtShell->LockView( sal_True ); in ReadUserData()
1267 pWrtShell->EndAction(); in ReadUserData()
1268 pWrtShell->LockView( sal_False ); in ReadUserData()
1269 pWrtShell->EnableSmooth( sal_True ); in ReadUserData()
1281 …if (nLength && (!pWrtShell->IsNewLayout() || pWrtShell->GetViewOptions()->getBrowseMode() || bBrow… in ReadUserDataSequence()
1283 SET_CURR_SHELL(pWrtShell); in ReadUserDataSequence()
1285 const SwRect& rRect = pWrtShell->GetCharRect(); in ReadUserDataSequence()
1287 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in ReadUserDataSequence()
1296 sal_Bool bSelectedFrame = ( pWrtShell->GetSelFrmType() != FRMTYPE_NONE ), in ReadUserDataSequence()
1371 …const long nAdd = pWrtShell->GetViewOptions()->getBrowseMode() ? DOCUMENTBORDER : DOCUMENTBORDER*2; in ReadUserDataSequence()
1372 if (nBottom <= (pWrtShell->GetDocSize().Height()+nAdd) ) in ReadUserDataSequence()
1374 pWrtShell->EnableSmooth( sal_False ); in ReadUserDataSequence()
1379 if ( !pWrtShell->GetViewOptions()->getBrowseMode() ) in ReadUserDataSequence()
1389 && pWrtShell->IsObjSelectable( aCrsrPos ); in ReadUserDataSequence()
1392 bool bSavedFlagValue = pWrtShell->IsMacroExecAllowed(); in ReadUserDataSequence()
1393 pWrtShell->SetMacroExecAllowed( false ); in ReadUserDataSequence()
1401 pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos, !bSelectObj ); in ReadUserDataSequence()
1404 pWrtShell->SelectObj( aCrsrPos ); in ReadUserDataSequence()
1405 pWrtShell->EnterSelFrmMode( &aCrsrPos ); in ReadUserDataSequence()
1410 pWrtShell->SetMacroExecAllowed( bSavedFlagValue ); in ReadUserDataSequence()
1432 pWrtShell->StartAction(); in ReadUserDataSequence()
1438 pWrtShell->StartAction(); in ReadUserDataSequence()
1469 pWrtShell->LockView( sal_True ); in ReadUserDataSequence()
1470 pWrtShell->EndAction(); in ReadUserDataSequence()
1471 pWrtShell->LockView( sal_False ); in ReadUserDataSequence()
1472 pWrtShell->EnableSmooth( sal_True ); in ReadUserDataSequence()
1480 const SwRect& rRect = pWrtShell->GetCharRect(); in WriteUserDataSequence()
1520 const sal_Int16 nZoomType = static_cast< sal_Int16 >(pWrtShell->GetViewOptions()->GetZoomType()); in WriteUserDataSequence()
1525 …const sal_Int16 nViewLayoutColumns = static_cast< sal_Int16 >(pWrtShell->GetViewOptions()->GetView… in WriteUserDataSequence()
1530 const sal_Bool bIsViewLayoutBookMode = pWrtShell->GetViewOptions()->IsViewLayoutBookMode(); in WriteUserDataSequence()
1535 pValue->Value <<= static_cast < sal_Int16 > (pWrtShell->GetViewOptions()->GetZoom()); in WriteUserDataSequence()
1539 const sal_Bool bIsSelected = FRMTYPE_NONE == pWrtShell->GetSelFrmType() ? sal_False : sal_True; in WriteUserDataSequence()
1553 sal_Bool bUnlockView = !pWrtShell->IsViewLocked(); in ShowCursor()
1554 pWrtShell->LockView( sal_True ); // lock visible section in ShowCursor()
1557 pWrtShell->HideCrsr(); in ShowCursor()
1558 else if( !pWrtShell->IsFrmSelected() && !pWrtShell->IsObjSelected() ) in ShowCursor()
1559 pWrtShell->ShowCrsr(); in ShowCursor()
1562 pWrtShell->LockView( sal_False ); in ShowCursor()
1622 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()