/aoo4110/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 307 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 …]
|
/aoo4110/main/sc/source/ui/vba/ |
H A D | vbainterior.cxx | 107 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 D | vbaborders.cxx | 178 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 …]
|
/aoo4110/main/toolkit/test/accessibility/ |
H A D | AccessibleExtendedComponentHandler.java | 68 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 D | AccessibleComponentHandler.java | 64 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 …]
|
/aoo4110/main/filter/source/graphicfilter/idxf/ |
H A D | dxf2mtf.cxx | 71 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 …]
|
/aoo4110/main/sc/source/ui/optdlg/ |
H A D | opredlin.cxx | 205 if (nColor == COL_TRANSPARENT) in Reset() 208 aContentColorLB.SelectEntry(Color(nColor)); in Reset() 210 nColor = aAppOptions.GetTrackMoveColor(); in Reset() 211 if (nColor == COL_TRANSPARENT) in Reset() 214 aMoveColorLB.SelectEntry(Color(nColor)); in Reset() 217 nColor = aAppOptions.GetTrackInsertColor(); in Reset() 218 if (nColor == COL_TRANSPARENT) in Reset() 221 aInsertColorLB.SelectEntry(Color(nColor)); in Reset() 224 nColor = aAppOptions.GetTrackDeleteColor(); in Reset() 225 if (nColor == COL_TRANSPARENT) in Reset() [all …]
|
/aoo4110/main/sw/source/ui/config/ |
H A D | viewopt.cxx | 385 nColor (COL_TRANSPARENT) in AuthorCharAttr() 547 aDocBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 555 aObjectBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 560 aTableBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 565 aIndexShadingsColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 570 aLinksColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 575 aVisitedLinksColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 583 aSpellColor.SetColor(rConfig.GetColorValue(svtools::SPELL).nColor); in ApplyColorConfigValues() 590 aFieldShadingsColor.SetColor(aValue.nColor); in ApplyColorConfigValues() 595 aSectionBoundColor.SetColor(aValue.nColor); in ApplyColorConfigValues() [all …]
|
/aoo4110/main/accessibility/workben/org/openoffice/accessibility/awb/view/ |
H A D | ComponentView.java | 112 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()
|
/aoo4110/main/xmloff/source/style/ |
H A D | xmlbahdl.cxx | 520 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 …]
|
/aoo4110/main/svtools/source/config/ |
H A D | colorcfg.cxx | 251 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 …]
|
/aoo4110/main/svx/source/accessibility/ |
H A D | charmapacc.cxx | 839 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 D | DGColorNameLookUp.cxx | 64 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()
|
/aoo4110/main/filter/source/graphicfilter/icgm/ |
H A D | cgm.cxx | 462 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()
|
/aoo4110/main/toolkit/source/controls/ |
H A D | accessiblecontrolcontext.cxx | 335 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()
|
/aoo4110/main/svtools/source/edit/ |
H A D | editsyntaxhighlighter.cxx | 147 …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()
|
/aoo4110/main/sw/source/filter/html/ |
H A D | parcss1.cxx | 1297 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 …]
|
/aoo4110/main/accessibility/source/extended/ |
H A D | accessibletabbar.cxx | 455 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 D | AccessibleGridControlBase.cxx | 473 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()
|
/aoo4110/main/sc/source/ui/Accessibility/ |
H A D | AccessibleDataPilotControl.cxx | 387 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 …]
|
/aoo4110/main/editeng/source/items/ |
H A D | itemtype.cxx | 157 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()
|
/aoo4110/main/basctl/source/accessibility/ |
H A D | accessibledialogcontrolshape.cxx | 523 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()
|
/aoo4110/main/accessibility/source/standard/ |
H A D | vclxaccessiblestatusbaritem.cxx | 423 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()
|
/aoo4110/main/svtools/source/filter/ |
H A D | sgfbram.cxx | 471 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()
|
/aoo4110/main/chart2/source/controller/accessibility/ |
H A D | AccessibleChartShape.cxx | 232 sal_Int32 nColor(0); in getForeground() local 235 nColor = m_pAccShape->getForeground(); in getForeground() 237 return nColor; in getForeground() 243 sal_Int32 nColor(0); in getBackground() local 246 nColor = m_pAccShape->getBackground(); in getBackground() 248 return nColor; in getBackground()
|