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
43ff744c
Kaydet (Commit)
43ff744c
authored
Eyl 10, 2012
tarafından
Jianyuan Li
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#119628# Arrow shape changed is save doc file by AOO
Reported by: Yan Ji Review by: sunying Patch by: Jianyuan Li
üst
8be633de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
msdffimp.cxx
filter/source/msfilter/msdffimp.cxx
+4
-7
No files found.
filter/source/msfilter/msdffimp.cxx
Dosyayı görüntüle @
43ff744c
...
@@ -798,7 +798,10 @@ static basegfx::B2DPolygon GetLineArrow( const sal_Int32 nLineWidth, const MSO_L
...
@@ -798,7 +798,10 @@ static basegfx::B2DPolygon GetLineArrow( const sal_Int32 nLineWidth, const MSO_L
String
&
rsArrowName
,
sal_Bool
bScaleArrow
)
String
&
rsArrowName
,
sal_Bool
bScaleArrow
)
{
{
basegfx
::
B2DPolygon
aRetval
;
basegfx
::
B2DPolygon
aRetval
;
double
fLineWidth
=
nLineWidth
<
70
?
70.0
:
nLineWidth
;
// 70 100mm = 2pt = 40 twip. In MS, line width less than 2pt has the same size arrow as 2pt
//If the unit is twip. Make all use this unit especailly the critical value 70/40.
sal_Int32
nLineWidthCritical
=
bScaleArrow
?
40
:
70
;
double
fLineWidth
=
nLineWidth
<
nLineWidthCritical
?
nLineWidthCritical
:
nLineWidth
;;
double
fLenghtMul
,
fWidthMul
;
double
fLenghtMul
,
fWidthMul
;
sal_Int32
nLineNumber
;
sal_Int32
nLineNumber
;
switch
(
eLineLenght
)
switch
(
eLineLenght
)
...
@@ -816,12 +819,6 @@ static basegfx::B2DPolygon GetLineArrow( const sal_Int32 nLineWidth, const MSO_L
...
@@ -816,12 +819,6 @@ static basegfx::B2DPolygon GetLineArrow( const sal_Int32 nLineWidth, const MSO_L
case
mso_lineWideArrow
:
fWidthMul
=
5.0
;
nLineNumber
+=
6
;
break
;
case
mso_lineWideArrow
:
fWidthMul
=
5.0
;
nLineNumber
+=
6
;
break
;
}
}
if
(
bScaleArrow
)
// #i33630 arrows imported from Word are too big
{
fWidthMul
/=
1.75
;
fLenghtMul
/=
1.75
;
}
rbArrowCenter
=
sal_False
;
rbArrowCenter
=
sal_False
;
switch
(
eLineEnd
)
switch
(
eLineEnd
)
{
{
...
...
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