/trunk/main/sw/source/core/layout/ |
H A D | wsfrm.cxx | 192 const sal_Bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in CheckDirection() 206 const sal_Bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in CheckDirection() 220 const sal_Bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in CheckDirection() 240 const sal_Bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in CheckDirection() 250 const sal_Bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in CheckDirection() 1422 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in AdjustNeighbourhood() 1922 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in GrowFrm() 2448 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in GrowFrm() 2617 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in ShrinkFrm() 3478 SwViewImp *pImp = pSh ? pSh->Imp() : 0; in FormatWidthCols() [all …]
|
H A D | calcmove.cxx | 181 (pSh && pSh->GetViewOptions()->getBrowseMode()) || in ShouldBwdMoved() 740 ViewShell *pSh = getRootFrm()->GetCurrShell(); in MakeAll() local 741 if ( pSh && pSh->GetViewOptions()->getBrowseMode() ) in MakeAll() 743 const Size aBorder = pSh->GetOut()->PixelToLogic( pSh->GetBrowseBorder() ); in MakeAll() 748 if ( nWidth < pSh->GetBrowseWidth() ) in MakeAll() 749 nWidth = pSh->GetBrowseWidth(); in MakeAll() 825 nBot = Max( nBot, pSh->VisArea().Height() ); in MakeAll() 995 ViewShell *pSh = getRootFrm()->GetCurrShell(); in MakePrtArea() local 997 if( pSh && 0!=(nWidthArea=(pSh->VisArea().*fnRect->fnGetWidth)()) && in MakePrtArea() 999 pSh->GetViewOptions()->getBrowseMode() ) in MakePrtArea() [all …]
|
H A D | virtoutp.cxx | 194 pSh = pShell; in Enter() 196 OutputDevice *pO = pSh->GetOut(); in Enter() 208 ASSERT( !pSh->GetWin()->IsReallyVisible() || in Enter() 209 aTmpRect.GetWidth() <= pSh->GetWin()->GetOutputSizePixel().Width() + 2, in Enter() 220 SetOutDev( pSh, pVirDev ); in Enter() 248 SetOutDev( pSh, pOut ); in _Flush()
|
/trunk/main/sfx2/source/control/ |
H A D | dispatch.cxx | 2280 if ( pSh == NULL ) in _FindServer() 2282 if ( pSh->ISA(SfxViewShell) ) in _FindServer() 2419 if ( pSh == NULL ) in HasSlot_Impl() 2421 if ( pSh->ISA(SfxViewShell) ) in HasSlot_Impl() 2640 SfxShell *pSh; in Popup() local 2650 for ( pSh = rDisp.GetShell(nShLevel); pSh; ++nShLevel, pSh = rDisp.GetShell(nShLevel) ) in Popup() 2667 SfxShell *pSh; in ExecutePopup() local 2690 for ( pSh = rDisp.GetShell(nShLevel); pSh; ++nShLevel, pSh = rDisp.GetShell(nShLevel) ) in ExecutePopup() 3104 if ( pSh == NULL ) in GetModule() 3106 if ( pSh->ISA(SfxModule) ) in GetModule() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | swfont.hxx | 74 sal_Bool ChgFnt( ViewShell *pSh, OutputDevice& rOut ); 75 sal_Bool IsSymbol( ViewShell *pSh ); 164 inline void ChgFnt( ViewShell *pSh, OutputDevice& rOut ) in ChgFnt() argument 176 void GoMagic( ViewShell *pSh, sal_uInt8 nWhich ); 181 inline void ChkMagic( ViewShell *pSh, sal_uInt8 nWhich ) in ChkMagic() argument 182 { if( !aSub[ nWhich ].pMagic ) GoMagic( pSh, nWhich ); } in ChkMagic() 271 sal_Bool IsSymbol( ViewShell *pSh ) in IsSymbol() argument 272 { return aSub[nActual].IsSymbol( pSh ); } in IsSymbol() 324 void ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut ); 364 { return aSub[nActual].GetAscent( pSh, rOut ); } in GetAscent() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | fntcache.cxx | 139 nZoom = pSh ? pSh->GetViewOptions()->GetZoom() : USHRT_MAX; in SwFntObj() 313 const OutputDevice& rRefDev = pSh ? pSh->GetRefDev() : rOut; in GetFontAscent() 317 CreateScrFont( *pSh, rOut ); in GetFontAscent() 360 const OutputDevice& rRefDev = pSh ? pSh->GetRefDev() : rOut; in GetFontHeight() 364 CreateScrFont( *pSh, rOut ); in GetFontHeight() 401 if ( pSh ) in GetFontLeading() 623 const OutputDevice& rRefDev = pSh ? pSh->GetRefDev() : rOut; in SetDevFont() 627 CreateScrFont( *pSh, rOut ); in SetDevFont() 642 GetFontLeading( pSh, rRefDev ); in SetDevFont() 2336 pShell( pSh ) in SwFntAccess() [all …]
|
H A D | swfont.cxx | 612 void SwFont::GoMagic( ViewShell *pSh, sal_uInt8 nWhich ) in GoMagic() argument 615 &aSub[nWhich], pSh, sal_True ); in GoMagic() 622 sal_Bool SwSubFont::IsSymbol( ViewShell *pSh ) in IsSymbol() argument 641 pLastFont->SetDevFont( pSh, rOut ); in ChgFnt() 653 void SwFont::ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut ) in ChgPhysFnt() argument 659 ChgFnt( pSh, rOut ); in ChgPhysFnt() 661 &aSub[nActual], pSh ); in ChgPhysFnt() 670 ChgFnt( pSh, rOut ); in ChgPhysFnt() 718 SwFntAccess aFntAccess( pMagic, nFntIndex, this, pSh ); in GetAscent() 719 nAscent = aFntAccess.Get()->GetFontAscent( pSh, rOut ); in GetAscent() [all …]
|
H A D | swfntcch.cxx | 49 SwFontObj::SwFontObj( const void *pOwn, ViewShell *pSh ) : in SwFontObj() argument 51 aSwFont( &((SwTxtFmtColl *)pOwn)->GetAttrSet(), pSh ? pSh->getIDocumentSettingAccess() : 0 ) in SwFontObj() 53 aSwFont.GoMagic( pSh, aSwFont.GetActual() ); in SwFontObj() 72 SwFontAccess::SwFontAccess( const void *pOwn, ViewShell *pSh ) : in SwFontAccess() argument 75 pShell( pSh ) in SwFontAccess()
|
/trunk/main/sw/source/ui/fldui/ |
H A D | changedb.cxx | 102 pSh(rVw.GetWrtShellPtr()), in SwChangeDBDlg() 105 aAvailDBTLB.SetWrtShell(*pSh); in SwChangeDBDlg() 110 ShowDBName(pSh->GetDBData()); in SwChangeDBDlg() 148 const SwDBData& rDBData = pSh->GetDBData(); in FillDBPopup() 164 pSh->GetAllUsedDB( aDBNameList, &aAllDBNames ); in FillDBPopup() 278 pSh->StartAllAction(); in UpdateFlds() 286 pSh->ChangeDBFields( aDBNames, sTemp); in UpdateFlds() 287 pSh->EndAllAction(); in UpdateFlds() 303 pSh->ChgDBData(aData); in IMPL_LINK() 304 ShowDBName(pSh->GetDBData()); in IMPL_LINK()
|
H A D | javaedit.cxx | 93 pSh(pWrtSh), in SwJavaEditDialog() 215 pSh->StartAction(); in CheckTravel() 216 pSh->CreateCrsr(); in CheckTravel() 226 pSh->DestroyCrsr(); in CheckTravel() 227 pSh->EndAction(); in CheckTravel() 282 SfxMedium* pMedium = pSh->GetView().GetDocShell()->GetMedium(); in SetFld() 316 bEnable = !pSh->IsReadOnlyAvailable() || !pSh->HasReadonlySel(); in IMPL_LINK()
|
/trunk/main/sw/source/ui/misc/ |
H A D | linenum.cxx | 62 pSh(pVw->GetWrtShellPtr()) in SwLineNumberingDlg() 141 pSh = pDlg->GetWrtShell(); in SwLineNumberingPage() 143 ::FillCharStyleListBox(aCharStyleLB, pSh->GetView().GetDocShell()); in SwLineNumberingPage() 169 const SwLineNumberInfo &rInf = pSh->GetLineNumberInfo(); in Reset() 170 IDocumentStylePoolAccess* pIDSPA = pSh->getIDocumentStylePoolAccess(); in Reset() 291 SwLineNumberInfo aInf(pSh->GetLineNumberInfo()); in FillItemSet() 295 SwCharFmt *pCharFmt = pSh->FindCharFmtByName(sCharFmtName); in FillItemSet() 299 SfxStyleSheetBasePool* pPool = pSh->GetView().GetDocShell()->GetStyleSheetPool(); in FillItemSet() 337 pSh->SetLineNumberInfo(aInf); in FillItemSet()
|
H A D | glossary.cxx | 259 pSh (pWrtShell) in SwGlossaryDlg() 290 bIsDocReadOnly = pSh->GetView().GetDocShell()->IsReadOnly() || in SwGlossaryDlg() 291 pSh->HasReadonlySel(); in SwGlossaryDlg() 360 if( SfxRequest::HasMacroRecorder( pSh->GetView().GetViewFrame() ) ) in IMPL_LINK() 362 SfxRequest aReq( pSh->GetView().GetViewFrame(), FN_SET_ACT_GLOSSARY ); in IMPL_LINK() 381 if( SfxRequest::HasMacroRecorder( pSh->GetView().GetViewFrame() ) ) in Apply() 383 SfxRequest aReq( pSh->GetView().GetViewFrame(), FN_INSERT_GLOSSARY ); in Apply() 561 if( SfxRequest::HasMacroRecorder( pSh->GetView().GetViewFrame() ) ) in IMPL_LINK() 578 pGlossaryHdl->CopyToClipboard(*pSh, aShortNameEdit.GetText()); in IMPL_LINK() 1099 SwWait aWait( *pDlg->pSh->GetView().GetDocShell(), true ); in NotifyMoving() [all …]
|
/trunk/main/sw/source/ui/docvw/ |
H A D | edtwin3.cxx | 202 SwWrtShell* pSh = GetView().GetWrtShellPtr(); in DataChanged() local 205 if(!pSh) in DataChanged() 207 sal_Bool bViewWasLocked = pSh->IsViewLocked(), bUnlockPaint = sal_False; in DataChanged() 208 pSh->LockView( sal_True ); in DataChanged() 218 pSh->LockPaint(); in DataChanged() 229 pSh->LockPaint(); in DataChanged() 234 pSh->LockView( bViewWasLocked ); in DataChanged() 236 pSh->UnlockPaint(); in DataChanged()
|
/trunk/main/sw/source/core/edit/ |
H A D | edredln.cxx | 69 void lcl_InvalidateAll( ViewShell* pSh ) in lcl_InvalidateAll() argument 71 ViewShell *pStop = pSh; in lcl_InvalidateAll() 74 if ( pSh->GetWin() ) in lcl_InvalidateAll() 75 pSh->GetWin()->Invalidate(); in lcl_InvalidateAll() 76 pSh = (ViewShell*)pSh->GetNext(); in lcl_InvalidateAll() 78 } while ( pSh != pStop ); in lcl_InvalidateAll()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 839 if ( pSh ) in Execute() 921 if ( pSh ) in Execute() 1113 if ( pSh ) in Execute() 1114 pSh->Execute( rReq ); in Execute() 1209 if ( pSh ) in DoRecalc() 1220 pSh->UpdateInputHandler(); in DoRecalc() 1227 if ( pSh ) in DoRecalc() 1248 if ( pSh ) in DoHardRecalc() 1251 pSh->UpdateInputHandler(); in DoHardRecalc() 1255 if ( pSh ) in DoHardRecalc() [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | viscrs.cxx | 258 void ShowRedlines( const SwCrsrShell* pSh, int nAction, const SwRect* pRect = 0 ) in ShowRedlines() argument 266 const SwRedlineTbl& rTbl = pSh->GetDoc()->GetRedlineTbl(); in ShowRedlines() 267 const SwRedlineAuthorTbl& rAuthorTbl = pSh->GetDoc()->GetRedlineAuthorTbl(); in ShowRedlines() 275 *ppRedRect = new SwRedlineRects( *pSh, n, n * 4 + i ); in ShowRedlines() 900 *pSh = pShell; in MaxReplaceArived() 902 for( nActCnt = 0; pSh->ActionPend(); ++nActCnt ) in MaxReplaceArived() 903 pSh->EndAction(); in MaxReplaceArived() 905 } while( pShell != ( pSh = (ViewShell*)pSh->GetNext() ) ); in MaxReplaceArived() 914 pSh->StartAction(); in MaxReplaceArived() 915 pSh = (ViewShell*)pSh->GetNext(); in MaxReplaceArived()
|
/trunk/main/sw/source/ui/envelp/ |
H A D | envfmt.cxx | 254 SwWrtShell* pSh = GetParent()->pSh; in IMPL_LINK_INLINE_END() local 255 ASSERT(pSh, "Shell fehlt"); in IMPL_LINK_INLINE_END() 260 SwTxtFmtColl* pColl = pSh->GetTxtCollFromPool( static_cast< sal_uInt16 >( in IMPL_LINK_INLINE_END() 290 …SfxAbstractTabDialog* pDlg = pFact->CreateSwCharDlg( GetParent(), pSh->GetView(), aTmpSet, DLG_CHA… in IMPL_LINK_INLINE_END() 318 pSh->GetView().GetCurShell()->GetPool().GetDefaultItem(RES_PARATR_TABSTOP); in IMPL_LINK_INLINE_END() 335 ::PrepareBoxInfo( aTmpSet, *pSh ); in IMPL_LINK_INLINE_END() 337 …SwParaDlg *pDlg = new SwParaDlg(GetParent(), pSh->GetView(), aTmpSet, DLG_ENVELOP, &pColl->GetName… in IMPL_LINK_INLINE_END() 351 pSh->SetDefault( aDefTabs ); in IMPL_LINK_INLINE_END() 441 pAddrSet = new SfxItemSet(GetParent()->pSh->GetView().GetCurShell()->GetPool(), in GetCollItemSet()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewdraw.cxx | 486 SwWrtShell *pSh = &GetWrtShell(); in EnterDrawTextMode() local 487 SdrView *pSdrView = pSh->GetDrawView(); in EnterDrawTextMode() 522 SwWrtShell *pSh = &GetWrtShell(); in BeginTextEdit() local 523 SdrView *pSdrView = pSh->GetDrawView(); in BeginTextEdit() 528 pOutliner->SetRefDevice(pSh->getIDocumentDeviceAccess()->getReferenceDevice(false)); in BeginTextEdit() 532 pSh->SetCalcFieldValueHdl(pOutliner); in BeginTextEdit() 538 const SwViewOption *pOpt = pSh->GetViewOptions(); in BeginTextEdit() 551 const SfxPoolItem& rItem = pSh->GetDoc()->GetDefault(RES_CHRATR_LANGUAGE); in BeginTextEdit() 564 pSh->IsShapeDefaultHoriTextDirR2L() ? EE_HTEXTDIR_R2L : EE_HTEXTDIR_L2R; in BeginTextEdit() 603 Color aBackground(pSh->GetShapeBackgrd()); in BeginTextEdit()
|
/trunk/main/sfx2/source/doc/ |
H A D | objxtor.cxx | 500 SfxObjectShell* pSh = rDocs.GetObject( nPos ); in GetFirst() local 501 if ( bOnlyVisible && pSh->IsPreview() && pSh->IsReadOnly() ) in GetFirst() 504 if ( ( !pType || pSh->IsA(*pType) ) && in GetFirst() 505 ( !bOnlyVisible || SfxViewFrame::GetFirst( pSh, sal_True ))) in GetFirst() 506 return pSh; in GetFirst() 533 SfxObjectShell* pSh = rDocs.GetObject( nPos ); in GetNext() local 534 if ( bOnlyVisible && pSh->IsPreview() && pSh->IsReadOnly() ) in GetNext() 537 if ( ( !pType || pSh->IsA(*pType) ) && in GetNext() 538 ( !bOnlyVisible || SfxViewFrame::GetFirst( pSh, sal_True ))) in GetNext() 539 return pSh; in GetNext()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | itemwin.cxx | 306 SfxObjectShell* pSh = SfxObjectShell::Current(); in SvxColorBox() local 308 if ( pSh ) in SvxColorBox() 311 (const SvxColorTableItem*)( pSh->GetItem( SID_COLOR_TABLE ) ); in SvxColorBox() 321 SfxObjectShell* pSh = SfxObjectShell::Current(); in IMPL_LINK() local 323 if ( pSh ) in IMPL_LINK() 325 const SvxColorTableItem* pItem = (const SvxColorTableItem*)( pSh->GetItem( SID_COLOR_TABLE ) ); in IMPL_LINK() 617 SfxViewShell* pSh = SfxViewShell::Current(); in Notify() local 619 if ( rKey.GetModifier() && rKey.GetGroup() != KEYGROUP_CURSOR && pSh ) in Notify() 620 pSh->KeyInput( *pKEvt ); in Notify()
|
/trunk/main/sw/source/ui/app/ |
H A D | docst.cxx | 90 void SwDocShell::StateStyleSheet(SfxItemSet& rSet, SwWrtShell* pSh) in StateStyleSheet() argument 96 SwWrtShell* pShell = pSh ? pSh : GetWrtShell(); in StateStyleSheet() 894 SwWrtShell *pSh = pShell ? pShell : GetWrtShell(); in ApplyStyles() local 896 ASSERT( pSh, "Keine Shell, keine Styles" ); in ApplyStyles() 898 pSh->StartAllAction(); in ApplyStyles() 911 pSh->SetTxtFmtColl( pStyle->GetCollection(), true ); in ApplyStyles() 916 if ( pSh->IsFrmSelected() ) in ApplyStyles() 917 pSh->SetFrmFmt( pStyle->GetFrmFmt() ); in ApplyStyles() 922 pSh->SetPageStyle( pStyle->GetPageDesc()->GetName() ); in ApplyStyles() 930 pSh->SetCurNumRule( *pNumRule, false, sListIdForStyle, true ); in ApplyStyles() [all …]
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | anyrefdg.cxx | 666 SfxViewShell* pSh = SfxViewShell::GetFirst( &aScType ); in lcl_HideAllReferences() local 667 while ( pSh ) in lcl_HideAllReferences() 669 ((ScTabViewShell*)pSh)->ClearHighlightRanges(); in lcl_HideAllReferences() 670 pSh = SfxViewShell::GetNext( *pSh, &aScType ); in lcl_HideAllReferences() 805 SfxViewShell* pSh = SfxViewShell::GetFirst( &aScType ); in SwitchToDocument() local 806 while ( pSh ) in SwitchToDocument() 808 SfxObjectShell* pObjSh = pSh->GetObjectShell(); in SwitchToDocument() 812 ((ScTabViewShell*)pSh)->SetActive(); in SwitchToDocument() 815 pSh = SfxViewShell::GetNext( *pSh, &aScType ); in SwitchToDocument()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | unotools.cxx | 348 SwEditShell* pSh = pCrsr->GetDoc()->GetEditShell(); in IMPL_LINK() local 349 if( pSh->ActionCount() ) in IMPL_LINK() 351 pSh->EndAllAction(); in IMPL_LINK() 352 pSh->UnlockPaint(); in IMPL_LINK() 376 SwEditShell* pSh = pDoc->GetEditShell(); in ClearDocument() local 377 pSh->LockPaint(); in ClearDocument() 378 pSh->StartAllAction(); in ClearDocument() 383 pSh->EndAllAction(); in ClearDocument() 384 pSh->UnlockPaint(); in ClearDocument()
|
/trunk/main/sw/source/core/doc/ |
H A D | doccorr.cxx | 349 ViewShell *pSh = pCurrentView, *pVSh = pSh; in GetEditShell() local 351 *ppSh = pSh; in GetEditShell() 355 if( pSh->IsA( TYPE( SwEditShell ) ) ) in GetEditShell() 356 return (SwEditShell*)pSh; in GetEditShell() 358 } while( pVSh != ( pSh = (ViewShell*)pSh->GetNext() )); in GetEditShell()
|
/trunk/main/cui/source/dialogs/ |
H A D | srchxtra.cxx | 92 SfxObjectShell* pSh = SfxObjectShell::Current(); in PageCreated() local 94 if ( pSh ) in PageCreated() 97 pSh->GetItem( SID_ATTR_CHAR_FONTLIST ); in PageCreated() 155 SfxObjectShell* pSh = SfxObjectShell::Current(); in SvxSearchAttributeDialog() local 156 DBG_ASSERT( pSh, "No DocShell" ); in SvxSearchAttributeDialog() 159 SfxItemPool& rPool = pSh->GetPool(); in SvxSearchAttributeDialog()
|