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
a9e16b16
Kaydet (Commit)
a9e16b16
authored
Nis 06, 2012
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't use properties that aren't valid for paragraphs (part of bnc#751028)
üst
abf18610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
NumberingManager.cxx
writerfilter/source/dmapper/NumberingManager.cxx
+11
-5
No files found.
writerfilter/source/dmapper/NumberingManager.cxx
Dosyayı görüntüle @
a9e16b16
...
...
@@ -259,9 +259,12 @@ uno::Sequence< beans::PropertyValue > ListLevel::GetLevelProperties( )
if
(
m_nJC
>=
0
&&
m_nJC
<=
sal
::
static_int_cast
<
sal_Int32
>
(
sizeof
(
aWWToUnoAdjust
)
/
sizeof
(
sal_Int16
))
)
aNumberingProperties
.
push_back
(
MAKE_PROPVAL
(
PROP_ADJUST
,
aWWToUnoAdjust
[
m_nJC
]));
// todo: this is not the bullet char
if
(
nNumberFormat
==
style
::
NumberingType
::
CHAR_SPECIAL
&&
!
m_sBulletChar
.
isEmpty
()
)
aNumberingProperties
.
push_back
(
MAKE_PROPVAL
(
PROP_BULLET_CHAR
,
m_sBulletChar
.
copy
(
0
,
1
)));
if
(
!
m_pParaStyle
.
get
())
{
// todo: this is not the bullet char
if
(
nNumberFormat
==
style
::
NumberingType
::
CHAR_SPECIAL
&&
!
m_sBulletChar
.
isEmpty
()
)
aNumberingProperties
.
push_back
(
MAKE_PROPVAL
(
PROP_BULLET_CHAR
,
m_sBulletChar
.
copy
(
0
,
1
)));
}
aNumberingProperties
.
push_back
(
MAKE_PROPVAL
(
PROP_LISTTAB_STOP_POSITION
,
m_nTabstop
)
);
...
...
@@ -302,8 +305,11 @@ uno::Sequence< beans::PropertyValue > ListLevel::GetLevelProperties( )
beans
::
PropertyValue
(
aPropNameSupplier
.
GetName
(
aMapIter
->
first
.
eId
),
0
,
aMapIter
->
second
,
beans
::
PropertyState_DIRECT_VALUE
));
break
;
case
PROP_CHAR_FONT_NAME
:
aNumberingProperties
.
push_back
(
beans
::
PropertyValue
(
aPropNameSupplier
.
GetName
(
PROP_BULLET_FONT_NAME
),
0
,
aMapIter
->
second
,
beans
::
PropertyState_DIRECT_VALUE
));
if
(
!
m_pParaStyle
.
get
())
{
aNumberingProperties
.
push_back
(
beans
::
PropertyValue
(
aPropNameSupplier
.
GetName
(
PROP_BULLET_FONT_NAME
),
0
,
aMapIter
->
second
,
beans
::
PropertyState_DIRECT_VALUE
));
}
break
;
default
:
{
...
...
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