Home
last modified time | relevance | path

Searched refs:pSect (Results 1 – 25 of 43) sorted by relevance

12

/AOO41X/main/sw/source/core/layout/
H A Dsectfrm.cxx356 SwSectionFrm* pSect = pParent->FindSctFrm(); in Paste()
359 if ( pSect ) in Paste()
363 pSect->IsAnLower( pTableFrm ) ) in Paste()
365 pSect = 0; in Paste()
371 if( pSect && HasToBreak( pSect ) ) in Paste()
397 pParent = pSect; in Paste()
398 pSect = new SwSectionFrm( *((SwSectionFrm*)pParent)->GetSection(), pParent ); in Paste()
401 pSect->SetFollow( ((SwSectionFrm*)pParent)->GetFollow() ); in Paste()
403 if( pSect->GetFollow() ) in Paste()
406 InsertGroupBefore( pParent, pSibling, pSect ); in Paste()
[all …]
H A Dlayouter.cxx63 SwSectionFrm* pSect; member in SwEndnoter
67 : pMaster( pLay ), pSect( NULL ), pEndArr( NULL ) {} in SwEndnoter()
71 const SwSectionFrm* GetSect() { return pSect; } in GetSect()
79 if( !pSect ) in CollectEndnotes()
80 pSect = pSct; in CollectEndnotes()
81 else if( pSct != pSect ) in CollectEndnotes()
83 pSect->CollectEndnotes( pMaster ); in CollectEndnotes()
138 if( !pSect ) in InsertEndnotes()
142 pSect = NULL; in InsertEndnotes()
145 ASSERT( pSect->Lower() && pSect->Lower()->IsFtnBossFrm(), in InsertEndnotes()
[all …]
H A Dflycnt.cxx735 const SwSectionFrm *pSect = pUp->FindSctFrm(); in lcl_CalcDownDist() local
736 if( pSect ) in lcl_CalcDownDist()
741 if( pSect && !pSect->IsAnLower( pLay ) ) in lcl_CalcDownDist()
745 if( pSect->IsAnFollow( pNxtSect ) ) in lcl_CalcDownDist()
761 pSect = pNxtSect; in lcl_CalcDownDist()
765 pLay = pSect->GetUpper(); in lcl_CalcDownDist()
771 nFrmTop = pSect->Frm().Right(); in lcl_CalcDownDist()
773 + pLay->Prt().Width() - pSect->Frm().Left() in lcl_CalcDownDist()
774 - pSect->Frm().Width(); in lcl_CalcDownDist()
778 nFrmTop = pSect->Frm().Left(); in lcl_CalcDownDist()
[all …]
H A Dftnfrm.cxx358 SwSectionFrm* pSect = FindSctFrm(); in GrowFrm() local
359 ASSERT( pSect, "GrowFrm: Missing SectFrm" ); in GrowFrm()
362 if( !bTst && !pSect->IsColLocked() && in GrowFrm()
363 pSect->ToMaximize( sal_False ) && pSect->Growable() ) in GrowFrm()
365 pSect->InvalidateSize(); in GrowFrm()
633 SwSectionFrm* pSect = pUp->FindSctFrm(); in Cut() local
638 if( pSect && !pSect->ToMaximize( sal_False ) && !pSect->IsColLocked() ) in Cut()
639 pSect->_InvalidateSize(); in Cut()
840 SwSectionFrm* pSect = pFtn->FindSctFrm(); in GetPrevFtnLeaf() local
841 if( pSect->IsEndnAtEnd() ) in GetPrevFtnLeaf()
[all …]
H A Dflowfrm.cxx734 SwSectionFrm* pSect = aIter.First(); in FindMaster() local
735 while ( pSect ) in FindMaster()
737 if( pSect->GetFollow() == this ) in FindMaster()
738 return pSect; in FindMaster()
739 pSect = aIter.Next(); in FindMaster()
1993 SwSectionFrm* pSect = pNewUpper->FindSctFrm(); in MoveFwd() local
1995 if( pSect ) in MoveFwd()
2000 if( pSect != rThis.FindSctFrm() ) in MoveFwd()
2002 bUnlock = !pSect->IsColLocked(); in MoveFwd()
2003 pSect->ColLock(); in MoveFwd()
[all …]
H A Dfly.cxx1578 SwSectionFrm* pSect; in CalcCntnt() local
1582 pSect = (SwSectionFrm*)pLay; in CalcCntnt()
1583 if( pSect->IsEndnAtEnd() && !bNoColl ) in CalcCntnt()
1586 SwLayouter::CollectEndnotes( pLay->GetFmt()->GetDoc(), pSect ); in CalcCntnt()
1588 pSect->CalcFtnCntnt(); in CalcCntnt()
1591 pSect = NULL; in CalcCntnt()
1595 if( pSect ) in CalcCntnt()
1597 if( pSect->HasFollow() ) in CalcCntnt()
1598 pFrm = pSect->GetFollow()->ContainsAny(); in CalcCntnt()
1601 if( pSect->IsEndnAtEnd() ) in CalcCntnt()
[all …]
H A Dwsfrm.cxx1573 SwSectionFrm *pSect = FindSctFrm(); in AdjustNeighbourhood() local
1574 if( nDiff > 0 && pSect->IsEndnAtEnd() && GetNext() && in AdjustNeighbourhood()
1600 if( !bTst && !pSect->IsColLocked() ) in AdjustNeighbourhood()
1601 pSect->InvalidateSize(); in AdjustNeighbourhood()
2186 SwSectionFrm *pSect = FindSctFrm(); in Modify() local
2187 if( pSect->ContainsAny() == this ) in Modify()
2189 pSect->_InvalidatePrt(); in Modify()
2190 pSect->InvalidatePage( pPage ); in Modify()
3831 SwSectionFrm* pSect = pCnt->FindSctFrm(); in lcl_InvalidateSection() local
3835 if( ( ( pCnt->IsInTab() && !pSect->IsInTab() ) || in lcl_InvalidateSection()
[all …]
H A Dcalcmove.cxx116 SwSectionFrm *pSect = pNewUpper->FindSctFrm(); in ShouldBwdMoved() local
117 while( pSect && pSect->IsInFtn() ) in ShouldBwdMoved()
118 pSect = pSect->GetUpper()->FindSctFrm(); in ShouldBwdMoved()
119 ASSERT( pSect, "Escaping footnote" ); in ShouldBwdMoved()
120 if( pSect != pMySect ) in ShouldBwdMoved()
/AOO41X/main/sw/source/core/edit/
H A Dedglbldc.cxx77 const SwSection* pSect = rSectFmts[ --n ]->GetGlobalDocSection(); in GetGlobalDocContent() local
78 if( pSect ) in GetGlobalDocContent()
81 switch( pSect->GetType() ) in GetGlobalDocContent()
85 ASSERT( pSect->ISA( SwTOXBaseSection ), "keine TOXBaseSection!" ); in GetGlobalDocContent()
86 pNew = new SwGlblDocContent( (SwTOXBaseSection*)pSect ); in GetGlobalDocContent()
90 pNew = new SwGlblDocContent( pSect ); in GetGlobalDocContent()
396 SwGlblDocContent::SwGlblDocContent( const SwSection* pSect ) in SwGlblDocContent() argument
399 PTR.pSect = pSect; in SwGlblDocContent()
401 const SwSectionNode* pSectNd = pSect->GetFmt()->GetSectionNode(); in SwGlblDocContent()
H A Dedsect.cxx111 SwSectionFrm* pSect = pFrm->FindSctFrm(); in GetAnySection() local
112 ASSERT( pSect, "GetAnySection: Where's my Sect?" ); in GetAnySection()
113 if( pSect->IsInFtn() && pSect->GetUpper()->IsInSct() ) in GetAnySection()
115 pSect = pSect->GetUpper()->FindSctFrm(); in GetAnySection()
116 ASSERT( pSect, "GetAnySection: Where's my SectFrm?" ); in GetAnySection()
118 return pSect->GetSection(); in GetAnySection()
H A Dedtox.cxx275 const SwSection* pSect = rFmts[ --n ]->GetSection(); in GetTOXCount() local
276 if( TOX_CONTENT_SECTION == pSect->GetType() && in GetTOXCount()
277 pSect->GetFmt()->GetSectionNode() ) in GetTOXCount()
289 const SwSection* pSect = rFmts[ n ]->GetSection(); in GetTOX() local
290 if( TOX_CONTENT_SECTION == pSect->GetType() && in GetTOX()
291 pSect->GetFmt()->GetSectionNode() && in GetTOX()
294 ASSERT( pSect->ISA( SwTOXBaseSection ), "keine TOXBaseSection!" ); in GetTOX()
295 return (SwTOXBaseSection*)pSect; in GetTOX()
/AOO41X/main/sw/source/core/text/
H A Dtxtftn.cxx500 SwSectionFrm* pSect = (SwSectionFrm*) in RemoveFtn() local
502 if( pSect->IsFtnAtEnd() ) in RemoveFtn()
646 SwSectionFrm *pSect; in ConnectFtn() local
650 pSect = FindSctFrm(); in ConnectFtn()
651 if( pSect->IsEndnAtEnd() ) in ConnectFtn()
652 pCntnt = pSect->FindLastCntnt( FINDMODE_ENDNOTE ); in ConnectFtn()
663 pSect = pBoss->FindSctFrm(); in ConnectFtn()
664 sal_Bool bDocEnd = bEnd ? !( pSect && pSect->IsEndnAtEnd() ) : in ConnectFtn()
665 ( !( pSect && pSect->IsFtnAtEnd() ) && in ConnectFtn()
672 if( pSect && pSrcFrm ) in ConnectFtn()
[all …]
/AOO41X/main/sw/source/core/unocore/
H A Dunosect.cxx472 const SwSection* pSect; in getAnchor() local
474 if( 0 != ( pSect = pSectFmt->GetSection() ) && in getAnchor()
1034 SwSection *const pSect = (pFmt) ? pFmt->GetSection() : 0; in GetPropertyValues_Impl() local
1055 : ::rtl::OUString(pSect->GetCondition())); in GetPropertyValues_Impl()
1071 else if (DDE_LINK_SECTION == pSect->GetType()) in GetPropertyValues_Impl()
1073 sRet = pSect->GetLinkFileName(); in GetPropertyValues_Impl()
1084 if (pSect && pSect->IsLinkType() && pSect->IsConnected()) // lijian i73247 in GetPropertyValues_Impl()
1087 (pSect->GetUpdateType() == sfx2::LINKUPDATE_ALWAYS); in GetPropertyValues_Impl()
1103 else if (FILE_LINK_SECTION == pSect->GetType()) in GetPropertyValues_Impl()
1105 ::rtl::OUString sRet( pSect->GetLinkFileName() ); in GetPropertyValues_Impl()
[all …]
H A Dunoidx.cxx1012 SwSection* pSect = aSectArr[i]; in getPropertyValue() local
1013 if(pSect->GetType() == TOX_HEADER_SECTION) in getPropertyValue()
1017 pSect->GetFmt() ); in getPropertyValue()
2578 const SwSection* pSect = rFmts[ n ]->GetSection(); in getCount() local
2579 if( TOX_CONTENT_SECTION == pSect->GetType() && in getCount()
2580 pSect->GetFmt()->GetSectionNode() ) in getCount()
2606 const SwSection* pSect = rFmts[ n ]->GetSection(); in getByIndex() local
2607 if( TOX_CONTENT_SECTION == pSect->GetType() && in getByIndex()
2608 pSect->GetFmt()->GetSectionNode() && in getByIndex()
2613 *GetDoc(), static_cast<SwTOXBaseSection const&>(*pSect)); in getByIndex()
[all …]
/AOO41X/main/sw/source/core/doc/
H A Ddoctxm.cxx603 SwSection* pSect = aArr[ n ]; in DeleteTOX() local
604 if( TOX_HEADER_SECTION == pSect->GetType() ) in DeleteTOX()
606 DelSectionFmt( pSect->GetFmt(), bDelNodes ); in DeleteTOX()
657 const SwSection* pSect; in GetUniqueTOXBaseName() local
672 TOX_CONTENT_SECTION == (pSect = &pSectNd->GetSection())->GetType()) in GetUniqueTOXBaseName()
674 const String& rNm = pSect->GetSectionName(); in GetUniqueTOXBaseName()
2389 const SwTOXBaseSection *pSect = PTR_CAST(SwTOXBaseSection, this); in IsTOXBaseInReadonly() local
2392 if(pSect && pSect->GetFmt() && in IsTOXBaseInReadonly()
2393 0 != (pSectNode = pSect->GetFmt()->GetSectionNode())) in IsTOXBaseInReadonly()
2407 const SwTOXBaseSection *pSect = PTR_CAST(SwTOXBaseSection, this); in GetAttrSet() local
[all …]
H A Ddocfld.cxx1350 SwSection* pSect = (SwSection*)(*ppSortLst)->GetSection(); in UpdateExpFlds() local
1351 if( pSect ) in UpdateExpFlds()
1356 pSect->GetCondition() ); in UpdateExpFlds()
1358 pSect->SetCondHidden( aValue.GetBool() ); in UpdateExpFlds()
1750 SwSection* pSect = rArr[ --n ]->GetSection(); in GetAllUsedDB() local
1752 if( pSect ) in GetAllUsedDB()
1754 String aCond( pSect->GetCondition() ); in GetAllUsedDB()
1925 SwSection* pSect = rArr[ --n ]->GetSection(); in ChangeDBFields() local
1927 if( pSect ) in ChangeDBFields()
1929 sFormel = pSect->GetCondition(); in ChangeDBFields()
[all …]
H A Ddocdde.cxx99 SwSection* pSect = rpSectFmt->GetSection(); in lcl_FindSection() local
100 if( pSect ) in lcl_FindSection()
103 ? pSect->GetSectionName() in lcl_FindSection()
104 : GetAppCharClass().lower( pSect->GetSectionName() )); in lcl_FindSection()
H A Ddoc.cxx2301 SwSection* pSect = pSectFmt->GetSection(); in RemoveInvisibleContent() local
2302 if( pSect->CalcHiddenFlag() ) in RemoveInvisibleContent()
2304 SwSection* pParent = pSect, *pTmp; in RemoveInvisibleContent()
2308 pSect = pTmp; in RemoveInvisibleContent()
2312 if( USHRT_MAX == aSectFmts.GetPos( pSect->GetFmt() ) ) in RemoveInvisibleContent()
2313 aSectFmts.Insert( pSect->GetFmt(), 0 ); in RemoveInvisibleContent()
2315 if( pSect->GetCondition().Len() ) in RemoveInvisibleContent()
2317 SwSectionData aSectionData( *pSect ); in RemoveInvisibleContent()
2412 SwSection* pSect = pSectFmt->GetSection(); in HasInvisibleContent() local
2413 if( pSect->IsHidden() ) in HasInvisibleContent()
/AOO41X/main/sw/source/core/docnode/
H A Dsection.cxx359 const SwSection* pSect = this; in CalcHiddenFlag() local
361 if( pSect->IsHidden() && pSect->IsCondHidden() ) in CalcHiddenFlag()
363 } while( 0 != ( pSect = pSect->GetParent()) ); in CalcHiddenFlag()
488 const SwSection* pSect = this; in Modify() local
490 if( pSect->IsProtect() ) in Modify()
495 pSect = pSect->GetParent(); in Modify()
496 } while (pSect); in Modify()
839 SwSection* pSect = GetSection(); in Modify() local
840 if( pSect && ( bClients || ( RES_SECTION_HIDDEN == nWhich ? in Modify()
841 !pSect->IsHiddenFlag() : pSect->IsHiddenFlag() ) ) ) in Modify()
/AOO41X/main/sw/source/core/inc/
H A Dlayouter.hxx64 void _CollectEndnotes( SwSectionFrm* pSect );
123 void InsertEndnotes( SwSectionFrm* pSect );
131 static void CollectEndnotes( SwDoc* pDoc, SwSectionFrm* pSect );
132 static sal_Bool Collecting( SwDoc* pDoc, SwSectionFrm* pSect, SwFtnFrm* pFtn );
/AOO41X/main/sw/source/ui/dialog/
H A Duiregionsw.cxx515 SwSection* pSect = 0; in RecurseList() local
530 *(pSect=pFmt->GetSection()) ); in RecurseList()
531 Image aImg = BuildBitmap( pSect->IsProtect(),pSect->IsHidden(), sal_False); in RecurseList()
532 pEntry = aTree.InsertEntry(pSect->GetSectionName(), aImg, aImg); in RecurseList()
533 Image aHCImg = BuildBitmap( pSect->IsProtect(),pSect->IsHidden(), sal_True); in RecurseList()
540 if (pCurrSect==pSect) in RecurseList()
560 pSect=aTmpArr[n]; in RecurseList()
562 FindArrPos( pSect->GetFmt() ), *pSect ); in RecurseList()
563 Image aImage = BuildBitmap( pSect->IsProtect(), in RecurseList()
564 pSect->IsHidden(), sal_False); in RecurseList()
[all …]
/AOO41X/main/sw/inc/
H A Dedglbldc.hxx44 const SwSection* pSect; member
50 SwGlblDocContent( const SwSection* pSect );
55 { return GLBLDOC_SECTION == eType ? PTR.pSect : 0; } in GetSection()
/AOO41X/main/sw/source/ui/utlui/
H A Dglbltree.cxx522 const SwSection* pSect = pCont->GetSection(); in RequestHelp() local
523 String sEntry = pSect->GetLinkFileName().GetToken(0, sfx2::cTokenSeperator); in RequestHelp()
524 if(!pSect->IsConnectFlag()) in RequestHelp()
765 const SwSection* pSect = pCont->GetSection(); in Display() local
766 sEntry = pSect->GetSectionName(); in Display()
1367 const SwSection* pSect; in Paint() local
1369 !(pSect = pCont->GetSection())->IsConnectFlag() ) in Paint()
/AOO41X/main/sw/source/core/crsr/
H A Dtrvlreg.cxx259 const SwSection* pSect; in GotoRegion() local
260 if( 0 != ( pSect = pFmt->GetSection() ) && in GotoRegion()
261 pSect->GetSectionName() == rName && in GotoRegion()
/AOO41X/main/sw/source/ui/uiview/
H A Dviewtab.cxx905 const SwSection *pSect = rSh.GetAnySection(); in ExecTabWin() local
906 ASSERT( pSect, "Welcher Bereich?"); in ExecTabWin()
907 pSectFmt = pSect->GetFmt(); in ExecTabWin()
1593 const SwSection *pSect = rSh.GetAnySection(sal_False, pPt); in StateTabWin() local
1594 ASSERT( pSect, "Welcher Bereich?"); in StateTabWin()
1595 if( pSect ) in StateTabWin()
1597 SwSectionFmt *pFmt = pSect->GetFmt(); in StateTabWin()
1952 const SwSection *pSect = rSh.GetAnySection( bSectOutTbl, pPt ); in StateTabWin() local
1953 ASSERT( pSect, "Welcher Bereich?"); in StateTabWin()
1954 pFmt = pSect->GetFmt(); in StateTabWin()

12