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
6c2e69fb
Kaydet (Commit)
6c2e69fb
authored
Nis 27, 2011
tarafından
Radek Doulik
Kaydeden (comit)
Petr Mladek
Nis 27, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix-ppt-linespacing-import-export.diff: fix ppt import (bnc#355302)
üst
ca5176ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
3 deletions
+23
-3
epptso.cxx
sd/source/filter/eppt/epptso.cxx
+1
-1
pptx-text.cxx
sd/source/filter/eppt/pptx-text.cxx
+6
-2
paragr.cxx
sd/source/ui/dlg/paragr.cxx
+14
-0
paragr.hxx
sd/source/ui/inc/paragr.hxx
+2
-0
No files found.
sd/source/filter/eppt/epptso.cxx
Dosyayı görüntüle @
6c2e69fb
...
@@ -772,7 +772,7 @@ void PPTWriter::ImplWriteParagraphs( SvStream& rOut, TextObj& rTextObj )
...
@@ -772,7 +772,7 @@ void PPTWriter::ImplWriteParagraphs( SvStream& rOut, TextObj& rTextObj )
}
}
else
else
{
{
if
(
pPortion
&&
pPortion
->
mnCharHeight
>
(
sal_uInt16
)(
((
double
)
-
nLineSpacing
)
*
0.001
*
72.0
/
2.54
)
)
// 1/100mm to point
if
(
!
pPara
->
mbFixedLineSpacing
&&
pPortion
&&
pPortion
->
mnCharHeight
>
(
sal_uInt16
)(
((
double
)
-
nLineSpacing
)
*
0.001
*
72.0
/
2.54
)
)
// 1/100mm to point
nLineSpacing
=
nNormalSpacing
;
nLineSpacing
=
nNormalSpacing
;
else
else
nLineSpacing
=
(
sal_Int16
)(
(
double
)
nLineSpacing
/
4.40972
);
nLineSpacing
=
(
sal_Int16
)(
(
double
)
nLineSpacing
/
4.40972
);
...
...
sd/source/filter/eppt/pptx-text.cxx
Dosyayı görüntüle @
6c2e69fb
...
@@ -1118,11 +1118,15 @@ void ParagraphObj::ImplGetParagraphValues( PPTExBulletProvider& rBuProv, sal_Boo
...
@@ -1118,11 +1118,15 @@ void ParagraphObj::ImplGetParagraphValues( PPTExBulletProvider& rBuProv, sal_Boo
=
*
(
(
::
com
::
sun
::
star
::
style
::
LineSpacing
*
)
mAny
.
getValue
()
);
=
*
(
(
::
com
::
sun
::
star
::
style
::
LineSpacing
*
)
mAny
.
getValue
()
);
switch
(
aLineSpacing
.
Mode
)
switch
(
aLineSpacing
.
Mode
)
{
{
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
FIX
:
mnLineSpacing
=
(
sal_Int16
)(
-
(
aLineSpacing
.
Height
)
);
mbFixedLineSpacing
=
sal_True
;
break
;
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
MINIMUM
:
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
MINIMUM
:
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
LEADING
:
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
LEADING
:
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
FIX
:
mnLineSpacing
=
(
sal_Int16
)(
-
(
aLineSpacing
.
Height
)
);
mnLineSpacing
=
(
sal_Int16
)(
-
(
aLineSpacing
.
Height
)
);
break
;
mbFixedLineSpacing
=
sal_False
;
break
;
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
PROP
:
case
:
:
com
::
sun
::
star
::
style
::
LineSpacingMode
::
PROP
:
default
:
default
:
...
...
sd/source/ui/dlg/paragr.cxx
Dosyayı görüntüle @
6c2e69fb
...
@@ -192,4 +192,18 @@ SdParagraphDlg::SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr )
...
@@ -192,4 +192,18 @@ SdParagraphDlg::SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr )
AddTabPage
(
RID_SVXPAGE_TABULATOR
);
AddTabPage
(
RID_SVXPAGE_TABULATOR
);
}
}
void
SdParagraphDlg
::
PageCreated
(
sal_uInt16
nId
,
SfxTabPage
&
rPage
)
{
SfxAllItemSet
aSet
(
*
(
GetInputSetImpl
()
->
GetPool
()));
switch
(
nId
)
{
case
RID_SVXPAGE_STD_PARAGRAPH
:
aSet
.
Put
(
SfxUInt32Item
(
SID_SVXSTDPARAGRAPHTABPAGE_ABSLINEDIST
,
MM50
/
2
));
rPage
.
PageCreated
(
aSet
);
break
;
default
:
break
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sd/source/ui/inc/paragr.hxx
Dosyayı görüntüle @
6c2e69fb
...
@@ -44,6 +44,8 @@ class SdParagraphDlg : public SfxTabDialog
...
@@ -44,6 +44,8 @@ class SdParagraphDlg : public SfxTabDialog
private
:
private
:
const
SfxItemSet
&
rOutAttrs
;
const
SfxItemSet
&
rOutAttrs
;
virtual
void
PageCreated
(
sal_uInt16
nId
,
SfxTabPage
&
rPage
);
public
:
public
:
SdParagraphDlg
(
Window
*
pParent
,
const
SfxItemSet
*
pAttr
);
SdParagraphDlg
(
Window
*
pParent
,
const
SfxItemSet
*
pAttr
);
~
SdParagraphDlg
()
{};
~
SdParagraphDlg
()
{};
...
...
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