| /AOO42X/main/sw/source/ui/app/ |
| H A D | appenv.cxx | 170 *pSh; in InsertEnv() local 182 pSh = pNewView->GetWrtShellPtr(); in InsertEnv() 191 ::lcl_CopyCollAttr(pOldSh, pSh, RES_POOLCOLL_JAKETADRESS); in InsertEnv() 192 ::lcl_CopyCollAttr(pOldSh, pSh, RES_POOLCOLL_SENDADRESS); in InsertEnv() 204 SfxPrinter* pTempPrinter = pSh->getIDocumentDeviceAccess()->getPrinter( true ); in InsertEnv() 215 IDocumentDeviceAccess* pIDDA = pSh->getIDocumentDeviceAccess(); in InsertEnv() 261 … aItem.SetValue((sal_uInt8)pSh->getIDocumentDeviceAccess()->getPrinter(true)->GetPaperBin()); in InsertEnv() 265 SwWrtShell *pTmp = nMode == ENV_INSERT ? pOldSh : pSh; in InsertEnv() 279 pSh = pOldSh; in InsertEnv() 282 pSh->EnterStdMode(); in InsertEnv() [all …]
|
| H A D | applab.cxx | 244 SwWrtShell *pSh = pNewView->GetWrtShellPtr(); in InsertLab() local 245 ASSERT( pSh, "missing WrtShell" ); in InsertLab() 251 SET_CURR_SHELL(pSh); in InsertLab() 252 pSh->SetLabelDoc(rItem.bSynchron); in InsertLab() 253 pSh->DoUndo( sal_False ); in InsertLab() 254 pSh->StartAllAction(); in InsertLab() 256 pSh->SetNewDoc(); // Performanceprobleme vermeiden in InsertLab() 258 SwPageDesc aDesc = pSh->GetPageDesc( 0 ); in InsertLab() 291 const SwPageDesc &rFollow = pSh->GetPageDesc( pSh->GetCurPageDesc() ); in InsertLab() 294 pPrt = pSh->getIDocumentDeviceAccess()->getPrinter( true ); in InsertLab() [all …]
|
| /AOO42X/main/sw/source/core/layout/ |
| H A D | pagechg.cxx | 222 ViewShell *pSh = getRootFrm()->GetCurrShell(); in SwPageFrm() local 223 const bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); in SwPageFrm() 227 long nWidth = pSh->VisArea().Width(); in SwPageFrm() 292 ViewShell *pSh = getRootFrm()->GetCurrShell(); in ~SwPageFrm() local 293 if ( pSh ) in ~SwPageFrm() 295 SwViewImp *pImp = pSh->Imp(); in ~SwPageFrm() 303 SwPageFrm::GetBorderAndShadowBoundRect( Frm(), pSh, aRetoucheRect, bRightSidebar ); in ~SwPageFrm() 304 pSh->AddPaintRect( aRetoucheRect ); in ~SwPageFrm() 349 const ViewShell *pSh = getRootFrm()->GetCurrShell(); in CheckDirection() local 350 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in CheckDirection() [all …]
|
| H A D | layact.cxx | 437 const ViewShell *pSh = pRoot->GetCurrShell(); in RemoveEmptyBrowserPages() local 438 if( pSh && pSh->GetViewOptions()->getBrowseMode() ) in RemoveEmptyBrowserPages() 1191 const ViewShell *pSh = pRoot->GetCurrShell(); in IsShortCut() local 1192 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in IsShortCut() 1443 const ViewShell *pSh = pLay->getRootFrm()->GetCurrShell(); in FormatLayout() local 1445 if( pSh && pSh->GetViewOptions()->getBrowseMode() && in FormatLayout() 1489 const ViewShell *pSh = pLay->getRootFrm()->GetCurrShell(); in FormatLayout() local 1490 if( !pSh || !pSh->GetViewOptions()->getBrowseMode() ) in FormatLayout() 1848 const ViewShell *pSh = pRoot->GetCurrShell(); in FormatCntnt() local 1849 const sal_Bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode(); in FormatCntnt() [all …]
|
| H A D | paintfrm.cxx | 989 void MA_FASTCALL SwAlignRect( SwRect &rRect, ViewShell *pSh ) in SwAlignRect() argument 998 if ( !bFlyMetafile && !pSh ) in SwAlignRect() 1004 pFlyMetafileOut : pSh->GetOut(); in SwAlignRect() 2859 ViewShell *pSh = pCurrShell; in Paint() local 2861 if ( pSh->GetWin() ) in Paint() 2863 if ( pSh->GetOut() == pSh->GetWin() && !pSh->GetWin()->IsVisible() ) in Paint() 2869 SwPaintQueue::Add( pSh, rRect ); in Paint() 2879 pGlobalShell = pSh; in Paint() 2881 if( !pSh->GetWin() ) in Paint() 2882 … pProgress = SfxProgress::GetActiveProgress( (SfxObjectShell*) pSh->GetDoc()->GetDocShell() ); in Paint() [all …]
|
| /AOO42X/main/sw/source/ui/index/ |
| H A D | toxmgr.cxx | 44 pSh(pShell) in SwTOXMgr() 57 return pSh->GetCurTOXMarks(aCurMarks); in GetTOXMarks() 74 pNext = (SwTOXMark*)&pSh->GotoTOXMark( *pCurTOXMark, TOX_NXT ); in DeleteTOXMark() 78 pSh->DeleteTOXMark( pCurTOXMark ); in DeleteTOXMark() 79 pSh->SetModified(); in DeleteTOXMark() 96 pMark = new SwTOXMark(pSh->GetTOXType(TOX_CONTENT, 0)); in InsertTOXMark() 105 pMark = new SwTOXMark(pSh->GetTOXType(TOX_INDEX, 0)); in InsertTOXMark() 133 pMark = new SwTOXMark(pSh->GetTOXType(TOX_USER, nId)); in InsertTOXMark() 142 pSh->StartAllAction(); in InsertTOXMark() 143 pSh->SwEditShell::Insert(*pMark); in InsertTOXMark() [all …]
|
| H A D | swuiidxmrk.cxx | 151 pSh(&rWrtShell) in SwIndexMarkDlg() 242 DBG_ASSERT(pSh && pTOXMgr, "Shell nicht da?"); in InitControls() 258 sal_uInt16 nCount = pSh->GetTOXTypeCount(TOX_USER); in InitControls() 261 aTypeDCB.InsertEntry( pSh->GetTOXType(TOX_USER, i)->GetTypeName() ); in InitControls() 265 nCount = pSh->GetTOIKeys( TOI_PRIMARY, aArr ); in InitControls() 270 nCount = pSh->GetTOIKeys( TOI_SECONDARY, aArr ); in InitControls() 284 pSh->SttCrsrMove(); in InitControls() 289 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_PRV ); in InitControls() 291 pSh->GotoTOXMark( *pMoveMark, TOX_NXT ), bShow = sal_True; in InitControls() 293 pMoveMark = &pSh->GotoTOXMark( *pMark, TOX_NXT ); in InitControls() [all …]
|
| /AOO42X/main/sw/source/ui/table/ |
| H A D | tablemgr.cxx | 166 pSh->StartAllAction(); in SetColWidth() 167 pSh->SetTabCols( aCols, bCurrentOnly ); in SetColWidth() 168 pSh->EndAllAction(); in SetColWidth() 175 ASSERT(pSh, keine Shell); in InitTabCols() 177 if( pFmt && pSh) in InitTabCols() 178 pSh->GetTabCols( aCols ); in InitTabCols() 185 pSh(pShell), in SwTableFUNC() 205 SwFrmFmt *pFmt2 = pSh->GetTableFmt(); in UpdateChart() 206 if ( pFmt2 && pSh->HasOLEObj( pFmt2->GetName() ) ) in UpdateChart() 208 pSh->StartAllAction(); in UpdateChart() [all …]
|
| /AOO42X/main/sw/source/ui/misc/ |
| H A D | redlndlg.cxx | 149 SwWrtShell* pSh = pView->GetWrtShellPtr(); in Activate() local 153 sal_Bool bMod = pSh->IsModified(); in Activate() 155 pSh->GetView().GetViewFrame()->GetDispatcher()->Execute( in Activate() 158 pSh->ResetModified(); in Activate() 343 SwWrtShell* pSh = ::GetActiveView()->GetWrtShellPtr(); in InitAuthors() local 353 const sal_uInt16 nRedlineCount = pSh->GetRedlineCount(); in InitAuthors() 363 const SwRedline& rRedln = pSh->GetRedline(i); in InitAuthors() 390 …sal_Bool bEnable = pTable->GetEntryCount() != 0 && !pSh->getIDocumentRedlineAccess()->GetRedlinePa… in InitAuthors() 400 const SwRedline& rRedln = pSh->GetRedline( nPos ); in InitAuthors() 497 SwWrtShell* pSh = pView->GetWrtShellPtr(); in Activate() local [all …]
|
| H A D | docfnote.cxx | 146 pSh( 0 ), in SwEndNoteOptionPage() 162 SwEndNoteInfo *pInf = bEndNote ? new SwEndNoteInfo( pSh->GetEndNoteInfo() ) in Reset() 163 : new SwFtnInfo( pSh->GetFtnInfo() ); in Reset() 194 const SwFtnInfo &rInf = pSh->GetFtnInfo(); in Reset() 225 *pSh->GetView().GetDocShell()->GetDoc()); in Reset() 229 pCharFmt = pInf->GetAnchorCharFmt( *pSh->GetDoc() ); in Reset() 235 SfxStyleSheetBasePool* pStyleSheetPool = pSh->GetView().GetDocShell()->GetStyleSheetPool(); in Reset() 270 sal_uInt16 nCount = pSh->GetPageDescCnt(); in Reset() 273 const SwPageDesc &rPageDesc = pSh->GetPageDesc(i); in Reset() 278 aPageTemplBox.SelectEntry( pInf->GetPageDesc( *pSh->GetDoc() )->GetName()); in Reset() [all …]
|
| /AOO42X/main/sw/source/ui/shells/ |
| H A D | drwbassh.cxx | 119 SwWrtShell *pSh = &GetShell(); in Execute() local 120 SdrView* pSdrView = pSh->GetDrawView(); in Execute() 137 sal_Bool bAlignPossible = pSh->IsAlignPossible(); in Execute() 163 0 != ::GetHtmlMode(pSh->GetView().GetDocShell()))); in Execute() 165 aSet.Put(SfxInt16Item(FN_DRAW_WRAP_DLG, pSh->GetLayerId())); in Execute() 167 pSh->GetObjAttr(aSet); in Execute() 171 …bstractDialog* pDlg = pFact->CreateSwWrapDlg( GetView().GetWindow(), aSet, pSh, sal_True, RC_DLG_S… in Execute() 182 pSh->SelectionToHeaven(); in Execute() 184 pSh->SelectionToHell(); in Execute() 187 pSh->SetObjAttr(*pOutSet); in Execute() [all …]
|
| H A D | beziersh.cxx | 74 SwWrtShell *pSh = &GetShell(); in TYPEINIT1() local 75 SdrView* pSdrView = pSh->GetDrawView(); in TYPEINIT1() 88 SwWrtShell *pSh = &GetShell(); in Execute() local 89 SdrView* pSdrView = pSh->GetDrawView(); in Execute() 102 if (pSh->IsObjSelected()) in Execute() 105 … pSh->GetView().GetViewFrame()->GetDispatcher()->Execute(SID_BEZIER_DELETE, sal_False); in Execute() 108 pSh->DelSelectedObj(); in Execute() 109 if (pSh->IsSelFrmMode()) in Execute() 111 pSh->LeaveSelFrmMode(); in Execute() 112 pSh->NoEdit(); in Execute() [all …]
|
| H A D | textfld.cxx | 843 SwWrtShell* pSh = GetShellPtr(); in IMPL_LINK() local 847 pSh->SetRedlineComment(pDlg->GetNote()); in IMPL_LINK() 849 const SwRedline *pRedline = pSh->GetCurrRedline(); in IMPL_LINK() 856 if( !pSh->IsCrsrPtAtEnd() ) in IMPL_LINK() 857 pSh->SwapPam(); // Cursor hinter den Redline stellen in IMPL_LINK() 859 pSh->Push(); in IMPL_LINK() 860 const SwRedline *pActRed = pSh->SelNextRedline(); in IMPL_LINK() 861 pSh->Pop(pActRed != 0); in IMPL_LINK() 867 pSh->StartAction(); in IMPL_LINK() 868 pSh->Push(); in IMPL_LINK() [all …]
|
| /AOO42X/main/sw/source/core/edit/ |
| H A D | edws.cxx | 104 ViewShell *pSh = this; in StartAllAction() local 106 if( pSh->IsA( TYPE( SwEditShell ) ) ) in StartAllAction() 107 ((SwEditShell*)pSh)->StartAction(); in StartAllAction() 109 pSh->StartAction(); in StartAllAction() 110 pSh = (ViewShell *)pSh->GetNext(); in StartAllAction() 111 } while(pSh != this); in StartAllAction() 120 ViewShell *pSh = this; in EndAllAction() local 122 if( pSh->IsA( TYPE( SwEditShell ) ) ) in EndAllAction() 123 ((SwEditShell*)pSh)->EndAction(); in EndAllAction() 125 pSh->EndAction(); in EndAllAction() [all …]
|
| /AOO42X/main/sw/source/core/text/ |
| H A D | frmpaint.cxx | 89 ViewShell *pSh; member in SwExtraPainter 119 aRect( rRct ), pTxtFrm( pFrm ), pSh( pVwSh ), pFnt( 0 ), rLineInf( rLnInf ), in SwExtraPainter() 144 pFnt->ChgPhysFnt( pSh, *pSh->GetOut() ); in SwExtraPainter() 210 SwDrawTextInfo aDrawInf( pSh, *pSh->GetOut(), 0, aTmp, 0, aTmp.Len() ); in PaintExtra() 223 pFnt->GetHeight( pSh, *pSh->GetOut() ) > nMax; in PaintExtra() 247 aTmpPos.Y() - pTmpFnt->GetAscent( pSh, *pSh->GetOut() ) in PaintExtra() 288 const Color aOldCol( pSh->GetOut()->GetLineColor() ); in PaintRedline() 289 pSh->GetOut()->SetLineColor( SW_MOD()->GetRedlineMarkColor() ); in PaintRedline() 297 pSh->GetOut()->DrawLine( aStart, aEnd ); in PaintRedline() 298 pSh->GetOut()->SetLineColor( aOldCol ); in PaintRedline() [all …]
|
| H A D | porrst.cxx | 233 ViewShell *pSh = getRootFrm()->GetCurrShell(); in EmptyHeight() local 241 SwFontAccess aFontAccess( &rTxtNode.GetAnyFmtColl(), pSh); in EmptyHeight() 243 pFnt->ChkMagic( pSh, pFnt->GetActual() ); in EmptyHeight() 249 OutputDevice* pOut = pSh ? pSh->GetOut() : 0; in EmptyHeight() 250 if ( !pOut || !pSh->GetViewOptions()->getBrowseMode() || in EmptyHeight() 251 pSh->GetViewOptions()->IsPrtFormat() ) in EmptyHeight() 278 pFnt->ChgPhysFnt( pSh, *pOut ); in EmptyHeight() 279 nRet = pFnt->GetHeight( pSh, *pOut ); in EmptyHeight() 393 ViewShell *pSh = getRootFrm()->GetCurrShell(); in FillRegister() local 394 SwFontAccess aFontAccess( pFmt, pSh ); in FillRegister() [all …]
|
| /AOO42X/main/sw/source/ui/fldui/ |
| H A D | fldmgr.cxx | 266 SwFldMgr::SwFldMgr(SwWrtShell* pSh ) : in SwFldMgr() argument 269 pWrtShell(pSh), in SwFldMgr() 288 SwWrtShell *pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in CanInsertRefMark() local 289 DBG_ASSERT(pSh, "no SwWrtShell found"); in CanInsertRefMark() 290 if(pSh) in CanInsertRefMark() 292 sal_uInt16 nCnt = pSh->GetCrsrCnt(); in CanInsertRefMark() 295 if( 1 < nCnt && !pSh->SwCrsrShell::HasSelection() ) in CanInsertRefMark() 298 bRet = 2 > nCnt && 0 == pSh->GetRefMark( rStr ); in CanInsertRefMark() 309 SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in RemoveFldType() local 310 DBG_ASSERT(pSh, "no SwWrtShell found"); in RemoveFldType() [all …]
|
| H A D | fldvar.cxx | 144 SwWrtShell *pSh = GetWrtShell(); in Reset() local 145 if ( !pSh ) in Reset() 146 pSh = ::GetActiveWrtShell(); in Reset() 147 if ( pSh ) in Reset() 149 … const SvNumberformat* pFormat = pSh->GetNumberFormatter()->GetEntry( pCurField->GetFormat() ); in Reset() 343 SwWrtShell *pSh = GetWrtShell(); in IMPL_LINK() local 344 if ( !pSh ) in IMPL_LINK() 345 pSh = ::GetActiveWrtShell(); in IMPL_LINK() 346 if ( pSh ) in IMPL_LINK() 349 pSh->GetFldType( RES_SETEXPFLD, sName ); in IMPL_LINK() [all …]
|
| H A D | fldedt.cxx | 72 pSh (rVw.GetWrtShellPtr()), in SwFldEditDlg() 77 SwFldMgr aMgr(pSh); in SwFldEditDlg() 83 pSh->SetCareWin(this); in SwFldEditDlg() 85 if ( pSh->CrsrInsideInputFld() ) in SwFldEditDlg() 92 pSh->GotoField( *(pInputFld->GetFmtFld()) ); in SwFldEditDlg() 96 if ( ! pSh->HasSelection() ) in SwFldEditDlg() 98 pSh->Right(CRSR_SKIP_CHARS, sal_True, 1, sal_False ); in SwFldEditDlg() 101 pSh->NormalizePam(); in SwFldEditDlg() 153 pSh->StartAction(); in Init() 154 pSh->CreateCrsr(); in Init() [all …]
|
| H A D | fldref.cxx | 148 SwWrtShell *pSh = GetWrtShell(); in SaveSelectedTxtNode() local 149 if ( !pSh ) in SaveSelectedTxtNode() 151 pSh = ::GetActiveWrtShell(); in SaveSelectedTxtNode() 232 SwWrtShell *pSh = GetWrtShell(); in Reset() local 233 if(!pSh) in Reset() 234 pSh = ::GetActiveWrtShell(); in Reset() 236 sal_uInt16 nFldTypeCnt = pSh->GetFldTypeCount(RES_SETEXPFLD); in Reset() 240 SwSetExpFieldType* pType = (SwSetExpFieldType*)pSh->GetFldType(n, RES_SETEXPFLD); in Reset() 242 … if ((nsSwGetSetExpType::GSE_SEQ & pType->GetType()) && pType->GetDepends() && pSh->IsUsed(*pType)) in Reset() 254 if( pSh->HasFtns() ) in Reset() [all …]
|
| /AOO42X/main/sw/source/core/view/ |
| H A D | vprint.cxx | 92 ViewShell *pSh; member in SwQueuedPaint 97 pSh( pNew ), in SwQueuedPaint() 121 while ( pPt->pSh != pNew && pPt->pNext ) in Add() 123 if ( pPt->pSh == pNew ) in Add() 144 { ViewShell *pSh = pPt->pSh; in Repaint() local 145 SET_CURR_SHELL( pSh ); in Repaint() 146 if ( pSh->IsPreView() ) in Repaint() 148 if ( pSh->GetWin() ) in Repaint() 152 pSh->GetWin()->Invalidate(); in Repaint() 153 pSh->GetWin()->Update(); in Repaint() [all …]
|
| H A D | viewsh.cxx | 182 ViewShell *pSh = (ViewShell*)this->GetNext(); in ImplEndAction() local 183 while ( pSh != this ) in ImplEndAction() 184 { if ( pSh->ActionPend() ) in ImplEndAction() 186 pSh = this; in ImplEndAction() 189 pSh = (ViewShell*)pSh->GetNext(); in ImplEndAction() 508 ViewShell *pSh = this; in AddPaintRect() local 511 if( pSh->Imp() ) in AddPaintRect() 513 if ( pSh->IsPreView() && pSh->GetWin() ) in AddPaintRect() 514 ::RepaintPagePreview( pSh, rRect ); in AddPaintRect() 516 bRet |= pSh->Imp()->AddPaintRect( rRect );//swmod 080111 in AddPaintRect() [all …]
|
| /AOO42X/main/sw/source/ui/lingu/ |
| H A D | olmenu.cxx | 390 pSh( pWrtSh ), in SwSpellPopup() 586 pSh( pWrtSh ), in SwSpellPopup() 737 sal_Bool bOldIns = pSh->IsInsMode(); in Execute() 738 pSh->SetInsMode( sal_True ); in Execute() 755 aRewriter.AddRule(UNDO_ARG1, pSh->GetCrsrDescr()); in Execute() 763 pSh->StartUndo(UNDO_UI_REPLACE, &aRewriter); in Execute() 764 pSh->StartAction(); in Execute() 765 pSh->DelLeft(); in Execute() 767 pSh->Insert( aTmp ); in Execute() 786 pSh->EndAction(); in Execute() [all …]
|
| /AOO42X/main/sw/source/core/doc/ |
| H A D | notxtfrm.cxx | 222 void SetOutDev( ViewShell *pSh, OutputDevice *pOut ) in SetOutDev() argument 224 pSh->pOut = pOut; in SetOutDev() 284 const ViewShell* pSh = getRootFrm()->GetCurrShell(); in Paint() local 285 if( !pSh->GetViewOptions()->IsGraphic() ) in Paint() 289 if ( pSh->GetWin() && !pSh->IsPreView() ) in Paint() 297 lcl_PaintReplacement( Frm(), aTxt, *pSh, this, sal_False ); in Paint() 302 if( pSh->GetAccessibilityOptions()->IsStopAnimatedGraphics() || in Paint() 304 !pSh->GetWin() ) in Paint() 310 OutputDevice *pOut = pSh->GetOut(); in Paint() 324 !pSh->GetWin() ) && in Paint() [all …]
|
| /AOO42X/main/svx/source/sidebar/area/ |
| H A D | AreaPropertyPanel.cxx | 318 SfxObjectShell* pSh = SfxObjectShell::Current(); in IMPL_LINK() local 357 if(pSh && pSh->GetItem(SID_GRADIENT_LIST)) in IMPL_LINK() 361 … const SvxGradientListItem aItem(*(const SvxGradientListItem*)(pSh->GetItem(SID_GRADIENT_LIST))); in IMPL_LINK() 371 … const SvxGradientListItem aItem(*(const SvxGradientListItem*)(pSh->GetItem(SID_GRADIENT_LIST))); in IMPL_LINK() 396 if(pSh && pSh->GetItem(SID_HATCH_LIST)) in IMPL_LINK() 400 … const SvxHatchListItem aItem( *(const SvxHatchListItem*)(pSh->GetItem(SID_HATCH_LIST))); in IMPL_LINK() 410 … const SvxHatchListItem aItem(*(const SvxHatchListItem*)(pSh->GetItem(SID_HATCH_LIST))); in IMPL_LINK() 435 if(pSh && pSh->GetItem(SID_BITMAP_LIST)) in IMPL_LINK() 439 … const SvxBitmapListItem aItem( *(const SvxBitmapListItem*)(pSh->GetItem(SID_BITMAP_LIST))); in IMPL_LINK() 449 … const SvxBitmapListItem aItem(*(const SvxBitmapListItem*)(pSh->GetItem(SID_BITMAP_LIST))); in IMPL_LINK() [all …]
|