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
4ef268d2
Kaydet (Commit)
4ef268d2
authored
Haz 19, 2014
tarafından
Krisztian Pinter
Kaydeden (comit)
Tomaž Vajngerl
Eyl 17, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Get more color attributes for document colors in Writer
Change-Id: I2005b434f20a56417105c7b26ce09155a7023023
üst
9dbc4cc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
docfmt.cxx
sw/source/core/doc/docfmt.cxx
+11
-6
No files found.
sw/source/core/doc/docfmt.cxx
Dosyayı görüntüle @
4ef268d2
...
...
@@ -1932,14 +1932,19 @@ std::vector<Color> SwDoc::GetDocColors()
while
(
nWhich
)
{
const
SfxPoolItem
*
pItem
;
if
(
SFX_ITEM_SET
==
pItemSet
->
GetItemState
(
nWhich
,
false
,
&
pItem
)
&&
RES_CHRATR_COLOR
==
pItem
->
Which
()
)
if
(
SFX_ITEM_SET
==
pItemSet
->
GetItemState
(
nWhich
,
false
,
&
pItem
)
)
{
Color
aColor
(
((
SvxColorItem
*
)
pItem
)
->
GetValue
()
);
if
(
COL_AUTO
!=
aColor
.
GetColor
()
&&
std
::
find
(
docColors
.
begin
(),
docColors
.
end
(),
aColor
)
==
docColors
.
end
()
)
sal_uInt16
aWhich
=
pItem
->
Which
();
if
(
RES_CHRATR_COLOR
==
aWhich
||
RES_CHRATR_HIGHLIGHT
==
aWhich
||
RES_BACKGROUND
==
aWhich
)
{
docColors
.
push_back
(
aColor
);
Color
aColor
(
((
SvxColorItem
*
)
pItem
)
->
GetValue
()
);
if
(
COL_AUTO
!=
aColor
.
GetColor
()
&&
std
::
find
(
docColors
.
begin
(),
docColors
.
end
(),
aColor
)
==
docColors
.
end
()
)
{
docColors
.
push_back
(
aColor
);
}
}
}
...
...
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