Home
last modified time | relevance | path

Searched refs:pHt (Results 1 – 25 of 37) sorted by relevance

12

/aoo4110/main/sw/source/core/txtnode/
H A Dndhints.cxx51 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 Dndtxt.cxx301 SwTxtAttr* pHt; in lcl_ChangeFtnRef() local
563 if ( pHt->DontExpand() && pEnd && (*pHt->GetStart() == *pEnd) ) in SplitCntntNode()
567 DestroyAttr( pHt ); in SplitCntntNode()
621 if( *pHt->GetStart() ) in MoveTxtAttr_To_AttrSet()
636 DestroyAttr( pHt ); in MoveTxtAttr_To_AttrSet()
1897 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText()
1906 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText()
1927 *pHt->GetStart() = *pHt->GetStart() - nLen; in InsertText()
2246 *pHt->GetStart() = in CutImpl()
2316 *pHt->GetStart() = *pHt->GetEnd() = rStart.GetIndex(); in CutImpl()
[all …]
H A Dtxatritr.cxx125 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 Dtxtedt.cxx444 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 Dthints.cxx2137 (*fnMergeAttr)( rSet, pHt->GetAttr() ); in GetAttr()
2167 (*fnMergeAttr)( aFmtSet, pHt->GetAttr() ); in GetAttr()
2193 pItem = &pHt->GetAttr(); in GetAttr()
2702 SwTxtAttr *pHt = GetTextHint( i ); in MergePortions() local
2703 if ( RES_TXTATR_CHARFMT != pHt->Which() && in MergePortions()
2704 RES_TXTATR_AUTOFMT != pHt->Which() ) in MergePortions()
2709 const xub_StrLen nPorStart = *pHt->GetStart(); in MergePortions()
3255 const sal_uInt16 nWhich = pHt->Which(); in GetLang()
3258 …( ( pHt->IsCharFmtAttr() || RES_TXTATR_AUTOFMT == nWhich ) && CharFmt::IsItemIncluded( nWhichId, p… in GetLang()
3260 const xub_StrLen *pEndIdx = pHt->End(); in GetLang()
[all …]
/aoo4110/main/sw/source/filter/ascii/
H A Dascatr.cxx97 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 …]
/aoo4110/main/sw/source/core/undo/
H A Drolbck.cxx1054 SwHistoryHint * pHt; in Add() local
1063 m_SwpHstry.Insert( pHt, Count() ); in Add()
1071 SwHistoryHint * pHt; in Add() local
1109 m_SwpHstry.Insert( pHt, Count() ); in Add()
1117 SwHistoryHint * pHt = in Add() local
1155 SwHistoryHint * pHt = in Add() local
1186 m_SwpHstry.Insert(pHt, Count()); in Add()
1307 SwTxtAttr* pHt; in CopyAttr() local
1312 pHt = pHts->GetTextHint(n); in CopyAttr()
1313 nAttrStt = *pHt->GetStart(); in CopyAttr()
[all …]
/aoo4110/main/sw/inc/
H A Dndhints.hxx99 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()
/aoo4110/main/sw/source/filter/ww8/
H A Dwrtw8nds.cxx394 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 …]
/aoo4110/main/sw/source/filter/html/
H A Dhtmlatr.cxx2476 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 Dwrthtml.cxx893 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()
/aoo4110/main/sw/source/core/edit/
H A Dacorrect.cxx516 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()
/aoo4110/main/sw/source/core/access/
H A Daccpara.cxx1658 pTxtFld = (SwTxtFld *)pHt; in GetFieldTypeNameAtIndex()
3387 pAttr = pHt; in next()
3456 if( pHt ) in getHyperLink()
3457 nHStt = *pHt->GetStart(); in getHyperLink()
3498 if( pHt ) in getHyperLink()
3505 pHyperTextData ->find( pHt ); in getHyperLink()
3573 pHt = (SwTxtAttr*)(aHIter.next()); in getHyperLink()
3650 const SwTxtAttr *pHt = aHIter.next(); in getHyperLinkIndex() local
3651 while( pHt && !(nIdx >= *pHt->GetStart() && nIdx < *pHt->GetAnyEnd()) ) in getHyperLinkIndex()
3653 pHt = aHIter.next(); in getHyperLinkIndex()
[all …]
H A Dacchyperlink.cxx69 const SwTxtAttr *pHt = (*pHints)[nHintPos]; in GetTxtAttr() local
70 if( RES_TXTATR_INETFMT == pHt->Which() ) in GetTxtAttr()
71 pTxtAttr = pHt; in GetTxtAttr()
/aoo4110/main/sw/source/core/doc/
H A Ddocruby.cxx223 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()
H A Ddocfld.cxx421 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 …]
/aoo4110/main/sw/source/core/crsr/
H A Dcallnk.cxx140 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 Dfindtxt.cxx126 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()
/aoo4110/main/sw/source/core/text/
H A Dfrmform.cxx692 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 Ditratr.cxx71 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 Dporfly.cxx210 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 Ditrform2.hxx66 const SwTxtAttr *pHt ) const;
67 SwFtnPortion *NewFtnPortion( SwTxtFormatInfo &rInf, SwTxtAttr *pHt );
69 SwTxtAttr *pHt ) const;
H A Dtxtftn.cxx126 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 Ditrtxt.cxx450 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()
/aoo4110/main/sw/source/core/attr/
H A Dhints.cxx184 SfxPoolItem *pHt = aAttrTab[ nWhich - POOLATTR_BEGIN ]; in GetDfltAttr() local
185 ASSERT( pHt, "GetDfltFmtAttr(): Dflt == 0" ); in GetDfltAttr()
186 return pHt; in GetDfltAttr()

Completed in 239 milliseconds

12