| /AOO42X/main/sw/source/core/layout/ |
| H A D | flycnt.cxx | 635 const SwCntntFrm *pCnt ) in lcl_CalcDownDist() argument 640 if ( pCnt->Frm().IsInside( rPt ) ) in lcl_CalcDownDist() 643 return pCnt; in lcl_CalcDownDist() 647 … const SwLayoutFrm *pUp = pCnt->IsInTab() ? pCnt->FindTabFrm()->GetUpper() : pCnt->GetUpper(); in lcl_CalcDownDist() 661 ? ( pCnt->Frm().Left() + in lcl_CalcDownDist() 662 pCnt->GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid() ) in lcl_CalcDownDist() 663 : ( pCnt->Frm().Left() + in lcl_CalcDownDist() 664 pCnt->Frm().Width() - in lcl_CalcDownDist() 665 pCnt->GetUpperSpaceAmountConsideredForPrevFrmAndPageGrid() ) ) in lcl_CalcDownDist() 666 : ( pCnt->Frm().Top() + in lcl_CalcDownDist() [all …]
|
| H A D | trvlfrm.cxx | 205 … const SwCntntFrm *pCnt = GetCntntPos( aPoint, sal_False, sal_False, sal_False, pCMS, sal_False ); in GetCrsrOfst() local 209 ASSERT( pCnt, "Crsr is gone to a Black hole" ); in GetCrsrOfst() 210 if( pCMS && pCMS->pFill && pCnt->IsTxtFrm() ) in GetCrsrOfst() 211 bRet = pCnt->GetCrsrOfst( pPos, rPoint, pCMS ); in GetCrsrOfst() 213 bRet = pCnt->GetCrsrOfst( pPos, aPoint, pCMS ); in GetCrsrOfst() 219 *pPos = SwPosition( *pCnt->GetNode(), SwIndex( (SwTxtNode*)pCnt->GetNode(), 0 ) ); in GetCrsrOfst() 398 const SwCntntFrm *pCnt = GetCntntPos( rPoint, sal_True ); in GetCrsrOfst() local 399 if( pPoint && pCnt->IsTxtFrm() ) in GetCrsrOfst() 401 pCnt->GetCrsrOfst( pPos, *pPoint, pCMS ); in GetCrsrOfst() 405 pCnt->GetCrsrOfst( pPos, rPoint, pCMS ); in GetCrsrOfst() [all …]
|
| H A D | ftnfrm.cxx | 511 SwFtnFrm::SwFtnFrm( SwFrmFmt *pFmt, SwFrm* pSib, SwCntntFrm *pCnt, SwTxtFtn *pAt ): in SwFtnFrm() argument 515 pRef( pCnt ), in SwFtnFrm() 536 SwFrm *pCnt = ((SwLayoutFrm*)GetNext())->ContainsAny(); in InvalidateNxtFtnCnts() local 537 if( pCnt ) in InvalidateNxtFtnCnts() 539 pCnt->InvalidatePage( pPage ); in InvalidateNxtFtnCnts() 540 pCnt->_InvalidatePrt(); in InvalidateNxtFtnCnts() 542 { pCnt->_InvalidatePos(); in InvalidateNxtFtnCnts() 543 if( pCnt->IsSctFrm() ) in InvalidateNxtFtnCnts() 545 SwFrm* pTmp = ((SwSectionFrm*)pCnt)->ContainsAny(); in InvalidateNxtFtnCnts() 549 pCnt->GetUpper()->_InvalidateSize(); in InvalidateNxtFtnCnts() [all …]
|
| H A D | layact.cxx | 220 sal_Bool SwLayAction::PaintWithoutFlys( const SwRect &rRect, const SwCntntFrm *pCnt, in PaintWithoutFlys() argument 225 const SwFlyFrm *pSelfFly = pCnt->FindFlyFrm(); in PaintWithoutFlys() 317 void SwLayAction::PaintCntnt( const SwCntntFrm *pCnt, in PaintCntnt() argument 322 SWRECTFN( pCnt ) in PaintCntnt() 324 if ( pCnt->IsCompletePaint() || !pCnt->IsTxtFrm() ) in PaintCntnt() 326 SwRect aPaint( pCnt->PaintArea() ); in PaintCntnt() 327 if ( !_PaintCntnt( pCnt, pPage, aPaint ) ) in PaintCntnt() 328 pCnt->ResetCompletePaint(); in PaintCntnt() 335 long nNewHeight = (pCnt->Frm().*fnRect->fnGetHeight)(); in PaintCntnt() 341 SwRect aDrawRect( pCnt->PaintArea() ); in PaintCntnt() [all …]
|
| H A D | frmtool.cxx | 827 SwCntntFrm *pCnt = GetCnt(); in ~SwCntntNotify() local 829 pCnt->SetCompletePaint(); in ~SwCntntNotify() 831 SWRECTFN( pCnt ) in ~SwCntntNotify() 832 if ( pCnt->IsInTab() && ( POS_DIFF( pCnt->Frm(), aFrm ) || in ~SwCntntNotify() 833 pCnt->Frm().SSize() != aFrm.SSize())) in ~SwCntntNotify() 835 SwLayoutFrm* pCell = pCnt->GetUpper(); in ~SwCntntNotify() 845 pCnt->IsTxtFrm() && in ~SwCntntNotify() 846 !pCnt->IsFollow() && !pCnt->GetIndPrev() ) in ~SwCntntNotify() 849 SwFrm* pPrevFrm = pCnt->FindPrev(); in ~SwCntntNotify() 867 if ( pCnt->IsInSct() ) in ~SwCntntNotify() [all …]
|
| H A D | wsfrm.cxx | 1830 SwCntntFrm *pCnt = ((SwLayoutFrm*)this)->ContainsCntnt(); in ReinitializeFrmSizeAttrFlags() local 1833 if ( pCnt ) in ReinitializeFrmSizeAttrFlags() 1835 pCnt->InvalidatePage(); in ReinitializeFrmSizeAttrFlags() 1838 pCnt->Prepare( PREP_ADJUST_FRM ); in ReinitializeFrmSizeAttrFlags() 1839 pCnt->_InvalidateSize(); in ReinitializeFrmSizeAttrFlags() 1840 pCnt = pCnt->GetNextCntntFrm(); in ReinitializeFrmSizeAttrFlags() 1841 } while ( ((SwLayoutFrm*)this)->IsAnLower( pCnt ) ); in ReinitializeFrmSizeAttrFlags() 2265 SwFrm* pCnt = ((SwSectionFrm*)pNxt)->ContainsAny(); in _UpdateAttr() local 2266 if( pCnt ) in _UpdateAttr() 2268 pCnt->_InvalidatePrt(); in _UpdateAttr() [all …]
|
| H A D | calcmove.cxx | 370 SwFrm* pCnt = ((SwSectionFrm*)pFrm)->ContainsAny(); in PrepareMake() local 371 if( pCnt ) in PrepareMake() 372 pFrm = pCnt; in PrepareMake() 474 SwFrm* pCnt = ((SwSectionFrm*)pFrm)->ContainsAny(); in PrepareCrsr() local 475 if( pCnt ) in PrepareCrsr() 476 pFrm = pCnt; in PrepareCrsr() 774 SwFrm *pCnt = ((SwLayoutFrm*)pFrm)->ContainsAny(); in MakeAll() local 775 while ( pCnt && (pCnt->GetUpper() == pFrm || in MakeAll() 776 ((SwLayoutFrm*)pFrm)->IsAnLower( pCnt ))) in MakeAll() 778 nTmp += pCnt->Frm().Height(); in MakeAll() [all …]
|
| H A D | flowfrm.cxx | 456 SwCntntFrm *pCnt = pLay->ContainsCntnt(); in CutTree() local 457 while ( pCnt && pLay->IsAnLower( pCnt ) ) in CutTree() 462 ASSERT( pCnt->IsTxtFrm(), "Die Graphic ist gelandet." ); in CutTree() 463 if ( ((SwTxtFrm*)pCnt)->IsLocked() || in CutTree() 464 ((SwTxtFrm*)pCnt)->GetFollow() == pStart ) in CutTree() 466 pCnt->Calc(); in CutTree() 467 pCnt = pCnt->GetNextCntntFrm(); in CutTree() 664 SwCntntFrm *pCnt = ((SwLayoutFrm*)&rThis)->ContainsCntnt(); in MoveSubTree() local 665 if ( pCnt ) in MoveSubTree() 666 pCnt->InvalidatePage( pPage ); in MoveSubTree() [all …]
|
| H A D | layouter.cxx | 97 SwFrm *pCnt = pNxt->ContainsAny(); in CollectEndnote() local 98 if ( pCnt ) in CollectEndnote() 101 { SwFrm *pNxtCnt = pCnt->GetNext(); in CollectEndnote() 102 pCnt->Cut(); in CollectEndnote() 103 pCnt->Paste( pFtn ); in CollectEndnote() 104 pCnt = pNxtCnt; in CollectEndnote() 105 } while ( pCnt ); in CollectEndnote()
|
| H A D | tabfrm.cxx | 1540 SwCntntFrm *pCnt = pLay->ContainsCntnt(); in CalcLowers() local 1548 while ( pCnt && pDontLeave->IsAnLower( pCnt ) ) in CalcLowers() 1553 const bool bFormatPossible = !pCnt->IsJoinLocked() && in CalcLowers() 1554 ( !pCnt->IsTxtFrm() || in CalcLowers() 1555 !static_cast<SwTxtFrm*>(pCnt)->IsLocked() ) && in CalcLowers() 1556 ( pCnt->IsFollow() || !StackHack::IsLocked() ); in CalcLowers() 1560 if ( bSkipRowSpanCells && pCnt->IsInTab() ) in CalcLowers() 1562 const SwFrm* pCell = pCnt->GetUpper(); in CalcLowers() 1571 bRet |= !pCnt->IsValid(); in CalcLowers() 1576 pCnt->Calc(); in CalcLowers() [all …]
|
| H A D | findfrm.cxx | 109 const SwCntntFrm *pCnt = pLayLeaf->ContainsCntnt(); in ContainsCntnt() local 110 if( pCnt ) in ContainsCntnt() 111 return pCnt; in ContainsCntnt() 148 const SwFrm* pCnt = ContainsAny(); in FirstCell() local 149 while( pCnt && !pCnt->IsCellFrm() ) in FirstCell() 150 pCnt = pCnt->GetUpper(); in FirstCell() 151 return (const SwCellFrm*)pCnt; in FirstCell()
|
| H A D | paintfrm.cxx | 3243 SwCntntFrm *pCnt = pCont->ContainsCntnt(); in lcl_EmergencyFormatFtnCont() local 3244 while ( pCnt && pCnt->IsInFtn() ) in lcl_EmergencyFormatFtnCont() 3246 pCnt->Calc(); in lcl_EmergencyFormatFtnCont() 3247 pCnt = pCnt->GetNextCntntFrm(); in lcl_EmergencyFormatFtnCont() 6336 const SwCntntFrm *pCnt = ContainsCntnt(); in PaintSubsidiaryLines() local 6337 if ( pCnt ) in PaintSubsidiaryLines() 6340 bBreak = pCnt->IsPageBreak( sal_True ) || in PaintSubsidiaryLines() 6341 ( IsColBodyFrm() && pCnt->IsColBreak( sal_True ) ); in PaintSubsidiaryLines() 6467 const SwCntntFrm *pCnt = ContainsCntnt(); in RefreshExtraData() local 6468 while ( pCnt && IsAnLower( pCnt ) ) in RefreshExtraData() [all …]
|
| /AOO42X/main/sw/source/ui/utlui/ |
| H A D | content.cxx | 162 SwContent::SwContent(const SwContentType* pCnt, const String& rName, long nYPos) : in SwContent() argument 164 pParent(pCnt), in SwContent() 327 SwContent* pCnt = new SwRegionContent(this, rSectionName, in Init() local 334 pCnt->SetInvisible(); in Init() 335 pMember->Insert(pCnt);//, pMember->Count()); in Init() 340 != pCnt->IsInvisible()) in Init() 383 SwURLFieldContent* pCnt = new SwURLFieldContent( in Init() local 393 pMember->Insert( pCnt );//, n ); in Init() 421 SwPostItContent* pCnt = new SwPostItContent( in Init() local 426 pMember->Insert(pCnt); in Init() [all …]
|
| /AOO42X/main/sw/source/ui/inc/ |
| H A D | content.hxx | 66 SwOutlineContent( const SwContentType* pCnt, in SwOutlineContent() argument 72 SwContent(pCnt, rName, nYPos), in SwOutlineContent() 87 SwRegionContent( const SwContentType* pCnt, in SwRegionContent() argument 91 SwContent(pCnt, rName, nYPos), in SwRegionContent() 103 SwURLFieldContent( const SwContentType* pCnt, in SwURLFieldContent() argument 108 : SwContent( pCnt, rName, nYPos ), sURL( rURL ), pINetAttr( pAttr ) in SwURLFieldContent() 123 SwPostItContent( const SwContentType* pCnt, in SwPostItContent() argument 127 : SwContent( pCnt, rName, nYPos ), pFld( pField ),mbPostIt(true) in SwPostItContent() 129 SwPostItContent( const SwContentType* pCnt, in SwPostItContent() argument 133 : SwContent( pCnt, rName, nYPos ), pRedline( pRed ),mbPostIt(false) in SwPostItContent() [all …]
|
| H A D | conttree.hxx | 141 void GotoContent(SwContent* pCnt); 152 SdrObject* GetDrawingObjectsByContent(const SwContent *pCnt);
|
| /AOO42X/main/sw/source/core/crsr/ |
| H A D | trvlcol.cxx | 98 SwCntntFrm* pCnt = (*fnPosCol)( pLayFrm ); in MoveColumn() local 99 if( pCnt ) in MoveColumn() 105 pCnt->Calc(); // ??? in MoveColumn() 107 Point aPt( pCnt->Frm().Pos() + pCnt->Prt().Pos() ); in MoveColumn() 110 aPt.X() += pCnt->Prt().Width(); in MoveColumn() 111 aPt.Y() += pCnt->Prt().Height(); in MoveColumn() 114 pCnt->GetCrsrOfst( pCurCrsr->GetPoint(), aPt ); in MoveColumn()
|
| H A D | trvlfnfl.cxx | 106 const SwCntntFrm* pCnt = static_cast<const SwLayoutFrm*> in GotoFtnTxt() local 108 if( pCnt ) in GotoFtnTxt() 110 const SwCntntNode* pNode = pCnt->GetNode(); in GotoFtnTxt() 114 static_cast<const SwTxtFrm*>(pCnt)->GetOfst() ); in GotoFtnTxt()
|
| /AOO42X/main/sw/source/core/ole/ |
| H A D | ndole.cxx | 341 comphelper::EmbeddedObjectContainer* pCnt = aOLEObj.xOLERef.GetContainer(); in SavePersistentData() local 349 … OSL_ENSURE( !pCnt || &rCnt == pCnt, "The helper is assigned to unexpected container!\n" ); in SavePersistentData() 353 if ( pCnt && pCnt->HasEmbeddedObject( aOLEObj.aName ) ) in SavePersistentData() 380 pCnt->RemoveEmbeddedObject( aOLEObj.aName, sal_False, bKeepObjectToTempStorage ); in SavePersistentData() 713 comphelper::EmbeddedObjectContainer* pCnt = xOLERef.GetContainer(); in ~SwOLEObj() local 721 … OSL_ENSURE( !pCnt || &rCnt == pCnt, "The helper is assigned to unexpected container!\n" ); in ~SwOLEObj() 725 if ( pCnt && pCnt->HasEmbeddedObject( aName ) ) in ~SwOLEObj() 741 pCnt->RemoveEmbeddedObject( aName ); in ~SwOLEObj()
|
| /AOO42X/main/sw/source/core/unocore/ |
| H A D | unoframe.cxx | 1630 const :: SwFmtCntnt* pCnt = &pFmt->GetCntnt(); in setPropertyValue() local 1631 … if ( pCnt->GetCntntIdx() && pDoc->GetNodes()[ pCnt->GetCntntIdx()->GetIndex() + 1 ] ) in setPropertyValue() 1633 … SwOLENode* pOleNode = pDoc->GetNodes()[ pCnt->GetCntntIdx()->GetIndex() + 1 ]->GetOLENode(); in setPropertyValue() 2168 const SwFmtCntnt* pCnt = &pFmt->GetCntnt(); in getPropertyValue() local 2169 DBG_ASSERT( pCnt->GetCntntIdx() && in getPropertyValue() 2170 pDoc->GetNodes()[ pCnt->GetCntntIdx()-> in getPropertyValue() 2173 SwOLENode* pOleNode = pDoc->GetNodes()[ pCnt->GetCntntIdx() in getPropertyValue() 2903 std::auto_ptr < comphelper::EmbeddedObjectContainer > pCnt; in attachToRange() local 2913 pCnt.reset( new comphelper::EmbeddedObjectContainer ); in attachToRange() 2915 xIPObj = pCnt->CreateEmbeddedObject( aClassName.GetByteSequence(), aName ); in attachToRange() [all …]
|
| H A D | unoflatpara.cxx | 365 SwCntntFrm* pCnt = pCurrentPage->ContainsCntnt(); in getNextPara() local 367 while( pCnt && pCurrentPage->IsAnLower( pCnt ) ) in getNextPara() 369 SwTxtNode* pTxtNode = dynamic_cast<SwTxtNode*>( pCnt->GetNode()->GetTxtNode() ); in getNextPara() 381 pCnt = pCnt->GetNextCntntFrm(); in getNextPara()
|
| /AOO42X/main/sw/source/core/text/ |
| H A D | txtftn.cxx | 424 const SwCntntFrm *pCnt = pFtnFrm->ContainsCntnt(); in FindQuoVadisFrm() local 425 if( !pCnt ) in FindQuoVadisFrm() 429 { pLast = pCnt; in FindQuoVadisFrm() 430 pCnt = pCnt->GetNextCntntFrm(); in FindQuoVadisFrm() 431 } while( pCnt && pFtnFrm->IsAnLower( pCnt ) ); in FindQuoVadisFrm()
|
| /AOO42X/main/sw/source/filter/basflt/ |
| H A D | iodetect.cxx | 115 const SfxFilterContainer* pCnt) in GetFilterOfFormat() argument 119 …const SfxFilterContainer* pFltCnt = pCnt ? pCnt : ( IsDocShellRegistered() ? &aCntSw : &aCntSwWeb … in GetFilterOfFormat() 134 if( pCnt || pFltCnt == &aCntSwWeb ) in GetFilterOfFormat()
|
| /AOO42X/main/sw/source/core/frmedt/ |
| H A D | fews.cxx | 485 SwCntntFrm *pCnt = LTYPE_DRAW==eType ? 0 : GetCurrFrm( sal_False ); in InsertLabel() local 486 if( LTYPE_DRAW==eType || pCnt ) in InsertLabel() 496 if( pCnt->IsInFly() ) in InsertLabel() 499 nIdx = pCnt->FindFlyFrm()-> in InsertLabel() 505 if( pCnt->IsInTab() ) in InsertLabel() 508 const SwTable& rTbl = *pCnt->FindTabFrm()->GetTable(); in InsertLabel()
|
| H A D | feshview.cxx | 830 SwCntntFrm *pCnt = pAct->ContainsCntnt(); in lcl_NotifyNeighbours() local 831 while ( pCnt ) in lcl_NotifyNeighbours() 833 aTmpCalcPnt = pCnt->Prt(); in lcl_NotifyNeighbours() 834 aTmpCalcPnt += pCnt->Frm().Pos(); in lcl_NotifyNeighbours() 836 ((SwFrm*)pCnt)->Prepare( PREP_FLY_ATTR_CHG ); in lcl_NotifyNeighbours() 837 pCnt = pCnt->GetNextCntntFrm(); in lcl_NotifyNeighbours()
|
| /AOO42X/main/sw/source/core/edit/ |
| H A D | edfcol.cxx | 117 SwCntntNode * pCnt = pCrsr->GetCntntNode(); in FillByEx() local 118 const SfxItemSet* pSet = pCnt->GetpSwAttrSet(); in FillByEx()
|