/trunk/main/sfx2/source/notify/ |
H A D | eventsupplier.cxx | 215 sal_Int32 nIndex = 0; in Execute() local 216 while ( nIndex < nCount ) in Execute() 231 nIndex += 1; in Execute() 321 long nIndex = 0; in notifyEvent() local 324 while ( !bFound && ( nIndex < nCount ) ) in notifyEvent() 326 if ( maEventNames[nIndex] == aName ) in notifyEvent() 329 nIndex += 1; in notifyEvent() 335 ANY aEventData = maEventData[ nIndex ]; in notifyEvent() 399 long nIndex = 0; in ConvertToMacro() local 404 while ( nIndex < nCount ) in ConvertToMacro() [all …]
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 531 void ScAutoFmtPreview::MakeFonts( sal_uInt16 nIndex, Font& rFont, Font& rCJKFont, Font& rCTLFont ) in MakeFonts() argument 538 …ontItem* pFontItem = (const SvxFontItem*) pCurData->GetItem( nIndex, ATTR_FONT ); in MakeFonts() 541 …tem* pCJKFontItem = (const SvxFontItem*) pCurData->GetItem( nIndex, ATTR_CJK_FONT ); in MakeFonts() 544 …tem* pCTLFontItem = (const SvxFontItem*) pCurData->GetItem( nIndex, ATTR_CTL_FONT ); in MakeFonts() 552 …em* pColorItem = (const SvxColorItem*) pCurData->GetItem( nIndex, ATTR_FONT_COLOR ); in MakeFonts() 620 sal_uInt16 nIndex = static_cast< sal_uInt16 >( maArray.GetCellIndex( nCol, nRow, mbRTL ) ); in DrawString() local 622 switch( nIndex ) in DrawString() 636 case 18: nVal = nIndex; in DrawString() 640 case 7: nVal = nIndex; in DrawString() 645 case 13: nVal = nIndex; in DrawString() [all …]
|
H A D | scuiautofmt.cxx | 98 nIndex ( 0 ), in ScAutoFormatDlg() 159 nIndex = 0; in Init() 330 aLbFormat.RemoveEntry( nIndex ); in IMPL_LINK() 331 aLbFormat.SelectEntryPos( nIndex-1 ); in IMPL_LINK() 333 if ( nIndex-1 == 0 ) in IMPL_LINK() 343 nIndex--; in IMPL_LINK() 387 aLbFormat.RemoveEntry(nIndex ); in IMPL_LINK() 392 pFormat->AtFree( nIndex ); in IMPL_LINK() 443 nIndex = aLbFormat.GetSelectEntryPos(); in IMPL_LINK() 446 if ( nIndex == 0 ) in IMPL_LINK() [all …]
|
/trunk/main/tools/source/string/ |
H A D | tstring.cxx | 191 sal_Int32 nIndex = 0; in IsLowerAscii() local 194 while ( nIndex < nLen ) in IsLowerAscii() 200 ++nIndex; in IsLowerAscii() 212 sal_Int32 nIndex = 0; in IsUpperAscii() local 221 ++nIndex; in IsUpperAscii() 233 sal_Int32 nIndex = 0; in IsAlphaAscii() local 243 ++nIndex; in IsAlphaAscii() 255 sal_Int32 nIndex = 0; in IsNumericAscii() local 264 ++nIndex; in IsNumericAscii() 276 sal_Int32 nIndex = 0; in IsAlphaNumericAscii() local [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | column.cxx | 109 SCSIZE nIndex; in GetBlockMatrixEdges() local 127 SCSIZE nIndex; in GetBlockMatrixEdges() local 129 while ( nIndex < nCount && pItems[nIndex].nRow <= nRow2 ) in GetBlockMatrixEdges() 153 nIndex++; in GetBlockMatrixEdges() 224 nIndex++; in HasSelectionMatrixFragment() 690 nIndex = 0; in Search() 696 nIndex = 0; in Search() 1928 nIndex++; in SetDirty() 1957 nIndex++; in SetTableOpDirty() 2098 ++nIndex; in ResetChanged() [all …]
|
H A D | dptabsrc.cxx | 195 if (nIndex < 0 || nIndex >= nDataDimCount) in GetDataDimension() 1359 if ( nIndex >= 0 && nIndex < nDimCount ) in getByIndex() 1369 ppDims[nIndex] = new ScDPDimension( pSource, nIndex ); in getByIndex() 1880 if ( nIndex >= 0 && nIndex < nHierCount ) in getByIndex() 1890 ppHiers[nIndex] = new ScDPHierarchy( pSource, nDim, nIndex ); in getByIndex() 2061 if ( nIndex >= 0 && nIndex < nLevCount ) in getByIndex() 2071 ppLevs[nIndex] = new ScDPLevel( pSource, nDim, nHier, nIndex ); in getByIndex() 2525 if ( nIndex >= 0 ) in getByName() 2605 if ( nIndex >= 0 && nIndex < nMbrCount ) in getByIndex() 2688 mnDataId( nIndex ), in ScDPMember() [all …]
|
/trunk/main/toolkit/test/accessibility/ |
H A D | NodeHandler.java | 72 public AccessibleTreeNode getChild (AccessibleTreeNode aParent, int nIndex) in getChild() argument 76 AccessibleTreeNode aChild = (AccessibleTreeNode)maChildList.get(nIndex); in getChild() 79 aChild = createChild (aParent, nIndex); in getChild() 82 maChildList.setElementAt (aChild, nIndex); in getChild() 92 return (AccessibleTreeNode)maChildList.get(nIndex); in getChildNoCreate() 98 public boolean removeChild (AccessibleTreeNode aNode, int nIndex) in removeChild() argument 105 + maChildList.elementAt (nIndex)); in removeChild() 106 maChildList.remove (nIndex); in removeChild() 128 AccessibleTreeNode aParent, int nIndex); in createChild() argument 136 public boolean isChildEditable (AccessibleTreeNode aNode, int nIndex) in isChildEditable() argument [all …]
|
/trunk/main/sdext/source/pdfimport/tree/ |
H A D | imagecontainer.cxx | 73 aBuf.setCharAt(nBufPos, aBase64EncodeTable [nIndex]); in encodeBase64() 75 nIndex = static_cast<sal_uInt8>((nBinary & 0x3F000) >> 12); in encodeBase64() 76 aBuf.setCharAt(nBufPos+1, aBase64EncodeTable [nIndex]); in encodeBase64() 78 nIndex = static_cast<sal_uInt8>((nBinary & 0xFC0) >> 6); in encodeBase64() 79 aBuf.setCharAt(nBufPos+2, aBase64EncodeTable [nIndex]); in encodeBase64() 81 nIndex = static_cast<sal_uInt8>((nBinary & 0x3F)); in encodeBase64() 82 aBuf.setCharAt(nBufPos+3, aBase64EncodeTable [nIndex]); in encodeBase64() 98 aBuf.setCharAt(nBufPos, aBase64EncodeTable [nIndex]); in encodeBase64() 100 nIndex = static_cast<sal_uInt8>((nBinary & 0x3F000) >> 12); in encodeBase64() 101 aBuf.setCharAt(nBufPos+1, aBase64EncodeTable [nIndex]); in encodeBase64() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | ctrl.cxx | 154 …return (nIndex >= 0 && nIndex < (long) m_aUnicodeBoundRects.size()) ? m_aUnicodeBoundRects[ nIndex… in GetCharacterBounds() 171 long nIndex = -1; in GetIndexForPoint() local 176 nIndex = i; in GetIndexForPoint() 180 return nIndex; in GetIndexForPoint() 250 if( nIndex >= 0 && nIndex < m_aDisplayText.Len() ) in ToRelativeLineIndex() 260 if( m_aLineIndices[nLine] <= nIndex ) in ToRelativeLineIndex() 262 nIndex -= m_aLineIndices[nLine]; in ToRelativeLineIndex() 269 nIndex = -1; in ToRelativeLineIndex() 274 nIndex = -1; in ToRelativeLineIndex() 276 return nIndex; in ToRelativeLineIndex() [all …]
|
/trunk/main/editeng/source/uno/ |
H A D | unoedprx.cxx | 90 …SetIndex( sal_uInt32 nPara, sal_Int32 nIndex, const SvxTextForwarder& rTF ) { SetParagraph(nPara);… in SetIndex() argument 242 mnIndex = nIndex; in SetIndex() 247 DBG_ASSERT(nIndex >= 0 && nIndex <= USHRT_MAX, in SetIndex() 250 mnEEIndex = nIndex; in SetIndex() 261 if( nIndex < nBulletLen ) in SetIndex() 752 aIndex.SetIndex( nPara, nIndex, *this ); in GetCharBounds() 850 aIndex.SetEEIndex(nPara, nIndex, *this); in GetIndexAtPoint() 922 aIndex.SetIndex(nPara, nIndex, *this); in GetWordIndices() 923 nIndex = aIndex.GetEEIndex(); in GetWordIndices() 976 aIndex.SetIndex(nPara, nIndex, *this); in GetAttributeRun() [all …]
|
/trunk/main/accessibility/source/extended/ |
H A D | accessiblelistboxentry.cxx | 728 sal_Int32 nIndex = -1; in getIndexAtPoint() local 737 nIndex = aLayoutData.GetIndexForPoint( aPnt ); in getIndexAtPoint() 740 return nIndex; in getIndexAtPoint() 823 checkActionIndex_Impl( nIndex ); in doAccessibleAction() 826 if( nIndex == 0 && (treeFlag & TREEFLAG_CHKBTN) ) in doAccessibleAction() 837 }else if( (nIndex == 1 && (treeFlag & TREEFLAG_CHKBTN) ) || (nIndex == 0) ) in doAccessibleAction() 857 checkActionIndex_Impl( nIndex ); in getAccessibleActionDescription() 867 if(nIndex == 0 && (treeFlag & TREEFLAG_CHKBTN)) in getAccessibleActionDescription() 881 }else if( (nIndex == 1 && (treeFlag & TREEFLAG_CHKBTN)) || nIndex == 0 ) in getAccessibleActionDescription() 898 checkActionIndex_Impl( nIndex ); in getAccessibleActionKeyBinding() [all …]
|
H A D | AccessibleBrowseBoxTableCell.cxx | 88 sal_Int32 nIndex = getIndex_Impl( _nRowPos, _nColPos, _rBrowseBox.GetColumnCount() ); in AccessibleBrowseBoxTableCell() local 89 setAccessibleName( _rBrowseBox.GetAccessibleObjectName( BBTYPE_TABLECELL, nIndex ) ); in AccessibleBrowseBoxTableCell() 90 …setAccessibleDescription( _rBrowseBox.GetAccessibleObjectDescription( BBTYPE_TABLECELL, nIndex ) ); in AccessibleBrowseBoxTableCell() 137 if ( !implIsValidIndex( nIndex, implGetText().getLength() ) ) in getCharacterBounds() 144 …aRect = AWTRectangle( mpBrowseBox->GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) … in getCharacterBounds() 244 if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) ) in setCaretPosition() 253 return OCommonAccessibleText::getCharacter( nIndex ); in getCharacter() 262 if ( !implIsValidIndex( nIndex, sText.getLength() ) ) in getCharacterAttributes() 317 return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType); in getTextAtIndex() 323 return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType); in getTextBeforeIndex() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | unitconv.cxx | 121 long nIndex = 0; in ScUnitConverter() local 127 pValNameArray[nIndex] = sPrefix; in ScUnitConverter() 129 pValNameArray[nIndex] = sPrefix; in ScUnitConverter() 131 pValNameArray[nIndex] = sPrefix; in ScUnitConverter() 145 nIndex = 0; in ScUnitConverter() 148 pProperties[nIndex++] >>= sFromUnit; in ScUnitConverter() 149 pProperties[nIndex++] >>= sToUnit; in ScUnitConverter() 150 pProperties[nIndex++] >>= fFactor; in ScUnitConverter() 164 sal_uInt16 nIndex; in GetValue() local 165 if ( Search( &aSearch, nIndex ) ) in GetValue() [all …]
|
/trunk/main/basegfx/inc/basegfx/polygon/ |
H A D | b3dpolygon.hxx | 62 B3DPolygon(const B3DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount); 79 B3DPoint getB3DPoint(sal_uInt32 nIndex) const; 80 void setB3DPoint(sal_uInt32 nIndex, const B3DPoint& rValue); 83 void insert(sal_uInt32 nIndex, const B3DPoint& rPoint, sal_uInt32 nCount = 1); 87 BColor getBColor(sal_uInt32 nIndex) const; 88 void setBColor(sal_uInt32 nIndex, const BColor& rValue); 94 B3DVector getNormal(sal_uInt32 nIndex) const; // normal in each point 95 void setNormal(sal_uInt32 nIndex, const B3DVector& rValue); 101 B2DPoint getTextureCoordinate(sal_uInt32 nIndex) const; 102 void setTextureCoordinate(sal_uInt32 nIndex, const B2DPoint& rValue); [all …]
|
/trunk/main/tools/inc/tools/ |
H A D | unqidx.hxx | 52 sal_uIntPtr Insert( sal_uIntPtr nIndex, void* p ); 54 void* Remove( sal_uIntPtr nIndex ); 55 void* Replace( sal_uIntPtr nIndex, void* p ); 56 void* Get( sal_uIntPtr nIndex ) const; 63 sal_Bool IsIndexValid( sal_uIntPtr nIndex ) const; 65 void* Seek( sal_uIntPtr nIndex ); 112 { return UniqueIndex::Insert( nIndex, (void*)p ); } \ 115 Type Remove( sal_uIntPtr nIndex ) \ 116 { return (Type)UniqueIndex::Remove( nIndex ); } \ 118 { return (Type)UniqueIndex::Replace( nIndex, \ [all …]
|
/trunk/main/bridges/source/cpp_uno/cc50_solaris_intel/ |
H A D | uno2cpp.cxx | 217 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 219 nIndex &= 0x7fffffff; in cpp_call() 222 if (pParams[nIndex].bIn) in cpp_call() 224 if (pParams[nIndex].bOut) // inout in cpp_call() 227 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 233 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 238 pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 242 rtl_freeMemory( pCppArgs[nIndex] ); in cpp_call() 268 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 270 nIndex &= 0x7fffffff; in cpp_call() [all …]
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | collectionbase.cxx | 89 …virtual uno::Any SAL_CALL getByIndex( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, l… 149 if( (0 <= nIndex) && (nIndex < getCount()) ) in getByIndex() 150 return maElements[ static_cast< size_t >( nIndex ) ]; in getByIndex() 265 uno::Any CollectionBase::getItemByIndex( sal_Int32 nIndex ) throw (uno::RuntimeException) in getItemByIndex() argument 269 if( (1 <= nIndex) && (nIndex <= mxIndexAccess->getCount()) ) in getItemByIndex() 271 … return createCollectionItem( mxIndexAccess->getByIndex( nIndex - 1 ), uno::Any( nIndex ) ); in getItemByIndex() 277 if( (1 <= nIndex) && (nIndex <= aElementNames.getLength()) ) in getItemByIndex() 279 …lectionItem( mxNameAccess->getByName( aElementNames[ nIndex - 1 ] ), uno::Any( aElementNames[ nInd… in getItemByIndex() 296 for( sal_Int32 nIndex = 0, nSize = mxIndexAccess->getCount(); nIndex < nSize; ++nIndex ) in getItemByName() local 298 uno::Any aElement = mxIndexAccess->getByIndex( nIndex ); in getItemByName() [all …]
|
/trunk/main/sc/source/filter/xcl97/ |
H A D | XclExpChangeTrack.cxx | 72 for( sal_Size nIndex = 0; nIndex < 16; nIndex++ ) in lcl_WriteGUID() local 73 rStrm << pGUID[ nIndex ]; in lcl_WriteGUID() 119 for( sal_uInt16 nIndex = 0; nIndex < rStrColl.GetCount(); nIndex++ ) in XclExpUserBViewList() local 492 for( sal_uInt16 nIndex = 1; nIndex <= nTabCount; nIndex++ ) in SaveCont() local 493 rStrm << nIndex; in SaveCont() 513 nIndex( 0 ), in XclExpChTrAction() 531 nIndex( 0 ), in XclExpChTrAction() 573 nIndex = rIndex++; in SetIndex() 580 << nIndex in SaveCont() 1115 sal_uInt32 nIndex = 1; in XclExpChangeTrack() local [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | strtmpl.c | 634 nIndex--; in IMPL_RTL_STRNAME() 648 nIndex = nLen; in IMPL_RTL_STRNAME() 650 while ( nIndex ) in IMPL_RTL_STRNAME() 655 nIndex--; in IMPL_RTL_STRNAME() 1224 if ( nIndex < 0 ) in IMPL_RTL_STRINGNAME() 1226 nCount -= nIndex; in IMPL_RTL_STRINGNAME() 1227 nIndex = 0; in IMPL_RTL_STRINGNAME() 1267 if ( nIndex ) in IMPL_RTL_STRINGNAME() 1482 nIndex--; in IMPL_RTL_STRINGNAME() 1520 if (nIndex < 0) { in IMPL_RTL_STRINGNAME() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumfi.cxx | 1778 if ( nNewIndex != nIndex ) in CreateAndInsert() 1785 nIndex = nNewIndex; in CreateAndInsert() 1802 nIndex = nNewIndex; in CreateAndInsert() 1810 nIndex = nNewIndex; in CreateAndInsert() 1831 nKey = nIndex; in CreateAndInsert() 2086 if ( nIndex == NF_KEY_G || nIndex == NF_KEY_GG || nIndex == NF_KEY_GGG ) in AddNfKeyword() 2091 nIndex = NF_KEY_NNN; in AddNfKeyword() 2097 if ( nIndex == NF_KEY_H || nIndex == NF_KEY_HH || in AddNfKeyword() 2098 nIndex == NF_KEY_MI || nIndex == NF_KEY_MMI || in AddNfKeyword() 2099 nIndex == NF_KEY_S || nIndex == NF_KEY_SS ) in AddNfKeyword() [all …]
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | DataBrowserModel.cxx | 409 ++nIndex; in insertDataSeries() 583 tDataColumnVector::size_type nIndex( nColumn ); in getDataSeriesByColumn() local 584 if( nIndex < m_aColumns.size()) in getDataSeriesByColumn() 585 return m_aColumns[nIndex].m_xDataSeries; in getDataSeriesByColumn() 593 if( nIndex < m_aColumns.size()) in getCellType() 594 eResult = m_aColumns[nIndex].m_eCellType; in getCellType() 604 if( nIndex < m_aColumns.size() && in getCellNumber() 624 if( nIndex < m_aColumns.size() && in getCellAny() 644 if( nIndex < m_aColumns.size() && in getCellText() 662 if( nIndex < m_aColumns.size()) in getNumberFormatKey() [all …]
|
/trunk/main/xmloff/source/text/ |
H A D | XMLSectionFootnoteConfigImport.cxx | 148 XMLPropertyState aNumOwn( nIndex, aAny ); in StartElement() 152 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() 154 XMLPropertyState aNumRestart( nIndex, aAny ); in StartElement() 158 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() 169 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() 175 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() 177 XMLPropertyState aPrefixState( nIndex, aAny ); in StartElement() 181 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() 183 XMLPropertyState aSuffixState( nIndex, aAny ); in StartElement() 187 nIndex = rMapper->FindEntryIndex( bEndnote ? in StartElement() [all …]
|
/trunk/main/sc/source/filter/xml/ |
H A D | xmlsubti.hxx | 70 … GetColsPerCol(const sal_Int32 nIndex) const { return nColsPerCol[nIndex]… in GetColsPerCol() 71 …void SetColsPerCol(const sal_Int32 nIndex, sal_Int32 nValue = 1) { nColsPerCol[nIndex] = nV… in SetColsPerCol() argument 72 sal_Int32 GetRealCols(const sal_Int32 nIndex, const sal_Bool bIsNormal = sal_True) const; 73 …void SetRealCols(const sal_Int32 nIndex, const sal_Int32 nValue) { nRealCols[nIndex] = nVa… in SetRealCols() argument 74 sal_Int32 GetRowsPerRow(const sal_Int32 nIndex) const { return nRowsPerRow[nIndex]; } in GetRowsPerRow() 75 …void SetRowsPerRow(const sal_Int32 nIndex, const sal_Int32 nValue = 1) { nRowsPerRow[nIndex… in SetRowsPerRow() argument 76 …sal_Int32 GetRealRows(const sal_Int32 nIndex) const { return nIndex < 0 ? 0 : nRealRows[nInd… in GetRealRows() 77 …void SetRealRows(const sal_Int32 nIndex, const sal_Int32 nValue) { nRealRows[nIndex] = nVal… in SetRealRows() argument
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 5597 GetGlyphBoundRects( rStartPt, rStr, nIndex, nLen, nIndex, aTmp ); in DrawText() 6871 if ( (nIndex > 1) || (nIndex == aStr.Len()) ) in ImplGetEllipsisString() 7007 --nIndex; in DrawCtrlText() 7118 nIndex--; in GetCtrlTextWidth() 7536 if( nBase != nIndex ) in GetTextBoundRect() 7731 if( nBase != nIndex ) in GetTextOutlines() 7840 xub_StrLen nStart = ((nBase < nIndex) ? nBase : nIndex); in GetTextOutlines() 7841 xub_StrLen nLength = ((nBase > nIndex) ? nBase : nIndex) - nStart; in GetTextOutlines() 8038 return nIndex; in HasGlyphs() 8055 return nIndex; in HasGlyphs() [all …]
|
/trunk/main/tools/inc/ |
H A D | impcont.hxx | 59 CBlock* Split( void* p, sal_uInt16 nIndex, sal_uInt16 nReSize ); 60 void* Remove( sal_uInt16 nIndex, sal_uInt16 nReSize ); 61 void* Replace( void* pNew, sal_uInt16 nIndex ); 64 void** GetObjectPtr( sal_uInt16 nIndex ); 65 void* GetObject( sal_uInt16 nIndex ) const; 93 inline void* CBlock::GetObject( sal_uInt16 nIndex ) const in GetObject() 95 return pNodes[nIndex]; in GetObject() 110 inline void* Container::ImpGetObject( sal_uIntPtr nIndex ) const in ImpGetObject() 112 if ( pFirstBlock && (nIndex < pFirstBlock->Count()) ) in ImpGetObject() 114 return pFirstBlock->GetObject( (sal_uInt16)nIndex ); in ImpGetObject() [all …]
|