/aoo42x/main/sw/source/core/txtnode/ |
H A D | ndhints.cxx | 51 const SwTxtAttr *pHt = rHtStart[i]; in _SV_IMPL_SORTAR_ALG() local 55 if( pHt->End() ) in _SV_IMPL_SORTAR_ALG() 62 const SwTxtAttr *pHt = rHtEnd[i]; in _SV_IMPL_SORTAR_ALG() local 65 if( pHt->End() ) in _SV_IMPL_SORTAR_ALG() 250 m_HintStarts.Insert( pHt ); in Insert() 251 m_HintEnds.Insert( pHt ); in Insert() 322 pLastStart = pHt; in Check() 454 if ( pHt != pLast ) in Resort() 458 pLast = pHt; in Resort() 478 if ( pLast != pHt ) in Resort() [all …]
|
H A D | ndtxt.cxx | 306 SwTxtAttr* pHt; in lcl_ChangeFtnRef() local 568 if ( pHt->DontExpand() && pEnd && (*pHt->GetStart() == *pEnd) ) in SplitCntntNode() 572 DestroyAttr( pHt ); in SplitCntntNode() 626 if( *pHt->GetStart() ) in MoveTxtAttr_To_AttrSet() 641 DestroyAttr( pHt ); in MoveTxtAttr_To_AttrSet() 1906 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText() 1915 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText() 1936 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText() 2255 *pHt->GetStart() = in CutImpl() 2325 *pHt->GetStart() = *pHt->GetEnd() = rStart.GetIndex(); in CutImpl() [all …]
|
H A D | txatritr.cxx | 125 const SwTxtAttr* pHt = (SwTxtAttr*)aStack[ 0 ]; in Next() local 126 const sal_uInt16 nEndPos = *pHt->End(); in Next() 140 const SwTxtAttr* pHt = (SwTxtAttr*)aStack[ 0 ]; in Next() local 141 const sal_uInt16 nEndPos = *pHt->End(); in Next() 147 if( RES_TXTATR_CHARFMT == pHt->Which() ) in Next() 155 pCurItem = &pHt->GetAttr(); in Next() 215 const SwTxtAttr* pHt = (*pHts)[ nAttrPos ]; in SearchNextChg() local 216 const sal_uInt16* pEnd = pHt->End(); in SearchNextChg() 217 const sal_uInt16 nHtStt = *pHt->GetStart(); in SearchNextChg() 224 pItem = CharFmt::GetItem( *pHt, nWh ); in SearchNextChg() [all …]
|
H A D | txtedt.cxx | 444 SwTxtAttr *pHt = NULL; in RstTxtAttr() local 449 pHt = m_pSwpHints->GetTextHint(i); in RstTxtAttr() 453 xub_StrLen* const pAttrEnd = pHt->GetEnd(); in RstTxtAttr() 457 || ( RES_TXTATR_REFMARK != pHt->Which() in RstTxtAttr() 468 if ( pHt->HasContent() ) in RstTxtAttr() 493 bSkipAttr = nWhich != pHt->Which(); in RstTxtAttr() 536 DestroyAttr( pHt ); in RstTxtAttr() 561 m_pSwpHints->NoteInHistory( pHt ); in RstTxtAttr() 562 *pHt->GetStart() = nEnd; in RstTxtAttr() 590 m_pSwpHints->NoteInHistory( pHt ); in RstTxtAttr() [all …]
|
H A D | thints.cxx | 2144 (*fnMergeAttr)( rSet, pHt->GetAttr() ); in GetAttr() 2174 (*fnMergeAttr)( aFmtSet, pHt->GetAttr() ); in GetAttr() 2200 pItem = &pHt->GetAttr(); in GetAttr() 2709 SwTxtAttr *pHt = GetTextHint( i ); in MergePortions() local 2710 if ( RES_TXTATR_CHARFMT != pHt->Which() && in MergePortions() 2711 RES_TXTATR_AUTOFMT != pHt->Which() ) in MergePortions() 2716 const xub_StrLen nPorStart = *pHt->GetStart(); in MergePortions() 3272 const sal_uInt16 nWhich = pHt->Which(); in GetLang() 3275 …( ( pHt->IsCharFmtAttr() || RES_TXTATR_AUTOFMT == nWhich ) && CharFmt::IsItemIncluded( nWhichId, p… in GetLang() 3277 const xub_StrLen *pEndIdx = pHt->End(); in GetLang() [all …]
|
/aoo42x/main/sw/source/core/undo/ |
H A D | rolbck.cxx | 1057 SwHistoryHint* pHt = 0; in Add() local 1075 m_SwpHstry.Insert(pHt, Count()); in Add() 1083 SwHistoryHint * pHt; in Add() local 1121 m_SwpHstry.Insert( pHt, Count() ); in Add() 1129 SwHistoryHint * pHt = in Add() local 1167 SwHistoryHint * pHt = in Add() local 1198 m_SwpHstry.Insert(pHt, Count()); in Add() 1332 SwTxtAttr* pHt; in CopyAttr() local 1337 pHt = pHts->GetTextHint(n); in CopyAttr() 1338 nAttrStt = *pHt->GetStart(); in CopyAttr() [all …]
|
/aoo42x/main/sw/source/filter/ascii/ |
H A D | ascatr.cxx | 97 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in SearchNext() local 98 if ( pHt->HasDummyChar() ) in SearchNext() 100 xub_StrLen nPos = *pHt->GetStart(); in SearchNext() 108 else if ( pHt->HasContent() ) in SearchNext() 116 const xub_StrLen nHintEnd = pHt->End() ? *pHt->End() : STRING_MAXLEN; in SearchNext() 137 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in OutAttr() local 138 if ( ( pHt->HasDummyChar() in OutAttr() 139 || pHt->HasContent() ) in OutAttr() 140 && nSwPos == *pHt->GetStart() ) in OutAttr() 144 switch( pHt->Which() ) in OutAttr() [all …]
|
/aoo42x/main/sw/inc/ |
H A D | ndhints.hxx | 99 void Insert( const SwTxtAttr *pHt ); 116 inline sal_uInt16 GetStartOf( const SwTxtAttr *pHt ) const; 117 inline sal_uInt16 GetPos( const SwTxtAttr *pHt ) const in GetPos() 118 { return m_HintStarts.GetPos( pHt ); } in GetPos() 214 inline sal_uInt16 SwpHintsArray::GetStartOf( const SwTxtAttr *pHt ) const in GetStartOf() 217 if ( !m_HintStarts.Seek_Entry( pHt, &nPos ) ) in GetStartOf() 226 SwTxtAttr *pHt = GetTextHint(nPosInStart); in Cut() local 228 return pHt; in Cut()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | wrtw8nds.cxx | 394 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in SearchNext() local 405 if (pHt->HasDummyChar()) in SearchNext() 408 nPos = *pHt->GetStart() + 1; in SearchNext() 493 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in OutAttr() local 494 const xub_StrLen* pEnd = pHt->End(); in OutAttr() 522 else if (nSwPos < *pHt->GetStart()) in OutAttr() 609 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in IsTxtAttr() local 610 if ( ( pHt->HasDummyChar() || pHt->HasContent() ) in IsTxtAttr() 611 && (*pHt->GetStart() == nSwPos) ) in IsTxtAttr() 669 const SwTxtAttr* pHt = (*pTxtAttrs)[i]; in HasTextItem() local [all …]
|
/aoo42x/main/sw/source/filter/html/ |
H A D | htmlatr.cxx | 2476 const SwTxtAttr * pHt = 0; in OutHTML_SwTxtNode() local 2485 if( pHt->Which() == RES_TXTATR_FIELD in OutHTML_SwTxtNode() 2489 if ( pHt->End() && !pHt->HasDummyChar() ) in OutHTML_SwTxtNode() 2491 const xub_StrLen nHtEnd = *pHt->End(), in OutHTML_SwTxtNode() 2492 nHtStt = *pHt->GetStart(); in OutHTML_SwTxtNode() 2549 if ( pHt->End() && !pHt->HasDummyChar() ) in OutHTML_SwTxtNode() 2551 if( RES_CHRATR_KERNING == pHt->Which() && in OutHTML_SwTxtNode() 2553 *pHt->End() - nStrPos == 1 && in OutHTML_SwTxtNode() 2568 else if( *pHt->End() != nStrPos ) in OutHTML_SwTxtNode() 2574 *pHt->End() + nOffset, in OutHTML_SwTxtNode() [all …]
|
H A D | wrthtml.cxx | 893 const SwTxtAttr *pHt = pTxtNd->GetSwpHints()[i]; in OutHeaderAttrs() local 894 if( !pHt->End() ) in OutHeaderAttrs() 896 xub_StrLen nPos = *pHt->GetStart(); in OutHeaderAttrs() 898 || ( pHt->Which() != RES_TXTATR_FIELD in OutHeaderAttrs() 899 && pHt->Which() != RES_TXTATR_ANNOTATION ) ) in OutHeaderAttrs() 903 ((const SwFmtFld&)pHt->GetAttr()).GetField()->GetTyp()->Which(); in OutHeaderAttrs() 909 OutHTML_SwFmtFld( *this, pHt->GetAttr() ); in OutHeaderAttrs()
|
/aoo42x/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 516 SwTxtAttr* pHt = pTxtNd->GetpSwpHints()->GetTextHint( n ); in RestoreDontExpandItems() local 517 nAttrStart = *pHt->GetStart(); in RestoreDontExpandItems() 521 if( 0 != ( pAttrEnd = pHt->End() ) && in RestoreDontExpandItems() 523 ( pHt->DontExpand() ? nStart < *pAttrEnd in RestoreDontExpandItems() 530 GetItemState( pHt->Which(), sal_False, &pItem ) || in RestoreDontExpandItems() 531 *pItem != pHt->GetAttr() ) in RestoreDontExpandItems() 536 pHt->SetDontExpand( sal_True ); in RestoreDontExpandItems()
|
/aoo42x/main/sw/source/core/access/ |
H A D | accpara.cxx | 1662 pTxtFld = (SwTxtFld *)pHt; in GetFieldTypeNameAtIndex() 3391 pAttr = pHt; in next() 3460 if( pHt ) in getHyperLink() 3461 nHStt = *pHt->GetStart(); in getHyperLink() 3502 if( pHt ) in getHyperLink() 3509 pHyperTextData ->find( pHt ); in getHyperLink() 3577 pHt = (SwTxtAttr*)(aHIter.next()); in getHyperLink() 3654 const SwTxtAttr *pHt = aHIter.next(); in getHyperLinkIndex() local 3655 while( pHt && !(nIdx >= *pHt->GetStart() && nIdx < *pHt->GetAnyEnd()) ) in getHyperLinkIndex() 3657 pHt = aHIter.next(); in getHyperLinkIndex() [all …]
|
H A D | acchyperlink.cxx | 69 const SwTxtAttr *pHt = (*pHints)[nHintPos]; in GetTxtAttr() local 70 if( RES_TXTATR_INETFMT == pHt->Which() ) in GetTxtAttr() 71 pTxtAttr = pHt; in GetTxtAttr()
|
/aoo42x/main/sw/source/core/doc/ |
H A D | docfld.cxx | 421 void SwDoc::UpdateRefFlds( SfxPoolItem* pHt ) in UpdateRefFlds() argument 426 pFldType->ModifyNotification( 0, pHt ); in UpdateRefFlds() 431 ASSERT( !pHt || RES_TABLEFML_UPDATE == pHt->Which(), in UpdateTblFlds() 441 if( pHt && RES_TABLEFML_UPDATE == pHt->Which() ) in UpdateTblFlds() 442 pUpdtFld = (SwTableFmlUpdate*)pHt; in UpdateTblFlds() 518 if( pHt && ( RES_TABLEFML_UPDATE != pHt->Which() || in UpdateTblFlds() 551 if( pHt && &pTblNd->GetTable() != in UpdateTblFlds() 552 ((SwTableFmlUpdate*)pHt)->pTbl ) in UpdateTblFlds() 601 pFmtFld->ModifyNotification( 0, pHt ); in UpdateTblFlds() 618 if( !pHt || &pTblNd->GetTable() == in UpdateTblFlds() [all …]
|
H A D | docruby.cxx | 223 const SwTxtAttr* pHt; in _SelectNextRubyChars() local 225 if( RES_TXTATR_CJK_RUBY == ( pHt = (*pHts)[ nHtIdx ])->Which() && in _SelectNextRubyChars() 226 *pHt->GetAnyEnd() > nStart ) in _SelectNextRubyChars() 228 if( *pHt->GetStart() < nEnd ) in _SelectNextRubyChars() 230 pAttr = pHt; in _SelectNextRubyChars()
|
/aoo42x/main/sw/source/core/text/ |
H A D | frmform.cxx | 692 const SwTxtAttr *pHt = (*pHints)[i]; in JoinFrm() local 693 if( RES_TXTATR_FTN==pHt->Which() && *pHt->GetStart()>=nStart ) in JoinFrm() 695 if( pHt->GetFtn().IsEndNote() ) in JoinFrm() 699 pEndBoss->ChangeFtnRef( pFoll, (SwTxtFtn*)pHt, this ); in JoinFrm() 705 pFtnBoss->ChangeFtnRef( pFoll, (SwTxtFtn*)pHt, this ); in JoinFrm() 792 const SwTxtAttr *pHt = (*pHints)[i]; in SplitFrm() local 793 if( RES_TXTATR_FTN==pHt->Which() && *pHt->GetStart()>=nTxtPos ) in SplitFrm() 795 if( pHt->GetFtn().IsEndNote() ) in SplitFrm() 799 pEndBoss->ChangeFtnRef( this, (SwTxtFtn*)pHt, pNew ); in SplitFrm() 805 pFtnBoss->ChangeFtnRef( this, (SwTxtFtn*)pHt, pNew ); in SplitFrm()
|
H A D | itratr.cxx | 71 void SwAttrIter::Chg( SwTxtAttr *pHt ) in Chg() argument 73 ASSERT( pHt && pFnt, "No attribute of font available for change"); in Chg() 75 pRedln->ChangeTxtAttr( pFnt, *pHt, sal_True ); in Chg() 77 aAttrHandler.PushAndChg( *pHt, *pFnt ); in Chg() 85 void SwAttrIter::Rst( SwTxtAttr *pHt ) in Rst() argument 87 ASSERT( pHt && pFnt, "No attribute of font available for reset"); in Rst() 90 pRedln->ChangeTxtAttr( pFnt, *pHt, sal_False ); in Rst() 92 aAttrHandler.PopAndChg( *pHt, *pFnt ); in Rst()
|
H A D | porfly.cxx | 210 SwTxtAttr *pHt = pHints->GetTextHint( i ); in CalcFlyPos() local 211 if( RES_TXTATR_FLYCNT == pHt->Which() ) in CalcFlyPos() 213 SwFrmFmt* pFrmFmt = pHt->GetFlyCnt().GetFrmFmt(); in CalcFlyPos() 215 pFound = pHt; in CalcFlyPos()
|
H A D | itrform2.hxx | 66 const SwTxtAttr *pHt ) const; 67 SwFtnPortion *NewFtnPortion( SwTxtFormatInfo &rInf, SwTxtAttr *pHt ); 69 SwTxtAttr *pHt ) const;
|
H A D | txtftn.cxx | 126 const SwTxtAttr *pHt = (*pHints)[i]; in CalcFtnFlag() local 127 if ( pHt->Which() == RES_TXTATR_FTN ) in CalcFtnFlag() 129 const xub_StrLen nIdx = *pHt->GetStart(); in CalcFtnFlag() 475 SwTxtAttr *pHt = pHints->GetTextHint(--i); in RemoveFtn() local 476 if ( RES_TXTATR_FTN != pHt->Which() ) in RemoveFtn() 479 const xub_StrLen nIdx = *pHt->GetStart(); in RemoveFtn() 485 SwTxtFtn *pFtn = (SwTxtFtn*)pHt; in RemoveFtn()
|
H A D | itrtxt.cxx | 450 const SwTxtAttr* pHt = pTmpHints->GetTextHint( i ); in TruncLines() local 451 if( RES_TXTATR_FLYCNT == pHt->Which() ) in TruncLines() 454 const sal_uInt16 nTmpPos = *pHt->GetStart(); in TruncLines()
|
/aoo42x/main/sw/source/core/crsr/ |
H A D | callnk.cxx | 140 const SwTxtAttr* pHt = rHts[ n ]; in ~SwCallLink() local 141 pEnd = pHt->End(); in ~SwCallLink() 142 nStart = *pHt->GetStart(); in ~SwCallLink() 157 ( pHt->DontExpand() ? nCmp == *pEnd-1 in ~SwCallLink()
|
H A D | findtxt.cxx | 126 const SwTxtAttr* pHt = (*pHts)[n]; in lcl_CleanStr() local 127 if ( pHt->HasDummyChar() && (nStt >= nStart) ) in lcl_CleanStr() 129 switch( pHt->Which() ) in lcl_CleanStr() 141 ( pHt->Which() != RES_TXTATR_FIELD in lcl_CleanStr() 142 && pHt->Which() != RES_TXTATR_ANNOTATION ) in lcl_CleanStr() 143 … || !(static_cast<SwTxtFld const*>(pHt)->GetFmtFld().GetField()->ExpandField(true).Len()); in lcl_CleanStr()
|
/aoo42x/main/sw/source/core/attr/ |
H A D | hints.cxx | 188 SfxPoolItem *pHt = aAttrTab[ nWhich - POOLATTR_BEGIN ]; in GetDfltAttr() local 189 ASSERT( pHt, "GetDfltFmtAttr(): Dflt == 0" ); in GetDfltAttr() 190 return pHt; in GetDfltAttr()
|