/aoo41x/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 …]
|
/aoo41x/main/sd/source/ui/view/ |
H A D | DocumentRenderer.cxx | 687 for (sal_uInt32 nIndex=0; nIndex<nCount; ++nIndex) in CreateChoice() local 688 aChoices[nIndex] = aChoiceStrings.GetString(nIndex); in CreateChoice() 699 for (sal_Int32 nIndex=1,nCount=aChoice.getLength(); nIndex<nCount; ++nIndex) in GetSlidesPerPageSequence() local 1661 nIndex=0, in ContainsTransparency() local 1664 ++nIndex) in ContainsTransparency() 1747 nIndex=0, in PrepareOutline() local 1760 ++nIndex; in PrepareOutline() 1953 ++nIndex) in PrepareHandout() 2031 ++nIndex) in PrepareRegularPages() 2158 ++nIndex) in PrepareBooklet() [all …]
|
/aoo41x/main/sdext/source/presenter/ |
H A D | PresenterAccessibility.cxx | 1024 if (nIndex<0 || nIndex>=sal_Int32(maChildren.size())) in getAccessibleChild() 1057 ++nIndex) in getAccessibleIndexInParent() 1683 for (sal_Int32 nIndex=0,nCount=rStateSet.getLength(); nIndex<nCount; ++nIndex) in containsAll() local 1699 for (sal_uInt16 nIndex=0; nIndex<sizeof(mnStateSet)*8; ++nIndex) in getStates() local 1753 if (nIndex<0 && sal_uInt32(nIndex)>=maRelations.size()) in getRelation() 1917 this,nIndex); in getCharacterAttributes() 1929 (void)nIndex; in getCharacterAttributes() 1938 sal_Int32 nIndex) in getCharacterBounds() argument 1944 if (nIndex < 0) in getCharacterBounds() 1993 return nIndex; in getIndexAtPoint() [all …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/main/editeng/source/uno/ |
H A D | unoedprx.cxx | 90 …SetIndex( sal_uInt16 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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
/aoo41x/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
|
H A D | XMLDetectiveContext.cxx | 59 return (nIndex < rDetOp.nIndex); in operator <() 140 for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex ) in ScXMLDetectiveHighlightedContext() local 142 const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex )); in ScXMLDetectiveHighlightedContext() 143 const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex )); in ScXMLDetectiveHighlightedContext() 220 for( sal_Int16 nIndex = 0; nIndex < nAttrCount; ++nIndex ) in ScXMLDetectiveOperationContext() local 222 const rtl::OUString& sAttrName (xAttrList->getNameByIndex( nIndex )); in ScXMLDetectiveOperationContext() 223 const rtl::OUString& sValue (xAttrList->getValueByIndex( nIndex )); in ScXMLDetectiveOperationContext() 236 aDetectiveOp.nIndex = nValue; in ScXMLDetectiveOperationContext() 258 if( bHasType && (aDetectiveOp.nIndex >= 0) ) in EndElement()
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | scuiautofmt.cxx | 99 nIndex ( 0 ), in ScAutoFormatDlg() 160 nIndex = 0; in Init() 331 aLbFormat.RemoveEntry( nIndex ); in IMPL_LINK() 332 aLbFormat.SelectEntryPos( nIndex-1 ); in IMPL_LINK() 334 if ( nIndex-1 == 0 ) in IMPL_LINK() 344 nIndex--; in IMPL_LINK() 388 aLbFormat.RemoveEntry(nIndex ); in IMPL_LINK() 393 pFormat->AtFree( nIndex ); in IMPL_LINK() 444 nIndex = aLbFormat.GetSelectEntryPos(); in IMPL_LINK() 447 if ( nIndex == 0 ) in IMPL_LINK() [all …]
|
/aoo41x/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 …]
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | csvsplits.cxx | 52 sal_uInt32 nIndex = GetIndex( nPos ); in Remove() local 53 bool bValid = (nIndex != CSV_VEC_NOTFOUND); in Remove() 55 maVec.erase( maVec.begin() + nIndex ); in Remove() 93 sal_uInt32 nIndex = LowerBound( nPos ); in UpperBound() local 94 if( nIndex == CSV_VEC_NOTFOUND ) in UpperBound() 96 if( GetPos( nIndex ) == nPos ) in UpperBound() 97 return nIndex; in UpperBound() 98 return nIndex ? (nIndex - 1) : CSV_VEC_NOTFOUND; in UpperBound() 101 sal_Int32 ScCsvSplits::GetPos( sal_uInt32 nIndex ) const in GetPos() 103 return (nIndex < Count()) ? maVec[ nIndex ] : CSV_POS_INVALID; in GetPos()
|
/aoo41x/main/sfx2/source/notify/ |
H A D | eventsupplier.cxx | 214 sal_Int32 nIndex = 0; in Execute() local 215 while ( nIndex < nCount ) in Execute() 228 nIndex += 1; in Execute() 318 long nIndex = 0; in notifyEvent() local 321 while ( !bFound && ( nIndex < nCount ) ) in notifyEvent() 323 if ( maEventNames[nIndex] == aName ) in notifyEvent() 326 nIndex += 1; in notifyEvent() 332 ANY aEventData = maEventData[ nIndex ]; in notifyEvent() 396 long nIndex = 0; in ConvertToMacro() local 401 while ( nIndex < nCount ) in ConvertToMacro() [all …]
|
/aoo41x/main/sd/source/ui/sidebar/ |
H A D | CurrentMasterPagesSelector.cxx | 147 for (sal_uInt16 nIndex=0; nIndex<nPageCount; nIndex++) in Fill() local 149 pMasterPage = mrDocument.GetMasterSdPage (nIndex, PK_STANDARD); in Fill() 166 nIndex, in Fill() 198 sal_uInt16 nIndex; in UpdateSelection() local 200 for (nIndex=0; nIndex<nPageCount && bLoop; nIndex++) in UpdateSelection() 202 pPage = mrDocument.GetSdPage (nIndex, PK_STANDARD); in UpdateSelection() 227 for (nIndex=1; nIndex<=nItemCount && bLoop; nIndex++) in UpdateSelection() 229 String sName (PreviewValueSet::GetItemText (nIndex)); in UpdateSelection() 232 PreviewValueSet::SelectItem (nIndex); in UpdateSelection()
|
/aoo41x/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 …]
|
/aoo41x/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 …]
|
H A D | XMLFootnoteSeparatorImport.cxx | 70 sal_Int32 nIndex) : in XMLFootnoteSeparatorImport() argument 74 nPropIndex(nIndex) in XMLFootnoteSeparatorImport() 157 sal_Int32 nIndex; in StartElement() local 161 XMLPropertyState aLineAdjust( nIndex, aAny); in StartElement() 165 nIndex = rMapper->FindEntryIndex(CTF_PM_FTN_LINE_COLOR); in StartElement() 166 XMLPropertyState aLineColor( nIndex, aAny ); in StartElement() 170 nIndex = rMapper->FindEntryIndex(CTF_PM_FTN_DISTANCE); in StartElement() 171 XMLPropertyState aLineDistance( nIndex, aAny ); in StartElement() 175 nIndex = rMapper->FindEntryIndex(CTF_PM_FTN_LINE_WIDTH); in StartElement() 176 XMLPropertyState aLineRelWidth( nIndex, aAny); in StartElement() [all …]
|
H A D | PageMasterImportContext.cxx | 107 sal_Int32 nIndex = 0; in CreateChildContext() local 108 while ( nIndex < rMapper->GetEntryCount() && !bEnd) in CreateChildContext() 115 nStartIndex = nIndex; in CreateChildContext() 121 nEndIndex = nIndex; in CreateChildContext() 123 nIndex++; in CreateChildContext() 126 nEndIndex = nIndex; in CreateChildContext() 141 sal_Int32 nIndex = 0; in CreateChildContext() local 143 while ( nIndex < rMapper->GetEntryCount() && !bEnd) in CreateChildContext() 148 nEndIndex = nIndex; in CreateChildContext() 151 nIndex++; in CreateChildContext() [all …]
|
/aoo41x/main/sc/source/ui/Accessibility/ |
H A D | AccessiblePageHeader.cxx | 99 mnIndex( nIndex ), in ScAccessiblePageHeader() 276 while (!xRet.is() && (nIndex >= 0) && (aItr != aEndItr)) in getAccessibleChild() 280 if (nIndex == 0) in getAccessibleChild() 283 --nIndex; in getAccessibleChild() 413 if (maAreas[nIndex]) in AddChild() 417 maAreas[nIndex]->release(); in AddChild() 419 maAreas[nIndex]->acquire(); in AddChild() 425 maAreas[nIndex]->acquire(); in AddChild() 431 if (maAreas[nIndex]) in AddChild() 433 maAreas[nIndex]->release(); in AddChild() [all …]
|
/aoo41x/main/drawinglayer/source/geometry/ |
H A D | viewinformation2d.cxx | 200 sal_uInt32 nIndex(0); in impFillViewInformationFromContent() local 217 mxViewInformation[nIndex].Value <<= aAffineMatrix2D; in impFillViewInformationFromContent() 218 nIndex++; in impFillViewInformationFromContent() 226 mxViewInformation[nIndex].Value <<= aAffineMatrix2D; in impFillViewInformationFromContent() 227 nIndex++; in impFillViewInformationFromContent() 234 mxViewInformation[nIndex].Value <<= aViewport; in impFillViewInformationFromContent() 235 nIndex++; in impFillViewInformationFromContent() 241 mxViewInformation[nIndex].Value <<= mfViewTime; in impFillViewInformationFromContent() 242 nIndex++; in impFillViewInformationFromContent() 248 mxViewInformation[nIndex].Value <<= mxVisualizedPage; in impFillViewInformationFromContent() [all …]
|