Lines Matching refs:GetValue
270 if (CHECK_RANGE (XFILL_NONE, (sal_Int32)pFillStyle->GetValue (), XFILL_BITMAP)) in AttrExec()
273 pAttr->Put (XFillStyleItem ((XFillStyle) pFillStyle->GetValue ()), XATTR_FILLSTYLE); in AttrExec()
290 if (CHECK_RANGE (XLINE_NONE, (sal_Int32)pLineStyle->GetValue (), XLINE_DASH)) in AttrExec()
293 pAttr->Put (XLineStyleItem ((XLineStyle) pLineStyle->GetValue ()), XATTR_LINESTYLE); in AttrExec()
311 pAttr->Put (XLineWidthItem (pLineWidth->GetValue ()), XATTR_LINEWIDTH); in AttrExec()
329 pAttr->Put (XFillColorItem (-1, Color ((sal_uInt8) pRed->GetValue (), in AttrExec()
330 (sal_uInt8) pGreen->GetValue (), in AttrExec()
331 (sal_uInt8) pBlue->GetValue ())), in AttrExec()
351 pAttr->Put (XLineColorItem (-1, Color ((sal_uInt8) pRed->GetValue (), in AttrExec()
352 (sal_uInt8) pGreen->GetValue (), in AttrExec()
353 (sal_uInt8) pBlue->GetValue ())), in AttrExec()
374 Color aColor ((sal_uInt8) pRed->GetValue (), in AttrExec()
375 (sal_uInt8) pGreen->GetValue (), in AttrExec()
376 (sal_uInt8) pBlue->GetValue ()); in AttrExec()
386 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
394 pAttr->Put (XFillGradientItem (pName->GetValue (), aGradient), XATTR_FILLGRADIENT); in AttrExec()
409 …tDoc()->GetGradientListFromSdrModel()->Insert (new XGradientEntry (aGradient, pName->GetValue ())); in AttrExec()
412 pAttr->Put (XFillGradientItem (pName->GetValue (), aGradient), XATTR_FILLGRADIENT); in AttrExec()
434 Color aColor ((sal_uInt8) pRed->GetValue (), in AttrExec()
435 (sal_uInt8) pGreen->GetValue (), in AttrExec()
436 (sal_uInt8) pBlue->GetValue ()); in AttrExec()
446 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
453 pAttr->Put (XFillHatchItem (pName->GetValue (), aHatch), XATTR_FILLHATCH); in AttrExec()
462 GetDoc()->GetHatchListFromSdrModel()->Insert (new XHatchEntry (aHatch, pName->GetValue ())); in AttrExec()
465 pAttr->Put (XFillHatchItem (pName->GetValue (), aHatch), XATTR_FILLHATCH); in AttrExec()
489 if (CHECK_RANGE (XDASH_RECT, (sal_Int32)pStyle->GetValue (), XDASH_ROUNDRELATIVE)) in AttrExec()
491 …XDash aNewDash ((XDashStyle) pStyle->GetValue (), (short) pDots->GetValue (), pDotLen->GetValue (), in AttrExec()
492 (short) pDashes->GetValue (), pDashLen->GetValue (), pDistance->GetValue ()); in AttrExec()
499 XDashEntry *pEntry = new XDashEntry (aNewDash, pName->GetValue ()); in AttrExec()
503 if (aDashList->GetDash (i)->GetName () == pName->GetValue ()) in AttrExec()
511 pAttr->Put (XLineDashItem (pName->GetValue (), aNewDash), XATTR_LINEDASH); in AttrExec()
538 if (CHECK_RANGE (XGRAD_LINEAR, (sal_Int32)pStyle->GetValue (), XGRAD_RECT) && in AttrExec()
539 CHECK_RANGE (0, (sal_Int32)pAngle->GetValue (), 360) && in AttrExec()
540 CHECK_RANGE (0, (sal_Int32)pBorder->GetValue (), 100) && in AttrExec()
541 CHECK_RANGE (0, (sal_Int32)pCenterX->GetValue (), 100) && in AttrExec()
542 CHECK_RANGE (0, (sal_Int32)pCenterY->GetValue (), 100) && in AttrExec()
543 CHECK_RANGE (0, (sal_Int32)pStart->GetValue (), 100) && in AttrExec()
544 CHECK_RANGE (0, (sal_Int32)pEnd->GetValue (), 100)) in AttrExec()
557 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
561 aGradient.SetGradientStyle ((XGradientStyle) pStyle->GetValue ()); in AttrExec()
562 aGradient.SetAngle (pAngle->GetValue () * 10); in AttrExec()
563 aGradient.SetBorder ((short) pBorder->GetValue ()); in AttrExec()
564 aGradient.SetXOffset ((short) pCenterX->GetValue ()); in AttrExec()
565 aGradient.SetYOffset ((short) pCenterY->GetValue ()); in AttrExec()
566 aGradient.SetStartIntens ((short) pStart->GetValue ()); in AttrExec()
567 aGradient.SetEndIntens ((short) pEnd->GetValue ()); in AttrExec()
570 pAttr->Put (XFillGradientItem (pName->GetValue (), aGradient), XATTR_FILLGRADIENT); in AttrExec()
578 XGradient aGradient (aBlack, aBlack, (XGradientStyle) pStyle->GetValue (), in AttrExec()
579 pAngle->GetValue () * 10, (short) pCenterX->GetValue (), in AttrExec()
580 (short) pCenterY->GetValue (), (short) pBorder->GetValue (), in AttrExec()
581 (short) pStart->GetValue (), (short) pEnd->GetValue ()); in AttrExec()
583 aGradientList->Insert (new XGradientEntry (aGradient, pName->GetValue ())); in AttrExec()
585 pAttr->Put (XFillGradientItem (pName->GetValue (), aGradient), XATTR_FILLGRADIENT); in AttrExec()
609 if (CHECK_RANGE (XHATCH_SINGLE, (sal_Int32)pStyle->GetValue (), XHATCH_TRIPLE) && in AttrExec()
610 CHECK_RANGE (0, (sal_Int32)pAngle->GetValue (), 360)) in AttrExec()
623 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
627 aHatch.SetHatchStyle ((XHatchStyle) pStyle->GetValue ()); in AttrExec()
628 aHatch.SetDistance (pDistance->GetValue ()); in AttrExec()
629 aHatch.SetAngle (pAngle->GetValue () * 10); in AttrExec()
632 pAttr->Put (XFillHatchItem (pName->GetValue (), aHatch), XATTR_FILLHATCH); in AttrExec()
640 XHatch aHatch (aBlack, (XHatchStyle) pStyle->GetValue (), pDistance->GetValue (), in AttrExec()
641 pAngle->GetValue () * 10); in AttrExec()
643 aHatchList->Insert (new XHatchEntry (aHatch, pName->GetValue ())); in AttrExec()
645 pAttr->Put (XFillHatchItem (pName->GetValue (), aHatch), XATTR_FILLHATCH); in AttrExec()
674 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
679 … pAttr->Put (XFillGradientItem (pName->GetValue (), pEntry->GetGradient ()), XATTR_FILLGRADIENT); in AttrExec()
708 if (pEntry->GetName () == pName->GetValue ()) in AttrExec()
713 pAttr->Put (XFillHatchItem (pName->GetValue (), pEntry->GetHatch ()), XATTR_FILLHATCH); in AttrExec()
790 rSet.Put (SfxUInt32Item (nWhich, (long) rFillStyleItem.GetValue ())); in AttrState()
798 rSet.Put (SfxUInt32Item (nWhich, (long) rLineStyleItem.GetValue ())); in AttrState()
806 rSet.Put (SfxUInt32Item (nWhich, (long) rLineWidthItem.GetValue ())); in AttrState()
817 switch (rWhatKind.GetValue ()) in AttrState()
841 aColor = (rWhatKind.GetValue () == 3) in AttrState()