/aoo41x/main/sw/source/ui/chrdlg/ |
H A D | break.cxx | 73 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in Apply() local 74 if(0 != nPos && LISTBOX_ENTRY_NOTFOUND != nPos) in Apply() 124 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in IMPL_LINK_INLINE_END() local 127 if ( 0 != nPos && LISTBOX_ENTRY_NOTFOUND != nPos ) in IMPL_LINK_INLINE_END() 241 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in CheckEnable() local 242 if ( 0 == nPos || LISTBOX_ENTRY_NOTFOUND == nPos ) in CheckEnable()
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | unchss.cxx | 74 sal_uInt16 nPos = aName.Search(aSep); in StyleSheetUndoAction() local 75 if( nPos != STRING_NOTFOUND ) in StyleSheetUndoAction() 76 aName.Erase(0, nPos + aSep.Len()); in StyleSheetUndoAction() 101 nPos = aName.Search(aOutlineStr); in StyleSheetUndoAction() 102 if (nPos != STRING_NOTFOUND) in StyleSheetUndoAction() 111 nPos = aComment.Search(sal_Unicode('$')); in StyleSheetUndoAction() 112 aComment.Erase(nPos, 1); in StyleSheetUndoAction() 113 aComment.Insert(aName, nPos); in StyleSheetUndoAction()
|
/aoo41x/main/toolkit/workben/layout/ |
H A D | editor.cxx | 1372 virtual void upPressed( USHORT nPos ) in upPressed() argument 1375 mpListBox->RemoveEntry( nPos ); in upPressed() 1376 nPos = mpListBox->InsertEntry( str, nPos-1 ); in upPressed() 1377 mpListBox->SelectEntryPos( nPos ); in upPressed() 1383 mpListBox->RemoveEntry( nPos ); in downPressed() 1384 nPos = mpListBox->InsertEntry( str, nPos+1 ); in downPressed() 1385 mpListBox->SelectEntryPos( nPos ); in downPressed() 1390 mpListBox->RemoveEntry( nPos ); in removePressed() 1513 Widget *getWidget( int nPos ) in getWidget() argument 1633 virtual void upPressed( USHORT nPos ) in upPressed() argument [all …]
|
/aoo41x/main/sc/source/core/data/ |
H A D | dptablecache.cxx | 649 long nPos = -1; in ValidQuery() local 812 if (nPos == -1) in ValidQuery() 814 nPos++; in ValidQuery() 815 pPasst[nPos] = bOk; in ValidQuery() 822 pPasst[nPos] = pPasst[nPos] && bOk; in ValidQuery() 823 pTest[nPos] = pTest[nPos] && bTestEqual; in ValidQuery() 827 nPos++; in ValidQuery() 828 pPasst[nPos] = bOk; in ValidQuery() 1011 size_t nPos = 0; in GetNumberFormat() local 1013 ++nPos; in GetNumberFormat() [all …]
|
/aoo41x/main/filter/source/msfilter/ |
H A D | msvbasic.cxx | 543 unsigned int nPos = 0; in DecompressVBA() local 564 int nPos2 = nPos % nWINDOWLEN; in DecompressVBA() 599 c = aHistory[(nPos-nDistance-1) % nWINDOWLEN]; in DecompressVBA() 600 aHistory[nPos % nWINDOWLEN] = c; in DecompressVBA() 601 nPos++; in DecompressVBA() 612 if ((nPos != 0) && ((nPos % nWINDOWLEN) == 0) && (nClean)) in DecompressVBA() 622 if (xVBAStream->Read(&aHistory[nPos % nWINDOWLEN],1)) in DecompressVBA() 623 nPos++; in DecompressVBA() 630 if (nPos % nWINDOWLEN) in DecompressVBA() 631 Output(nPos % nWINDOWLEN,aHistory); in DecompressVBA() [all …]
|
/aoo41x/main/editeng/source/editeng/ |
H A D | textconv.cxx | 491 xub_StrLen nPos = 0; in ChangeText() local 510 if (nPos < nConvTextLen) in ChangeText() 511 nIndex = (sal_Int32) nPos < nIndices ? (xub_StrLen) pIndices[nPos] : nPos; in ChangeText() 514 nPos = nConvTextLen; in ChangeText() 518 if (rOrigText.getStr()[nIndex] == rNewText.GetChar(nPos) || in ChangeText() 519 nPos == nConvTextLen /* end of string also terminates non-matching char sequence */) in ChangeText() 525 nConvChgLen = nPos - nConvChgPos; in ChangeText() 558 nConvChgPos = nPos; in ChangeText() 561 if (nPos >= nConvTextLen) in ChangeText() 563 ++nPos; in ChangeText()
|
/aoo41x/main/sw/source/core/text/ |
H A D | frminf.cxx | 194 const xub_StrLen nPos, const xub_StrLen nLen ) in AddPam() argument 203 if( nPos == pPam->GetPoint()->nContent.GetIndex() ) in AddPam() 212 rContent.Assign( (SwTxtNode*)pTxtFrm->GetTxtNode(), nPos ); in AddPam() 230 xub_StrLen nPos = aLine.GetTxtStart(); in GetSpaces() local 233 if( !bFirstLine && nPos > aLine.GetStart() ) in GetSpaces() 235 nPos - aLine.GetStart() ); in GetSpaces() 241 nPos = aLine.GetTxtEnd(); in GetSpaces() 243 if( nPos < aLine.GetEnd() ) in GetSpaces() 248 pPam = AddPam( pPam, pFrm, nPos, aLine.GetEnd() - nPos - nOff ); in GetSpaces()
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | headbar.hxx | 275 SVT_DLLPRIVATE long ImplGetItemPos( sal_uInt16 nPos ) const; 276 SVT_DLLPRIVATE Rectangle ImplGetItemRect( sal_uInt16 nPos ) const; 278 …SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, long& nMouseOff, sal_uInt16& nPos ) c… 281 sal_uInt16 nPos, sal_Bool bHigh, sal_Bool bDrag, 285 SVT_DLLPRIVATE void ImplDrawItem( sal_uInt16 nPos, sal_Bool bHigh = sal_False, 288 SVT_DLLPRIVATE void ImplUpdate( sal_uInt16 nPos, 320 sal_uInt16 nPos = HEADERBAR_APPEND ); 323 sal_uInt16 nPos = HEADERBAR_APPEND ); 327 sal_uInt16 nPos = HEADERBAR_APPEND ); 339 sal_uInt16 GetItemId( sal_uInt16 nPos ) const;
|
/aoo41x/main/vcl/unx/generic/printer/ |
H A D | printerinfomanager.cxx | 1261 while( nPos != -1 ) in lpgetSysQueueTokenHandler() 1280 sal_Int32 nPos = 0; in lpgetSysQueueTokenHandler() local 1282 nPos = it->indexOf( ':', 0 ); in lpgetSysQueueTokenHandler() 1283 if( nPos != -1 ) in lpgetSysQueueTokenHandler() 1307 if( nPos != -1 ) in lpgetSysQueueTokenHandler() 1316 if( nPos != -1 ) in lpgetSysQueueTokenHandler() 1341 sal_Int32 nPos = 0; in standardSysQueueTokenHandler() local 1347 nPos = it->indexOf( aForeToken, nPos ); in standardSysQueueTokenHandler() 1348 if( nPos != -1 && it->getLength() >= nPos+aForeToken.getLength() ) in standardSysQueueTokenHandler() 1351 if( nPos != -1 ) in standardSysQueueTokenHandler() [all …]
|
/aoo41x/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()
|
/aoo41x/main/cui/source/dialogs/ |
H A D | hldocntp.cxx | 95 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in ImplGetURLObject() local 96 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in ImplGetURLObject() 97 … aURLObject.SetExtension( ((DocumentTypeData*)maLbDocTypes.GetEntryData( nPos ))->aStrExt ); in ImplGetURLObject() 220 sal_Int16 nPos = maLbDocTypes.InsertEntry ( aTitleName ); in FillDocumentList() local 223 maLbDocTypes.SetEntryData ( nPos, pTypeData ); in FillDocumentList() 350 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in DoApply() local 351 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in DoApply() 352 nPos=0; in DoApply() 354 maLbDocTypes.GetEntryData( nPos ) )->aStrURL ); in DoApply() 469 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in IMPL_LINK() local [all …]
|
/aoo41x/main/sfx2/source/dialog/ |
H A D | splitwin.cxx | 491 sal_uInt16 nPos = 0; in InsertWindow() local 507 nPos = 0; in InsertWindow() 517 GetWindowPos( pDock->pWin, nL, nPos ); in InsertWindow() 524 nPos++; in InsertWindow() 558 nPos = 0; in InsertWindow() 634 InsertWindow( pDockWin, rSize, nLine, nPos, bNewLine ); in MoveWindow() 656 DBG_ASSERT( nPos==0 || !bNewLine, "Falsche Paramenter!"); in InsertWindow() 658 nPos = 0; in InsertWindow() 679 if ( (nL == nLine && nP == nPos) || nL > nLine ) in InsertWindow() 682 if ( nL == nLine && nPos == 0 && !bNewLine ) in InsertWindow() [all …]
|
/aoo41x/main/dbaccess/source/core/api/ |
H A D | KeySet.cxx | 520 sal_Int32 nPos = 0; in deleteRows() local 521 *pBegin >>= nPos; in deleteRows() 524 m_aKeyMap.erase(nPos); in deleteRows() 661 sal_Int32 nPos = aIter->second.nPosition; in executeUpdate() local 662 if((_rInsertRow->get())[nPos].isModified()) in executeUpdate() 669 (_rInsertRow->get())[nPos].setSigned((_rOrginalRow->get())[nPos].isSigned()); in executeUpdate() 770 if((_rInsertRow->get())[nPos].isNull()) in executeInsert() 775 (_rInsertRow->get())[nPos].setSigned(m_aSignedFlags[nPos-1]); in executeInsert() 909 sal_Int32 nPos=1; in tryRefetch() local 1369 sal_Int32 nPos=1; in refreshRow() local [all …]
|
/aoo41x/main/tools/source/memtools/ |
H A D | multisel.cxx | 62 for ( sal_uIntPtr nPos = 0; nPos < pSel->aSels.Count(); ++nPos ) in Print() local 64 DbgOutf( "SubSel #%2ld: %4ld-%4ld\n", nPos, in Print() 65 pSel->aSels.GetObject(nPos)->Min(), in Print() 66 pSel->aSels.GetObject(nPos)->Max() ); in Print() 607 for ( sal_uIntPtr nPos = nSubSelPos; nPos < aSels.Count(); ++nPos ) in Insert() local 609 aSels.GetObject(nPos)->Min() += nCount; in Insert() 610 aSels.GetObject(nPos)->Max() += nCount; in Insert() 648 for ( sal_uIntPtr nPos = nSubSelPos; nPos < aSels.Count(); ++nPos ) in Remove() local 650 --( aSels.GetObject(nPos)->Min() ); in Remove() 651 --( aSels.GetObject(nPos)->Max() ); in Remove()
|
/aoo41x/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 301 SCCOLROW nPos = GetPos(); in Paint() local 330 for (SCCOLROW i=nPos; i<nSize; i++) in Paint() 508 SCCOLROW nEntryNo = nCount + nPos; in Paint() 612 SCCOLROW nPos = GetPos(); in GetMousePos() local 613 SCCOLROW nHitNo = nPos; in GetMousePos() 624 nScrPos = GetScrPos( nPos ) - nLayoutSign; in GetMousePos() 627 SCCOLROW nEntryNo = nCount + nPos; in GetMousePos() 652 bool ScHeaderControl::IsSelectionAllowed(SCCOLROW nPos) const in IsSelectionAllowed() 670 SCROW nRPos = static_cast<SCROW>(nPos); in IsSelectionAllowed() 676 SCCOL nCPos = static_cast<SCCOL>(nPos); in IsSelectionAllowed() [all …]
|
/aoo41x/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()
|
/aoo41x/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 []()
|
/aoo41x/main/sw/source/core/edit/ |
H A D | edattr.cxx | 413 sal_Bool lcl_IsNoEndTxtAttrAtPos( const SwTxtNode& rTNd, xub_StrLen nPos, in lcl_IsNoEndTxtAttrAtPos() argument 455 if ( CH_TXTATR_BREAKWORD == rTxt.GetChar( nPos ) ) in lcl_IsNoEndTxtAttrAtPos() 457 const SwTxtAttr* const pAttr = rTNd.GetTxtAttrForCharAt( nPos ); in lcl_IsNoEndTxtAttrAtPos() 516 xub_StrLen nPos = pStt->nContent.GetIndex(); in GetScriptType() local 519 if( nPos ) in GetScriptType() 523 nPos = aIdx.GetIndex(); in GetScriptType() 531 pScriptInfo->ScriptType( nPos ) : in GetScriptType() 620 xub_StrLen nPos = rPos.nContent.GetIndex(); in GetCurLang() local 621 if( nPos && !pCrsr->HasMark() ) in GetCurLang() 622 --nPos; in GetCurLang() [all …]
|
/aoo41x/main/sfx2/source/appl/ |
H A D | linkmgr2.cxx | 123 void LinkManager::Remove( sal_uInt16 nPos, sal_uInt16 nCnt ) in Remove() argument 125 if( nCnt && nPos < aLinkTbl.Count() ) in Remove() 127 if( nPos + nCnt > aLinkTbl.Count() ) in Remove() 128 nCnt = aLinkTbl.Count() - nPos; in Remove() 130 SvBaseLinkRef** ppRef = (SvBaseLinkRef**)aLinkTbl.GetData() + nPos; in Remove() 140 aLinkTbl.Remove( nPos, nCnt ); in Remove() 236 sal_uInt16 nPos = 0; in GetDisplayNames() local 245 *pFilter = sLNm.Copy( nPos ); in GetDisplayNames() 409 sal_uInt16 nPos = aServerTbl.GetPos( pObj ); in RemoveServer() local 410 if( USHRT_MAX != nPos ) in RemoveServer() [all …]
|
/aoo41x/main/xmloff/source/core/ |
H A D | nmspmap.cxx | 542 sal_Int32 nPos = rOasisURN.getLength(); in NormalizeOasisURN() local 543 if( nPos >= nNameLen || rName[nPos] != ':' ) in NormalizeOasisURN() 547 sal_Int32 nTCIdStart = nPos+1; in NormalizeOasisURN() 553 nPos = nTCIdEnd + 1; in NormalizeOasisURN() 554 OUString sTmp( rName.copy( nPos ) ); in NormalizeOasisURN() 560 nPos += rXMLNS.getLength(); in NormalizeOasisURN() 561 if( nPos >= nNameLen || rName[nPos] != ':' ) in NormalizeOasisURN() 565 nPos = rName.indexOf( ':', nPos+1 ); in NormalizeOasisURN() 566 if( -1 == nPos ) in NormalizeOasisURN() 570 sal_Int32 nVersionStart = nPos+1; in NormalizeOasisURN()
|
/aoo41x/main/svtools/source/control/ |
H A D | ruler.cxx | 156 long nPos; member 1664 pHitTest->nPos = 0; in ImplHitTest() 1670 pHitTest->nPos = nX; in ImplHitTest() 1762 pHitTest->nPos = 0; in ImplHitTest() 2860 if ( mpData->nNullOff != nPos ) in SetNullOffset() 2862 mpData->nNullOff = nPos; in SetNullOffset() 2908 if ( (pAry1->nPos != pAry2->nPos) || in SetLines() 2983 if ( (pAry1->nPos != pAry2->nPos) || in SetArrows() 3029 if ( (pAry1->nPos != pAry2->nPos) || in SetBorders() 3075 if ( (pAry1->nPos != pAry2->nPos) || in SetIndents() [all …]
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | pvfundlg.cxx | 109 sal_uInt16 nPos = nStartPos; in lclFindListBoxEntry() local 110 while( (nPos < rLBox.GetEntryCount()) && (rLBox.GetEntry( nPos ) != rEntry) ) in lclFindListBoxEntry() 111 ++nPos; in lclFindListBoxEntry() 112 return (nPos < rLBox.GetEntryCount()) ? nPos : LISTBOX_ENTRY_NOTFOUND; in lclFindListBoxEntry() 325 …sal_uInt16 nPos = lclFindListBoxEntry( maLbBaseItem, rFuncData.maFieldRef.ReferenceItemName, nStar… in Init() local 326 if( nPos >= maLbBaseItem.GetEntryCount() ) in Init() 327 …nPos = (maLbBaseItem.GetEntryCount() > SC_BASEITEM_USER_POS) ? SC_BASEITEM_USER_POS : SC_BASEITEM_… in Init() 328 maLbBaseItem.SelectEntryPos( nPos ); in Init() 565 for( sal_uInt16 nPos = 0; nPos < nVisCount; ++nPos ) in FillLabelData() local 566 rLabelData.maMembers[nPos].mbVisible = !maLbHide.IsChecked(nPos); in FillLabelData()
|
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()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlcss1.cxx | 603 nPos = 0; in GetScriptFromClass() 607 nPos++; in GetScriptFromClass() 608 nLen = nLen - nPos; in GetScriptFromClass() 632 if( nPos ) in GetScriptFromClass() 634 rClass.Erase( nPos-1 ); in GetScriptFromClass() 661 rToken.Erase( nPos ); in GetTokenAndClass() 2247 if( nPos <= nContextStMin ) in PopContext() 2270 nPos--; in PopContext() 2276 pCntxt = aContexts[nPos]; in PopContext() 2292 if( !nPos ) in GetMarginsFromContext() [all …]
|
/aoo41x/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);
|