/trunk/main/comphelper/inc/comphelper/ |
H A D | accessibletexthelper.hxx | 60 virtual sal_Bool implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength ); 65 …l void implGetGlyphBoundary( ::com::sun::star::i18n::Boundary& rBoundary, sal_Int32 nIndex ); 66 …sal_Bool implGetWordBoundary( ::com::sun::star::i18n::Boundary& rBoundary, sal_Int32 nIndex ); 67 …oid implGetSentenceBoundary( ::com::sun::star::i18n::Boundary& rBoundary, sal_Int32 nIndex ); 68 …id implGetParagraphBoundary( ::com::sun::star::i18n::Boundary& rBoundary, sal_Int32 nIndex ); 69 …al void implGetLineBoundary( ::com::sun::star::i18n::Boundary& rBoundary, sal_Int32 nIndex ); 73 …sal_Unicode SAL_CALL getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBou… 80 …::com::sun::star::accessibility::TextSegment SAL_CALL getTextAtIndex( sal_Int32 nIndex, sal_Int16 … 81 …::com::sun::star::accessibility::TextSegment SAL_CALL getTextBeforeIndex( sal_Int32 nIndex, sal_In… 82 …::com::sun::star::accessibility::TextSegment SAL_CALL getTextBehindIndex( sal_Int32 nIndex, sal_In… [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | docuno.cxx | 2223 for ( sal_uLong nIndex = 0; nIndex < nRangeCount; ++nIndex ) in NotifyChanges() local 2275 for ( sal_uLong nIndex = 0; nIndex < nRangeCount; ++nIndex ) in NotifyChanges() local 2507 SCTAB nIndex; in GetObjectByName_Impl() local 2690 SCTAB nIndex; in removeByName() local 2746 for( sal_Int32 nIndex = 0; nIndex < nCount; nIndex++ ) in getCellRangesByName() local 2847 SCTAB nIndex; in hasByName() local 3503 if (nFound == nIndex) in GetAddressByIndex_Impl() 3671 if ( pDocShell && nIndex >= 0 && nIndex < nCount ) in GetObjectByIndex_Impl() 3679 SCTAB nIndex; in GetObjectByName_Impl() local 3725 SCTAB nIndex; in removeByName() local [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | textdoc.cxx | 250 void TextNode::ExpandAttribs( sal_uInt16 nIndex, sal_uInt16 nNew ) in ExpandAttribs() argument 260 if ( pAttrib->GetEnd() >= nIndex ) in ExpandAttribs() 263 if ( pAttrib->GetStart() > nIndex ) in ExpandAttribs() 291 else if ( ( pAttrib->GetStart() < nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in ExpandAttribs() 296 else if ( pAttrib->GetStart() == nIndex ) in ExpandAttribs() 298 if ( nIndex == 0 ) in ExpandAttribs() 327 sal_uInt16 nEndChanges = nIndex+nDeleted; in CollapsAttribs() 333 if ( pAttrib->GetEnd() >= nIndex ) in CollapsAttribs() 346 pAttrib->GetEnd() = nIndex; // leer in CollapsAttribs() 351 else if ( ( pAttrib->GetStart() <= nIndex ) && ( pAttrib->GetEnd() > nIndex ) ) in CollapsAttribs() [all …]
|
/trunk/main/editeng/source/uno/ |
H A D | unoedhlp.cxx | 177 nCurrIndex <= nIndex) in GetAttributeRun() 183 nCurrIndex < nIndex ) in GetAttributeRun() 197 if( nCurrIndex > nIndex && in GetAttributeRun() 203 if ( nCurrIndex > nIndex && in GetAttributeRun() 219 if ( aStartPos.nIndex == 0 ) in GetAttributeRun() 234 if ( aStartPos.nIndex != 0 ) in GetAttributeRun() 257 aEndPos.nIndex = nEndIdx; in GetAttributeRun() 274 nStartIndex += aStartPos.nIndex; in GetAttributeRun() 283 nEndIndex += aEndPos.nIndex; in GetAttributeRun() 301 if( nCurrIndex > nIndex ) in GetAttributeRun() [all …]
|
H A D | unoforou.cxx | 281 LanguageType SvxOutlinerForwarder::GetLanguage( sal_uInt32 nPara, sal_uInt16 nIndex ) const in GetLanguage() 283 return rOutliner.GetLanguage(nPara, nIndex); in GetLanguage() 301 Rectangle SvxOutlinerForwarder::GetCharBounds( sal_uInt32 nPara, sal_uInt16 nIndex ) const in GetCharBounds() 311 if( nIndex >= GetTextLen(nPara) ) in GetCharBounds() 315 if( nIndex ) in GetCharBounds() 318 aLast = rOutliner.GetEditEngine().GetCharacterBounds( EPosition(nPara, nIndex-1) ); in GetCharBounds() 382 …utlinerForwarder::GetIndexAtPoint( const Point& rPos, sal_uInt32& nPara, sal_uInt16& nIndex ) const in GetIndexAtPoint() 394 nIndex = aDocPos.nIndex; in GetIndexAtPoint() 401 …ESelection aRes = rOutliner.GetEditEngine().GetWord( ESelection(nPara, nIndex, nPara, nIndex), com… in GetWordIndices() 434 sal_uInt16 SvxOutlinerForwarder::GetLineNumberAtIndex( sal_uInt32 nPara, sal_uInt16 nIndex ) const in GetLineNumberAtIndex() [all …]
|
/trunk/main/chart2/source/view/charttypes/ |
H A D | BubbleChart.cxx | 86 for( sal_Int32 nIndex = nStartIndex; nIndex < nEndIndex; nIndex++ ) in calculateMaximumLogicBubbleSize() local 105 double fSize = pSeries->getBubble_Size( nIndex ); in calculateMaximumLogicBubbleSize() 243 for( sal_Int32 nIndex = nStartIndex; nIndex < nEndIndex; nIndex++ ) in createShapes() local 281 double fLogicX = pSeries->getXValue(nIndex); in createShapes() 282 double fLogicY = pSeries->getYValue(nIndex); in createShapes() 283 double fBubbleSize = pSeries->getBubble_Size( nIndex ); in createShapes() 307 if( !pSeries->isAttributedDataPoint(nIndex) in createShapes() 324 pSeries->getPointCID_Stub(), nIndex ); in createShapes() 342 , pSeries->getPropertiesOfPoint( nIndex ) in createShapes() 349 if( (**aSeriesIter).getDataPointLabelIfLabel(nIndex) ) in createShapes() [all …]
|
H A D | CandleStickChart.cxx | 180 for( sal_Int32 nIndex = nStartIndex; nIndex < nEndIndex; nIndex++ ) in createShapes() local 218 double fUnscaledX = (*aSeriesIter)->getXValue( nIndex ); in createShapes() 225 double fUnscaledY_First = (*aSeriesIter)->getY_First( nIndex ); in createShapes() 226 double fUnscaledY_Last = (*aSeriesIter)->getY_Last( nIndex ); in createShapes() 227 double fUnscaledY_Min = (*aSeriesIter)->getY_Min( nIndex ); in createShapes() 228 double fUnscaledY_Max = (*aSeriesIter)->getY_Max( nIndex ); in createShapes() 348 if( (**aSeriesIter).getDataPointLabelIfLabel(nIndex) ) in createShapes() 351 this->createDataLabel( xTextTarget, **aSeriesIter, nIndex in createShapes() 354 this->createDataLabel( xTextTarget, **aSeriesIter, nIndex in createShapes() 357 this->createDataLabel( xTextTarget, **aSeriesIter, nIndex in createShapes() [all …]
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 474 xub_StrLen nIdx = (xub_StrLen) nIndex; in setCaretPosition() 486 xub_StrLen nIdx = (xub_StrLen) nIndex; in getCharacter() 494 sal_Int32 nIndex, in getCharacterAttributes() argument 500 if (!(0 <= nIndex && nIndex < nLen)) in getCharacterAttributes() 522 if (!(0 <= nIndex && nIndex <= aTxt.Len())) // #108812# aTxt.Len() is valid in getCharacterBounds() 527 if (bWasBehindText && nIndex) in getCharacterBounds() 528 --nIndex; in getCharacterBounds() 720 xub_StrLen nIdx = (xub_StrLen) nIndex; in getTextAtIndex() 741 xub_StrLen nIdx = (xub_StrLen) nIndex; in getTextBeforeIndex() 1347 if( nIndex ) in GetCharBounds() [all …]
|
/trunk/main/sal/qa/rtl/oustring/ |
H A D | rtl_OUString2.cxx | 757 sal_Int32 nIndex = 0; in TEST_F() local 762 while ( nIndex >= 0 ); in TEST_F() 763 printf("Index %d\n", nIndex); in TEST_F() 771 sal_Int32 nIndex = 0; in TEST_F() local 778 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F() 785 sal_Int32 nIndex = 0; in TEST_F() local 795 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F() 802 sal_Int32 nIndex = 0; in TEST_F() local 812 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F() 819 sal_Int32 nIndex = 0; in TEST_F() local [all …]
|
/trunk/main/framework/source/fwi/classes/ |
H A D | converter.cxx | 194 sal_Int32 nIndex = 0; in convert_String2DateTime() local 196 sal_uInt16 nDay = (sal_uInt16)(sSource.getToken( 0, (sal_Unicode)'.', nIndex ).toInt32()); in convert_String2DateTime() 197 if( nIndex>0 ) in convert_String2DateTime() 199 sal_uInt16 nMonth = (sal_uInt16)(sSource.getToken( 0, (sal_Unicode)'.', nIndex ).toInt32()); in convert_String2DateTime() 200 if( nIndex>0 ) in convert_String2DateTime() 203 if( nIndex>0 ) in convert_String2DateTime() 205 sal_uInt32 nHour = sSource.getToken( 0, (sal_Unicode)':', nIndex ).toInt32(); in convert_String2DateTime() 206 if( nIndex>0 ) in convert_String2DateTime() 208 sal_uInt32 nMin = sSource.getToken( 0, (sal_Unicode)':', nIndex ).toInt32(); in convert_String2DateTime() 209 if( nIndex>0 && nIndex<sSource.getLength() ) in convert_String2DateTime() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | xmlaustp.cxx | 165 sal_Int32 nIndex = pProp->mnIndex; in exportStyleAttributes() local 178 …port().AddAttribute( aPropMapper->GetEntryNameSpace( nIndex ), aPropMapper->GetEntryXMLName( nInde… in exportStyleAttributes() 212 sal_Int32 nIndex(0); in exportStyleContent() local 213 while(nIndex < aPropMapper->GetEntryCount()) in exportStyleContent() 221 nHeaderStartIndex = nIndex; in exportStyleContent() 226 nFooterEndIndex = nIndex; in exportStyleContent() 235 nFooterStartIndex = nIndex; in exportStyleContent() 240 nHeaderEndIndex = nIndex; in exportStyleContent() 246 nIndex++; in exportStyleContent() 249 nHeaderEndIndex = nIndex; in exportStyleContent() [all …]
|
/trunk/main/svx/source/items/ |
H A D | customshapeitem.cxx | 135 sal_uInt32 nIndex = aPropSeq.getLength(); in SetPropertyValue() local 136 aPropSeq.realloc( nIndex + 1 ); in SetPropertyValue() 137 aPropSeq[ nIndex ] = rPropVal ; in SetPropertyValue() 139 aPropHashMap[ rPropVal.Name ] = nIndex; in SetPropertyValue() 158 sal_uInt32 nIndex = aPropSeq.getLength(); in SetPropertyValue() local 159 aPropSeq.realloc( nIndex + 1 ); in SetPropertyValue() 160 aPropSeq[ nIndex ] = aValue; in SetPropertyValue() 161 aPropHashMap[ rSequenceName ] = nIndex; in SetPropertyValue() 163 pSeqAny = &aPropSeq[ nIndex ].Value; in SetPropertyValue() 226 (*aHashIter2).second = nIndex; in ClearPropertyValue() [all …]
|
/trunk/main/basegfx/inc/basegfx/raster/ |
H A D | bpixelraster.hxx | 77 sal_uInt32 getXFromIndex(sal_uInt32 nIndex) const { return (nIndex % mnWidth); } in getXFromIndex() 78 sal_uInt32 getYFromIndex(sal_uInt32 nIndex) const { return (nIndex / mnWidth); } in getYFromIndex() 86 const BPixel& getBPixel(sal_uInt32 nIndex) const in getBPixel() 89 if(nIndex >= mnCount) in getBPixel() 95 return mpContent[nIndex]; in getBPixel() 99 BPixel& getBPixel(sal_uInt32 nIndex) in getBPixel() argument 102 if(nIndex >= mnCount) in getBPixel() 108 return mpContent[nIndex]; in getBPixel()
|
/trunk/main/sc/source/core/tool/ |
H A D | autoform.cxx | 493 for( sal_uInt16 nIndex = 0; nIndex < 16; ++nIndex ) in ScAutoFormatData() local 494 ppDataField[ nIndex ] = new ScAutoFormatDataField; in ScAutoFormatData() 509 for( sal_uInt16 nIndex = 0; nIndex < 16; ++nIndex ) in ScAutoFormatData() local 510 ppDataField[ nIndex ] = new ScAutoFormatDataField( rData.GetField( nIndex ) ); in ScAutoFormatData() 515 for( sal_uInt16 nIndex = 0; nIndex < 16; ++nIndex ) in ~ScAutoFormatData() local 516 delete ppDataField[ nIndex ]; in ~ScAutoFormatData() 524 return *ppDataField[ nIndex ]; in GetField() 531 return *ppDataField[ nIndex ]; in GetField() 574 ScAutoFormatDataField& rField = GetField( nIndex ); in PutItem() 618 return GetField( nIndex ).GetNumFormat(); in GetNumFormat() [all …]
|
/trunk/main/vbahelper/source/msforms/ |
H A D | vbacontrols.cxx | 63 if ( nIndex == -1 ) in SetArrayElementTo() 64 nIndex = msNames.getLength(); in SetArrayElementTo() 66 if ( nIndex >= msNames.getLength() ) in SetArrayElementTo() 67 msNames.realloc( nIndex ); in SetArrayElementTo() 69 msNames[ nIndex ] = getControlName( xCtrl ); in SetArrayElementTo() 71 mIndices[ msNames[ nIndex ] ] = nIndex; in SetArrayElementTo() 160 sal_Int32 nIndex; member in ControlsEnumWrapper 178 nIndex( 0 ) {} in ControlsEnumWrapper() 187 if ( nIndex < m_xIndexAccess->getCount() ) in nextElement() 440 sal_Int32 nIndex = -1; in Remove() local [all …]
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessiblelistitem.cxx | 442 if ( !implIsValidRange( nIndex, nIndex, implGetText().getLength() ) ) in setCaretPosition() 453 return OCommonAccessibleText::getCharacter( nIndex ); in getCharacter() 462 if ( !implIsValidIndex( nIndex, sText.getLength() ) ) in getCharacterAttributes() 474 if ( !implIsValidIndex( nIndex, sText.getLength() ) ) in getCharacterBounds() 480 Rectangle aCharRect = m_pListBoxHelper->GetEntryCharacterBounds( m_nIndexInParent, nIndex ); in getCharacterBounds() 502 sal_Int32 nIndex = -1; in getIndexAtPoint() local 511 nIndex = nI; in getIndexAtPoint() 513 return nIndex; in getIndexAtPoint() 572 return OCommonAccessibleText::getTextAtIndex( nIndex, aTextType ); in getTextAtIndex() 580 return OCommonAccessibleText::getTextBeforeIndex( nIndex, aTextType ); in getTextBeforeIndex() [all …]
|
/trunk/main/xmlscript/source/xml_helper/ |
H A D | xml_impctx.cxx | 383 sal_Int32 nIndex ) 386 sal_Int32 nIndex ) 389 sal_Int32 nIndex ) 392 sal_Int32 nIndex ) 398 sal_Int32 nIndex ) 796 if (nIndex < m_nAttributes) in getLocalNameByIndex() 806 if (nIndex < m_nAttributes) in getQNameByIndex() 816 static_cast<void>(nIndex); in getTypeByIndex() 825 if (nIndex < m_nAttributes) in getValueByIndex() 850 if (nIndex < m_nAttributes) in getUidByIndex() [all …]
|
/trunk/main/sfx2/source/bastyp/ |
H A D | mieclip.cxx | 49 sal_uInt16 nIndex = 0; in IsValid() local 55 sLine.GetToken( 0, ':', nIndex ) == "Version" ) in IsValid() 57 sVersion = sLine.Copy( nIndex ); in IsValid() 60 nIndex = 0; in IsValid() 61 ByteString sTmp( sLine.GetToken( 0, ':', nIndex ) ); in IsValid() 63 nStt = sLine.Erase( 0, nIndex ).ToInt32(); in IsValid() 65 nEnd = sLine.Erase( 0, nIndex ).ToInt32(); in IsValid() 68 nStartFragment = sLine.Erase( 0, nIndex ).ToInt32(); in IsValid() 74 nEndFragment = sLine.Erase( 0, nIndex ).ToInt32(); in IsValid() 79 sBaseURL = String( sLine.Erase( 0, nIndex ), RTL_TEXTENCODING_UTF8); in IsValid()
|
/trunk/main/sal/osl/os2/ |
H A D | file_url.cxx | 672 sal_Int32 nIndex; in osl_getFileURLFromSystemPath() 730 if( -1 != nIndex ) in osl_getFileURLFromSystemPath() 885 sal_Int32 nIndex = 0; in osl_getSystemPathFromFileURL() 914 nOffset += nIndex; in osl_getSystemPathFromFileURL() 921 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL() 935 } while( -1 != nIndex ); in osl_getSystemPathFromFileURL() 939 nIndex = 0; in osl_getSystemPathFromFileURL() 956 nIndex = 7; in osl_getSystemPathFromFileURL() 963 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL() 975 nIndex += 9; in osl_getSystemPathFromFileURL() [all …]
|
/trunk/main/filter/source/graphicfilter/idxf/ |
H A D | dxfreprd.hxx | 61 sal_uInt8 GetRed(sal_uInt8 nIndex) const; 62 sal_uInt8 GetGreen(sal_uInt8 nIndex) const; 63 sal_uInt8 GetBlue(sal_uInt8 nIndex) const; 69 void SetColor(sal_uInt8 nIndex, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue); 124 inline sal_uInt8 DXFPalette::GetRed(sal_uInt8 nIndex) const { return pRed[nIndex]; } in GetRed() 125 inline sal_uInt8 DXFPalette::GetGreen(sal_uInt8 nIndex) const { return pGreen[nIndex]; } in GetGreen() 126 inline sal_uInt8 DXFPalette::GetBlue(sal_uInt8 nIndex) const { return pBlue[nIndex]; } in GetBlue()
|
/trunk/main/sfx2/source/sidebar/ |
H A D | FocusManager.cxx | 37 FocusManager::FocusLocation::FocusLocation (const PanelComponent eComponent, const sal_Int32 nIndex) in FocusLocation() argument 39 mnIndex(nIndex) in FocusLocation() 208 for (sal_Int32 nIndex=0,nCount(maPanels.size()); nIndex<nCount; ++nIndex) in GetFocusLocation() local 210 if (maPanels[nIndex] == &rWindow) in GetFocusLocation() 211 return FocusLocation(PC_PanelContent, nIndex); in GetFocusLocation() 212 TitleBar* pTitleBar = maPanels[nIndex]->GetTitleBar(); in GetFocusLocation() 214 return FocusLocation(PC_PanelTitle, nIndex); in GetFocusLocation() 216 return FocusLocation(PC_PanelToolBox, nIndex); in GetFocusLocation() 220 for (sal_Int32 nIndex=0,nCount(maButtons.size()); nIndex<nCount; ++nIndex) in GetFocusLocation() local 221 if (maButtons[nIndex] == &rWindow) in GetFocusLocation() [all …]
|
/trunk/main/sw/source/filter/ww1/ |
H A D | w1class.cxx | 773 for (;nIndex <= iMac && Where(nIndex) < ulSeek;nIndex++) in Seek() 777 sal_uLong Ww1Plc::Where(sal_uInt16 nIndex) in Where() argument 781 if (iMac && nIndex <= iMac) in Where() 786 sal_uInt8* Ww1Plc::GetData(sal_uInt16 nIndex) in GetData() argument 790 if (nIndex < iMac) in GetData() 966 sal_uLong Ww1Fkp::Where(sal_uInt16 nIndex) in Where() argument 970 if (nIndex<=Count()) in Where() 975 sal_uInt8* Ww1Fkp::GetData(sal_uInt16 nIndex) in GetData() argument 979 if (nIndex<=Count()) in GetData() 981 nIndex * nItemSize; // beginn der strukturen in GetData() [all …]
|
/trunk/main/filter/source/msfilter/ |
H A D | mscodec.cxx | 86 for( sal_Size nIndex = 0; nIndex < nLen; ++nIndex, --pnChar ) in lclGetKey() local 111 for( sal_Size nIndex = 0; nIndex < nLen; ++nIndex, ++pnChar ) in lclGetHash() local 114 sal_uInt8 nRot = static_cast< sal_uInt8 >( (nIndex + 1) % 15 ); in lclGetHash() 156 sal_Size nIndex; in InitKey() local 159 for( nIndex = nLen; nIndex < sizeof( mpnKey ); ++nIndex, ++pnFillChar ) in InitKey() 160 mpnKey[ nIndex ] = *pnFillChar; in InitKey() 165 for( nIndex = 0; nIndex < sizeof( mpnKey ); ++nIndex, ++pnKeyChar ) in InitKey() 167 *pnKeyChar ^= pnOrigKey[ nIndex & 0x01 ]; in InitKey()
|
/trunk/main/writerfilter/unocomponent/debugservices/ooxml/ |
H A D | OOXMLAnalyzeService.cxx | 77 sal_Int32 nIndex = mString.indexOf(mCRLF); in getEOLIndex() local 79 if (nIndex == -1) in getEOLIndex() 84 return nIndex; in getEOLIndex() 107 sal_Int32 nIndex = getEOLIndex(); in getURL() local 109 while (nIndex == -1) in getURL() 127 nIndex = getEOLIndex(); in getURL() 133 if (nIndex > 0) in getURL() 135 aResult = mString.copy(0, nIndex); in getURL() 137 if (mString.match(mCRLF, nIndex)) in getURL() 138 mString = mString.copy(nIndex + 2); in getURL() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbahyperlinks.cxx | 47 for( sal_uLong nIndex = 0, nCount = rScInner.Count(); nIndex < nCount; ++nIndex ) in lclContains() local 48 if( !rScOuter.In( *rScInner.GetObject( nIndex ) ) ) in lclContains() 127 …virtual uno::Any SAL_CALL getByIndex( sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, l… 148 for( sal_Int32 nIndex = 0, nCount = rxSheetContainer->getCount(); nIndex < nCount; ++nIndex ) in ScVbaHlinkContainer() local 150 …uno::Reference< excel::XHyperlink > xHlink( rxSheetContainer->getByIndex( nIndex ), uno::UNO_QUERY… in ScVbaHlinkContainer() 175 uno::Any SAL_CALL ScVbaHlinkContainer::getByIndex( sal_Int32 nIndex ) in getByIndex() argument 178 if( (0 <= nIndex) && (nIndex < getCount()) ) in getByIndex() 179 return uno::Any( maHlinks[ static_cast< size_t >( nIndex ) ] ); in getByIndex()
|