Home
last modified time | relevance | path

Searched refs:pSh (Results 51 – 75 of 232) sorted by relevance

12345678910

/trunk/main/sw/source/core/layout/
H A Dwsfrm.cxx192 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 Dcalcmove.cxx181 (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 Dvirtoutp.cxx194 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 Ddispatch.cxx2280 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 Dswfont.hxx74 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 Dfntcache.cxx139 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 Dswfont.cxx612 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 Dswfntcch.cxx49 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 Dchangedb.cxx102 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 Djavaedit.cxx93 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 Dlinenum.cxx62 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 Dglossary.cxx259 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 Dedtwin3.cxx202 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 Dedredln.cxx69 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 Ddocsh4.cxx839 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 Dviscrs.cxx258 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 Denvfmt.cxx254 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 Dviewdraw.cxx486 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 Dobjxtor.cxx500 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 Ditemwin.cxx306 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 Ddocst.cxx90 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 Danyrefdg.cxx666 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 Dunotools.cxx348 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 Ddoccorr.cxx349 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 Dsrchxtra.cxx92 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()

Completed in 159 milliseconds

12345678910