/trunk/main/sc/source/ui/unoobj/ |
H A D | nameuno.cxx | 120 sal_uInt16 nPos = 0; in GetRangeData_Impl() local 128 pRet = (*pNames)[nPos]; in GetRangeData_Impl() 191 pNewRanges->AtFree( nPos ); in Modify_Impl() 207 pNames->AtFree( nPos ); in Modify_Impl() 568 sal_uInt16 nPos = 0; in GetObjectByIndex_Impl() local 574 if ( nPos == nIndex ) in GetObjectByIndex_Impl() 576 ++nPos; in GetObjectByIndex_Impl() 720 sal_uInt16 nPos = 0; in ImplRemoveByScopeAndName() local 725 pNewRanges->AtFree(nPos); in ImplRemoveByScopeAndName() 915 sal_uInt16 nPos = 0; in hasByName() local [all …]
|
H A D | datauno.cxx | 518 nPos( nP ) in ScSubTotalFieldObj() 535 return aParam.nField[nPos]; in getGroupColumn() 590 aParam.pFunctions[nPos][i] = in setSubTotalColumns() 659 sal_uInt16 nPos = 0; in addNew() local 660 while ( nPos < MAXSUBTOTAL && aParam.bGroupActive[nPos] ) in addNew() 661 ++nPos; in addNew() 670 delete aParam.pSubTotals[nPos]; in addNew() 684 aParam.pFunctions[nPos][i] = in addNew() 1653 sal_uInt16 nPos = 0; in GetDBData_Impl() local 1655 pRet = (*pNames)[nPos]; in GetDBData_Impl() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ |
H A D | OnewayExecutor.java | 200 int nPos = 0; in codeDispatch() local 208 lParams[0].add( (Object)lArgs[0][nPos] ); in codeDispatch() 210 ++nPos ; in codeDispatch() 216 int nPos = 0; in codeDispatch() local 221 while (nPos<nLength) in codeDispatch() 223 lArgs[0][nPos] = (com.sun.star.beans.PropertyValue) in codeDispatch() 224 (lParams[0].elementAt(nPos+1)); in codeDispatch() 225 ++nPos; in codeDispatch()
|
/trunk/main/sfx2/source/appl/ |
H A D | newhelp.cxx | 316 sal_uInt16 nPos = 0; in ~ContentListBox_Impl() local 323 pEntry = GetEntry( nPos++ ); in ~ContentListBox_Impl() 544 sal_uInt16 nOldPos = nPos; in SelectExecutableEntry() 554 if ( nOldPos != nPos ) in SelectExecutableEntry() 678 sal_uInt16 nPos; in InitializeIndex() local 1311 RemoveEntry( nPos ); in DoAction() 1316 SelectEntryPos( nPos ); in DoAction() 1328 RemoveEntry( nPos ); in DoAction() 1332 if ( nPos >= nCount ) in DoAction() 1333 nPos = nCount - 1; in DoAction() [all …]
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 163 if( nPos != USHRT_MAX ) in RemoveView() 166 mpViews->Remove( nPos, 1 ); in RemoveView() 1512 if ( ( ( pAttrib->GetStart() < nPos ) && ( pAttrib->GetEnd() >= nPos ) ) in SeekCursor() 1836 if ( nPos == 0 ) in SplitTextPortion() 1848 if ( nTmpPos >= nPos ) in SplitTextPortion() 2025 sal_uInt16 nPos = 0; in RecalcTextPortion() local 2038 nPos = nPos + pTP->GetLen(); in RecalcTextPortion() 2041 if ( ( nPos == nStartPos ) && ( (nPos+pTP->GetLen()) == nEnd ) ) in RecalcTextPortion() 2342 nPos = nPos + pTP->GetLen(); in CreateLines() 2343 if ( ( nPos > nStart ) && ( nPos < nEnd ) ) in CreateLines() [all …]
|
/trunk/main/sw/source/filter/ww1/ |
H A D | w1sprm.cxx | 374 if( nPos != SVX_TAB_NOTFOUND ) in Start() 375 aAttr.Remove( nPos, 1 ); in Start() 379 short nPos = SVBT16ToShort( pIns + i*2 ) - nLeftPMgn; in Start() local 380 if( nPos < 0 ) in Start() 382 aTabStop.GetTabPos() = nPos; in Start() 399 sal_uInt16 nPos2 = aAttr.GetPos( nPos ); in Start() 492 short nWholeWidth = SVBT16ToShort( p + 2 * nCount ) - nPos; in Start() 496 long nMidTab = nPos + nWholeWidth / 2; // TabellenMitte in Start() 503 if( nPos > MINLAY ){ // per Zuppeln positioniert in Start() 526 rOut.SetCellWidth( nPos1 - nPos, i - nCellsDeleted ); in Start() [all …]
|
/trunk/main/sw/source/ui/envelp/ |
H A D | envfmt.cxx | 182 sal_uInt16 nPos = 0; in SwEnvFmtPage() local 184 while (nPos < aSizeFormatBox.GetEntryCount() && !bFound) in SwEnvFmtPage() 188 nPos++; in SwEnvFmtPage() 192 aSizeFormatBox.InsertEntry(aPaperName, nPos); in SwEnvFmtPage() 193 aIDs.Insert((sal_uInt16) i, nPos); in SwEnvFmtPage() 398 for (sal_uInt16 nPos = pRanges[i]; nPos <= pRanges[i+1]; nPos++) in GetCollItemSet() local 399 aMergedRanges.Insert(nPos); in GetCollItemSet() 407 for (sal_uInt16 nPos = aRanges[i]; nPos <= aRanges[i+1]; nPos++) in GetCollItemSet() local 408 aMergedRanges.Insert(nPos); in GetCollItemSet()
|
/trunk/main/sw/source/ui/misc/ |
H A D | numberingtypelistbox.cxx | 94 sal_uInt16 nPos = LISTBOX_APPEND; in Reload() local 99 nPos = 0; in Reload() 124 sal_uInt16 nEntry = InsertEntry(rNames.GetString(i), nPos); in Reload() 140 sal_uInt16 nPos = InsertEntry(aIdent); in Reload() local 141 SetEntryData(nPos,(void*)(sal_uLong)nCurrent); in Reload() 169 sal_uInt16 nPos = GetEntryPos((void*)(sal_uLong)nType); in SelectNumberingType() local 170 SelectEntryPos( nPos ); in SelectNumberingType() 171 return LISTBOX_ENTRY_NOTFOUND != nPos; in SelectNumberingType()
|
/trunk/main/editeng/inc/editeng/ |
H A D | tstpitem.hxx | 56 SvxTabStop( const long nPos, 61 SvxTabStop::SvxTabStop( const long nPos, 133 sal_uInt16 GetPos( const long nPos ) const; 142 void Remove( const sal_uInt16 nPos, const sal_uInt16 nLen = 1 ) in Remove() argument 143 { SvxTabStopArr::Remove( nPos, nLen ); } in Remove() 153 const SvxTabStop& operator[]( const sal_uInt16 nPos ) const in operator []() 156 nPos < Count(), "op[]" ); in operator []() 157 return *( GetStart() + nPos ); in operator []()
|
/trunk/main/sw/source/core/ole/ |
H A D | ndole.cxx | 99 sal_uInt16 nPos = SvPtrarr::GetPos( pObj ); in RemovePtr() local 100 if( USHRT_MAX != nPos ) in RemovePtr() 101 SvPtrarr::Remove( nPos ); in RemovePtr() 994 sal_uInt16 nPos = nCount; in Load() local 1002 if ( !nPos ) in Load() 1016 if( nPos ) in InsertObj() 1019 if( USHRT_MAX != nPos ) in InsertObj() 1020 SvPtrarr::Remove( nPos ); in InsertObj() 1026 nPos = nCount-1; in InsertObj() 1039 if ( nPos != 0xFFFF ) in RemoveObj() [all …]
|
/trunk/main/svtools/source/dialogs/ |
H A D | property.cxx | 266 aListBox.InsertEntry(rString,nPos); in InsertEntry() 395 aComboBox.InsertEntry(rString,nPos); in InsertEntry() 918 sal_uInt16 nInsPos=nPos; in InsertEntry() 921 if(nPos==LISTBOX_APPEND) in InsertEntry() 928 PLineArray.Insert(pPropLine,nPos); in InsertEntry() 939 if(nPos<PLineArray.Count()) in ChangeEntry() 941 SvPropertyLine* pPropLine=PLineArray[nPos]; in ChangeEntry() 1287 pPage->GetTheListBox()->ChangeEntry(rData,nPos); in ChangeEntry() 1308 pPage->GetTheListBox()->SetFirstVisibleEntry(nPos); in SetFirstVisibleEntry() 1317 void SvPropertyBox::SetSelectedEntry(sal_uInt16 nPos) in SetSelectedEntry() argument [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | csvcontrol.cxx | 206 bool ScCsvControl::IsValidSplitPos( sal_Int32 nPos ) const in IsValidSplitPos() 208 return (0 < nPos) && (nPos < GetPosCount() ); in IsValidSplitPos() 211 bool ScCsvControl::IsVisibleSplitPos( sal_Int32 nPos ) const in IsVisibleSplitPos() 213 return IsValidSplitPos( nPos ) && (GetFirstVisPos() <= nPos) && (nPos <= GetLastVisPos()); in IsVisibleSplitPos() 231 sal_Int32 ScCsvControl::GetX( sal_Int32 nPos ) const in GetX() 233 return GetFirstX() + (nPos - GetFirstVisPos()) * GetCharWidth(); in GetX()
|
H A D | dapidata.cxx | 95 for (long nPos = 0; nPos < nCount; nPos++) in ScDataPilotDatabaseDlg() local 97 String aName = pArray[nPos]; in ScDataPilotDatabaseDlg() 209 for( long nPos=0; nPos<nCount; nPos++ ) in FillObjects() local 211 String aName = pArray[nPos]; in FillObjects()
|
/trunk/main/sc/source/ui/inc/ |
H A D | dpcontrol.hxx | 125 void setSelectedMenuItem(size_t nPos, bool bSubMenuTimer, bool bEnsureSubMenu); 126 void selectMenuItem(size_t nPos, bool bSelected, bool bSubMenuTimer); 128 ScMenuFloatingWindow* getSubMenuWindow(size_t nPos) const; 129 bool isMenuItemSelected(size_t nPos) const; 135 void executeMenuItem(size_t nPos); 136 void getMenuItemPosSize(size_t nPos, Point& rPos, Size& rSize) const; 141 void drawMenuItem(size_t nPos); 145 void queueLaunchSubMenu(size_t nPos, ScMenuFloatingWindow* pMenu); 163 void highlightMenuItem(size_t nPos, bool bSelected);
|
/trunk/main/sc/source/ui/attrdlg/ |
H A D | condfrmt.cxx | 520 sal_uInt16 nPos = aLbCond11.GetSelectEntryPos(); in IMPL_LINK() local 522 if( nPos == 0 ) // Zellwert in IMPL_LINK() 550 sal_uInt16 nPos = aLbCond12.GetSelectEntryPos(); in IMPL_LINK() local 552 if( nPos == 6 || nPos == 7 ) // zwischen, n. zwischen in IMPL_LINK() 601 sal_uInt16 nPos = aLbCond21.GetSelectEntryPos(); in IMPL_LINK() local 603 if( nPos == 0 ) // Zellwert in IMPL_LINK() 631 sal_uInt16 nPos = aLbCond22.GetSelectEntryPos(); in IMPL_LINK() local 633 if( nPos == 6 || nPos == 7 ) // zwischen, n. zwischen in IMPL_LINK() 682 sal_uInt16 nPos = aLbCond31.GetSelectEntryPos(); in IMPL_LINK() local 684 if( nPos == 0 ) // Zellwert in IMPL_LINK() [all …]
|
/trunk/main/linguistic/source/ |
H A D | misc.cxx | 607 while (nPos >= 0 && i++ < nLen) in GetOrigWordPos() 612 --nPos; in GetOrigWordPos() 618 sal_Int32 GetPosInWordToCheck( const OUString &rTxt, sal_Int32 nPos ) in GetPosInWordToCheck() argument 622 if (0 <= nPos && nPos < nLen) in GetPosInWordToCheck() 625 for (sal_Int32 i = 0; i < nPos; ++i) in GetPosInWordToCheck() 667 sal_Int16 nPos = GetOrigWordPos( rOrigWord, nChgPos ); in RebuildHyphensAndControlChars() local 672 --nPos; in RebuildHyphensAndControlChars() 674 aLeft = rOrigWord.copy( 0, nPos ); in RebuildHyphensAndControlChars() 675 aRight = rOrigWord.copy( nPos + nChgLen ); in RebuildHyphensAndControlChars() 726 sal_Int32 nFlags = rCC.getStringType( rText, nPos, nLen ); in IsUpper() [all …]
|
/trunk/main/framework/source/classes/ |
H A D | menumanager.cxx | 339 sal_uInt32 nPos = 0; in MenuManager() 342 aURLSequence[nPos++] = pMenu->GetItemCommand( *p ); in MenuManager() 347 nPos = 0; in MenuManager() 350 pMenu->SetItemText( *p, aLabelSequence( nPos++ )); in MenuManager() 860 sal_Int32 nPos = aFilter.indexOf( '|' ); in CreatePicklistArguments() local 861 if ( nPos >= 0 ) in CreatePicklistArguments() 865 if ( nPos < ( aFilter.getLength() - 1 ) ) in CreatePicklistArguments() 866 aFilterOptions = aFilter.copy( nPos+1 ); in CreatePicklistArguments() 872 aFilter = aFilter.copy( 0, nPos-1 ); in CreatePicklistArguments() 1131 for ( sal_uInt16 nPos = 0; nPos < _pMenu->GetItemCount(); nPos++ ) in FillMenuImages() local [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 1439 if( USHRT_MAX == nPos ) in lcl_CpyLines() 1452 if( USHRT_MAX == nPos ) in lcl_CpyBoxes() 1519 sal_uInt16 nPos; in lcl_Merge_MoveBox() local 1578 sal_uInt16 nPos; in lcl_Merge_MoveLine() local 2527 ++nPos; in lcl_GetDistance() 2530 while( nStt < nPos ) in lcl_GetDistance() 3952 if( bLeft ? nPos : nPos + 1 != pLine->GetTabBoxes().Count() ) in SetColWidth() 4243 ++nPos; in lcl_InsDelSelLine() 4618 sal_uInt16 nPos; in GetFormat() local 4626 sal_uInt16 nPos; in GetFormat() local [all …]
|
/trunk/main/sw/inc/ |
H A D | redline.hxx | 214 const SwRedlineData& GetRedlineData(sal_uInt16 nPos = 0) const; 222 sal_uInt16 GetAuthor( sal_uInt16 nPos = 0) const; 223 const String& GetAuthorString( sal_uInt16 nPos = 0 ) const; 224 const DateTime& GetTimeStamp( sal_uInt16 nPos = 0) const; 225 RedlineType_t GetRealType( sal_uInt16 nPos = 0 ) const; 226 RedlineType_t GetType( sal_uInt16 nPos = 0) const in GetType() argument 227 { return ( (RedlineType_t)(GetRealType( nPos ) & nsRedlineType_t::REDLINE_NO_FLAG_MASK)); } in GetType() 228 const String& GetComment( sal_uInt16 nPos = 0 ) const; 278 String GetDescr(sal_uInt16 nPos = 0);
|
/trunk/main/svtools/source/contnr/ |
H A D | templwin.cxx | 460 sal_uLong nPos; in GetSelectedIconURL() local 470 sal_uLong nPos; in GetSelectedIconText() local 496 return nPos; in GetCursorPos() 501 sal_uLong nPos; in GetSelectEntryPos() local 504 return nPos; in GetSelectEntryPos() 547 nPos = 0; in GetRootPos() 549 nPos = 1; in GetRootPos() 551 nPos = 2; in GetRootPos() 553 nPos = 3; in GetRootPos() 555 nPos = 2; in GetRootPos() [all …]
|
/trunk/main/svl/source/misc/ |
H A D | strmadpt.cxx | 162 if (nPos != m_nPosition) in WriteAt() 587 if (nPos == STREAM_SEEK_TO_END) in SeekPos() 610 else if (nPos == m_nSeekedFrom) in SeekPos() 613 return nPos; in SeekPos() 618 m_xSeekable->seek(nPos); in SeekPos() 620 return nPos; in SeekPos() 626 return nPos; in SeekPos() 674 void SvInputStream::AddMark(sal_uLong nPos) in AddMark() argument 677 m_pPipe->addMark(nPos); in AddMark() 682 void SvInputStream::RemoveMark(sal_uLong nPos) in RemoveMark() argument [all …]
|
/trunk/main/sw/source/ui/app/ |
H A D | appenv.cxx | 109 sal_uInt16 nPos = aLine.Search( '<' ); in InsertLabEnvText() local 110 if ( nPos ) in InsertLabEnvText() 112 sTmpText = aLine.Copy( 0, nPos ); in InsertLabEnvText() 113 aLine.Erase( 0, nPos ); in InsertLabEnvText() 118 nPos = aLine.Search( '>' ); in InsertLabEnvText() 119 if ( nPos == STRING_NOTFOUND ) in InsertLabEnvText() 127 sTmpText = aLine.Copy( 0, nPos + 1); in InsertLabEnvText() 128 aLine.Erase( 0, nPos + 1); in InsertLabEnvText() 431 sal_uInt16 nPos; in InsertEnv() local 434 &nPos ); in InsertEnv() [all …]
|
/trunk/main/sfx2/source/control/ |
H A D | objface.cxx | 68 sal_uInt16 nPos; member 76 nPos(n), in SfxObjectUI_Impl() 409 void SfxInterface::RegisterObjectBar( sal_uInt16 nPos, const ResId& rResId, in RegisterObjectBar() argument 412 RegisterObjectBar( nPos, rResId, 0UL, pStr ); in RegisterObjectBar() 416 void SfxInterface::RegisterObjectBar( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature, co… in RegisterObjectBar() argument 418 SfxObjectUI_Impl* pUI = CreateObjectBarUI_Impl( nPos, rResId, nFeature, pStr ); in RegisterObjectBar() 423 SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature… in CreateObjectBarUI_Impl() argument 425 if ((nPos & SFX_VISIBILITY_MASK) == 0) in CreateObjectBarUI_Impl() 426 nPos |= SFX_VISIBILITY_STANDARD; in CreateObjectBarUI_Impl() 428 SfxObjectUI_Impl* pUI = new SfxObjectUI_Impl(nPos, rResId, sal_True, nFeature); in CreateObjectBarUI_Impl() [all …]
|
/trunk/main/starmath/source/ |
H A D | dialog.cxx | 291 if (COMBOBOX_ENTRY_NOTFOUND != nPos) in IMPL_LINK_INLINE_END() 1596 if (nPos != LISTBOX_ENTRY_NOTFOUND) in SelectSymbolSet() 1598 aSymbolSets.SelectEntryPos(nPos); in SelectSymbolSet() 1650 sal_Int32 nPos = 0; in Paint() local 2225 if (nPos != COMBOBOX_ENTRY_NOTFOUND) in SelectSymbolSet() 2307 if (nPos != COMBOBOX_ENTRY_NOTFOUND) in SelectSymbol() 2347 if (nPos != COMBOBOX_ENTRY_NOTFOUND) in SelectSymbol() 2404 if (nPos != LISTBOX_ENTRY_NOTFOUND) in SelectFont() 2406 aFonts.SelectEntryPos(nPos); in SelectFont() 2435 nPos = 0; in SelectStyle() [all …]
|
/trunk/main/cppu/source/typelib/ |
H A D | typelib.cxx | 932 sal_Int32 nPos; in typelib_typedescription_newUnion() local 939 for ( nPos = nMembers; nPos--; ) in typelib_typedescription_newUnion() 941 pTmp->pDiscriminants[nPos] = pMembers[nPos].nDiscriminant; in typelib_typedescription_newUnion() 949 for ( nPos = nMembers; nPos--; ) in typelib_typedescription_newUnion() 955 for ( nPos = nMembers; nPos--; ) in typelib_typedescription_newUnion() 985 for ( sal_Int32 nPos = nEnumValues; nPos--; ) in typelib_typedescription_newEnum() local 987 rtl_uString_acquire( pEnum->ppEnumNames[nPos] = ppEnumNames[nPos] ); in typelib_typedescription_newEnum() 1457 sal_Int32 nPos; in typelib_typedescription_destructExtendedMembers() local 1459 for ( nPos = pUnionTD->nMembers; nPos--; ) in typelib_typedescription_destructExtendedMembers() 1465 for ( nPos = pUnionTD->nMembers; nPos--; ) in typelib_typedescription_destructExtendedMembers() [all …]
|