Lines Matching refs:pLine

1835 table::BorderLine SvxBoxItem::SvxLineToLine(const SvxBorderLine* pLine, sal_Bool bConvert)  in SvxLineToLine()  argument
1838 if(pLine) in SvxLineToLine()
1840 aLine.Color = pLine->GetColor().GetColor() ; in SvxLineToLine()
1841 …nnerLineWidth = sal_uInt16( bConvert ? TWIP_TO_MM100_UNSIGNED(pLine->GetInWidth() ): pLine->GetInW… in SvxLineToLine()
1842 …uterLineWidth = sal_uInt16( bConvert ? TWIP_TO_MM100_UNSIGNED(pLine->GetOutWidth()): pLine->GetOut… in SvxLineToLine()
1843 …ineDistance = sal_uInt16( bConvert ? TWIP_TO_MM100_UNSIGNED(pLine->GetDistance()): pLine->GetDis… in SvxLineToLine()
2273 const SvxBorderLine* pLine[ 4 ]; // top, left, right, bottom in Store() local
2274 pLine[ 0 ] = GetTop(); in Store()
2275 pLine[ 1 ] = GetLeft(); in Store()
2276 pLine[ 2 ] = GetRight(); in Store()
2277 pLine[ 3 ] = GetBottom(); in Store()
2281 const SvxBorderLine* l = pLine[ i ]; in Store()
2712 const SvxBorderLine* pLine[ 2 ]; in Store() local
2713 pLine[ 0 ] = GetHori(); in Store()
2714 pLine[ 1 ] = GetVert(); in Store()
2718 const SvxBorderLine* l = pLine[ i ]; in Store()
3233 pLine( NULL ) in SvxLineItem()
3243 pLine = rCpy.GetLine() ? new SvxBorderLine( *rCpy.GetLine() ) : 0; in SvxLineItem()
3251 delete pLine; in ~SvxLineItem()
3269 return CmpBrdLn( pLine, ((SvxLineItem&)rAttr).GetLine() ); in operator ==()
3285 rVal <<= uno::makeAny( SvxBoxItem::SvxLineToLine(pLine, bConvert) ); in QueryValue()
3288 else if ( pLine ) in QueryValue()
3292 case MID_FG_COLOR: rVal <<= sal_Int32(pLine->GetColor().GetColor()); break; in QueryValue()
3293 case MID_OUTER_WIDTH: rVal <<= sal_Int32(pLine->GetOutWidth()); break; in QueryValue()
3294 case MID_INNER_WIDTH: rVal <<= sal_Int32(pLine->GetInWidth( )); break; in QueryValue()
3295 case MID_DISTANCE: rVal <<= sal_Int32(pLine->GetDistance()); break; in QueryValue()
3317 if ( !pLine ) in PutValue()
3318 pLine = new SvxBorderLine; in PutValue()
3319 if( !SvxBoxItem::LineToSvxLine(aLine, *pLine, bConvert) ) in PutValue()
3320 DELETEZ( pLine ); in PutValue()
3327 if ( !pLine ) in PutValue()
3328 pLine = new SvxBorderLine; in PutValue()
3332 case MID_FG_COLOR: pLine->SetColor( Color(nVal) ); break; in PutValue()
3333 case MID_OUTER_WIDTH: pLine->SetOutWidth((sal_uInt16)nVal); break; in PutValue()
3334 case MID_INNER_WIDTH: pLine->SetInWidth((sal_uInt16)nVal); break; in PutValue()
3335 case MID_DISTANCE: pLine->SetDistance((sal_uInt16)nVal); break; in PutValue()
3367 if ( pLine ) in GetPresentation()
3368 rText = pLine->GetValueString( eCoreUnit, ePresUnit, pIntl, in GetPresentation()
3382 if( pLine ) in Store()
3384 rStrm << pLine->GetColor() in Store()
3385 << (short)pLine->GetOutWidth() in Store()
3386 << (short)pLine->GetInWidth() in Store()
3387 << (short)pLine->GetDistance(); in Store()
3398 if ( pLine ) pLine->ScaleMetrics( nMult, nDiv ); in ScaleMetrics()
3430 delete pLine; in SetLine()
3431 pLine = pNew ? new SvxBorderLine( *pNew ) : 0; in SetLine()