| /trunk/main/vcl/inc/vcl/ |
| H A D | settings.hxx | 339 Color maActiveBorderColor; 340 Color maActiveColor; 341 Color maActiveColor2; 342 Color maActiveTextColor; 343 Color maButtonTextColor; 344 Color maButtonRolloverTextColor; 345 Color maCheckedColor; 346 Color maDarkShadowColor; 347 Color maDeactiveBorderColor; 348 Color maDeactiveColor; [all …]
|
| H A D | bitmapex.hxx | 57 Color aTransparentColor; 73 BitmapEx( const Bitmap& rBmp, const Color& rTransparentColor ); 98 Bitmap GetBitmap( const Color* pTransReplaceColor = NULL ) const; 115 const Color& GetTransparentColor() const { return aTransparentColor; } in GetTransparentColor() 116 void SetTransparentColor( const Color& rColor ) { aTransparentColor = rColor; } in SetTransparentColor() 189 const Color* pInitColor = NULL, 226 sal_Bool Erase( const Color& rFillColor ); 280 sal_Bool Rotate( long nAngle10, const Color& rFillColor ); 297 …sal_Bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong … 317 sal_Bool Replace( const Color* pSearchColors, const Color* pReplaceColors, [all …]
|
| H A D | graphictools.hxx | 312 Color aFillColor, 319 Color aHatchColor, 321 … Color aGradient1stColor, // TODO: vector of colors and offsets 322 Color aGradient2ndColor, 330 Color getFillColor () const; 367 Color getHatchColor () const; 371 Color getGradient1stColor () const; 373 Color getGradient2ndColor () const; 394 void setFillColor ( Color aFillColor ); 421 void setHatchColor ( Color aHatchColor ); [all …]
|
| H A D | outdev.hxx | 345 Color maLineColor; 346 Color maFillColor; 348 Color maTextColor; 349 Color maTextLineColor; 350 Color maOverlineColor; 434 …ong nStartY, long nWidth, long nHeight, long nLineWidth, short nOrientation, const Color& rColor ); 435 …seX, long nBaseY, long nX, long nY, long nWidth, FontUnderline eTextLine, Color aColor, sal_Bool b… 436 …seX, long nBaseY, long nX, long nY, long nWidth, FontUnderline eTextLine, Color aColor, sal_Bool b… 437 … long nBaseX, long nBaseY, long nX, long nY, long nWidth, FontStrikeout eStrikeout, Color aColor ); 438 … long nBaseX, long nBaseY, long nX, long nY, long nWidth, FontStrikeout eStrikeout, Color aColor ); [all …]
|
| /trunk/main/svgio/source/svgreader/ |
| H A D | svgtools.cxx | 654 typedef std::hash_map< rtl::OUString, Color, rtl::OUStringHash > ColorTokenMapper; in match_colorKeyword() 655 typedef std::pair< rtl::OUString, Color > ColorTokenValueType; in match_colorKeyword() 660 …ist.insert(ColorTokenValueType(rtl::OUString::createFromAscii("aliceblue"), Color(240, 248, 255))); in match_colorKeyword() 661 ….insert(ColorTokenValueType(rtl::OUString::createFromAscii("antiquewhite"), Color(250, 235, 215))); in match_colorKeyword() 662 …apperList.insert(ColorTokenValueType(rtl::OUString::createFromAscii("aqua"), Color( 0, 255, 255))); in match_colorKeyword() 663 …st.insert(ColorTokenValueType(rtl::OUString::createFromAscii("aquamarine"), Color(127, 255, 212))); in match_colorKeyword() 664 …perList.insert(ColorTokenValueType(rtl::OUString::createFromAscii("azure"), Color(240, 255, 255))); in match_colorKeyword() 665 …perList.insert(ColorTokenValueType(rtl::OUString::createFromAscii("beige"), Color(245, 245, 220))); in match_colorKeyword() 666 …erList.insert(ColorTokenValueType(rtl::OUString::createFromAscii("bisque"), Color(255, 228, 196))); in match_colorKeyword() 667 …enMapperList.insert(ColorTokenValueType(rtl::OUString::createFromAscii("black"), Color( 0, 0, 0))); in match_colorKeyword() [all …]
|
| /trunk/main/basebmp/inc/basebmp/ |
| H A D | colormisc.hxx | 42 template<> struct ColorBitmaskOutputMaskFunctor<true> : MaskFunctorBase<Color,sal_uInt8> 44 Color operator()( Color v1, sal_uInt8 m, Color v2 ) const in operator ()() 48 return Color(v1.toInt32()*(sal_uInt8)(1-m) + v2.toInt32()*m); in operator ()() 51 template<> struct ColorBitmaskOutputMaskFunctor<false> : MaskFunctorBase<Color,sal_uInt8> 53 Color operator()( Color v1, sal_uInt8 m, Color v2 ) const in operator ()() 57 return Color(v1.toInt32()*m + v2.toInt32()*(sal_uInt8)(1-m)); in operator ()() 62 template<bool polarity> struct outputMaskFunctorSelector< Color, sal_uInt8, polarity, FastMask > 68 : public TernaryFunctorBase<sal_uInt8,Color,Color,Color> 70 Color operator()( sal_uInt8 alpha, in operator ()() 71 Color v1, in operator ()() [all …]
|
| H A D | color.hxx | 33 class Color class 42 Color() : mnColor(0) {} in Color() function in basebmp::Color 43 explicit Color( sal_uInt32 nVal ) : mnColor(nVal) {} in Color() function in basebmp::Color 44 Color( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) : in Color() function in basebmp::Color 65 Color operator&( sal_uInt32 nMask ) const { return Color(mnColor & nMask); } in operator &() 66 Color operator^( Color col ) const { return Color(col.getRed()^getRed(), in operator ^() 69 Color operator-( Color col ) const { return Color((sal_uInt8)abs((int)getRed()-col.getRed()), in operator -() 72 Color operator+( Color col ) const { return Color(getRed()+col.getRed(), in operator +() 75 …Color operator*( Color col ) const { return Color((sal_uInt8)((sal_uInt32)col.getRed()*getRed()/SA… in operator *() 78 …Color operator*( sal_uInt8 n ) const { return Color((sal_uInt8)((sal_uInt32)n*getRed()/SAL_MAX_UIN… in operator *() [all …]
|
| H A D | bitmapdevice.hxx | 58 class Color; 61 typedef boost::shared_ptr< const std::vector<Color> > PaletteMemorySharedVector; 135 void clear( Color fillColor ); 149 Color pixelColor, 168 Color pixelColor, 174 Color getPixel( const basegfx::B2IPoint& rPt ); 203 Color lineColor, 229 Color lineColor, 247 Color lineColor, 268 Color lineColor, [all …]
|
| /trunk/main/svx/source/xoutdev/ |
| H A D | xtabcolr.cxx | 147 Insert( new XColorEntry( Color( 0xff, 0xff, 0xff ), SVX_RESSTR( RID_SVXSTR_COLOR_WHITE ) ) ); in Create() 148 aStrGrey.AppendAscii(" 1"); Insert( new XColorEntry( Color( 0xee, 0xee, 0xee ), aStrGrey ) ); in Create() 149 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('2')); Insert( new XColorEntry( Color( 0xdd, 0xdd… in Create() 150 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('3')); Insert( new XColorEntry( Color( 0xcc, 0xcc… in Create() 151 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('4')); Insert( new XColorEntry( Color( 0xb2, 0xb2… in Create() 152 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('5')); Insert( new XColorEntry( Color( 0x99, 0x99… in Create() 153 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('6')); Insert( new XColorEntry( Color( 0x80, 0x80… in Create() 154 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('7')); Insert( new XColorEntry( Color( 0x66, 0x66… in Create() 155 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('8')); Insert( new XColorEntry( Color( 0x33, 0x33… in Create() 156 …aStrGrey.SetChar(aStrGrey.Len() - 1, sal_Unicode('9')); Insert( new XColorEntry( Color( 0x1c, 0x1c… in Create() [all …]
|
| /trunk/main/offapi/com/sun/star/awt/ |
| H A D | XStyleSettings.idl | 27 #include <com/sun/star/util/Color.idl> 56 [attribute] ::com::sun::star::util::Color ActiveBorderColor; 59 [attribute] ::com::sun::star::util::Color ActiveColor; 62 [attribute] ::com::sun::star::util::Color ActiveTabColor; 65 [attribute] ::com::sun::star::util::Color ActiveTextColor; 68 [attribute] ::com::sun::star::util::Color ButtonRolloverTextColor; 71 [attribute] ::com::sun::star::util::Color ButtonTextColor; 74 [attribute] ::com::sun::star::util::Color CheckedColor; 77 [attribute] ::com::sun::star::util::Color DarkShadowColor; 80 [attribute] ::com::sun::star::util::Color DeactiveBorderColor; [all …]
|
| /trunk/main/sw/source/ui/config/ |
| H A D | viewopt.cxx | 61 Color SwViewOption::aDocBoundColor(COL_LIGHTGRAY); 62 Color SwViewOption::aObjectBoundColor(COL_LIGHTGRAY); 63 Color SwViewOption::aDocColor(COL_LIGHTGRAY); 64 Color SwViewOption::aAppBackgroundColor(COL_LIGHTGRAY); 65 Color SwViewOption::aTableBoundColor(COL_LIGHTGRAY); 66 Color SwViewOption::aIndexShadingsColor(COL_LIGHTGRAY); 67 Color SwViewOption::aLinksColor(COL_BLUE); 68 Color SwViewOption::aVisitedLinksColor(COL_RED); 69 Color SwViewOption::aDirectCursorColor(COL_BLUE); 70 Color SwViewOption::aTextGridColor(COL_LIGHTGRAY); [all …]
|
| /trunk/main/svtools/workben/ |
| H A D | svdem.cxx | 170 Color aInfoColor; 171 Color aHolidayColor; 172 Color aFrameColor; 295 SetBackground( Wallpaper( Color( COL_WHITE ) ) ); in ShowFont() 421 …aColorBox.InsertEntry( Color( COL_BLACK ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Black"… in MyFontDialog() 422 …aColorBox.InsertEntry( Color( COL_BLUE ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Blue" … in MyFontDialog() 423 …aColorBox.InsertEntry( Color( COL_GREEN ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Green"… in MyFontDialog() 424 …aColorBox.InsertEntry( Color( COL_CYAN ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Cyan" … in MyFontDialog() 425 …aColorBox.InsertEntry( Color( COL_RED ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Red" )… in MyFontDialog() 426 …aColorBox.InsertEntry( Color( COL_MAGENTA ), XubString( RTL_CONSTASCII_USTRINGPARAM( "Magent… in MyFontDialog() [all …]
|
| /trunk/main/sw/inc/ |
| H A D | viewopt.hxx | 119 static Color aDocColor; // color of document boundaries 120 static Color aDocBoundColor; // color of document boundaries 121 static Color aObjectBoundColor; // color of object boundaries 122 static Color aAppBackgroundColor; // application background 123 static Color aTableBoundColor; // color of table boundaries 124 static Color aFontColor; 125 static Color aIndexShadingsColor; // background color of indexes 126 static Color aLinksColor; 127 static Color aVisitedLinksColor; 128 static Color aDirectCursorColor; [all …]
|
| /trunk/main/tools/inc/tools/ |
| H A D | color.hxx | 113 class TOOLS_DLLPUBLIC Color class 119 Color() { mnColor = COL_BLACK; } in Color() function in Color 120 Color( ColorData nColor ) { mnColor = nColor; } in Color() function in Color 121 Color( sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color() function in Color 123 … Color( sal_uInt8 nTransparency, sal_uInt8 nRed, sal_uInt8 nGreen, sal_uInt8 nBlue ) in Color() function in Color 125 Color( const ResId& rResId ); 129 explicit Color(const ::basegfx::BColor& rBColor) in Color() function in Color 150 sal_uInt8 GetColorError( const Color& rCompareColor ) const; 161 void Merge( const Color& rMergeColor, sal_uInt8 cTransparency ); 163 sal_Bool IsRGBEqual( const Color& rColor ) const; [all …]
|
| /trunk/main/basebmp/test/ |
| H A D | basictest.cxx | 58 Color aTestColor; in TEST_F() 60 aTestColor = Color(0xDEADBEEF); in TEST_F() 63 aTestColor = Color( 0x10, 0x20, 0xFF ); in TEST_F() 78 aTestColor = Color( 0x10, 0x20, 0xFF ); in TEST_F() 96 ASSERT_TRUE( (*pDevice->getPalette())[0] == Color(0) ) << "Palette entry 0 is black"; in TEST_F() 97 ASSERT_TRUE( (*pDevice->getPalette())[1] == Color(0xFFFFFFFF) ) << "Palette entry 1 is white"; in TEST_F() 109 const Color aCol(0xFFFFFFFF); in TEST_F() 114 const Color aCol2(0xFFFFFFFF); in TEST_F() 119 const Color aCol3(0x00000000); in TEST_F() 164 const Color aCol4(0x010101); in TEST_F() [all …]
|
| /trunk/main/vcl/source/app/ |
| H A D | settings.cxx | 583 maFaceColor = Color( COL_LIGHTGRAY ); in SetStandardStyles() 584 maCheckedColor = Color( 0xCC, 0xCC, 0xCC ); in SetStandardStyles() 585 maLightColor = Color( COL_WHITE ); in SetStandardStyles() 586 maLightBorderColor = Color( COL_LIGHTGRAY ); in SetStandardStyles() 587 maShadowColor = Color( COL_GRAY ); in SetStandardStyles() 588 maDarkShadowColor = Color( COL_BLACK ); in SetStandardStyles() 589 maButtonTextColor = Color( COL_BLACK ); in SetStandardStyles() 590 maButtonRolloverTextColor = Color( COL_BLACK ); in SetStandardStyles() 591 maRadioCheckTextColor = Color( COL_BLACK ); in SetStandardStyles() 592 maGroupTextColor = Color( COL_BLACK ); in SetStandardStyles() [all …]
|
| /trunk/main/svx/inc/svx/ |
| H A D | svx3ditems.hxx | 123 Svx3DMaterialColorItem(const Color& rCol = Color(0x0000b8ff)); 128 SVX_DLLPUBLIC Svx3DMaterialEmissionItem(const Color& rCol = Color(0x00000000)); 133 SVX_DLLPUBLIC Svx3DMaterialSpecularItem(const Color& rCol = Color(0x00ffffff)); 194 Svx3DLightcolor1Item(const Color& rCol = Color(0xffcccccc)); 199 Svx3DLightcolor2Item(const Color& rCol = Color(0x00000000)); 204 Svx3DLightcolor3Item(const Color& rCol = Color(0x00000000)); 209 Svx3DLightcolor4Item(const Color& rCol = Color(0x00000000)); 214 Svx3DLightcolor5Item(const Color& rCol = Color(0x00000000)); 219 Svx3DLightcolor6Item(const Color& rCol = Color(0x00000000)); 224 Svx3DLightcolor7Item(const Color& rCol = Color(0x00000000)); [all …]
|
| H A D | swframeexample.hxx | 36 Color m_aTransColor; // transparency 37 Color m_aBgCol; // background 38 Color m_aFrameColor; // graphic frame 39 Color m_aAlignColor; // align anchor 40 Color m_aBorderCol; // frame of doc 41 Color m_aPrintAreaCol; // frame of printable area of doc 42 Color m_aTxtCol; // symbolised text 43 Color m_aBlankCol; // area of symbol for blank 44 Color m_aBlankFrameCol; // frame of symbol for blank 71 …Rectangle DrawInnerFrame_Impl(const Rectangle &rRect, const Color &rFillColor, const Color &rBorde… [all …]
|
| /trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
| H A D | TokenView.java | 24 import java.awt.Color; 88 final Color aRunColor; in paintComponent() 133 final Color aBackgroundColor; in PaintLineHighlight() 139 final Color aBarColor; in PaintLineHighlight() 395 private final static Color maSeparatorColor = Color.GRAY; 396 private final static Color maBackgroundColor = Color.WHITE; 397 private final static Color maHighlightColor = new Color(0xB0E0E6); // Powder Blue 398 private final static Color maGroupHighlightColor0 = new Color(0x32CD32); // Lime Green 399 private final static Color maGroupHighlightColor1 = new Color(0x90EE90); // Light Green 400 private final static Color maGroupHighlightColor2 = new Color(0xbbFfbb); [all …]
|
| /trunk/main/vcl/source/gdi/ |
| H A D | bitmapex.cxx | 170 BitmapEx::BitmapEx( const Bitmap& rBmp, const Color& rTransparentColor ) : in BitmapEx() 280 Bitmap BitmapEx::GetBitmap( const Color* pTransReplaceColor ) const in GetBitmap() 480 sal_Bool BitmapEx::Rotate( long nAngle10, const Color& rFillColor ) in Rotate() 486 const sal_Bool bTransRotate = ( Color( COL_TRANSPARENT ) == rFillColor ); in Rotate() 562 sal_Bool BitmapEx::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor, sal_Bool bExpandT… in Expand() 572 Color aColor( bExpandTransparent ? COL_WHITE : COL_BLACK ); in Expand() 648 aMask.Erase( Color( COL_BLACK ) ); in CopyPixel() 664 aMaskSrc.Erase( Color( COL_BLACK ) ); in CopyPixel() 676 sal_Bool BitmapEx::Erase( const Color& rFillColor ) in Erase() 689 …const Color aFill( rFillColor.GetTransparency(), rFillColor.GetTransparency(), rFillColor.GetTrans… in Erase() [all …]
|
| /trunk/main/svtools/source/filter/wmf/ |
| H A D | wmfwr.hxx | 44 Color aLineColor; 45 Color aFillColor; 46 Color aTextColor; 87 Color aSrcLineColor; 88 Color aSrcFillColor; 89 Color aSrcTextColor; 102 Color aDstLineColor; 103 Color aDstFillColor; 104 Color aDstTextColor; 144 void WriteColor(const Color & rColor); [all …]
|
| /trunk/main/oox/source/drawingml/ |
| H A D | color.cxx | 213 Color::Color() : in Color() function in oox::drawingml::Color 222 Color::~Color() in ~Color() 226 /*static*/ sal_Int32 Color::getDmlPresetColor( sal_Int32 nToken, sal_Int32 nDefaultRgb ) in getDmlPresetColor() 235 /*static*/ sal_Int32 Color::getVmlPresetColor( sal_Int32 nToken, sal_Int32 nDefaultRgb ) in getVmlPresetColor() 244 void Color::setUnused() in setUnused() 249 void Color::setSrgbClr( sal_Int32 nRgb ) in setSrgbClr() 256 void Color::setScrgbClr( sal_Int32 nR, sal_Int32 nG, sal_Int32 nB ) in setScrgbClr() 267 void Color::setHslClr( sal_Int32 nHue, sal_Int32 nSat, sal_Int32 nLum ) in setHslClr() 278 void Color::setPrstClr( sal_Int32 nToken ) in setPrstClr() 286 void Color::setSchemeClr( sal_Int32 nToken ) in setSchemeClr() [all …]
|
| /trunk/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/ |
| H A D | WseColorTable.java | 27 import java.awt.Color; 47 private Color fgColors[]; 48 private Color bgColors[]; 54 fgColors = new Color[16]; in WseColorTable() 55 bgColors = new Color[16]; in WseColorTable() 58 fgColors[0] = Color.black; in WseColorTable() 59 bgColors[0] = Color.white; in WseColorTable() 70 fgColors = new Color[16]; in WseColorTable() 71 bgColors = new Color[16]; in WseColorTable() 75 fgColors[k] = new Color(((int)dataArray[i+1]) & 0xFF, in WseColorTable() [all …]
|
| /trunk/main/svtools/source/table/ |
| H A D | gridtablerenderer.cxx | 82 Color m_lastArrowColor; 224 Color lcl_getEffectiveColor( in lcl_getEffectiveColor() 225 ::boost::optional< ::Color > const & i_modelColor, in lcl_getEffectiveColor() 227 ::Color const & ( StyleSettings::*i_getDefaultColor ) () const in lcl_getEffectiveColor() 246 …Color const background = lcl_getEffectiveColor( m_pImpl->rModel.getHeaderBackgroundColor(), _rStyl… in PaintHeaderArea() 253 ::boost::optional< ::Color > aLineColor( m_pImpl->rModel.getLineColor() ); in PaintHeaderArea() 254 ::Color const lineColor = !aLineColor ? _rStyle.GetSeparatorColor() : *aLineColor; in PaintHeaderArea() 276 …::Color const textColor = lcl_getEffectiveColor( m_pImpl->rModel.getTextColor(), _rStyle, &StyleSe… in PaintColumnHeader() 285 ::boost::optional< ::Color > const aLineColor( m_pImpl->rModel.getLineColor() ); in PaintColumnHeader() 286 ::Color const lineColor = !aLineColor ? _rStyle.GetSeparatorColor() : *aLineColor; in PaintColumnHeader() [all …]
|
| /trunk/main/sd/source/ui/slidesorter/shell/ |
| H A D | SlideSorterService.cxx | 487 util::Color SAL_CALL SlideSorterService::getBackgroundColor (void) in getBackgroundColor() 492 return util::Color(); in getBackgroundColor() 494 return util::Color( in getBackgroundColor() 501 void SAL_CALL SlideSorterService::setBackgroundColor (util::Color aBackgroundColor) in setBackgroundColor() 506 mpSlideSorter->GetProperties()->SetBackgroundColor(Color(aBackgroundColor)); in setBackgroundColor() 512 util::Color SAL_CALL SlideSorterService::getTextColor (void) in getTextColor() 517 return util::Color(); in getTextColor() 519 return util::Color( in getTextColor() 526 void SAL_CALL SlideSorterService::setTextColor (util::Color aTextColor) in setTextColor() 531 mpSlideSorter->GetProperties()->SetTextColor(Color(aTextColor)); in setTextColor() [all …]
|