| /AOO41X/main/sw/source/ui/uiview/ |
| H A D | viewling.cxx | 189 pWrtShell->StartAction(); in ExecLingu() 192 const SwPosition *pPoint = pWrtShell->GetCrsr()->GetPoint(); in ExecLingu() 199 pWrtShell->StartUndo( UNDO_OVERWRITE ); in ExecLingu() 203 pWrtShell->EndUndo( UNDO_OVERWRITE ); in ExecLingu() 214 … pWrtShell->GetCrsr()->GetPoint()->nContent.Assign( pTxtNode, nPointIndex ); in ExecLingu() 218 pWrtShell->EndAction(); in ExecLingu() 256 const SwViewOption* pVOpt = pWrtShell->GetViewOptions(); in StartTextConversion() 260 sal_Bool bOldIns = pWrtShell->IsInsMode(); in StartTextConversion() 261 pWrtShell->SetInsMode( sal_True ); in StartTextConversion() 263 sal_Bool bSelection = ((SwCrsrShell*)pWrtShell)->HasSelection() || in StartTextConversion() [all …]
|
| H A D | view.cxx | 169 if ( !pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT) ) in ImpSetVerb() 202 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus() 210 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus() 239 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : NULL; in IMPL_LINK() 243 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in IMPL_LINK() 261 const SwFrmFmt* pCurTableFmt = pWrtShell->GetTableFmt(); in SelectShell() 269 int nNewSelectionType = (pWrtShell->GetSelectionType() in SelectShell() 478 pWrtShell->UpdateTable(); in SelectShell() 508 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt && in IMPL_LINK() 513 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt ) in IMPL_LINK() [all …]
|
| H A D | viewsrch.cxx | 122 if( pWrtShell->IsBlockMode() ) in ExecSearch() 123 pWrtShell->LeaveBlockMode(); in ExecSearch() 214 Scroll(pWrtShell->GetCharRect().SVRect()); in ExecSearch() 274 pWrtShell->Push(); in ExecSearch() 277 String *pBackRef = ReplaceBackReferences( aTmp, pWrtShell->GetCrsr() ); in ExecSearch() 288 pWrtShell->Pop(); in ExecSearch() 289 pWrtShell->SwapPam(); in ExecSearch() 301 Scroll( pWrtShell->GetCharRect().SVRect()); in ExecSearch() 320 SwSearchOptions aOpts( pWrtShell, pSrchItem->GetBackward() ); in ExecSearch() 327 (pWrtShell->*pWrtShell->fnKillSel)(0, sal_False); in ExecSearch() [all …]
|
| H A D | view2.cxx | 512 pWrtShell->getIDocumentDrawModelAccess()->GetOrCreateDrawModel(); in Execute() 555 IDocumentRedlineAccess* pIDRA = pWrtShell->getIDocumentRedlineAccess(); in Execute() 583 sal_uInt16 nMode = pWrtShell->GetRedlineMode(); in Execute() 584 … pWrtShell->SetRedlineModeAndCheckInsMode( (nMode & ~nsRedlineMode_t::REDLINE_ON) | nOn); in Execute() 590 IDocumentRedlineAccess* pIDRA = pWrtShell->getIDocumentRedlineAccess(); in Execute() 625 … pWrtShell->SetRedlineModeAndCheckInsMode( (nMode & ~nsRedlineMode_t::REDLINE_ON) | nOn); in Execute() 638 & pWrtShell->GetRedlineMode() ) | nsRedlineMode_t::REDLINE_SHOW_INSERT; in Execute() 642 pWrtShell->SetRedlineModeAndCheckInsMode( nMode ); in Execute() 653 Point aCrsrPos = pWrtShell->GetCrsrDocPos( sal_True ); in Execute() 654 if( pWrtShell->GetContentAtPos( aCrsrPos, aCntntAtPos ) ) in Execute() [all …]
|
| H A D | viewstat.cxx | 85 if( !pWrtShell->GetLinkManager().GetLinks().Count() ) in GetState() 87 else if( pWrtShell->IsSelFrmMode() && in GetState() 88 pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT)) in GetState() 93 if( pWrtShell->CrsrInsideInputFld() ) in GetState() 103 eFrmType = pWrtShell->GetFrmType(0,sal_True), bGetFrmType = sal_True; in GetState() 108 else if((pWrtShell->IsObjSelected()||pWrtShell->IsFrmSelected()) && in GetState() 109 (pWrtShell->IsSelObjProtected( FLYPROTECT_PARENT)|| in GetState() 110 pWrtShell->IsSelObjProtected( FLYPROTECT_CONTENT ))) in GetState() 112 else if( pWrtShell->IsTableMode() in GetState() 113 || pWrtShell->CrsrInsideInputFld() ) in GetState() [all …]
|
| H A D | viewdraw.cxx | 91 SdrView *pSdrView = pWrtShell->GetDrawView(); in ExecDraw() 152 Size aDocSize(pWrtShell->GetDocSize()); in ExecDraw() 153 const SwRect& rVisArea = pWrtShell->VisArea(); in ExecDraw() 169 pWrtShell->EnterStdMode(); in ExecDraw() 170 pWrtShell->SwFEShell::InsertDrawObj( *pObj, aStartPos ); in ExecDraw() 177 Window* pWin = &( pWrtShell->GetView().GetViewFrame()->GetWindow() ); in ExecDraw() 182 if( !pWrtShell->HasDrawView() ) in ExecDraw() 183 pWrtShell->MakeDrawView(); in ExecDraw() 185 pSdrView = pWrtShell->GetDrawView(); in ExecDraw() 194 Size aDocSize( pWrtShell->GetDocSize() ); in ExecDraw() [all …]
|
| H A D | viewport.cxx | 74 pWrtShell->GetViewOptions()->getBrowseMode() || in IsDocumentBorder() 75 SVX_ZOOM_PAGEWIDTH_NOBORDER == (SvxZoomType)pWrtShell->GetViewOptions()->GetZoomType(); in IsDocumentBorder() 186 if( !pWrtShell || aVisArea.IsEmpty() ) // keine Shell -> keine Aenderung in DocSzChgd() 271 if ( pWrtShell && pWrtShell->ActionPend() ) in SetVisArea() 272 pWrtShell->GetWin()->Update(); in SetVisArea() 278 if ( pWrtShell ) in SetVisArea() 280 pWrtShell->VisPortChgd( aVisArea ); in SetVisArea() 281 if ( aOldSz != pWrtShell->VisArea().SSize() && in SetVisArea() 282 ( Abs(aOldSz.Width() - pWrtShell->VisArea().Width()) > 2 || in SetVisArea() 283 Abs(aOldSz.Height() - pWrtShell->VisArea().Height()) > 2 ) ) in SetVisArea() [all …]
|
| H A D | viewmdi.cxx | 99 sal_Bool bUnLockView = !pWrtShell->IsViewLocked(); in _SetZoom() 100 pWrtShell->LockView( sal_True ); in _SetZoom() 101 pWrtShell->LockPaint(); in _SetZoom() 104 ACT_KONTEXT(pWrtShell); in _SetZoom() 111 const SwPageDesc &rDesc = pWrtShell->GetPageDesc( pWrtShell->GetCurPageDesc() ); in _SetZoom() 113 const SwViewOption *pOpt = pWrtShell->GetViewOptions(); in _SetZoom() 120 const SwRect aPageRect( pWrtShell->GetAnyCurRect( RECT_PAGE_CALC ) ); in _SetZoom() 121 const SwRect aRootRect( pWrtShell->GetAnyCurRect( RECT_PAGES_AREA ) ); in _SetZoom() 195 pWrtShell->ApplyViewOptions( aOpt ); in _SetZoom() 202 aPos.Y() = pWrtShell->GetAnyCurRect(RECT_PAGE).Top() - DOCUMENTBORDER; in _SetZoom() [all …]
|
| H A D | view1.cxx | 88 pWrtShell->MakeSelVisible(); in Activate() 96 pWrtShell->ShGetFcs(sal_False); // Selektionen sichtbar in Activate() 104 AttrChangedNotify(pWrtShell); in Activate() 123 pIdxMrk->ReInitDlg(*pWrtShell); in Activate() 130 pAuthMrk->ReInitDlg(*pWrtShell); in Activate() 134 AttrChangedNotify(pWrtShell); in Activate() 153 pWrtShell->ShLooseFcs(); // Selektionen unsichtbar in Deactivate()
|
| H A D | viewdlg.cxx | 65 sal_uInt16 nOldValue = pWrtShell->GetPageOffset(); in ExecDlg() 67 pWrtShell->GetPageNum( nPage, nLogPage, in ExecDlg() 68 pWrtShell->IsCrsrVisible(), sal_False); in ExecDlg() 73 pWrtShell->SetNewPageOffset( nValue ); in ExecDlg() 75 pWrtShell->SetPageOffset( nValue ); in ExecDlg()
|
| /AOO41X/main/sw/source/ui/dialog/ |
| H A D | SwSpellDialogChildWindow.cxx | 179 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in ~SwSpellDialogChildWindow() local 180 if(!m_pSpellState->m_bInitialCall && pWrtShell) in ~SwSpellDialogChildWindow() 181 pWrtShell->SpellEnd(); in ~SwSpellDialogChildWindow() 202 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in GetNextWrongSentence() local 203 if(pWrtShell) in GetNextWrongSentence() 209 pWrtShell->MoveContinuationPosToEndOfCheckedSentence(); in GetNextWrongSentence() 212 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in GetNextWrongSentence() 227 if(!MakeTextSelection_Impl(*pWrtShell, eSelMode)) in GetNextWrongSentence() 232 if(0 != (pWrtShell->GetSelectionType()& nsSelectionType::SEL_DRW_TXT)) in GetNextWrongSentence() 240 if(!pWrtShell->HasSelection()) in GetNextWrongSentence() [all …]
|
| /AOO41X/main/sw/source/ui/ribbar/ |
| H A D | inputwin.cxx | 71 pWrtShell(0), in SFX_IMPL_POS_CHILDWINDOW() 91 pWrtShell = pView ? pView->GetWrtShellPtr() : 0; in SFX_IMPL_POS_CHILDWINDOW() 150 if(pWrtShell) in ~SwInputWindow() 151 pWrtShell->EndSelTblCells(); in ~SwInputWindow() 161 pWrtShell->DoUndo(m_bDoesUndo); in CleanupUglyHackWithUndo() 164 pWrtShell->Undo(); in CleanupUglyHackWithUndo() 220 DBG_ASSERT(pWrtShell, "Keine WrtShell!"); in ShowWin() 222 bIsTable = pWrtShell->IsCrsrInTbl() ? sal_True : sal_False; in ShowWin() 225 pWrtShell->SelTblCells( LINK( this, SwInputWindow, in ShowWin() 229 const String& rPos = pWrtShell->GetBoxNms(); in ShowWin() [all …]
|
| H A D | tbxanchr.cxx | 143 SwWrtShell* pWrtShell = pActiveView->GetWrtShellPtr(); in Click() local 144 aPopMenu.EnableItem( FN_TOOL_ANKER_FRAME, 0 != pWrtShell->IsFlyInFly() ); in Click() 150 if (bHtmlModeNoAnchor || pWrtShell->IsInHeaderFooter()) in Click()
|
| /AOO41X/main/sw/source/ui/dochdl/ |
| H A D | gloshdl.cxx | 110 pViewFrame, this, pWrtShell); in SV_IMPL_PTRARR() 430 if( !pWrtShell->GetSelectedText( sOnlyTxt, GETSELTXT_PARABRK_TO_ONLYCR )) in NewGlossary() 437 const sal_uInt16 nSuccess = pWrtShell->MakeGlossary( *pTmp, rName, rShortName, in NewGlossary() 441 InfoBox(pWrtShell->GetView().GetWindow(), SW_RES(MSG_ERR_INSERT_GLOS)).Execute(); in NewGlossary() 475 ASSERT(pWrtShell->CanInsert(), illegal); in ExpandGlossary() 489 if(pWrtShell->SwCrsrShell::HasSelection() && !pWrtShell->IsBlockMode()) in ExpandGlossary() 491 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary() 495 if(pWrtShell->IsAddMode()) in ExpandGlossary() 496 pWrtShell->LeaveAddMode(); in ExpandGlossary() 497 else if(pWrtShell->IsBlockMode()) in ExpandGlossary() [all …]
|
| H A D | swdtflvr.cxx | 210 : pWrtShell( &rSh ), in SwTransferable() 252 pWrtShell = 0; in ~SwTransferable() 394 if( !HasFormat( nFormat ) || ( pClpDocFac == NULL && pWrtShell == NULL ) ) in GetData() 399 SelectionType nSelectionType = pWrtShell->GetSelectionType(); in GetData() 404 const bool bPending(pWrtShell->BasicActionPend()); in GetData() 410 if( !pWrtShell->GetDrawObjGraphic( FORMAT_GDIMETAFILE, *pClpGraphic )) in GetData() 413 if( !pWrtShell->GetDrawObjGraphic( FORMAT_BITMAP, *pClpBitmap )) in GetData() 418 if( pWrtShell->GetURLFromButton( sURL, sDesc ) ) in GetData() 429 pWrtShell->Copy( pTmpDoc ); in GetData() 437 if( nSelectionType & nsSelectionType::SEL_TXT && !pWrtShell->HasMark() ) in GetData() [all …]
|
| /AOO41X/main/sw/source/ui/fldui/ |
| H A D | fldmgr.cxx | 269 pWrtShell(pSh), in SwFldMgr() 288 SwWrtShell *pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in CanInsertRefMark() 309 SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in RemoveFldType() 317 SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in GetFldTypeCount() 325 SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in GetFldType() 333 SwWrtShell * pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in GetFldType() 344 SwWrtShell *pSh = pWrtShell ? pWrtShell : ::lcl_GetShell(); in GetCurFld() 507 SwWrtShell *pSh = pWrtShell ? pWrtShell : lcl_GetShell(); in GetSubTypes() 805 SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell(); in GoNextPrev() 836 SwWrtShell* pSh = pWrtShell ? pWrtShell : ::lcl_GetShell(); in InsertFldType() [all …]
|
| /AOO41X/main/sw/source/ui/utlui/ |
| H A D | content.cxx | 219 pWrtShell(pShell), in SwContentType() 250 … static_cast<sal_uInt16>(pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineNodesCount()); in Init() 255 … if(pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineLevel(j) > nOutlineLevel ) in Init() 265 nMemberCount = pWrtShell->GetTblFrmFmtCount(sal_True); in Init() 285 nMemberCount = pWrtShell->GetFlyCount(eType); in Init() 291 IDocumentMarkAccess* const pMarkAccess = pWrtShell->getIDocumentMarkAccess(); in Init() 314 nMemberCount = pWrtShell->GetSectionFmtCount(); in Init() 319 if( (pFmt = &pWrtShell->GetSectionFmt(i))->IsInNodesArr() && in Init() 365 nMemberCount = pWrtShell->GetTOXCount(); in Init() 372 nMemberCount = pWrtShell->GetRefMarks( 0 ); in Init() [all …]
|
| H A D | tmplctrl.cxx | 130 SwWrtShell* pWrtShell; in Command() local 131 if( pView && 0 != (pWrtShell = pView->GetWrtShellPtr()) && in Command() 132 !pWrtShell->SwCrsrShell::HasSelection()&& in Command() 133 !pWrtShell->IsSelFrmMode() && in Command() 134 !pWrtShell->IsObjSelected()) in Command() 157 pWrtShell->GetView().GetViewFrame()->GetDispatcher()->Execute( in Command()
|
| H A D | bookctrl.cxx | 130 SwWrtShell* pWrtShell = ::GetActiveWrtShell(); in Command() local 131 if( pWrtShell && pWrtShell->getIDocumentMarkAccess()->getAllMarksCount() > 0 ) in Command() 133 IDocumentMarkAccess* const pMarkAccess = pWrtShell->getIDocumentMarkAccess(); in Command()
|
| H A D | navipi.cxx | 220 SwWrtShell* pWrtShell = pView->GetWrtShellPtr(); in FillBox() local 221 aContentTree.SetActiveShell(pWrtShell); in FillBox() 1062 SwWrtShell* pWrtShell = pActView->GetWrtShellPtr(); in StateChanged() local 1063 aContentTree.SetActiveShell(pWrtShell); in StateChanged() 1073 aGlobalToolBox.CheckItem(FN_GLOBAL_SAVE_CONTENT, pWrtShell->IsGlblDocSaveLinks()); in StateChanged() 1164 SwWrtShell* pWrtShell = pActView->GetWrtShellPtr(); in Notify() local 1165 aContentTree.SetActiveShell(pWrtShell); in Notify()
|
| /AOO41X/main/sw/source/ui/config/ |
| H A D | optload.cxx | 94 pWrtShell ( NULL ), in SwLoadOptPage() 178 if(pWrtShell) in FillItemSet() 180 pWrtShell->SetFldUpdateFlags(eFldFlags); in FillItemSet() 181 pWrtShell->SetModified(); in FillItemSet() 188 if (pWrtShell) in FillItemSet() 190 pWrtShell->SetLinkUpdMode( nNewLinkMode ); in FillItemSet() 191 pWrtShell->SetModified(); in FillItemSet() 217 if ( pWrtShell ) in FillItemSet() 219 SwDoc* pDoc = pWrtShell->GetDoc(); in FillItemSet() 221 pWrtShell->SetModified(); in FillItemSet() [all …]
|
| H A D | optpage.cxx | 652 pWrtShell(0), in SwStdFontTabPage() 721 void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType, in lcl_SetColl() argument 728 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType); in lcl_SetColl() 735 void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType, in lcl_SetColl() argument 740 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType); in lcl_SetColl() 800 if(pWrtShell) in FillItemSet() 802 pWrtShell->StartAllAction(); in FillItemSet() 803 SfxPrinter* pPrinter = pWrtShell->getIDocumentDeviceAccess()->getPrinter( false ); in FillItemSet() 816 pWrtShell->SetDefault(SvxFontItem(aFont.GetFamily(), aFont.GetName(), in FillItemSet() 818 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(RES_POOLCOLL_STANDARD); in FillItemSet() [all …]
|
| /AOO41X/main/sw/source/ui/fmtui/ |
| H A D | tmpdlg.cxx | 118 pWrtShell(pActShell), in SwTemplateDlg() 123 nHtmlMode = ::GetHtmlMode(pWrtShell->GetView().GetDocShell()); in SwTemplateDlg() 293 if(!pActShell || 0 == ::GetHtmlMode(pWrtShell->GetView().GetDocShell())) in SwTemplateDlg() 466 … SwTxtFmtColl* pTmpColl = pWrtShell->FindTxtFmtCollByName( GetStyleSheet().GetName() ); in PageCreated() 473 … SfxStyleSheetBasePool* pPool = pWrtShell->GetView().GetDocShell()->GetStyleSheetPool(); in PageCreated() 538 if( pWrtShell ) in PageCreated() 540 SfxStyleSheetBasePool* pStyleSheetPool = pWrtShell-> in PageCreated() 562 if ( pWrtShell ) in PageCreated() 563 … rPage.SetFrame( pWrtShell->GetView().GetViewFrame()->GetFrame().GetFrameInterface() ); in PageCreated()
|
| /AOO41X/main/sw/source/ui/docvw/ |
| H A D | edtwin2.cxx | 501 SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); in PrePaint() local 503 if(pWrtShell) in PrePaint() 505 pWrtShell->PrePaint(); in PrePaint() 521 SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); in Paint() local 522 if(!pWrtShell) in Paint() 554 pWrtShell->Paint( rRect ); in Paint()
|
| /AOO41X/main/sw/source/ui/table/ |
| H A D | tautofmt.cxx | 72 AutoFmtPreview( Window* pParent, const ResId& rRes, SwWrtShell* pWrtShell ); 177 SwAutoFormatDlg::SwAutoFormatDlg( Window* pParent, SwWrtShell* pWrtShell, in SwAutoFormatDlg() argument 204 pWndPreview ( new AutoFmtPreview( this, SW_RES( WND_PREVIEW ), pWrtShell )), in SwAutoFormatDlg() 206 pShell ( pWrtShell ), in SwAutoFormatDlg() 580 AutoFmtPreview::AutoFmtPreview( Window* pParent, const ResId& rRes, SwWrtShell* pWrtShell ) : in IMPL_LINK_INLINE_END() 602 if (!pWrtShell->IsCrsrInTbl()) // We haven't created the table yet in IMPL_LINK_INLINE_END() 605 mbRTL = pWrtShell->IsTableRightToLeft(); in IMPL_LINK_INLINE_END()
|