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
05fd8cb8
Kaydet (Commit)
05fd8cb8
authored
Eyl 22, 2015
tarafından
Samuel Mehrbrodt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#93970 Outline indents should not affect paragraph indents
Change-Id: I4d9f32becc6e601cd5af64919d93f9580dec738c
üst
77104ccd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
DocumentStylePoolManager.cxx
sw/source/core/doc/DocumentStylePoolManager.cxx
+10
-4
No files found.
sw/source/core/doc/DocumentStylePoolManager.cxx
Dosyayı görüntüle @
05fd8cb8
...
...
@@ -195,15 +195,21 @@ namespace
SwNumRule
*
pOutlineRule
=
pDoc
->
GetOutlineNumRule
();
const
SwNumFormat
&
rNFormat
=
pOutlineRule
->
Get
(
nLevel
);
if
(
rNFormat
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
&&
SvxLRSpaceItem
aLR
(
static_cast
<
const
SvxLRSpaceItem
&>
(
pColl
->
GetFormatAttr
(
RES_LR_SPACE
))
);
if
(
rNFormat
.
GetPositionAndSpaceMode
()
==
SvxNumberFormat
::
LABEL_WIDTH_AND_POSITION
&&
(
rNFormat
.
GetAbsLSpace
()
||
rNFormat
.
GetFirstLineOffset
()
)
)
{
SvxLRSpaceItem
aLR
(
static_cast
<
const
SvxLRSpaceItem
&>
(
pColl
->
GetFormatAttr
(
RES_LR_SPACE
))
);
aLR
.
SetTextFirstLineOfstValue
(
rNFormat
.
GetFirstLineOffset
()
);
aLR
.
SetTextLeft
(
rNFormat
.
GetAbsLSpace
()
);
pColl
->
SetFormatAttr
(
aLR
);
}
else
{
// tdf#93970 The indent set at the associated outline style also affects this paragraph.
// We don't want this here, so override it. This doesn't affect the outline style properties.
aLR
.
SetTextFirstLineOfstValue
(
0
);
aLR
.
SetTextLeft
(
0
);
}
pColl
->
SetFormatAttr
(
aLR
);
// All paragraph styles, which are assigned to a level of the
// outline style has to have the outline style set as its list style.
...
...
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