/aoo41x/main/chart2/qa/ |
H A D | TestCaseOldAPI.java | 219 int nColor = 0x009acd; // DeepSkyBlue3 in testSubTitle() local 223 xTitleProp.setPropertyValue( "CharColor", new Integer( nColor ) ); in testSubTitle() 228 assure( "Changing CharColor via old API failed", nNewColor == nColor ); in testSubTitle() 262 int nColor = 0xffe1ff; // thistle1 in testDiagram() local 263 xProp.setPropertyValue( "FillColor", new Integer( nColor ) ); in testDiagram() 510 int nColor = 0xf5fffa; // mint cream in testArea() local 511 xArea.setPropertyValue( "FillColor", new Integer( nColor ) ); in testArea() 528 assure( "Changing FillColor of Area failed", nNewColor == nColor ); in testArea() 631 int nColor = 0xffd700; // gold in testDataSeriesAndPoints() local 632 xProp.setPropertyValue( "FillColor", new Integer( nColor )); in testDataSeriesAndPoints() [all …]
|
/aoo41x/main/accessibility/source/standard/ |
H A D | vclxaccessibletabpage.cxx | 497 sal_Int32 nColor = 0; in getForeground() local 503 nColor = xParentComp->getForeground(); in getForeground() 506 return nColor; in getForeground() 515 sal_Int32 nColor = 0; in getBackground() local 521 nColor = xParentComp->getBackground(); in getBackground() 524 return nColor; in getBackground() 604 sal_Int32 nColor = getForeground(); in getCharacterAttributes() local 605 … CharacterAttributesHelper > pHelper( new CharacterAttributesHelper( aFont, nBackColor, nColor ) ); in getCharacterAttributes()
|
H A D | accessiblemenuitemcomponent.cxx | 440 sal_Int32 nColor = 0; in getForeground() local 446 nColor = xParentComp->getForeground(); in getForeground() 449 return nColor; in getForeground() 458 sal_Int32 nColor = 0; in getBackground() local 464 nColor = xParentComp->getBackground(); in getBackground() 467 return nColor; in getBackground()
|
/aoo41x/main/writerfilter/source/dmapper/ |
H A D | DomainMapper.cxx | 2786 sal_Int32 nColor = 0; in sprmWithProps() local 2989 sal_Int32 nColor = 0; in sprmWithProps() local 4777 nColor = 0; in getColorFromIndex() 4783 case 1: nColor=0x000000; break; //black in getColorFromIndex() 4784 case 2: nColor=0x0000ff; break; //blue in getColorFromIndex() 4785 case 3: nColor=0x00ffff; break; //cyan in getColorFromIndex() 4786 case 4: nColor=0x00ff00; break; //green in getColorFromIndex() 4787 case 5: nColor=0xff00ff; break; //magenta in getColorFromIndex() 4788 case 6: nColor=0xff0000; break; //red in getColorFromIndex() 4789 case 7: nColor=0xffff00; break; //yellow in getColorFromIndex() [all …]
|
/aoo41x/main/oox/source/export/ |
H A D | vmlexport.cxx | 240 …mpl_AddColor( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nColor ) in impl_AddColor() argument 243 if ( nColor & 0xFF000000 ) in impl_AddColor() 247 if ( !pAttrList || ( nColor & 0xFF000000 ) ) in impl_AddColor() 250 nColor = ( ( nColor & 0xFF ) << 16 ) + ( nColor & 0xFF00 ) + ( ( nColor & 0xFF0000 ) >> 16 ); in impl_AddColor() 254 switch ( nColor ) in impl_AddColor() 274 …f( pRgbColor, sizeof( pRgbColor ), "#%06x", static_cast< unsigned int >( nColor ) ); // not too ha… in impl_AddColor()
|
H A D | drawingml.cxx | 137 void DrawingML::WriteColor( sal_uInt32 nColor ) in WriteColor() argument 139 OString sColor = OString::valueOf( ( sal_Int64 ) nColor, 16 ); in WriteColor() 156 void DrawingML::WriteSolidFill( sal_uInt32 nColor ) in WriteSolidFill() argument 159 WriteColor( nColor ); in WriteSolidFill() 169 void DrawingML::WriteGradientStop( sal_uInt16 nStop, sal_uInt32 nColor ) in WriteGradientStop() argument 174 WriteColor( nColor ); in WriteGradientStop() 180 return ( ( ( nColor & 0xff ) * nIntensity ) / 100 ) in ColorWithIntensity() 181 | ( ( ( ( ( nColor & 0xff00 ) >> 8 ) * nIntensity ) / 100 ) << 8 ) in ColorWithIntensity() 315 sal_uInt32 nColor = 0; in WriteOutline() local 338 nColor = *((sal_uInt32*) mAny.getValue()) & 0xffffff; in WriteOutline() [all …]
|
/aoo41x/main/toolkit/source/awt/ |
H A D | vclxaccessiblecomponent.cxx | 882 sal_Int32 nColor = 0; in getForeground() local 887 nColor = pWindow->GetControlForeground().GetColor(); in getForeground() 895 nColor = aFont.GetColor().GetColor(); in getForeground() 897 if ( nColor == (sal_Int32)COL_AUTO) in getForeground() 898 nColor = pWindow->GetTextColor().GetColor(); in getForeground() 902 return nColor; in getForeground() 909 sal_Int32 nColor = 0; in getBackground() local 914 nColor = pWindow->GetControlBackground().GetColor(); in getBackground() 916 nColor = pWindow->GetBackground().GetColor().GetColor(); in getBackground() 919 return nColor; in getBackground()
|
H A D | vclxwindow.cxx | 1317 sal_Int32 nColor = 0; in setColorSettings() local 1673 sal_Int32 nColor = 0; in setProperty() local 1674 if ( Value >>= nColor ) in setProperty() 1701 sal_Int32 nColor = 0; in setProperty() local 1702 if ( Value >>= nColor ) in setProperty() 1717 sal_Int32 nColor = 0; in setProperty() local 1718 if ( Value >>= nColor ) in setProperty() 1730 sal_Int32 nColor = 0; in setProperty() local 1731 if ( Value >>= nColor ) in setProperty() 1743 sal_Int32 nColor = 0; in setProperty() local [all …]
|
H A D | vclxgraphics.cxx | 207 void VCLXGraphics::setTextColor( sal_Int32 nColor ) throw(uno::RuntimeException) in setTextColor() argument 211 maTextColor = Color( (sal_uInt32)nColor ); in setTextColor() 220 void VCLXGraphics::setTextFillColor( sal_Int32 nColor ) throw(uno::RuntimeException) in setTextFillColor() argument 224 maTextFillColor = Color( (sal_uInt32)nColor ); in setTextFillColor() 233 void VCLXGraphics::setLineColor( sal_Int32 nColor ) throw(uno::RuntimeException) in setLineColor() argument 237 maLineColor = Color( (sal_uInt32)nColor ); in setLineColor() 246 void VCLXGraphics::setFillColor( sal_Int32 nColor ) throw(uno::RuntimeException) in setFillColor() argument 250 maFillColor = Color( (sal_uInt32)nColor ); in setFillColor()
|
/aoo41x/main/sd/source/ui/accessibility/ |
H A D | AccessiblePageShape.cxx | 190 sal_Int32 nColor (0x0ffffffL); in getForeground() local 199 aColor >>= nColor; in getForeground() 206 return nColor; in getForeground() 219 sal_Int32 nColor (0x01020ffL); in getBackground() local 250 aColor >>= nColor; in getBackground() 261 return nColor; in getBackground()
|
/aoo41x/main/accessibility/source/extended/ |
H A D | AccessibleBrowseBoxBase.cxx | 571 sal_Int32 nColor = 0; in getForeground() local 576 nColor = pInst->GetControlForeground().GetColor(); in getForeground() 584 nColor = aFont.GetColor().GetColor(); in getForeground() 588 return nColor; in getForeground() 596 sal_Int32 nColor = 0; in getBackground() local 601 nColor = pInst->GetControlBackground().GetColor(); in getBackground() 603 nColor = pInst->GetBackground().GetColor().GetColor(); in getBackground() 606 return nColor; in getBackground()
|
H A D | accessibletabbarpage.cxx | 435 sal_Int32 nColor = 0; in getForeground() local 441 nColor = xParentComp->getForeground(); in getForeground() 444 return nColor; in getForeground() 453 sal_Int32 nColor = 0; in getBackground() local 459 nColor = xParentComp->getBackground(); in getBackground() 462 return nColor; in getBackground()
|
/aoo41x/main/vcl/unx/gtk/a11y/ |
H A D | atktextattributes.cxx | 331 sal_Int32 nColor = -1; // AUTOMATIC in get_color_value() local 335 nColor = rAttributeList[nIndex].Value.get<sal_Int32>(); in get_color_value() 343 if( (nColor == -1) && text ) in get_color_value() 353 nColor = pComponent->getBackground(); in get_color_value() 356 nColor = pComponent->getForeground(); in get_color_value() 369 if( nColor != -1 ) in get_color_value() 371 sal_uInt8 blue = nColor & 0xFF; in get_color_value() 372 sal_uInt8 green = (nColor >> 8) & 0xFF; in get_color_value() 373 sal_uInt8 red = (nColor >> 16) & 0xFF; in get_color_value() 389 sal_Int32 nColor = (sal_Int32) blue | ( (sal_Int32) green << 8 ) | ( ( sal_Int32 ) red << 16 ); in String2Color() local [all …]
|
/aoo41x/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 209 void SetColor( sal_Int32 nColor ); 224 void HexColorControl::SetColor( sal_Int32 nColor ) in SetColor() argument 235 sal_Int32 nColor = -1; in GetColor() local 246 sax::Converter::convertColor( nColor, aStr ); in GetColor() 248 if( nColor == -1 ) in GetColor() 253 return nColor; in GetColor() 1147 , maPreviousColor( nColor ) in ColorPickerDialog() 1251 Color aColor( nColor ); in ColorPickerDialog() 1450 sal_Int32 nColor = maEDHex.GetColor(); in IMPL_LINK() local 1452 if( nColor != -1 ) in IMPL_LINK() [all …]
|
/aoo41x/main/svtools/source/filter/ |
H A D | exportdialog.cxx | 257 if ( nColor == 1 ) in GetFilterData() 258 nColor = 0; in GetFilterData() 260 nColor = 1; in GetFilterData() 862 if ( nColor == 1 ) in createFilterOptions() 863 nColor = 0; in createFilterOptions() 865 nColor = 1; in createFilterOptions() 868 maLbColorDepth.SelectEntryPos( nColor ); in createFilterOptions() 953 if ( nColor == 0 ) in createFilterOptions() 954 nColor = 6; in createFilterOptions() 956 nColor--; in createFilterOptions() [all …]
|
/aoo41x/main/reportdesign/source/ui/report/ |
H A D | ReportSection.cxx | 78 sal_Int32 nColor = aConfig.GetColorValue(CFG_REPORTDESIGNER, DBOVERLAPPEDCONTROL).getColor(); in lcl_getOverlappedControlColor() local 79 return nColor; in lcl_getOverlappedControlColor() 223 sal_Int32 nColor = m_xSection->getBackColor(); in fill() local 224 if ( nColor == (sal_Int32)COL_TRANSPARENT ) in fill() 225 nColor = getStyleProperty<sal_Int32>(m_xSection->getReportDefinition(),PROPERTY_BACKCOLOR); in fill() 226 m_pView->SetApplicationDocumentColor(nColor); in fill() 523 sal_Int32 nColor = m_xSection->getBackColor(); in _propertyChanged() local 524 if ( nColor == (sal_Int32)COL_TRANSPARENT ) in _propertyChanged() 525 … nColor = getStyleProperty<sal_Int32>(m_xSection->getReportDefinition(),PROPERTY_BACKCOLOR); in _propertyChanged() 526 m_pView->SetApplicationDocumentColor(nColor); in _propertyChanged()
|
/aoo41x/main/basctl/source/basicide/ |
H A D | baside2.cxx | 1507 = Color(m_aColorConfig.GetColorValue(svtools::BASICIDENTIFIER).nColor); in ModulWindowLayout() 1509 = Color(m_aColorConfig.GetColorValue(svtools::BASICNUMBER).nColor); in ModulWindowLayout() 1511 = Color(m_aColorConfig.GetColorValue(svtools::BASICSTRING).nColor); in ModulWindowLayout() 1513 = Color(m_aColorConfig.GetColorValue(svtools::BASICCOMMENT).nColor); in ModulWindowLayout() 1515 = Color(m_aColorConfig.GetColorValue(svtools::BASICERROR).nColor); in ModulWindowLayout() 1517 = Color(m_aColorConfig.GetColorValue(svtools::BASICOPERATOR).nColor); in ModulWindowLayout() 1519 = Color(m_aColorConfig.GetColorValue(svtools::BASICKEYWORD).nColor); in ModulWindowLayout() 1731 nColor); in ConfigurationChanged() 1743 nColor); in ConfigurationChanged() 1752 nColor); in ConfigurationChanged() [all …]
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | bmpacc.hxx | 161 inline const BitmapColor& GetPaletteColor( sal_uInt16 nColor ) const; 205 … inline void SetPaletteColor( sal_uInt16 nColor, const BitmapColor& rBitmapColor ); 436 inline const BitmapColor& BitmapReadAccess::GetPaletteColor( sal_uInt16 nColor ) const in GetPaletteColor() 440 return mpBuffer->maPalette[ nColor ]; in GetPaletteColor() 538 inline void BitmapWriteAccess::SetPaletteColor( sal_uInt16 nColor, const BitmapColor& rBitmapColor ) in SetPaletteColor() argument 542 mpBuffer->maPalette[ nColor ] = rBitmapColor; in SetPaletteColor()
|
/aoo41x/main/svx/source/unodraw/ |
H A D | unoctabl.cxx | 130 sal_Int32 nColor = 0; in insertByName() local 131 if( !(aElement >>= nColor) ) in insertByName() 134 XColorEntry* pEntry = new XColorEntry( Color( (ColorData)nColor ), aName ); in insertByName() 152 sal_Int32 nColor = 0; in replaceByName() local 153 if( !(aElement >>= nColor) ) in replaceByName() 160 XColorEntry* pEntry = new XColorEntry( Color( (ColorData)nColor ), aName ); in replaceByName()
|
/aoo41x/main/forms/source/component/ |
H A D | formcontrolfont.cxx | 187 sal_Int32 nColor = COL_TRANSPARENT; in getTextColor() local 188 m_aTextColor >>= nColor; in getTextColor() 189 return nColor; in getTextColor() 195 sal_Int32 nColor = COL_TRANSPARENT; in getTextLineColor() local 196 m_aTextLineColor >>= nColor; in getTextLineColor() 197 return nColor; in getTextLineColor()
|
/aoo41x/main/editeng/source/rtf/ |
H A D | rtfitem.cxx | 983 if( PLAINID->nColor ) in ReadAttr() 986 PLAINID->nColor )); in ReadAttr() 1732 inline sal_uInt32 CalcShading( sal_uInt32 nColor, sal_uInt32 nFillColor, sal_uInt8 nShading ) in CalcShading() argument 1734 nColor = (nColor * nShading) / 100; in CalcShading() 1736 return nColor + nFillColor; in CalcShading() 1744 sal_uInt16 nColor = USHRT_MAX, nFillColor = USHRT_MAX; in ReadBackgroundAttr() local 1763 nColor = sal_uInt16( nTokenValue ); in ReadBackgroundAttr() 1835 else if( USHRT_MAX != nColor ) in ReadBackgroundAttr() 1836 aFCol = GetColor( nColor ); in ReadBackgroundAttr() 1840 if( USHRT_MAX != nColor ) in ReadBackgroundAttr() [all …]
|
/aoo41x/main/svtools/inc/svtools/ |
H A D | colorcfg.hxx | 95 sal_Int32 nColor; member 96 ColorConfigValue() : bIsVisible(sal_False), nColor(0) {} in ColorConfigValue() 98 { return nColor != rCmp.nColor || bIsVisible != rCmp.bIsVisible;} in operator !=()
|
/aoo41x/main/basctl/source/accessibility/ |
H A D | accessibledialogwindow.cxx | 888 sal_Int32 nColor = 0; in getForeground() local 892 nColor = m_pDialogWindow->GetControlForeground().GetColor(); in getForeground() 900 nColor = aFont.GetColor().GetColor(); in getForeground() 904 return nColor; in getForeground() 913 sal_Int32 nColor = 0; in getBackground() local 917 nColor = m_pDialogWindow->GetControlBackground().GetColor(); in getBackground() 919 nColor = m_pDialogWindow->GetBackground().GetColor().GetColor(); in getBackground() 922 return nColor; in getBackground()
|
/aoo41x/main/sw/source/ui/config/ |
H A D | optpage.cxx | 2047 aDeletedAttr.nColor = COL_NONE; in FillItemSet() 2051 aDeletedAttr.nColor = COL_TRANSPARENT; in FillItemSet() 2073 aChangedAttr.nColor = COL_NONE; in FillItemSet() 2077 aChangedAttr.nColor = COL_TRANSPARENT; in FillItemSet() 2166 ColorData nColor = rInsertAttr.nColor; in Reset() local 2168 switch (nColor) in Reset() 2177 aInsertColorLB.SelectEntry(Color(nColor)); in Reset() 2180 nColor = rDeletedAttr.nColor; in Reset() 2182 switch (nColor) in Reset() 2194 nColor = rChangedAttr.nColor; in Reset() [all …]
|
/aoo41x/main/svtools/source/control/ |
H A D | valueacc.cxx | 591 … sal_uInt32 nColor = Application::GetSettings().GetStyleSettings().GetWindowTextColor().GetColor(); in getForeground() local 592 return static_cast<sal_Int32>(nColor); in getForeground() 601 sal_uInt32 nColor = Application::GetSettings().GetStyleSettings().GetWindowColor().GetColor(); in getBackground() local 602 return static_cast<sal_Int32>(nColor); in getBackground() 1267 … sal_uInt32 nColor = Application::GetSettings().GetStyleSettings().GetWindowTextColor().GetColor(); in getForeground() local 1268 return static_cast<sal_Int32>(nColor); in getForeground() 1276 sal_uInt32 nColor; in getBackground() local 1278 nColor = mpParent->maColor.GetColor(); in getBackground() 1280 nColor = Application::GetSettings().GetStyleSettings().GetWindowColor().GetColor(); in getBackground() 1281 return static_cast<sal_Int32>(nColor); in getBackground()
|