/aoo41x/main/editeng/source/uno/ |
H A D | unoforou.cxx | 150 if( nPara == mnParaAttribsCache ) in GetParaAttribs() 164 mnParaAttribsCache = nPara; in GetParaAttribs() 183 rOutliner.SetParaAttribs( nPara, rSet ); in SetParaAttribs() 311 if( nIndex >= GetTextLen(nPara) ) in GetCharBounds() 393 nPara = aDocPos.nPara; in GetIndexAtPoint() 403 if( aRes.nStartPara == nPara && in GetWordIndices() 502 if( nPara < GetParagraphCount() ) in GetNumberingStartValue() 515 if( nPara < GetParagraphCount() ) in SetNumberingStartValue() 527 if( nPara < GetParagraphCount() ) in IsParaIsNumberingRestart() 540 if( nPara < GetParagraphCount() ) in SetParaIsNumberingRestart() [all …]
|
H A D | unofored.cxx | 120 rEditEngine.SetParaAttribs( nPara, rSet ); in SetParaAttribs() 135 rEditEngine.GetPortions( nPara, rList ); in GetPortions() 184 for( sal_uInt16 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in GetSvxEditEngineItemState() local 190 if( rSel.nStartPara == nPara ) in GetSvxEditEngineItemState() 194 if( rSel.nEndPara != nPara ) in GetSvxEditEngineItemState() 195 nEndPos = rEditEngine.GetTextLen( nPara ); in GetSvxEditEngineItemState() 367 aLast = GetParaBounds( nPara ); in GetCharBounds() 435 nPara = aDocPos.nPara; in GetIndexAtPoint() 445 if( aRes.nStartPara == nPara && in GetWordIndices() 463 return rEditEngine.GetLineCount(nPara); in GetLineCount() [all …]
|
H A D | unoedprx.cxx | 75 void SetParagraph( sal_uInt16 nPara ) in SetParagraph() argument 77 mnPara = nPara; in SetParagraph() 90 …void SetIndex( sal_uInt16 nPara, sal_Int32 nIndex, const SvxTextForwarder& rTF ) { SetParagraph(nP… in SetIndex() argument 714 aIndex.SetIndex( nPara, nPos, *this ); in GetLanguage() 752 aIndex.SetIndex( nPara, nIndex, *this ); in GetCharBounds() 850 aIndex.SetEEIndex(nPara, nIndex, *this); in GetIndexAtPoint() 922 aIndex.SetIndex(nPara, nIndex, *this); in GetWordIndices() 957 aIndex.SetEEIndex( nPara, nStart, *this ); in GetWordIndices() 963 aIndex.SetEEIndex( nPara, nEnd, *this ); in GetWordIndices() 976 aIndex.SetIndex(nPara, nIndex, *this); in GetAttributeRun() [all …]
|
H A D | unoedhlp.cxx | 140 rEE.GetCharAttribs( nPara, aTempCharAttribs ); in GetAttributeRun() 144 sal_uInt32 nParaLen = rEE.GetTextLen(nPara); in GetAttributeRun() 215 EPosition aStartPos( nPara, nStartIndex ), aEndPos( nPara, nEndIndex ); in GetAttributeRun() 217 sal_uInt32 nCrrntParaLen = rEE.GetTextLen(nPara); in GetAttributeRun() 232 aStartPos.nPara = sal_uInt16(nParaIdx); in GetAttributeRun() 256 aEndPos.nPara = sal_uInt16(nParaIdx); in GetAttributeRun() 267 if ( aStartPos.nPara > 0 ) in GetAttributeRun() 269 for ( sal_uInt16 i = 0; i < aStartPos.nPara; i++ ) in GetAttributeRun() 276 if ( aEndPos.nPara > 0 ) in GetAttributeRun() 278 for ( sal_uInt16 i = 0; i < aEndPos.nPara; i++ ) in GetAttributeRun() [all …]
|
/aoo41x/main/editeng/source/outliner/ |
H A D | outliner.cxx | 275 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in SetMaxDepth() local 386 for (sal_uInt16 nPara = nParaStart; nPara <= nParaEnd; nPara++) in GetBulletsNumberingStatus() local 451 for(sal_uInt16 nPara(nStartPara); nPara <= nLastPara; nPara++) in CreateParaObject() local 453 aParagraphDataVector[nPara-nStartPara] = *GetParagraph(nPara); in CreateParaObject() 589 aDelSel = ESelection( (sal_uInt16)nPara, 0, (sal_uInt16)nPara, 2 ); in ImpConvertEdtToOut() 610 aDelSel = ESelection( (sal_uInt16)nPara, 0, (sal_uInt16)nPara, nTabs ); in ImpConvertEdtToOut() 687 sal_uLong nPara; in AddText() local 692 nPara = 0; in AddText() 958 ESelection aSel( nPara, 0, nPara, 0 ); in ImpCalcBulletFont() 1262 for( sal_uLong nPara = nFirstPara; nPara <= nLastPara; nPara++ ) in ImpFilterIndents() local [all …]
|
H A D | outlvw.cxx | 550 for( sal_uInt16 nPara= aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetAttribs() local 611 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in Indent() local 939 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in ImplExpandOrCollaps() local 1037 for( sal_uInt16 nPara = 0; nPara < nParaCount; nPara++ ) in PasteSpecial() local 1073 for( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in SetStyleSheet() local 1163 for ( sal_uInt16 nPara = nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ImpCalcSelectedPages() local 1199 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in ToggleBullets() local 1310 for ( sal_uInt16 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ ) in EnableBullets() local 1361 for (sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++) in ApplyBulletsNumbering() local 1488 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; ++nPara ) in SwitchOffBulletsNumbering() local [all …]
|
H A D | outleeng.cxx | 69 pFmt = pOwner->GetNumberFormat( nPara ); in GetNumberFormat() 74 Rectangle OutlinerEditEng::GetBulletArea( sal_uInt16 nPara ) in GetBulletArea() argument 77 if ( nPara < pOwner->pParaList->GetParagraphCount() ) in GetBulletArea() 79 if ( pOwner->ImplHasNumberFormat( nPara ) ) in GetBulletArea() 117 void OutlinerEditEng::ParaAttribsChanged( sal_uInt16 nPara ) in ParaAttribsChanged() argument 119 pOwner->ParaAttribsChanged( nPara ); in ParaAttribsChanged() 205 EditEngine::FieldClicked( rField, nPara, nPos ); // Falls URL in FieldClicked() 206 pOwner->FieldClicked( rField, nPara, nPos ); in FieldClicked() 211 pOwner->FieldSelected( rField, nPara, nPos ); in FieldSelected() 221 Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara ); in SetParaAttribs() [all …]
|
/aoo41x/main/sw/source/filter/ww8/dump/ |
H A D | ww8dout.cxx | 159 rSt.Read( &nPara, sizeof( nPara ) ); in OutBool() 171 rSt.Read( &nPara, sizeof( nPara ) ); in OutBool4() 185 rSt.Read( &nPara, sizeof( nPara ) ); in OutByte() 193 rSt.Read( &nPara, sizeof( nPara ) ); in OutShort() 202 rSt.Read( &nPara, sizeof( nPara ) ); in OutShorts() 211 rSt.Read( &nPara, sizeof( nPara ) ); in OutWord() 220 rSt.Read( &nPara, sizeof( nPara ) ); in OutWords() 229 rSt.Read( &nPara, sizeof( nPara ) ); in OutWordHex() 238 rSt.Read( &nPara, sizeof( nPara ) ); in OutWordsHex() 262 rSt.Read( &nPara, sizeof( nPara ) ); in OutLongHex() [all …]
|
/aoo41x/main/svtools/source/edit/ |
H A D | texteng.cxx | 330 return mpDoc->GetText( nPara ); in GetText() 699 mpTEParaPortions->Remove( nPara ); in ImpRemoveParagraph() 702 ImpParagraphRemoved( nPara ); in ImpRemoveParagraph() 1294 for ( sal_uLong nPara = mpTEParaPortions->Count(); nPara; ) in CalcTextWidth() local 1471 ImpParagraphInserted( nPara ); in InsertContent() 1667 for ( sal_uLong nPara = 0; nPara < mpTEParaPortions->Count(); nPara++ ) in FormatDoc() local 1678 if ( CreateLines( nPara ) ) in FormatDoc() 1710 nY += CalcParaHeight( nPara ); in FormatDoc() 2089 for ( sal_uLong nPara = 0; nPara < mpTEParaPortions->Count(); nPara++ ) in ImpPaint() local 2698 for ( sal_uLong nPara = aSel.GetStart().GetPara(); nPara <= aSel.GetEnd().GetPara(); nPara++ ) in Write() local [all …]
|
H A D | xtextedt.cxx | 52 sal_uLong nPara = rCursor.GetPara(); in MatchGroup() local 54 if ( ( nPara < nParas ) && ( nPos < GetTextLen( nPara ) ) ) in MatchGroup() 67 while ( nLevel && ( nPara < nParas ) ) in MatchGroup() 69 XubString aStr = GetText( nPara ); in MatchGroup() 85 nPara++; in MatchGroup() 105 if ( GetTextLen( nPara ) ) in MatchGroup() 107 XubString aStr = GetText( nPara ); in MatchGroup() 125 if ( nPara ) in MatchGroup() 127 nPara--; in MatchGroup() 363 for ( sal_uLong nPara = nStartPara; nPara <= nEndPara; nPara++ ) in ImpIndentBlock() local [all …]
|
/aoo41x/main/editeng/inc/editeng/ |
H A D | unoforou.hxx | 64 virtual SfxItemSet GetParaAttribs( sal_uInt16 nPara ) const; 65 virtual void SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet ); 67 virtual void GetPortions( sal_uInt16 nPara, SvUShorts& rList ) const; 87 virtual sal_uInt16 GetFieldCount( sal_uInt16 nPara ) const; 89 virtual EBulletInfo GetBulletInfo( sal_uInt16 nPara ) const; 91 virtual Rectangle GetParaBounds( sal_uInt16 nPara ) const; 97 virtual sal_uInt16 GetLineCount( sal_uInt16 nPara ) const; 104 virtual sal_Int16 GetDepth( sal_uInt16 nPara ) const; 105 virtual sal_Bool SetDepth( sal_uInt16 nPara, sal_Int16 nNewDepth ); 106 virtual sal_Int16 GetNumberingStartValue( sal_uInt16 nPara ); [all …]
|
H A D | unoedprx.hxx | 44 virtual SfxItemSet GetParaAttribs( sal_uInt16 nPara ) const; 45 virtual void SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet ); 53 virtual sal_uInt16 GetItemState( sal_uInt16 nPara, sal_uInt16 nWhich ) const; 68 virtual sal_uInt16 GetFieldCount( sal_uInt16 nPara ) const; 70 virtual EBulletInfo GetBulletInfo( sal_uInt16 nPara ) const; 72 virtual Rectangle GetParaBounds( sal_uInt16 nPara ) const; 80 virtual sal_uInt16 GetLineCount( sal_uInt16 nPara ) const; 88 virtual sal_Int16 GetDepth( sal_uInt16 nPara ) const; 89 virtual sal_Bool SetDepth( sal_uInt16 nPara, sal_Int16 nNewDepth ); 102 sal_Bool HaveImageBullet( sal_uInt16 nPara ) const; [all …]
|
H A D | unoedsrc.hxx | 156 virtual SfxItemSet GetParaAttribs( sal_uInt16 nPara ) const = 0; 157 virtual void SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet ) = 0; 159 virtual void GetPortions( sal_uInt16 nPara, SvUShorts& rList ) const = 0; 204 virtual sal_uInt16 GetFieldCount( sal_uInt16 nPara ) const = 0; 221 virtual EBulletInfo GetBulletInfo( sal_uInt16 nPara ) const = 0; 258 virtual Rectangle GetParaBounds( sal_uInt16 nPara ) const = 0; 348 virtual sal_uInt16 GetLineCount( sal_uInt16 nPara ) const = 0; 428 virtual sal_Int16 GetDepth( sal_uInt16 nPara ) const = 0; 443 virtual sal_Bool SetDepth( sal_uInt16 nPara, sal_Int16 nNewDepth ) = 0; 445 virtual sal_Int16 GetNumberingStartValue( sal_uInt16 nPara ); [all …]
|
H A D | editeng.hxx | 225 ParagraphInfos GetParagraphInfos( sal_uInt16 nPara ); 230 String GetWord( sal_uInt16 nPara, xub_StrLen nIndex ); 247 void RemoveParagraph( sal_uInt16 nPara ); 252 void SetText( sal_uInt16 nPara, const String& rText); 265 Font GetStandardFont( sal_uInt16 nPara ); 266 SvxFont GetStandardSvxFont( sal_uInt16 nPara ); 298 void GetPortions( sal_uInt16 nPara, SvUShorts& rList ); 339 void QuickMarkToBeRepainted( sal_uInt16 nPara ); 352 SfxStyleSheet* GetStyleSheet( sal_uInt16 nPara ) const; 434 virtual void ParagraphHeightChanged( sal_uInt16 nPara ); [all …]
|
H A D | unofored.hxx | 46 virtual SfxItemSet GetParaAttribs( sal_uInt16 nPara ) const; 47 virtual void SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet ); 49 virtual void GetPortions( sal_uInt16 nPara, SvUShorts& rList ) const; 52 virtual sal_uInt16 GetItemState( sal_uInt16 nPara, sal_uInt16 nWhich ) const; 66 virtual sal_uInt16 GetFieldCount( sal_uInt16 nPara ) const; 68 virtual EBulletInfo GetBulletInfo( sal_uInt16 nPara ) const; 70 virtual Rectangle GetParaBounds( sal_uInt16 nPara ) const; 76 virtual sal_uInt16 GetLineCount( sal_uInt16 nPara ) const; 77 virtual sal_uInt16 GetLineLen( sal_uInt16 nPara, sal_uInt16 nLine ) const; 83 virtual sal_Int16 GetDepth( sal_uInt16 nPara ) const; [all …]
|
H A D | outliner.hxx | 549 sal_uInt16 nPara; member in EditFieldInfo 563 nPara = nPa; nPos = nPo; in EditFieldInfo() 587 sal_uInt16 GetPara() const { return nPara; } in GetPara() 686 Size ImplGetBulletSize( sal_uInt16 nPara ); 689 String ImplGetBulletText( sal_uInt16 nPara ); 690 void ImplCheckNumBulletItem( sal_uInt16 nPara ); 707 long ImpGetTextIndent( sal_uLong nPara ); 807 sal_Int16 GetDepth( sal_uLong nPara ) const; 912 EBulletInfo GetBulletInfo( sal_uInt16 nPara ); 943 SfxStyleSheet* GetStyleSheet( sal_uLong nPara ); [all …]
|
/aoo41x/main/editeng/source/editeng/ |
H A D | editobj.cxx | 921 for ( sal_uInt16 nPara = GetContents().Count(); nPara; ) in HasCharAttribs() local 950 aEEAttr.nPara = nPara; in GetCharAttribs() 962 for ( sal_uInt16 nPara = GetContents().Count(); nPara; ) in MergeParaAttribs() local 1008 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in HasField() local 1101 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in HasStyleSheet() local 1137 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in ImpChangeStyleSheets() local 1196 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in StoreData() local 1328 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in StoreData() local 1382 for ( sal_uLong nPara = 0; nPara < nParagraphs; nPara++ ) in CreateData() local 1560 for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) in CreateData() local [all …]
|
H A D | editeng.cxx | 762 ESelection aESel( nPara, nIndex, nPara, nIndex ); in GetWord() 1568 if ( nPara > GetParagraphCount() ) in InsertParagraph() 1571 nPara = GetParagraphCount(); in InsertParagraph() 1591 if ( nPara > GetParagraphCount() ) in InsertParagraph() 1594 nPara = GetParagraphCount(); in InsertParagraph() 1897 (void) nPara; in GetNumberFormat() 1966 for ( sal_uInt16 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in QuickMarkInvalid() local 2283 for ( sal_uInt16 nPara = 0; nPara < nParas; nPara++ ) in ShouldCreateBigTextObject() local 2353 for ( sal_uInt16 nPara = 0; nPara < nParas; nPara++ ) in RemoveFields() local 2498 aNotify.nParagraph = nPara; in ParagraphInserted() [all …]
|
H A D | impedit5.cxx | 54 ContentNode* pNode = aEditDoc.SaveGetObject( nPara ); in GetStyleSheet() 77 ContentNode* pNode = aEditDoc.SaveGetObject( nPara ); in SetStyleSheet() 225 for ( sal_uInt16 nPara = nStartNode; nPara <= nEndNode; nPara++ ) in CreateAttribUndo() local 227 ContentNode* pNode = aEditDoc.GetObject( nPara ); in CreateAttribUndo() 707 ContentNode* pNode = aEditDoc.SaveGetObject( nPara ); in RemoveCharAttribs() 736 ContentNode* pNode = aEditDoc.SaveGetObject( nPara ); in SetParaAttribs() 776 ContentNode* pNode = aEditDoc.GetObject( nPara ); in GetParaAttribs() 783 ContentNode* pNode = aEditDoc.GetObject( nPara ); in HasParaAttrib() 791 ContentNode* pNode = aEditDoc.GetObject( nPara ); in GetParaAttrib() 800 ContentNode* pNode = aEditDoc.GetObject( nPara ); in GetCharAttribs() [all …]
|
H A D | impedit2.cxx | 1901 for ( sal_uInt16 nPara = nStartPara; nPara <= nEndPara; nPara++ ) in GetScriptType() local 3004 if ( nPara ) in ImpFastInsertParagraph() 3007 InsertUndo( new EditUndoSplitPara( this, nPara-1, aEditDoc.GetObject( nPara-1 )->Len() ) ); in ImpFastInsertParagraph() 3072 for ( sal_uInt16 nPara = 0; nPara < nParas; nPara++ ) in UpdateFields() local 3216 for ( sal_uInt16 nPara = 0; nPara < nParas; nPara++ ) in CalcTextWidth() local 3453 while ( nPara <= nLastPara && !GetParaPortions()[nPara]->IsVisible() ) in UpdateSelections() 3454 nPara++; in UpdateSelections() 3457 nPara = nCurPara; in UpdateSelections() 3458 while ( nPara && !GetParaPortions()[nPara]->IsVisible() ) in UpdateSelections() 3459 nPara--; in UpdateSelections() [all …]
|
/aoo41x/main/editeng/source/accessibility/ |
H A D | AccessibleStaticTextBase.cxx | 313 mpTextParagraph->SetParagraphIndex( nPara ); in GetParagraph() 352 for(i=0; i<nEEIndex.nPara; ++i) in Internal2Index() 368 for(i=0; i<nPara; ++i) in CorrectTextSegment() 891 if( aStartIndex.nPara == aEndIndex.nPara ) in getTextRange() 898 sal_Int32 i( aStartIndex.nPara ); in getTextRange() 904 for( ; i<aEndIndex.nPara; ++i ) in getTextRange() 910 if( i<=aEndIndex.nPara ) in getTextRange() 976 mpImpl->CorrectTextSegment( aResult, aPos.nPara ); in getTextAtIndex() 1005 else if( aPos.nPara > 0 ) in getTextBeforeIndex() 1021 mpImpl->CorrectTextSegment( aResult, aPos.nPara ); in getTextBeforeIndex() [all …]
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | texteng.hxx | 158 void ImpRemoveParagraph( sal_uLong nPara ); 159 void ImpInitWritingDirections( sal_uLong nPara ); 171 void ImpParagraphInserted( sal_uLong nPara ); 172 void ImpParagraphRemoved( sal_uLong nPara ); 175 void ImpFormattingParagraph( sal_uLong nPara ); 183 sal_Bool CreateLines( sal_uLong nPara ); 184 void CreateAndInsertEmptyLine( sal_uLong nPara ); 186 sal_uInt16 SplitTextPortion( sal_uLong nPara, sal_uInt16 nPos ); 187 void CreateTextPortions( sal_uLong nPara, sal_uInt16 nStartPos ); 216 sal_uLong CalcTextWidth( sal_uLong nPara ); [all …]
|
/aoo41x/main/sw/source/filter/ww1/ |
H A D | w1sprm.cxx | 132 if(nPara < 0) in Start() 133 nPara = 0; in Start() 145 if(nPara < 0) in Start() 146 nPara = 0; in Start() 147 aLR.SetRight(nPara); in Start() 308 if(nPara < 0) in STOP1() 309 nPara = -nPara; in STOP1() 311 aUL.SetUpper(nPara); in STOP1() 319 if(nPara < 0) in Start() 320 nPara = -nPara; in Start() [all …]
|
/aoo41x/main/svx/source/sdr/properties/ |
H A D | textproperties.cxx | 118 for(sal_uInt16 nPara = 0; nPara < nParaCount; nPara++) in ItemSetChanged() local 120 SfxItemSet aSet(pOutliner->GetParaAttribs(nPara)); in ItemSetChanged() 122 pOutliner->SetParaAttribs(nPara, aSet); in ItemSetChanged() 262 for(sal_uInt16 nPara = 0; nPara < nParaCount; nPara++) in SetStyleSheet() local 289 rOutliner.SetStyleSheet(nPara, pNewStyle); in SetStyleSheet() 294 rOutliner.SetStyleSheet(nPara, GetStyleSheet()); in SetStyleSheet() 300 rOutliner.SetStyleSheet(nPara, 0L); in SetStyleSheet() 308 rOutliner.SetParaAttribs(nPara, *pTempSet); in SetStyleSheet() 423 for(sal_uInt16 nPara = 0; nPara < nParaCount; nPara++) in ForceStyleToHardAttributes() local 489 ESelection aSel((sal_uInt16)nPara, 0); in ForceStyleToHardAttributes() [all …]
|
/aoo41x/main/starmath/source/ |
H A D | accessibility.cxx | 1089 pEditEngine->SetParaAttribs( nPara, rSet ); in SetParaAttribs() 1109 pEditEngine->GetPortions( nPara, rList ); in GetPortions() 1170 for( sal_uInt16 nPara = rSel.nStartPara; nPara <= rSel.nEndPara; nPara++ ) in GetSvxEditEngineItemState() local 1176 if( rSel.nStartPara == nPara ) in GetSvxEditEngineItemState() 1180 if( rSel.nEndPara != nPara ) in GetSvxEditEngineItemState() 1181 nEndPos = rEditEngine.GetTextLen( nPara ); in GetSvxEditEngineItemState() 1185 rEditEngine.GetCharAttribs( nPara, aAttribs ); in GetSvxEditEngineItemState() 1345 if( nIndex >= pEditEngine->GetTextLen(nPara) ) in GetCharBounds() 1396 nPara = aDocPos.nPara; in GetIndexAtPoint() 1411 if( aRes.nStartPara == nPara && in GetWordIndices() [all …]
|