/trunk/main/svx/source/engine3d/ |
H A D | svx3ditems.cxx | 118 : SvxColorItem(rCol, SDRATTR_3DOBJ_MAT_COLOR) in Svx3DMaterialColorItem() 122 : SvxColorItem(rCol, SDRATTR_3DOBJ_MAT_EMISSION) in Svx3DMaterialEmissionItem() 126 : SvxColorItem(rCol, SDRATTR_3DOBJ_MAT_SPECULAR) in Svx3DMaterialSpecularItem() 162 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_1) in Svx3DLightcolor1Item() 166 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_2) in Svx3DLightcolor2Item() 170 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_3) in Svx3DLightcolor3Item() 174 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_4) in Svx3DLightcolor4Item() 178 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_5) in Svx3DLightcolor5Item() 182 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_6) in Svx3DLightcolor6Item() 186 : SvxColorItem(rCol, SDRATTR_3DSCENE_LIGHTCOLOR_7) in Svx3DLightcolor7Item() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | table6.cxx | 251 SCCOL nCol = rCol; in Search() 368 rCol = nCol; in Search() 401 SCCOL nCol = rCol; in Replace() 420 rCol = nCol; in Replace() 462 SCsCOL nCol = rCol; in SearchStyle() 527 rCol = (SCCOL) nCol; in SearchStyle() 542 bRet = SearchStyle(rSearchItem, rCol, rRow, rMark); in ReplaceStyle() 550 ApplyStyle( rCol, rRow, *pReplaceStyle ); in ReplaceStyle() 625 SCCOL& rCol, SCROW& rRow, ScMarkData& rMark, in SearchAndReplace() argument 630 if ( ValidColRow(rCol, rRow) || in SearchAndReplace() [all …]
|
H A D | column.cxx | 1028 SCsCOL dx = rCol.nCol - nCol; in SwapCell() 1061 rCol.Insert(nRow, pCell1); in SwapCell() 1489 nTemp = rCol.nCount; in SwapCol() 1490 rCol.nCount = nCount; in SwapCol() 1493 nTemp = rCol.nLimit; in SwapCol() 1494 rCol.nLimit = nLimit; in SwapCol() 1498 rCol.pItems = pItems; in SwapCol() 1502 rCol.pAttrArray = pAttrArray; in SwapCol() 1507 rCol.pAttrArray->SetCol(rCol.nCol); in SwapCol() 1517 if (rCol.pItems) in SwapCol() [all …]
|
H A D | table1.cxx | 906 SCsCOL nNewCol = (SCsCOL) rCol; in FindAreaPos() 919 if (nNewCol == (SCsCOL)rCol) in FindAreaPos() 935 rCol = (SCCOL) nNewCol; in FindAreaPos() 939 aCol[rCol].FindDataAreaPos(rRow,nMovY); in FindAreaPos() 982 SCsCOL nCol = rCol; in GetNextPos() 1135 rCol = nCol; in GetNextPos() 1149 while ( rCol <= MAXCOL ) in GetNextMarkedCell() 1503 nPixel = aCol[rCol].GetNeededSize( in MaybeAddExtraColumn() 1509 long nDocW = GetColWidth( rCol ); in MaybeAddExtraColumn() 1536 SCCOL nNewCol = rCol; in MaybeAddExtraColumn() [all …]
|
H A D | documen3.cxx | 1069 rCol = MAXCOL; in GetSearchAndReplaceStart() 1074 rCol = MAXCOL; in GetSearchAndReplaceStart() 1079 rCol = MAXCOL+1; in GetSearchAndReplaceStart() 1087 rCol = MAXCOL+1; in GetSearchAndReplaceStart() 1092 rCol = MAXCOL; in GetSearchAndReplaceStart() 1097 rCol = MAXCOL; in GetSearchAndReplaceStart() 1108 rCol = 0; in GetSearchAndReplaceStart() 1113 rCol = 0; in GetSearchAndReplaceStart() 1131 rCol = 0; in GetSearchAndReplaceStart() 1136 rCol = 0; in GetSearchAndReplaceStart() [all …]
|
/trunk/main/sw/source/filter/inc/ |
H A D | fltglbls.hxx | 82 void NormalizeCol( sal_uInt16 &rCol ) { rCol -= nColStart; } in NormalizeCol() argument 84 void Normalize( sal_uInt16 &rCol, sal_uInt16 &rRow ) in Normalize() argument 85 { NormalizeCol( rCol ); NormalizeRow( rRow ); } in Normalize() 96 inline void ColLimitter( sal_uInt16 &rCol ); 104 inline void FilterGlobals::ColLimitter( sal_uInt16 &rCol ) in ColLimitter() argument 106 if( rCol < nColStart ) in ColLimitter() 107 rCol = nColStart; in ColLimitter() 108 else if( rCol > nColEnd ) in ColLimitter() 109 rCol = nColEnd; in ColLimitter()
|
H A D | wrtswtbl.hxx | 203 inline int operator==( const SwWriteTableCol& rCol ) const; 204 inline int operator<( const SwWriteTableCol& rCol ) const; 214 inline int SwWriteTableCol::operator==( const SwWriteTableCol& rCol ) const in operator ==() 217 return (nPos >= rCol.nPos ? nPos - rCol.nPos in operator ==() 218 : rCol.nPos - nPos ) <= COLFUZZY; in operator ==() 221 inline int SwWriteTableCol::operator<( const SwWriteTableCol& rCol ) const in operator <() 225 return nPos < rCol.nPos - COLFUZZY; in operator <()
|
/trunk/main/vcl/unx/headless/ |
H A D | svpbmp.cxx | 75 const BitmapColor& rCol = rPalette[i]; in Create() local 76 (*pPalette)[i] = basebmp::Color( rCol.GetRed(), rCol.GetGreen(), rCol.GetBlue() ); in Create() 236 const basebmp::Color& rCol = (*aPalette)[i]; in AcquireBuffer() local 237 … pBuf->maPalette[i] = BitmapColor( rCol.getRed(), rCol.getGreen(), rCol.getBlue() ); in AcquireBuffer() 299 const BitmapColor& rCol = pBuffer->maPalette[i]; in ReleaseBuffer() local 300 (*pPal)[i] = basebmp::Color( rCol.GetRed(), rCol.GetGreen(), rCol.GetBlue() ); in ReleaseBuffer()
|
/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)); 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)); 229 Svx3DLightcolor8Item(const Color& rCol = Color(0x00000000)); [all …]
|
H A D | dlgctrl.hxx | 232 void SetPixelColor( const Color& rCol ) { aPixelColor = rCol; } in SetPixelColor() argument 233 void SetBackgroundColor( const Color& rCol ) { aBackgroundColor = rCol; } in SetBackgroundColor() argument 234 void SetLineColor( const Color& rCol ) { aLineColor = rCol; } in SetLineColor() argument
|
/trunk/main/editeng/source/items/ |
H A D | itemtype.cxx | 150 XubString GetColorString( const Color& rCol ) in GetColorString() argument 156 RGB_COLORDATA( rCol.GetRed(), rCol.GetGreen(), rCol.GetBlue() ); in GetColorString() 180 sStr += String::CreateFromInt32( rCol.GetRed() ); in GetColorString() 182 sStr += String::CreateFromInt32( rCol.GetGreen() ); in GetColorString() 184 sStr += String::CreateFromInt32( rCol.GetBlue() ); in GetColorString()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewtab.cxx | 84 void lcl_FillSvxColumn(const SwFmtCol& rCol, in lcl_FillSvxColumn() argument 89 const SwColumns& rCols = rCol.GetColumns(); in lcl_FillSvxColumn() 92 sal_Bool bOrtho = rCol.IsOrtho() && rCols.Count(); in lcl_FillSvxColumn() 225 void ResizeFrameCols(SwFmtCol& rCol, in ResizeFrameCols() argument 230 SwColumns& rArr = rCol.GetColumns(); in ResizeFrameCols() 231 long nWishSum = (long)rCol.GetWishWidth(); in ResizeFrameCols() 254 rCol.SetWishWidth( (sal_uInt16) (nNewWishWidth) ); in ResizeFrameCols() 261 rCol.SetOrtho(sal_False, 0, 0 ); in ResizeFrameCols() 870 aTabCols.SetHidden( i, !rCol.bVisible ); in ExecTabWin() 879 aTabCols.SetHidden( i, !rCol.bVisible ); in ExecTabWin() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap.cxx | 1631 const BitmapColor& rCol = pAcc->GetPaletteColor( i ); in Replace() local 1633 if( nMinR <= rCol.GetRed() && nMaxR >= rCol.GetRed() && in Replace() 1634 nMinG <= rCol.GetGreen() && nMaxG >= rCol.GetGreen() && in Replace() 1635 nMinB <= rCol.GetBlue() && nMaxB >= rCol.GetBlue() ) in Replace() 1703 const Color& rCol = pSearchColors[ i ]; in Replace() local 1706 pMinR[ i ] = MinMax( (long) rCol.GetRed() - nTol, 0, 255 ); in Replace() 1707 pMaxR[ i ] = MinMax( (long) rCol.GetRed() + nTol, 0, 255 ); in Replace() 1718 const BitmapColor& rCol = pAcc->GetPaletteColor( nEntry ); in Replace() local 1722 if( pMinR[ i ] <= rCol.GetRed() && pMaxR[ i ] >= rCol.GetRed() && in Replace() 1723 pMinG[ i ] <= rCol.GetGreen() && pMaxG[ i ] >= rCol.GetGreen() && in Replace() [all …]
|
H A D | bitmap3.cxx | 1521 nSumRowB += rCol.GetBlue() << 7L; in ImplScaleSuper() 1522 nSumRowG += rCol.GetGreen() << 7L; in ImplScaleSuper() 1523 nSumRowR += rCol.GetRed() << 7L; in ImplScaleSuper() 1531 nSumRowR += ( nWeightX *rCol.GetRed()) ; in ImplScaleSuper() 1539 nSumRowR += ( nWeightX *rCol.GetRed() ); in ImplScaleSuper() 1544 nSumRowB += rCol.GetBlue() << 7L; in ImplScaleSuper() 1545 nSumRowG += rCol.GetGreen() << 7L; in ImplScaleSuper() 1546 nSumRowR += rCol.GetRed() << 7L; in ImplScaleSuper() 3159 pColBuf[ RGB15( rCol.GetRed() >> 3, rCol.GetGreen() >> 3, rCol.GetBlue() >> 3 ) ]++; in ImplReduceMedian() 3434 aNewCol.SetRed( cMapR[ rCol.GetRed() ] ); in Adjust() [all …]
|
H A D | salmisc.cxx | 65 static long ImplIndexFromColor( const BitmapColor& rCol ) in ImplIndexFromColor() argument 69 return( ( ( (long) rCol.GetBlue() >> 4L) << 8L ) | in ImplIndexFromColor() 70 ( ( (long) rCol.GetGreen() >> 4L ) << 4L ) | in ImplIndexFromColor() 71 ( (long) rCol.GetRed() >> 4L ) ); in ImplIndexFromColor() 75 return( ( ( (long) rCol.GetBlue() >> 3L) << 10L ) | in ImplIndexFromColor() 76 ( ( (long) rCol.GetGreen() >> 3L ) << 5L ) | in ImplIndexFromColor() 77 ( (long) rCol.GetRed() >> 3L ) ); in ImplIndexFromColor()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdetc.cxx | 497 FASTBOOL GetDraftFillColor(const SfxItemSet& rSet, Color& rCol) in GetDraftFillColor() argument 506 rCol = ((XFillColorItem&)rSet.Get(XATTR_FILLCOLOR)).GetColorValue(); in GetDraftFillColor() 524 rCol = Color(aAverageColor); in GetDraftFillColor() 534 rCol = Color(aAverageColor); in GetDraftFillColor() 574 rCol = Color(sal_uInt8(nRt), sal_uInt8(nGn), sal_uInt8(nBl)); in GetDraftFillColor() 867 Color& rCol) in impGetSdrObjListFillColor() argument 884 bRet = impGetSdrObjListFillColor(*pOL, rPnt, rTextEditPV, rVisLayers, rCol); in impGetSdrObjListFillColor() 898 bRet = GetDraftFillColor(pObj->GetMergedItemSet(), rCol); in impGetSdrObjListFillColor() 911 Color& rCol, in impGetSdrPageFillColor() argument 917 bool bRet(impGetSdrObjListFillColor(rPage, rPnt, rTextEditPV, rVisLayers, rCol)); in impGetSdrPageFillColor() [all …]
|
/trunk/main/sdext/source/pdfimport/misc/ |
H A D | pdfihelper.cxx | 35 rtl::OUString pdfi::getColorString( const rendering::ARGBColor& rCol ) in getColorString() argument 38 const sal_uInt8 nRed ( sal::static_int_cast<sal_Int8>( basegfx::fround( rCol.Red * 255.0 ) ) ); in getColorString() 39 … const sal_uInt8 nGreen( sal::static_int_cast<sal_Int8>( basegfx::fround( rCol.Green * 255.0 ) ) ); in getColorString() 40 … const sal_uInt8 nBlue ( sal::static_int_cast<sal_Int8>( basegfx::fround( rCol.Blue * 255.0 ) ) ); in getColorString() 53 OSL_ASSERT(rCol.Alpha == 1.0); in getColorString()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | colmgr.cxx | 44 void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth) in FitToActualSize() argument 46 const sal_uInt16 nCount = rCol.GetColumns().Count(); in FitToActualSize() 49 const sal_uInt16 nTmp = rCol.CalcColWidth(i, nWidth); in FitToActualSize() 50 rCol.GetColumns()[i]->SetWishWidth(nTmp); in FitToActualSize() 52 rCol.SetWishWidth(nWidth); in FitToActualSize()
|
/trunk/main/svx/source/sidebar/tools/ |
H A D | ColorControl.cxx | 46 short GetItemId_Imp( ValueSet& rValueSet, const Color& rCol ) in GetItemId_Imp() argument 48 if(rCol == COL_AUTO) in GetItemId_Imp() 59 bFound = ( aValCol.GetRed() == rCol.GetRed() in GetItemId_Imp() 60 && aValCol.GetGreen() == rCol.GetGreen() in GetItemId_Imp() 61 && aValCol.GetBlue() == rCol.GetBlue() ); in GetItemId_Imp()
|
/trunk/main/sc/inc/ |
H A D | table.hxx | 346 void GetFirstDataPos(SCCOL& rCol, SCROW& rRow) const; 347 void GetLastDataPos(SCCOL& rCol, SCROW& rRow) const; 442 void FindAreaPos( SCCOL& rCol, SCROW& rRow, SCsCOL nMovX, SCsROW nMovY ); 443 void GetNextPos( SCCOL& rCol, SCROW& rRow, SCsCOL nMovX, SCsROW nMovY, 515 SCCOL& rCol, SCROW& rRow, ScMarkData& rMark, 825 sal_Bool Search(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, 829 sal_Bool Replace(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, 834 sal_Bool SearchStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, 836 sal_Bool ReplaceStyle(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, 868 sal_Bool GetNextSpellingCell(SCCOL& rCol, SCROW& rRow, sal_Bool bInSel, [all …]
|
/trunk/main/sw/source/ui/inc/ |
H A D | colmgr.hxx | 29 SW_DLLPUBLIC void FitToActualSize(SwFmtCol& rCol, sal_uInt16 nWidth); 54 inline void SetLineWidthAndColor(sal_uLong nWidth, const Color& rCol); 85 inline void SwColMgr::SetLineWidthAndColor(sal_uLong nLWidth, const Color& rCol) in SetLineWidthAndColor() argument 88 aFmtCol.SetLineColor(rCol); in SetLineWidthAndColor()
|
/trunk/main/sc/source/core/inc/ |
H A D | jumpmatrix.hxx | 161 void GetPos( SCSIZE& rCol, SCSIZE& rRow ) const in GetPos() argument 163 rCol = nCurCol; in GetPos() 166 bool Next( SCSIZE& rCol, SCSIZE& rRow ) in Next() argument 181 GetPos( rCol, rRow ); in Next()
|
/trunk/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 197 void ToolboxButtonColorUpdater::DrawChar( VirtualDevice& rVirDev, const Color& rCol ) in DrawChar() argument 208 aFont.SetColor( rCol ); in DrawChar() 214 rVirDev.SetFillColor( rCol ); in DrawChar() 217 aFont.SetFillColor( rCol ); in DrawChar()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | rtfexport.cxx | 987 void RtfExport::InsColor( const Color& rCol ) in InsColor() argument 993 if ((*it).second == rCol) in InsColor() 999 if (rCol.GetColor() == COL_AUTO) in InsColor() 1011 m_aColTbl.insert(std::pair<sal_uInt16,Color>( n, rCol )); in InsColor() 1133 const Color& rCol = m_aColTbl[ n ]; in OutColorTable() local 1134 if( n || COL_AUTO != rCol.GetColor() ) in OutColorTable() 1137 OutULong( rCol.GetRed() ) << OOO_STRING_SVTOOLS_RTF_GREEN; in OutColorTable() 1138 OutULong( rCol.GetGreen() ) << OOO_STRING_SVTOOLS_RTF_BLUE; in OutColorTable() 1139 OutULong( rCol.GetBlue() ); in OutColorTable()
|
/trunk/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 361 const Color &rCol = GetSettings().GetStyleSettings().GetWindowColor(); in DataChanged() local 362 SetBackground( rCol ); in DataChanged() 364 aFont.SetFillColor( rCol ); in DataChanged() 500 const Color &rCol = GetSettings().GetStyleSettings().GetWindowColor(); in CreateTextEngine() local 502 pOutWin->SetBackground(Wallpaper(rCol)); in CreateTextEngine() 528 aFont.SetFillColor( rCol ); in CreateTextEngine() 531 aFont.SetFillColor( rCol ); in CreateTextEngine()
|