Home
last modified time | relevance | path

Searched refs:nColor (Results 1 – 25 of 268) sorted by relevance

1234567891011

/trunk/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx307 virtual void WritePixel( ColorData nColor ) in WritePixel() argument
310 *pData++ = COLORDATA_RED( nColor ); in WritePixel()
311 *pData++ = COLORDATA_GREEN( nColor ); in WritePixel()
312 *pData++ = COLORDATA_BLUE( nColor ); in WritePixel()
332 *pData++ = COLORDATA_BLUE( nColor ); in WritePixel()
333 *pData++ = COLORDATA_GREEN( nColor ); in WritePixel()
334 *pData++ = COLORDATA_RED( nColor ); in WritePixel()
387 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
425 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
461 …const BitmapColor aColor( COLORDATA_RED( nColor ), COLORDATA_GREEN( nColor ), COLORDATA_BLUE( nCol… in WritePixel()
[all …]
/trunk/main/sc/source/ui/vba/
H A Dvbainterior.cxx107 sal_Int32 nColor = 0; in setColor() local
108 if( _color >>= nColor ) in setColor()
198 if ( nPaletteColor == nColor ) in GetColorIndex()
210 sal_Int32 nColor = 0; in getColorIndex() local
213 if( ( aColor >>= nColor ) && ( nColor == -1 ) ) in getColorIndex()
216 return uno::makeAny( nColor ); in getColorIndex()
326 sal_Int32 nColor = 0; in GetBackColor() local
332 aBackColor.SetColor( nColor ); in GetBackColor()
338 if( aAny >>= nColor ) in GetBackColor()
340 nColor = XLRGBToOORGB( nColor ); in GetBackColor()
[all …]
H A Dvbaborders.cxx178 sal_Int32 nColor = 0; in setColor() local
179 _color >>= nColor; in setColor()
183 aBorderLine.Color = XLRGBToOORGB( nColor ); in setColor()
192 sal_Int32 nColor = 0; in getColorIndex() local
193 XLRGBToOORGB( getColor() ) >>= nColor; in getColorIndex()
201 if ( nPaletteColor == nColor ) in getColorIndex()
212 sal_Int32 nColor = 0; in setColorIndex() local
213 _colorindex >>= nColor; in setColorIndex()
214 if ( !nColor || nColor == XlColorIndex::xlColorIndexAutomatic ) in setColorIndex()
215 nColor = 1; in setColorIndex()
[all …]
/trunk/main/filter/source/graphicfilter/idxf/
H A Ddxf2mtf.cxx71 long nColor; in GetEntityColor() local
74 nColor=rE.nColor; in GetEntityColor()
75 if (nColor==256) { in GetEntityColor()
79 if (pLayer!=NULL) nColor=pLayer->nColor; in GetEntityColor()
83 else if (nColor==0) nColor=nBlockColor; in GetEntityColor()
84 return nColor; in GetEntityColor()
179 long nColor; in SetLineAttribute() local
182 nColor=GetEntityColor(rE); in SetLineAttribute()
199 long nColor; in SetAreaAttribute() local
202 nColor=GetEntityColor(rE); in SetAreaAttribute()
[all …]
/trunk/main/toolkit/test/accessibility/
H A DAccessibleExtendedComponentHandler.java68 int nColor; in createChild() local
72 nColor = xEComponent.getForeground(); in createChild()
74 + (nColor>>16&0xff) in createChild()
75 + "G" + (nColor>>8&0xff) in createChild()
76 + "B" + (nColor>>0&0xff) in createChild()
77 + "A" + (nColor>>24&0xff), in createChild()
81 nColor = xEComponent.getBackground(); in createChild()
83 + (nColor>>16&0xff) in createChild()
84 + "G" + (nColor>>8&0xff) in createChild()
85 + "B" + (nColor>>0&0xff) in createChild()
[all …]
H A DAccessibleComponentHandler.java64 int nColor; in createChild() local
93 nColor = xComponent.getForeground(); in createChild()
95 + (nColor>>16&0xff) in createChild()
96 + "G" + (nColor>>8&0xff) in createChild()
97 + "B" + (nColor>>0&0xff) in createChild()
98 + "A" + (nColor>>24&0xff), in createChild()
102 nColor = xComponent.getBackground(); in createChild()
104 + (nColor>>16&0xff) in createChild()
105 + "G" + (nColor>>8&0xff) in createChild()
106 + "B" + (nColor>>0&0xff) in createChild()
[all …]
/trunk/main/sc/source/ui/optdlg/
H A Dopredlin.cxx204 if (nColor == COL_TRANSPARENT) in Reset()
207 aContentColorLB.SelectEntry(Color(nColor)); in Reset()
209 nColor = aAppOptions.GetTrackMoveColor(); in Reset()
210 if (nColor == COL_TRANSPARENT) in Reset()
213 aMoveColorLB.SelectEntry(Color(nColor)); in Reset()
216 nColor = aAppOptions.GetTrackInsertColor(); in Reset()
217 if (nColor == COL_TRANSPARENT) in Reset()
220 aInsertColorLB.SelectEntry(Color(nColor)); in Reset()
223 nColor = aAppOptions.GetTrackDeleteColor(); in Reset()
224 if (nColor == COL_TRANSPARENT) in Reset()
[all …]
/trunk/main/sw/source/ui/config/
H A Dviewopt.cxx384 nColor (COL_TRANSPARENT) in AuthorCharAttr()
546 aDocBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
554 aObjectBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
559 aTableBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
564 aIndexShadingsColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
569 aLinksColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
574 aVisitedLinksColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
582 aSpellColor.SetColor(rConfig.GetColorValue(svtools::SPELL).nColor); in ApplyColorConfigValues()
589 aFieldShadingsColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
594 aSectionBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues()
[all …]
/trunk/main/accessibility/workben/org/openoffice/accessibility/awb/view/
H A DComponentView.java112 int nColor = mxComponent.getForeground(); in Update() local
114 "R"+ (nColor>>16&0xff) in Update()
115 + "G" + (nColor>>8&0xff) in Update()
116 + "B" + (nColor>>0&0xff) in Update()
117 + "A" + (nColor>>24&0xff)); in Update()
118 nColor = mxComponent.getBackground(); in Update()
120 "R"+ (nColor>>16&0xff) in Update()
121 + "G" + (nColor>>8&0xff) in Update()
122 + "B" + (nColor>>0&0xff) in Update()
123 + "A" + (nColor>>24&0xff)); in Update()
/trunk/main/xmloff/source/style/
H A Dxmlbahdl.cxx520 sal_Int32 nColor = 0; in exportXML() local
523 if( rValue >>= nColor ) in exportXML()
677 sal_Int32 nColor = 0; in exportXML() local
683 Color aColor( nColor ); in exportXML()
761 sal_Int32 nColor = 0; in importXML() local
762 if( !(rValue >>= nColor) || -1 != nColor ) in importXML()
777 sal_Int32 nColor = 0; in exportXML() local
778 if( (rValue >>= nColor) && -1 != nColor ) in exportXML()
780 Color aColor( nColor ); in exportXML()
820 sal_Int32 nColor = 0; in exportXML() local
[all …]
/trunk/main/svtools/source/config/
H A Dcolorcfg.cxx251 pColors[nIndex] >>= m_aConfigValues[i / 2].nColor; in Load()
253 m_aConfigValues[i/2].nColor = COL_AUTO; in Load()
287 pPropValues[nIndex].Value <<= m_aConfigValues[i/2].nColor; in Commit()
399 if(COL_AUTO == sal::static_int_cast<ColorData>(aRet.nColor)) in ImplUpdateApplicationSettings()
402 Color aFontColor(aRet.nColor); in ImplUpdateApplicationSettings()
546 if(COL_AUTO == sal::static_int_cast<ColorData>(aRet.nColor)) in GetColorValue()
547 aRet.nColor = ColorConfig::GetDefaultColor(eEntry).GetColor(); in GetColorValue()
549 const sal_uInt8 nRed = COLORDATA_RED( aRet.nColor); in GetColorValue()
551 (nRed == COLORDATA_GREEN( aRet.nColor)) && in GetColorValue()
552 (nRed == COLORDATA_BLUE( aRet.nColor)) && in GetColorValue()
[all …]
/trunk/main/svx/source/accessibility/
H A Dcharmapacc.cxx839 sal_Int32 nColor = 0; in getForeground() local
851 nColor = aFont.GetColor().GetColor(); in getForeground()
855 return nColor; in getForeground()
861 sal_Int32 nColor = 0; in getBackground() local
870 return nColor; in getBackground()
877 sal_Int32 nColor = 0; in getForeground() local
879 nColor = m_pParent->getForeground(); in getForeground()
880 return nColor; in getForeground()
886 sal_Int32 nColor = 0; in getBackground() local
888 nColor = m_pParent->getBackground(); in getBackground()
[all …]
H A DDGColorNameLookUp.cxx64 OUString DGColorNameLookUp::LookUpColor (long int nColor) const in LookUpColor()
68 I = maColorValueToNameMap.find (nColor); in LookUpColor()
78 sNameBuffer.append (nColor, 16); in LookUpColor()
124 long nColor = 0; in DGColorNameLookUp() local
125 aColor >>= nColor; in DGColorNameLookUp()
126 maColorValueToNameMap[nColor] = aNames[i]; in DGColorNameLookUp()
/trunk/main/filter/source/graphicfilter/icgm/
H A Dcgm.cxx462 sal_uInt32 nColor = ImplGetByte( ImplGetUI( pElement->nColorPrecision ), 1 ); in ImplGetBitmapColor() local
467 nColor = ( ( nColor - pElement->nColorValueExtent[ 0 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()
468 nTmp = nColor << 16 & 0xff0000; in ImplGetBitmapColor()
470 nColor = ImplGetByte( ImplGetUI( pElement->nColorPrecision ), 1 ); in ImplGetBitmapColor()
474 nColor = ( ( nColor - pElement->nColorValueExtent[ 1 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()
475 nTmp |= nColor << 8 & 0xff00; in ImplGetBitmapColor()
477 nColor = ImplGetByte( ImplGetUI( pElement->nColorPrecision ), 1 ); in ImplGetBitmapColor()
481 nColor = ( ( nColor - pElement->nColorValueExtent[ 2 ] ) << 8 ) / nDiff; in ImplGetBitmapColor()
482 nTmp |= (sal_uInt8)nColor; in ImplGetBitmapColor()
/trunk/main/toolkit/source/controls/
H A Daccessiblecontrolcontext.cxx335 sal_Int32 nColor = 0; in getForeground() local
339 nColor = pWindow->GetControlForeground().GetColor(); in getForeground()
347 nColor = aFont.GetColor().GetColor(); in getForeground()
350 return nColor; in getForeground()
361 sal_Int32 nColor = 0; in getBackground() local
365 nColor = pWindow->GetControlBackground().GetColor(); in getBackground()
367 nColor = pWindow->GetBackground().GetColor().GetColor(); in getBackground()
370 return nColor; in getBackground()
/trunk/main/sw/source/filter/html/
H A Dparcss1.cxx1297 sal_uLong nColor = ULONG_MAX; in GetColor() local
1366 nColor = GetHTMLColor( aTmp ); in GetColor()
1367 bRet = nColor != ULONG_MAX; in GetColor()
1380 nColor = 0; in GetColor()
1394 nColor *= 16; in GetColor()
1396 nColor += c; in GetColor()
1399 nColor *= 16; in GetColor()
1401 nColor += c; in GetColor()
1413 if( bRet && nColor!=ULONG_MAX ) in GetColor()
1415 rColor.SetRed( (sal_uInt8)((nColor & 0x00ff0000UL) >> 16) ); in GetColor()
[all …]
/trunk/main/svtools/source/edit/
H A Deditsyntaxhighlighter.cxx147 …IDENTIFIER: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLIDENTIFIER).nColor; break; in GetColorValue()
148 …case TT_NUMBER: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLNUMBER).nColor; brea… in GetColorValue()
149 …case TT_STRING: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLSTRING).nColor; brea… in GetColorValue()
150 …case TT_OPERATOR: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLOPERATOR).nColor; b… in GetColorValue()
151 …case TT_KEYWORDS: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLKEYWORD).nColor; br… in GetColorValue()
152 …_PARAMETER: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLPARAMETER).nColor; break; in GetColorValue()
153 …case TT_COMMENT: aColor = (ColorData)m_aColorConfig.GetColorValue(svtools::SQLCOMMENT).nColor; bre… in GetColorValue()
/trunk/main/sc/source/ui/Accessibility/
H A DAccessibleDataPilotControl.cxx387 sal_Int32 nColor(0); in getForeground() local
390 nColor = mpFieldWindow->GetSettings().GetStyleSettings().GetWindowTextColor().GetColor(); in getForeground()
392 return nColor; in getForeground()
400 sal_Int32 nColor(0); in getBackground() local
406 return nColor; in getBackground()
616 sal_Int32 nColor(0); in getForeground() local
619 nColor = mpFieldWindow->GetSettings().GetStyleSettings().GetButtonTextColor().GetColor(); in getForeground()
621 return nColor; in getForeground()
629 sal_Int32 nColor(0); in getBackground() local
632 nColor = mpFieldWindow->GetSettings().GetStyleSettings().GetFaceColor().GetColor(); in getBackground()
[all …]
/trunk/main/accessibility/source/extended/
H A Daccessibletabbar.cxx455 sal_Int32 nColor = 0; in getForeground() local
459 nColor = m_pTabBar->GetControlForeground().GetColor(); in getForeground()
467 nColor = aFont.GetColor().GetColor(); in getForeground()
471 return nColor; in getForeground()
480 sal_Int32 nColor = 0; in getBackground() local
484 nColor = m_pTabBar->GetControlBackground().GetColor(); in getBackground()
486 nColor = m_pTabBar->GetBackground().GetColor().GetColor(); in getBackground()
489 return nColor; in getBackground()
H A DAccessibleGridControlBase.cxx473 sal_Int32 nColor = 0; in getForeground() local
478 nColor = pInst->GetControlForeground().GetColor(); in getForeground()
486 nColor = aFont.GetColor().GetColor(); in getForeground()
489 return nColor; in getForeground()
497 sal_Int32 nColor = 0; in getBackground() local
502 nColor = pInst->GetControlBackground().GetColor(); in getBackground()
504 nColor = pInst->GetBackground().GetColor().GetColor(); in getBackground()
506 return nColor; in getBackground()
/trunk/main/editeng/source/items/
H A Ditemtype.cxx157 sal_uInt16 nColor = 0, nColCount = 16; in GetColorString() local
165 while ( !bFound && nColor < nColCount ) in GetColorString()
167 if ( aColAry[nColor] == nColData ) in GetColorString()
170 nColor++; in GetColorString()
173 if ( nColor < nColCount ) in GetColorString()
174 sStr = EE_RESSTR( RID_SVXITEMS_COLOR_BEGIN + nColor + 1 ); in GetColorString()
/trunk/main/svtools/source/filter/
H A Dsgfbram.cxx471 sal_uLong nColor = COL_BLACK; in Hpgl2SvFarbe() local
474 case 0: nColor=COL_WHITE; break; in Hpgl2SvFarbe()
475 case 1: nColor=COL_YELLOW; break; in Hpgl2SvFarbe()
476 case 2: nColor=COL_LIGHTMAGENTA; break; in Hpgl2SvFarbe()
477 case 3: nColor=COL_LIGHTRED; break; in Hpgl2SvFarbe()
478 case 4: nColor=COL_LIGHTCYAN; break; in Hpgl2SvFarbe()
479 case 5: nColor=COL_LIGHTGREEN; break; in Hpgl2SvFarbe()
480 case 6: nColor=COL_LIGHTBLUE; break; in Hpgl2SvFarbe()
481 case 7: nColor=COL_BLACK; break; in Hpgl2SvFarbe()
483 Color aColor( nColor ); in Hpgl2SvFarbe()
/trunk/main/basctl/source/accessibility/
H A Daccessibledialogcontrolshape.cxx523 sal_Int32 nColor = 0; in getForeground() local
528 nColor = pWindow->GetControlForeground().GetColor(); in getForeground()
536 nColor = aFont.GetColor().GetColor(); in getForeground()
540 return nColor; in getForeground()
549 sal_Int32 nColor = 0; in getBackground() local
554 nColor = pWindow->GetControlBackground().GetColor(); in getBackground()
556 nColor = pWindow->GetBackground().GetColor().GetColor(); in getBackground()
559 return nColor; in getBackground()
/trunk/main/accessibility/source/standard/
H A Dvclxaccessiblestatusbaritem.cxx423 sal_Int32 nColor = 0; in getForeground() local
429 nColor = xParentComp->getForeground(); in getForeground()
432 return nColor; in getForeground()
441 sal_Int32 nColor = 0; in getBackground() local
447 nColor = xParentComp->getBackground(); in getBackground()
450 return nColor; in getBackground()
530 sal_Int32 nColor = getForeground(); in getCharacterAttributes() local
531 … CharacterAttributesHelper > pHelper( new CharacterAttributesHelper( aFont, nBackColor, nColor ) ); in getCharacterAttributes()
/trunk/main/chart2/qa/complex/chart2/
H A DTestCaseOldAPI.java195 int nColor = 0x009acd; // DeepSkyBlue3 in testSubTitle() local
199 xTitleProp.setPropertyValue( "CharColor", new Integer( nColor ) ); in testSubTitle()
204 assertTrue( "Changing CharColor via old API failed", nNewColor == nColor ); in testSubTitle()
238 int nColor = 0xffe1ff; // thistle1 in testDiagram() local
239 xProp.setPropertyValue( "FillColor", new Integer( nColor ) ); in testDiagram()
486 int nColor = 0xf5fffa; // mint cream in testArea() local
487 xArea.setPropertyValue( "FillColor", new Integer( nColor ) ); in testArea()
504 assertTrue( "Changing FillColor of Area failed", nNewColor == nColor ); in testArea()
607 int nColor = 0xffd700; // gold in testDataSeriesAndPoints() local
608 xProp.setPropertyValue( "FillColor", new Integer( nColor )); in testDataSeriesAndPoints()
[all …]

Completed in 106 milliseconds

1234567891011