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
24aeeb01
Kaydet (Commit)
24aeeb01
authored
Mar 28, 2013
tarafından
Felix Zhang
Kaydeden (comit)
Muthu Subramanian
Nis 16, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bnc#793414: Fixed the left margin of bullet
Change-Id: I4726ab00a6e2700407ffcf5258d3736ed0161514
üst
0c814ad1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
textparagraphproperties.cxx
oox/source/drawingml/textparagraphproperties.cxx
+3
-1
No files found.
oox/source/drawingml/textparagraphproperties.cxx
Dosyayı görüntüle @
24aeeb01
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/style/TabStop.hpp>
#include <com/sun/star/style/TabStop.hpp>
#include <com/sun/star/text/PositionAndSpaceMode.hpp>
#include "oox/helper/helper.hxx"
#include "oox/helper/helper.hxx"
#include "oox/helper/propertyset.hxx"
#include "oox/helper/propertyset.hxx"
...
@@ -416,6 +417,7 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p
...
@@ -416,6 +417,7 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p
{
{
if
(
noParaLeftMargin
)
if
(
noParaLeftMargin
)
{
{
aPropSet
.
setProperty
(
PROP_ParaLeftMargin
,
static_cast
<
sal_Int32
>
(
0
));
rioBulletMap
[
PROP_LeftMargin
]
<<=
static_cast
<
sal_Int32
>
(
*
noParaLeftMargin
);
rioBulletMap
[
PROP_LeftMargin
]
<<=
static_cast
<
sal_Int32
>
(
*
noParaLeftMargin
);
noParaLeftMargin
=
boost
::
none
;
noParaLeftMargin
=
boost
::
none
;
}
}
...
@@ -423,7 +425,7 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p
...
@@ -423,7 +425,7 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p
{
{
// Force Paragraph property as zero - impress seems to use the value from previous
// Force Paragraph property as zero - impress seems to use the value from previous
// (non) bullet line if not set to zero explicitly :(
// (non) bullet line if not set to zero explicitly :(
aPropSet
.
setProperty
(
PROP_ParaFirstLineIndent
,
static_cast
<
sal_Int32
>
(
0
)
);
aPropSet
.
setProperty
(
PROP_ParaFirstLineIndent
,
static_cast
<
sal_Int32
>
(
0
)
);
rioBulletMap
[
PROP_FirstLineOffset
]
<<=
static_cast
<
sal_Int32
>
(
*
noFirstLineIndentation
);
rioBulletMap
[
PROP_FirstLineOffset
]
<<=
static_cast
<
sal_Int32
>
(
*
noFirstLineIndentation
);
noFirstLineIndentation
=
boost
::
none
;
noFirstLineIndentation
=
boost
::
none
;
}
}
...
...
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