Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f4533526
Kaydet (Commit)
f4533526
authored
Nis 11, 2013
tarafından
Armin Le Grand
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i121791 Corrected names for LineDashes, cleaned up resources
üst
ef75cc7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
drviews9.cxx
sd/source/ui/view/drviews9.cxx
+21
-21
No files found.
sd/source/ui/view/drviews9.cxx
Dosyayı görüntüle @
f4533526
...
@@ -386,13 +386,13 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
...
@@ -386,13 +386,13 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
{
{
XGradient
&
rGradient
=
pEntry
->
GetGradient
(
);
XGradient
aGradient
(
pEntry
->
GetGradient
()
);
if
(
rReq
.
GetSlot
()
==
SID_SETGRADSTARTCOLOR
)
r
Gradient
.
SetStartColor
(
aColor
);
if
(
rReq
.
GetSlot
()
==
SID_SETGRADSTARTCOLOR
)
a
Gradient
.
SetStartColor
(
aColor
);
else
r
Gradient
.
SetEndColor
(
aColor
);
else
a
Gradient
.
SetEndColor
(
aColor
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_GRADIENT
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_GRADIENT
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillGradientItem
(
pName
->
GetValue
(),
r
Gradient
),
XATTR_FILLGRADIENT
);
pAttr
->
Put
(
XFillGradientItem
(
pName
->
GetValue
(),
a
Gradient
),
XATTR_FILLGRADIENT
);
break
;
break
;
}
}
}
}
...
@@ -446,12 +446,12 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
...
@@ -446,12 +446,12 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
{
{
XHatch
&
rHatch
=
pEntry
->
GetHatch
(
);
XHatch
aHatch
(
pEntry
->
GetHatch
()
);
r
Hatch
.
SetColor
(
aColor
);
a
Hatch
.
SetColor
(
aColor
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_HATCH
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_HATCH
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillHatchItem
(
pName
->
GetValue
(),
r
Hatch
),
XATTR_FILLHATCH
);
pAttr
->
Put
(
XFillHatchItem
(
pName
->
GetValue
(),
a
Hatch
),
XATTR_FILLHATCH
);
break
;
break
;
}
}
}
}
...
@@ -557,18 +557,18 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
...
@@ -557,18 +557,18 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
{
{
XGradient
&
rGradient
=
pEntry
->
GetGradient
(
);
XGradient
aGradient
(
pEntry
->
GetGradient
()
);
r
Gradient
.
SetGradientStyle
((
XGradientStyle
)
pStyle
->
GetValue
());
a
Gradient
.
SetGradientStyle
((
XGradientStyle
)
pStyle
->
GetValue
());
r
Gradient
.
SetAngle
(
pAngle
->
GetValue
()
*
10
);
a
Gradient
.
SetAngle
(
pAngle
->
GetValue
()
*
10
);
r
Gradient
.
SetBorder
((
short
)
pBorder
->
GetValue
());
a
Gradient
.
SetBorder
((
short
)
pBorder
->
GetValue
());
r
Gradient
.
SetXOffset
((
short
)
pCenterX
->
GetValue
());
a
Gradient
.
SetXOffset
((
short
)
pCenterX
->
GetValue
());
r
Gradient
.
SetYOffset
((
short
)
pCenterY
->
GetValue
());
a
Gradient
.
SetYOffset
((
short
)
pCenterY
->
GetValue
());
r
Gradient
.
SetStartIntens
((
short
)
pStart
->
GetValue
());
a
Gradient
.
SetStartIntens
((
short
)
pStart
->
GetValue
());
r
Gradient
.
SetEndIntens
((
short
)
pEnd
->
GetValue
());
a
Gradient
.
SetEndIntens
((
short
)
pEnd
->
GetValue
());
pAttr
->
Put
(
XFillStyleItem
(
XFILL_GRADIENT
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_GRADIENT
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillGradientItem
(
pName
->
GetValue
(),
r
Gradient
),
XATTR_FILLGRADIENT
);
pAttr
->
Put
(
XFillGradientItem
(
pName
->
GetValue
(),
a
Gradient
),
XATTR_FILLGRADIENT
);
break
;
break
;
}
}
}
}
...
@@ -623,14 +623,14 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
...
@@ -623,14 +623,14 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
if
(
pEntry
->
GetName
()
==
pName
->
GetValue
())
{
{
XHatch
&
rHatch
=
pEntry
->
GetHatch
(
);
XHatch
aHatch
(
pEntry
->
GetHatch
()
);
r
Hatch
.
SetHatchStyle
((
XHatchStyle
)
pStyle
->
GetValue
());
a
Hatch
.
SetHatchStyle
((
XHatchStyle
)
pStyle
->
GetValue
());
r
Hatch
.
SetDistance
(
pDistance
->
GetValue
());
a
Hatch
.
SetDistance
(
pDistance
->
GetValue
());
r
Hatch
.
SetAngle
(
pAngle
->
GetValue
()
*
10
);
a
Hatch
.
SetAngle
(
pAngle
->
GetValue
()
*
10
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_HATCH
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillStyleItem
(
XFILL_HATCH
),
XATTR_FILLSTYLE
);
pAttr
->
Put
(
XFillHatchItem
(
pName
->
GetValue
(),
r
Hatch
),
XATTR_FILLHATCH
);
pAttr
->
Put
(
XFillHatchItem
(
pName
->
GetValue
(),
a
Hatch
),
XATTR_FILLHATCH
);
break
;
break
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment