Lines Matching refs:nPos

159 				sal_uInt16 nPos = aMetricLB.InsertEntry( sMetric );  in SwContentOptPage()  local
160 aMetricLB.SetEntryData( nPos, (void*)(long)eFUnit ); in SwContentOptPage()
162 aVMetric.SetEntryData( nPos, (void*)(long)eFUnit ); in SwContentOptPage()
164 aHMetric.SetEntryData( nPos, (void*)(long)eFUnit ); in SwContentOptPage()
2006 sal_uInt16 nPos = aInsertLB.GetSelectEntryPos(); in FillItemSet() local
2007 if (nPos != LISTBOX_ENTRY_NOTFOUND) in FillItemSet()
2009 pAttr = (CharAttr *)aInsertLB.GetEntryData(nPos); in FillItemSet()
2013 nPos = aInsertColorLB.GetSelectEntryPos(); in FillItemSet()
2015 switch (nPos) in FillItemSet()
2025 aInsertedAttr.nColor = aInsertColorLB.GetEntryColor(nPos).GetColor(); in FillItemSet()
2032 nPos = aDeletedLB.GetSelectEntryPos(); in FillItemSet()
2033 if (nPos != LISTBOX_ENTRY_NOTFOUND) in FillItemSet()
2035 pAttr = (CharAttr *)aDeletedLB.GetEntryData(nPos); in FillItemSet()
2039 nPos = aDeletedColorLB.GetSelectEntryPos(); in FillItemSet()
2041 switch (nPos) in FillItemSet()
2051 aDeletedAttr.nColor = aDeletedColorLB.GetEntryColor(nPos).GetColor(); in FillItemSet()
2058 nPos = aChangedLB.GetSelectEntryPos(); in FillItemSet()
2059 if (nPos != LISTBOX_ENTRY_NOTFOUND) in FillItemSet()
2061 pAttr = (CharAttr *)aChangedLB.GetEntryData(nPos); in FillItemSet()
2065 nPos = aChangedColorLB.GetSelectEntryPos(); in FillItemSet()
2067 switch (nPos) in FillItemSet()
2077 aChangedAttr.nColor = aChangedColorLB.GetEntryColor(nPos).GetColor(); in FillItemSet()
2084 nPos = 0; in FillItemSet()
2087 case 0: nPos = text::HoriOrientation::NONE; break; in FillItemSet()
2088 case 1: nPos = text::HoriOrientation::LEFT; break; in FillItemSet()
2089 case 2: nPos = text::HoriOrientation::RIGHT; break; in FillItemSet()
2090 case 3: nPos = text::HoriOrientation::OUTSIDE; break; in FillItemSet()
2091 case 4: nPos = text::HoriOrientation::INSIDE; break; in FillItemSet()
2093 pOpt->SetMarkAlignMode(nPos); in FillItemSet()
2218 sal_uInt16 nPos = 0; in Reset() local
2221 case text::HoriOrientation::NONE: nPos = 0; break; in Reset()
2222 case text::HoriOrientation::LEFT: nPos = 1; break; in Reset()
2223 case text::HoriOrientation::RIGHT: nPos = 2; break; in Reset()
2224 case text::HoriOrientation::OUTSIDE: nPos = 3; break; in Reset()
2225 case text::HoriOrientation::INSIDE: nPos = 4; break; in Reset()
2227 aMarkPosLB.SelectEntryPos(nPos); in Reset()
2275 sal_uInt16 nPos = pColorLB->GetSelectEntryPos(); in IMPL_LINK() local
2277 switch( nPos ) in IMPL_LINK()
2289 rFont.SetColor( pColorLB->GetEntryColor( nPos ) ); in IMPL_LINK()
2290 rCJKFont.SetColor( pColorLB->GetEntryColor( nPos ) ); in IMPL_LINK()
2294 nPos = pLB->GetSelectEntryPos(); in IMPL_LINK()
2295 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
2296 nPos = 0; in IMPL_LINK()
2298 CharAttr* pAttr = ( CharAttr* ) pLB->GetEntryData( nPos ); in IMPL_LINK()
2330 nPos = pColorLB->GetSelectEntryPos(); in IMPL_LINK()
2331 if( nPos ) in IMPL_LINK()
2370 sal_uInt16 nPos = pLB->GetSelectEntryPos(); in IMPL_LINK() local
2371 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
2372 nPos = 0; in IMPL_LINK()
2374 CharAttr* pAttr = ( CharAttr* ) pLB->GetEntryData( nPos ); in IMPL_LINK()
2380 nPos = pColorLB->GetSelectEntryPos(); in IMPL_LINK()
2381 if( nPos && nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
2388 nPos = pColorLB->GetSelectEntryPos(); in IMPL_LINK()
2390 switch( nPos ) in IMPL_LINK()
2402 rFont.SetColor( pColorLB->GetEntryColor( nPos ) ); in IMPL_LINK()
2403 rCJKFont.SetColor( pColorLB->GetEntryColor( nPos ) ); in IMPL_LINK()