/trunk/main/sfx2/source/view/ |
H A D | viewfrm.cxx | 369 … if( !pSh || !pSh->HasName() || !(pSh->Get_Impl()->nLoadedFlags & SFX_LOADED_MAINDOCUMENT )) in ExecReload_Impl() 403 if ( !pSh->IsReadOnly() ) in ExecReload_Impl() 425 && ( pSh->GetModifyPasswordHash() || pSh->GetModifyPasswordInfo().getLength() ) in ExecReload_Impl() 592 if ( !pSh || !pSh->CanReload_Impl() ) in ExecReload_Impl() 914 if ( !pSh ) in StateReload_Impl() 934 … if ( !pSh || !pSh->HasName() || !( pSh->Get_Impl()->nLoadedFlags & SFX_LOADED_MAINDOCUMENT ) in StateReload_Impl() 952 … if ( !pSh || !pSh->CanReload_Impl() || pSh->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED ) in StateReload_Impl() 1036 if ( !pSh ) in StateHistory_Impl() 1282 if( pSh && !nAdjustPosPixelLock ) in InvalidateBorderImpl() 1771 SfxViewShell* pSh, in DoAdjustPosSizePixel() argument [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | swbaslnk.cxx | 210 ViewShell *pSh = 0; in DataChanged() local 216 if ( (!pSh || !pSh->ActionPend()) && (!pESh || !pESh->ActionPend()) ) in DataChanged() 229 if( pSh ) in DataChanged() 232 pSh->LockView( sal_True ); in DataChanged() 237 else if( pSh ) in DataChanged() 238 pSh->StartAction(); in DataChanged() 295 else if( pSh ) in DataChanged() 296 pSh->EndAction(); in DataChanged() 298 if( pSh && !bLockView ) in DataChanged() 299 pSh->LockView( sal_False ); in DataChanged() [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | viewimp.cxx | 63 SwRootFrm *pRoot = pSh->GetLayout(); //swmod 071108//swmod 071225 in Init() 112 pSh( pParent ), in SwViewImp() 179 if ( rRect.IsOver( pSh->VisArea() ) ) in AddPaintRect() 182 pRegion = new SwRegionRects( pSh->VisArea() ); in AddPaintRect() 244 if ( pSh->bDocSizeChgd && pSh->VisArea().Top() > pSh->GetLayout()->Frm().Height() ) in SetFirstVisPage() 250 pFirstVisPage = (SwPageFrm*)pSh->GetLayout()->Lower(); in SetFirstVisPage() 259 SwPageFrm *pPage = (SwPageFrm*)pSh->GetLayout()->Lower(); in SetFirstVisPage() 261 while ( pPage && !aPageRect.IsOver( pSh->VisArea() ) ) in SetFirstVisPage() 274 pFirstVisPage = pPage ? pPage : (SwPageFrm*)pSh->GetLayout()->Lower(); in SetFirstVisPage() 378 if ( pSh->GetLayout() ) in InitPagePreviewLayout() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | fillctrl.cxx | 599 SfxObjectShell* pSh = SfxObjectShell::Current(); in InitializeFillStyleAccordingToGivenFillType() local 602 if(pSh) in InitializeFillStyleAccordingToGivenFillType() 611 if(pSh->GetItem(SID_COLOR_TABLE)) in InitializeFillStyleAccordingToGivenFillType() 623 if(pSh->GetItem(SID_GRADIENT_LIST)) in InitializeFillStyleAccordingToGivenFillType() 635 if(pSh->GetItem(SID_HATCH_LIST)) in InitializeFillStyleAccordingToGivenFillType() 637 …const SvxHatchListItem* pItem = static_cast< const SvxHatchListItem* >(pSh->GetItem(SID_HATCH_LIST… in InitializeFillStyleAccordingToGivenFillType() 647 if(pSh->GetItem(SID_BITMAP_LIST)) in InitializeFillStyleAccordingToGivenFillType() 754 SfxObjectShell* pSh = SfxObjectShell::Current(); in IMPL_LINK() local 795 if(nPos != LISTBOX_ENTRY_NOTFOUND && pSh && pSh->GetItem(SID_GRADIENT_LIST)) in IMPL_LINK() 816 if(nPos != LISTBOX_ENTRY_NOTFOUND && pSh && pSh->GetItem(SID_HATCH_LIST)) in IMPL_LINK() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | fly.cxx | 142 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in SwFlyFrm() 497 pSh = (ViewShell*)pSh->GetNext(); in FinitDrawObj() 586 if( pSh ) in ChainFrames() 632 if( pSh ) in UnchainFrames() 913 if( pSh ) in _UpdateAttr() 993 if ( pSh ) in _UpdateAttr() 1029 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in _UpdateAttr() 2344 if( pSh ) in AppendDrawObj() 2356 if( pSh ) in RemoveDrawObj() 2581 pSh && pSh->GetViewOptions()->getBrowseMode() && in CalcRel() [all …]
|
H A D | newfrm.cxx | 431 void SetShell( ViewShell *pSh ) in SetShell() argument 433 SwRootFrm *pRoot = pSh->GetLayout(); in SetShell() 435 pRoot->pCurrShell = pSh; in SetShell() 437 pRoot->pWaitingCurrShell = pSh; in SetShell() 440 void SwRootFrm::DeRegisterShell( ViewShell *pSh ) in DeRegisterShell() argument 443 if ( pCurrShell == pSh ) in DeRegisterShell() 444 pCurrShell = pSh->GetNext() != pSh ? (ViewShell*)pSh->GetNext() : 0; in DeRegisterShell() 447 if ( pWaitingCurrShell == pSh ) in DeRegisterShell() 454 if (pC->pPrev == pSh) in DeRegisterShell() 479 SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) : in SwRootFrm() argument [all …]
|
H A D | flowfrm.cxx | 600 ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveSubTree() local 601 const SwViewImp *pImp = pSh ? pSh->Imp() : 0; in MoveSubTree() 668 else if ( pSh && pSh->GetDoc()->GetLineNumberInfo().IsRestartEachPage() in MoveSubTree() 1030 !(pSh && pSh->GetViewOptions()->getBrowseMode() ) ) in GetNextLeaf() 1157 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in IsPrevObjMove() 1239 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in IsPageBreak() 2102 if ( pSh && !pSh->Imp()->IsUpdateExpFlds() ) in MoveFwd() 2115 if ( !( pSh && pSh->GetViewOptions()->getBrowseMode() ) ) in MoveFwd() 2664 ViewShell *pSh = rThis.getRootFrm()->GetCurrShell(); in MoveBwd() local 2665 if ( pSh && !pSh->Imp()->IsUpdateExpFlds() ) in MoveBwd() [all …]
|
/trunk/main/sw/source/ui/fldui/ |
H A D | fldpage.cxx | 108 SwWrtShell *pSh = m_pWrtShell; in Init() local 109 if(! pSh) in Init() 110 pSh = ::GetActiveWrtShell(); in Init() 111 if(pSh) in Init() 113 SwDoc* pDoc = pSh->GetDoc(); in Init() 116 pSh->InsertFldType( SwSetExpFieldType(pDoc, in Init() 247 SwDBFieldType(pSh->GetDoc(), sColumn, aData)); in InsertFld() 297 pSh->StartAllAction(); in InsertFld() 310 m_aMgr.EvalExpFlds(pSh); in InsertFld() 314 pSh->SetUndoNoResetModified(); in InsertFld() [all …]
|
H A D | flddb.cxx | 166 SwWrtShell *pSh = GetWrtShell(); in Reset() local 167 if(!pSh) in Reset() 168 pSh = ::GetActiveWrtShell(); in Reset() 169 if(pSh) in Reset() 223 SwWrtShell *pSh = GetWrtShell(); in FillItemSet() local 224 if(!pSh) in FillItemSet() 225 pSh = ::GetActiveWrtShell(); in FillItemSet() 228 aData = pSh->GetDBData(); in FillItemSet() 323 SwWrtShell *pSh = GetWrtShell(); in IMPL_LINK() local 324 if(!pSh) in IMPL_LINK() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | appdde.cxx | 97 SfxObjectShell* pSh; member in SfxDdeDocTopic_Impl 102 : DdeTopic( pShell->GetTitle(SFX_TITLE_FULLNAME) ), pSh( pShell ) in SfxDdeDocTopic_Impl() 491 void SfxApplication::AddDdeTopic( SfxObjectShell* pSh ) in AddDdeTopic() argument 502 if( (*pAppData_Impl->pDocTopics)[ --n ]->pSh == pSh ) in AddDdeTopic() 510 (sShellNm = pSh->GetTitle(SFX_TITLE_FULLNAME)).ToLowerAscii(); in AddDdeTopic() 517 const SfxDdeDocTopic_Impl* pTopic = new SfxDdeDocTopic_Impl( pSh ); in AddDdeTopic() 523 void SfxApplication::RemoveDdeTopic( SfxObjectShell* pSh ) in RemoveDdeTopic() argument 532 if( ( pTopic = (*pAppData_Impl->pDocTopics)[ --n ])->pSh == pSh ) in RemoveDdeTopic() 652 long nRet = pSh->DdeGetData( GetCurItem(), sMimeType, aValue ); in Get() 672 bRet = 0 != pSh->DdeSetData( GetCurItem(), sMimeType, aValue ); in Put() [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | swmodul1.cxx | 88 pSh->SetUIOptions(*pPref); in lcl_SetUIPrefs() 89 const SwViewOption* pNewPref = pSh->GetViewOptions(); in lcl_SetUIPrefs() 173 ViewShell* pSh = pCurrView ? &pCurrView->GetWrtShell() : 0; in ApplyUsrPref() local 213 bReadonly = pSh->GetViewOptions()->IsReadonly(); in ApplyUsrPref() 220 if( !(*pSh->GetViewOptions() == *pViewOpt) ) in ApplyUsrPref() 223 pSh->StartAction(); in ApplyUsrPref() 224 pSh->ApplyViewOptions( *pViewOpt ); in ApplyUsrPref() 226 pSh->EndAction(); in ApplyUsrPref() 228 if ( pSh->GetViewOptions()->IsReadonly() != bReadonly ) in ApplyUsrPref() 229 pSh->SetReadonlyOption(bReadonly); in ApplyUsrPref() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | edlingu.cxx | 79 SwEditShell *pSh; member in SwLinguIter 226 if( pSh ) in _Start() 231 pSh = pShell; in _Start() 248 pSh->Push(); in _Start() 252 pSh->Push(); in _Start() 253 pSh->DestroyCrsr(); in _Start() 261 pSh->Push(); in _Start() 293 if( !pSh ) in _End() 302 pSh->KillPams(); in _End() 303 pSh->ClearMark(); in _End() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | txtfld.cxx | 112 ViewShell *pSh = rInf.GetVsh(); in NewFldPortion() local 113 SwDoc *const pDoc( (pSh) ? pSh->GetDoc() : 0 ); in NewFldPortion() 149 if( !bName && pSh && !pSh->Imp()->IsUpdateExpFlds() ) in NewFldPortion() 163 if( !bName && pSh && !pSh->Imp()->IsUpdateExpFlds() ) in NewFldPortion() 179 if( !bName && pSh && pSh->GetLayout() && !pSh->Imp()->IsUpdateExpFlds() ) // swmod 080122 in NewFldPortion() 183 const SwRootFrm* pTmpRootFrm = pSh->GetLayout(); in NewFldPortion() 207 if( !bName && pSh && !pSh->Imp()->IsUpdateExpFlds() ) in NewFldPortion() 260 if( !bName && pSh && !pSh->Imp()->IsUpdateExpFlds() ) in NewFldPortion()
|
H A D | itratr.cxx | 361 ViewShell* pSh; member in SwMinMaxArgs 591 ViewShell* pSh = 0; in GetMinMaxSize() local 592 GetDoc()->GetEditShell( &pSh ); in GetMinMaxSize() 595 if( pSh ) in GetMinMaxSize() 596 pOut = pSh->GetWin(); in GetMinMaxSize() 651 SwMinMaxArgs aArg( pOut, pSh, rMin, rMax, rAbsMin ); in GetMinMaxSize() 830 ViewShell* pSh = NULL; in GetScalingOfSelectedText() local 832 GetDoc()->GetEditShell( &pSh ); in GetScalingOfSelectedText() 834 if ( pSh ) in GetScalingOfSelectedText() 835 pOut = &pSh->GetRefDev(); in GetScalingOfSelectedText() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | drawdlg.cxx | 61 SwWrtShell* pSh = &GetShell(); in ExecDrawDlg() local 62 SdrView* pView = pSh->GetDrawView(); in ExecDrawDlg() 86 pSh->StartAction(); in ExecDrawDlg() 89 pSh->EndAction(); in ExecDrawDlg() 115 pSh->StartAction(); in ExecDrawDlg() 120 pSh->EndAction(); in ExecDrawDlg() 160 pSh->StartAction(); in ExecDrawDlg() 165 pSh->EndAction(); in ExecDrawDlg() 206 SwWrtShell* pSh = &GetShell(); in ExecDrawAttrArgs() local 207 SdrView* pView = pSh->GetDrawView(); in ExecDrawAttrArgs() [all …]
|
H A D | mediash.cxx | 98 SwWrtShell* pSh = &GetShell(); in ExecMedia() local 99 SdrView* pSdrView = pSh->GetDrawView(); in ExecMedia() 113 if( pSh->IsObjSelected() ) in ExecMedia() 115 pSh->SetModified(); in ExecMedia() 116 pSh->DelSelectedObj(); in ExecMedia() 118 if( pSh->IsSelFrmMode() ) in ExecMedia() 119 pSh->LeaveSelFrmMode(); in ExecMedia() 121 GetView().AttrChangedNotify( pSh ); in ExecMedia() 128 if( pSh->IsObjSelected() ) in ExecMedia()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewprt.cxx | 218 SwWrtShell* pSh = &GetWrtShell(); in ExecutePrint() local 228 … SW_MOD()->GetModuleConfig()->IsAskForMailMerge() && pSh->IsAnyDatabaseFieldInDoc()) in ExecutePrint() 244 ( pSh->IsSelection() || pSh->IsFrmSelected() || pSh->IsObjSelected() ) ) in ExecutePrint() 256 if( bSilent && pSh->IsGlobalDoc() && !pSh->IsGlblDocSaveLinks() ) in ExecutePrint() 258 pSh->GetLinkManager().UpdateAllLinks( sal_False, sal_False, sal_False, 0 ); in ExecutePrint() 296 void SetAppPrintOptions( ViewShell* pSh, sal_Bool bWeb ) in SetAppPrintOptions() argument 298 const IDocumentDeviceAccess* pIDDA = pSh->getIDocumentDeviceAccess(); in SetAppPrintOptions() 305 SfxItemSet aSet( pSh->GetAttrPool(), in SetAppPrintOptions() 316 ::GetHtmlMode(((SwWrtShell*)pSh)->GetView().GetDocShell()))); in SetAppPrintOptions()
|
/trunk/main/sw/source/core/doc/ |
H A D | docdesc.cxx | 671 ViewShell *pSh = GetCurrentViewShell(); in PrtDataChanged() local 693 if ( pSh ) in PrtDataChanged() 697 pSh->InitPrt( pPrt ); in PrtDataChanged() 698 pSh = (ViewShell*)pSh->GetNext(); in PrtDataChanged() 736 if ( !pSh->ISA(SwFEShell) ) in PrtOLENotify() 738 { pSh = (ViewShell*)pSh->GetNext(); in PrtOLENotify() 739 } while ( !pSh->ISA(SwFEShell) && in PrtOLENotify() 740 pSh != GetCurrentViewShell() ); in PrtOLENotify() 742 if ( pSh->ISA(SwFEShell) ) in PrtOLENotify() 743 pShell = (SwFEShell*)pSh; in PrtOLENotify() [all …]
|
/trunk/main/sw/source/core/fields/ |
H A D | fldlst.cxx | 45 : pSh(pShell) in SwInputFieldList() 50 const SwFldTypes& rFldTypes = *pSh->GetDoc()->GetFldTypes(); in SwInputFieldList() 121 pSh->Push(); in PushCrsr() 122 pSh->ClearMark(); in PushCrsr() 127 pSh->Pop(sal_False); in PopCrsr() 136 pSh->StartAllAction(); in GotoFieldPos() 137 (*pSrtLst)[ nId ]->GetPosOfContent( *pSh->GetCrsr()->GetPoint() ); in GotoFieldPos() 138 pSh->EndAllAction(); in GotoFieldPos() 146 const SwFldTypes& rFldTypes = *pSh->GetDoc()->GetFldTypes(); in BuildSortLst() 201 FOREACHPAM_START(pSh) in RemoveUnselectedFlds()
|
H A D | ddefld.cxx | 112 ViewShell* pSh; in DataChanged() local 113 SwEditShell* pESh = rFldType.GetDoc()->GetEditShell( &pSh ); in DataChanged() 133 else if( pSh ) in DataChanged() 134 pSh->StartAction(); in DataChanged() 147 else if( pSh ) in DataChanged() 148 pSh->EndAction(); in DataChanged() 150 if( pSh ) in DataChanged() 151 pSh->GetDoc()->SetModified(); in DataChanged() 161 ViewShell* pSh; in Closed() local 171 pSh->StartAction(); in Closed() [all …]
|
/trunk/main/sc/source/ui/navipi/ |
H A D | content.cxx | 93 ScDocShell* pSh = NULL; in GetManualOrCurrent() local 98 while ( pObjSh && !pSh ) in GetManualOrCurrent() 118 return pSh; in GetManualOrCurrent() 625 while ( pSh ) in Command() 639 pSh = SfxObjectShell::GetNext( *pSh ); in Command() 749 if (pSh) in GetSourceDocument() 750 return pSh->GetDocument(); in GetSourceDocument() 1617 if (pSh) in ActiveDocChanged() 1626 if (pSh) in ActiveDocChanged() 1669 while ( pSh && !bLoaded ) in SelectDoc() [all …]
|
/trunk/main/svx/source/mnuctrls/ |
H A D | fntszctl.cxx | 60 SfxShell* pSh = pFrm ? pFrm->GetDispatcher()->GetShell( 0 ) : NULL; in IMPL_LINK() local 62 if ( !pSh ) in IMPL_LINK() 65 const SfxItemPool& rPool = pSh->GetPool(); in IMPL_LINK() 102 SfxShell* pSh = pFrm ? pFrm->GetDispatcher()->GetShell( 0 ) in StateChanged() local 105 if ( !pSh ) in StateChanged() 108 const SfxItemPool& rPool = pSh->GetPool(); in StateChanged() 144 SfxObjectShell* pSh = SfxObjectShell::Current(); in StateChanged() local 146 if ( pSh ) in StateChanged() 150 (const SvxFontListItem*)pSh->GetItem( SID_ATTR_CHAR_FONTLIST ); in StateChanged()
|
/trunk/main/sw/source/ui/dialog/ |
H A D | docstdlg.cxx | 161 ViewShell *pSh = 0; in Update() local 163 pSh = ((SwView*)pVSh)->GetWrtShellPtr(); in Update() 165 pSh = ((SwPagePreView*)pVSh)->GetViewShell(); in Update() 167 ASSERT( pSh, "Shell not found" ); in Update() 169 SwWait aWait( *pSh->GetDoc()->GetDocShell(), true ); in Update() 170 pSh->StartAction(); in Update() 171 aDocStat = pSh->GetDoc()->GetDocStat(); in Update() 172 pSh->GetDoc()->UpdateDocStat( aDocStat ); in Update() 173 pSh->EndAction(); in Update()
|
/trunk/main/sw/source/ui/envelp/ |
H A D | envlop1.cxx | 164 pSh(pWrtSh), in SwEnvDlg() 217 SwTxtFmtColl* pColl = pSh->GetTxtCollFromPool(RES_POOLCOLL_JAKETADRESS); in Ok() 222 SwTxtFmtColl* pColl = pSh->GetTxtCollFromPool(RES_POOLCOLL_SENDADRESS); in Ok() 254 pSh = GetParent()->pSh; in SwEnvPage() 263 SwDBData aData = pSh->GetDBData(); in SwEnvPage() 284 SwWait aWait( *pSh->GetView().GetDocShell(), true ); in IMPL_LINK() 289 pSh->GetNewDBMgr()->GetTableNames(&aTableLB, sActDBName); in IMPL_LINK() 294 pSh->GetNewDBMgr()->GetColumnNames( in IMPL_LINK() 348 if (pSh->GetNewDBMgr()) in InitDatabaseBox() 359 if (pSh->GetNewDBMgr()->GetTableNames(&aTableLB, sDBName)) in InitDatabaseBox() [all …]
|
/trunk/main/sw/source/core/draw/ |
H A D | dpage.cxx | 117 …ViewShell *pSh = static_cast< SwDrawModel* >(GetModel())->GetDoc().GetCurrentViewShell(); //swmod … in GetGridFrameList() local 118 if ( pSh ) in GetGridFrameList() 120 while ( pSh->Imp()->GetPageView() != pPV ) in GetGridFrameList() 121 pSh = (ViewShell*)pSh->GetNext(); in GetGridFrameList() 122 if ( pSh ) in GetGridFrameList() 133 const SwFrm *pPg = pSh->GetLayout()->Lower(); in GetGridFrameList() 143 const SwFrm *pPg = pSh->Imp()->GetFirstVisPage(); in GetGridFrameList() 148 } while ( pPg && pPg->Frm().IsOver( pSh->VisArea() ) ); in GetGridFrameList()
|