Home
last modified time | relevance | path

Searched refs:pWrtShell (Results 1 – 25 of 54) sorted by relevance

123

/trunk/main/sw/source/ui/uiview/
H A Dviewling.cxx189 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()
214pWrtShell->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 Dview.cxx164 if ( !pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT) ) in ImpSetVerb()
196 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
204 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in GotFocus()
233 SdrView *pSdrView = pWrtShell ? pWrtShell->GetDrawView() : NULL; in IMPL_LINK()
237 const_cast< SwView* >( this )->AttrChangedNotify( pWrtShell ); in IMPL_LINK()
253 const SwFrmFmt* pCurTableFmt = pWrtShell->GetTableFmt(); in SelectShell()
261 int nNewSelectionType = (pWrtShell->GetSelectionType() in SelectShell()
470 pWrtShell->UpdateTable(); in SelectShell()
500 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt && in IMPL_LINK()
505 if( !pWrtShell->IsPaintLocked() && !bNoInterrupt ) in IMPL_LINK()
[all …]
H A Dviewsrch.cxx122 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 Dview2.cxx510 pWrtShell->getIDocumentDrawModelAccess()->GetOrCreateDrawModel(); in Execute()
553 IDocumentRedlineAccess* pIDRA = pWrtShell->getIDocumentRedlineAccess(); in Execute()
581 sal_uInt16 nMode = pWrtShell->GetRedlineMode(); in Execute()
582pWrtShell->SetRedlineModeAndCheckInsMode( (nMode & ~nsRedlineMode_t::REDLINE_ON) | nOn); in Execute()
588 IDocumentRedlineAccess* pIDRA = pWrtShell->getIDocumentRedlineAccess(); in Execute()
623pWrtShell->SetRedlineModeAndCheckInsMode( (nMode & ~nsRedlineMode_t::REDLINE_ON) | nOn); in Execute()
636 & pWrtShell->GetRedlineMode() ) | nsRedlineMode_t::REDLINE_SHOW_INSERT; in Execute()
640 pWrtShell->SetRedlineModeAndCheckInsMode( nMode ); in Execute()
651 Point aCrsrPos = pWrtShell->GetCrsrDocPos( sal_True ); in Execute()
652 if( pWrtShell->GetContentAtPos( aCrsrPos, aCntntAtPos ) ) in Execute()
[all …]
H A Dviewstat.cxx83 if( !pWrtShell->GetLinkManager().GetLinks().Count() ) in GetState()
85 else if( pWrtShell->IsSelFrmMode() && in GetState()
86 pWrtShell->IsSelObjProtected(FLYPROTECT_CONTENT)) in GetState()
91 if( pWrtShell->CrsrInsideInputFld() ) in GetState()
101 eFrmType = pWrtShell->GetFrmType(0,sal_True), bGetFrmType = sal_True; in GetState()
106 else if((pWrtShell->IsObjSelected()||pWrtShell->IsFrmSelected()) && in GetState()
107 (pWrtShell->IsSelObjProtected( FLYPROTECT_PARENT)|| in GetState()
108 pWrtShell->IsSelObjProtected( FLYPROTECT_CONTENT ))) in GetState()
110 else if( pWrtShell->IsTableMode() in GetState()
111 || pWrtShell->CrsrInsideInputFld() ) in GetState()
[all …]
H A Dviewdraw.cxx91 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 Dviewport.cxx71 pWrtShell->GetViewOptions()->getBrowseMode() || in IsDocumentBorder()
72 SVX_ZOOM_PAGEWIDTH_NOBORDER == (SvxZoomType)pWrtShell->GetViewOptions()->GetZoomType(); in IsDocumentBorder()
183 if( !pWrtShell || aVisArea.IsEmpty() ) // keine Shell -> keine Aenderung in DocSzChgd()
268 if ( pWrtShell && pWrtShell->ActionPend() ) in SetVisArea()
269 pWrtShell->GetWin()->Update(); in SetVisArea()
275 if ( pWrtShell ) in SetVisArea()
277 pWrtShell->VisPortChgd( aVisArea ); in SetVisArea()
278 if ( aOldSz != pWrtShell->VisArea().SSize() && in SetVisArea()
279 ( Abs(aOldSz.Width() - pWrtShell->VisArea().Width()) > 2 || in SetVisArea()
280 Abs(aOldSz.Height() - pWrtShell->VisArea().Height()) > 2 ) ) in SetVisArea()
[all …]
H A Dviewmdi.cxx94 sal_Bool bUnLockView = !pWrtShell->IsViewLocked(); in _SetZoom()
95 pWrtShell->LockView( sal_True ); in _SetZoom()
96 pWrtShell->LockPaint(); in _SetZoom()
99 ACT_CONTEXT(pWrtShell); in _SetZoom()
106 const SwPageDesc &rDesc = pWrtShell->GetPageDesc( pWrtShell->GetCurPageDesc() ); in _SetZoom()
108 const SwViewOption *pOpt = pWrtShell->GetViewOptions(); in _SetZoom()
115 const SwRect aPageRect( pWrtShell->GetAnyCurRect( RECT_PAGE_CALC ) ); in _SetZoom()
116 const SwRect aRootRect( pWrtShell->GetAnyCurRect( RECT_PAGES_AREA ) ); in _SetZoom()
190 pWrtShell->ApplyViewOptions( aOpt ); in _SetZoom()
197 aPos.Y() = pWrtShell->GetAnyCurRect(RECT_PAGE).Top() - DOCUMENTBORDER; in _SetZoom()
[all …]
H A Dview1.cxx88 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 Dviewdlg.cxx59 sal_uInt16 nOldValue = pWrtShell->GetPageOffset(); in ExecDlg()
61 pWrtShell->GetPageNum( nPage, nLogPage, in ExecDlg()
62 pWrtShell->IsCrsrVisible(), sal_False); in ExecDlg()
67 pWrtShell->SetNewPageOffset( nValue ); in ExecDlg()
69 pWrtShell->SetPageOffset( nValue ); in ExecDlg()
/trunk/main/sw/source/ui/dialog/
H A DSwSpellDialogChildWindow.cxx177 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in ~SwSpellDialogChildWindow() local
178 if(!m_pSpellState->m_bInitialCall && pWrtShell) in ~SwSpellDialogChildWindow()
179 pWrtShell->SpellEnd(); in ~SwSpellDialogChildWindow()
200 SwWrtShell* pWrtShell = GetWrtShell_Impl(); in GetNextWrongSentence() local
201 if(pWrtShell) in GetNextWrongSentence()
207 pWrtShell->MoveContinuationPosToEndOfCheckedSentence(); in GetNextWrongSentence()
210 ShellModes eSelMode = pWrtShell->GetView().GetShellMode(); in GetNextWrongSentence()
225 if(!MakeTextSelection_Impl(*pWrtShell, eSelMode)) in GetNextWrongSentence()
230 if(0 != (pWrtShell->GetSelectionType()& nsSelectionType::SEL_DRW_TXT)) in GetNextWrongSentence()
238 if(!pWrtShell->HasSelection()) in GetNextWrongSentence()
[all …]
/trunk/main/sw/source/ui/ribbar/
H A Dinputwin.cxx68 pWrtShell(0), in SFX_IMPL_POS_CHILDWINDOW()
88 pWrtShell = pView ? pView->GetWrtShellPtr() : 0; in SFX_IMPL_POS_CHILDWINDOW()
147 if(pWrtShell) in ~SwInputWindow()
148 pWrtShell->EndSelTblCells(); in ~SwInputWindow()
158 pWrtShell->DoUndo(m_bDoesUndo); in CleanupUglyHackWithUndo()
161 pWrtShell->Undo(); in CleanupUglyHackWithUndo()
217 DBG_ASSERT(pWrtShell, "No WrtShell!"); in ShowWin()
219 bIsTable = pWrtShell->IsCrsrInTbl() ? sal_True : sal_False; in ShowWin()
222 pWrtShell->SelTblCells( LINK( this, SwInputWindow, in ShowWin()
226 const String& rPos = pWrtShell->GetBoxNms(); in ShowWin()
[all …]
H A Dtbxanchr.cxx136 SwWrtShell* pWrtShell = pActiveView->GetWrtShellPtr(); in Click() local
137 aPopMenu.EnableItem( FN_TOOL_ANCHOR_FRAME, 0 != pWrtShell->IsFlyInFly() ); in Click()
143 if (bHtmlModeNoAnchor || pWrtShell->IsInHeaderFooter()) in Click()
/trunk/main/sw/source/ui/dochdl/
H A Dgloshdl.cxx106 pViewFrame, this, pWrtShell); in SV_IMPL_PTRARR()
426 if( !pWrtShell->GetSelectedText( sOnlyTxt, GETSELTXT_PARABRK_TO_ONLYCR )) in NewGlossary()
433 const sal_uInt16 nSuccess = pWrtShell->MakeGlossary( *pTmp, rName, rShortName, in NewGlossary()
437 InfoBox(pWrtShell->GetView().GetWindow(), SW_RES(MSG_ERR_INSERT_GLOS)).Execute(); in NewGlossary()
471 ASSERT(pWrtShell->CanInsert(), illegal); in ExpandGlossary()
485 if(pWrtShell->SwCrsrShell::HasSelection() && !pWrtShell->IsBlockMode()) in ExpandGlossary()
487 aShortName = pWrtShell->GetSelTxt(); in ExpandGlossary()
491 if(pWrtShell->IsAddMode()) in ExpandGlossary()
492 pWrtShell->LeaveAddMode(); in ExpandGlossary()
493 else if(pWrtShell->IsBlockMode()) in ExpandGlossary()
[all …]
H A Dswdtflvr.cxx210 : 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 …]
/trunk/main/sw/source/ui/fldui/
H A Dfldmgr.cxx269 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 …]
/trunk/main/sw/source/ui/utlui/
H A Dcontent.cxx213 pWrtShell(pShell), in SwContentType()
244 … static_cast<sal_uInt16>(pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineNodesCount()); in Init()
249 … if(pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineLevel(j) > nOutlineLevel ) in Init()
259 nMemberCount = pWrtShell->GetTblFrmFmtCount(sal_True); in Init()
279 nMemberCount = pWrtShell->GetFlyCount(eType); in Init()
285 IDocumentMarkAccess* const pMarkAccess = pWrtShell->getIDocumentMarkAccess(); in Init()
308 nMemberCount = pWrtShell->GetSectionFmtCount(); in Init()
313 if( (pFmt = &pWrtShell->GetSectionFmt(i))->IsInNodesArr() && in Init()
359 nMemberCount = pWrtShell->GetTOXCount(); in Init()
366 nMemberCount = pWrtShell->GetRefMarks( 0 ); in Init()
[all …]
H A Dtmplctrl.cxx130 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 Dbookctrl.cxx130 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 Dnavipi.cxx220 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()
/trunk/main/sw/source/ui/config/
H A Doptload.cxx94 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 Doptpage.cxx649 pWrtShell(0), in SwStdFontTabPage()
718 void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType, in lcl_SetColl() argument
725 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType); in lcl_SetColl()
732 void lcl_SetColl(SwWrtShell* pWrtShell, sal_uInt16 nType, in lcl_SetColl() argument
737 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(nType); in lcl_SetColl()
797 if(pWrtShell) in FillItemSet()
799 pWrtShell->StartAllAction(); in FillItemSet()
800 SfxPrinter* pPrinter = pWrtShell->getIDocumentDeviceAccess()->getPrinter( false ); in FillItemSet()
813 pWrtShell->SetDefault(SvxFontItem(aFont.GetFamily(), aFont.GetName(), in FillItemSet()
815 SwTxtFmtColl *pColl = pWrtShell->GetTxtCollFromPool(RES_POOLCOLL_STANDARD); in FillItemSet()
[all …]
/trunk/main/sw/source/ui/fmtui/
H A Dtmpdlg.cxx118 pWrtShell(pActShell), in SwTemplateDlg()
123 nHtmlMode = ::GetHtmlMode(pWrtShell->GetView().GetDocShell()); in SwTemplateDlg()
314 if(!pActShell || 0 == ::GetHtmlMode(pWrtShell->GetView().GetDocShell())) in SwTemplateDlg()
492 SwTxtFmtColl* pTmpColl = pWrtShell->FindTxtFmtCollByName(GetStyleSheet().GetName()); in PageCreated()
499 SfxStyleSheetBasePool* pPool = pWrtShell->GetView().GetDocShell()->GetStyleSheetPool(); in PageCreated()
580 if(pWrtShell) in PageCreated()
582 … SfxStyleSheetBasePool* pStyleSheetPool = pWrtShell->GetView().GetDocShell()->GetStyleSheetPool(); in PageCreated()
611 if(pWrtShell) in PageCreated()
612 rPage.SetFrame(pWrtShell->GetView().GetViewFrame()->GetFrame().GetFrameInterface()); in PageCreated()
/trunk/main/sw/source/ui/docvw/
H A Dedtwin2.cxx500 SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); in PrePaint() local
502 if(pWrtShell) in PrePaint()
504 pWrtShell->PrePaint(); in PrePaint()
520 SwWrtShell* pWrtShell = GetView().GetWrtShellPtr(); in Paint() local
521 if(!pWrtShell) in Paint()
553 pWrtShell->Paint( rRect ); in Paint()
/trunk/main/sw/source/ui/table/
H A Dtautofmt.cxx72 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()

123