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
70047957
Kaydet (Commit)
70047957
authored
Agu 08, 2014
tarafından
Steve Yin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 125391 - The textbox object's location changes after importing the sample file
Fixed by Oliver-Rainer Wittmann
üst
5e3cbe05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
ww8graf.cxx
sw/source/filter/ww8/ww8graf.cxx
+9
-14
No files found.
sw/source/filter/ww8/ww8graf.cxx
Dosyayı görüntüle @
70047957
...
...
@@ -2260,27 +2260,22 @@ RndStdIds SwWW8ImplReader::ProcessEscherAlign(SvxMSDffImportRec* pRecord,
sal_uInt32
nXAlign
=
nCntXAlign
>
pRecord
->
nXAlign
?
pRecord
->
nXAlign
:
1
;
sal_uInt32
nYAlign
=
nCntYAlign
>
pRecord
->
nYAlign
?
pRecord
->
nYAlign
:
1
;
if
(
pFSPA
)
if
(
pFSPA
!=
NULL
)
{
/*
#74188# #i15718# #i19008#
Strangely in this case the FSPA value seems to be considered before
the newer escher nXRelTo record.
*/
// --> OD 2005-08-04 #i52565# - correct condition checking:
// first check, if <nXRelTo> and <nYRelTo> have default values. This
// is a hint that these values aren't set by the escher import - see
// method <SwMSDffManager::ProcessObj(..)>. Then, check if for each
// values, if it differs from the one in the FSPA.
if
(
pRecord
->
nXRelTo
==
2
&&
pRecord
->
nYRelTo
==
2
&&
!
bCurSectionVertical
)
// #52565# - try to handle special case for objects in tables regarding its X Rel
// if X and Y Rel values are on default take it as a hint, that they have not been set
// by <SwMSDffManager::ProcessObj(..)>
const
bool
bXYRelHaveDefaultValues
=
pRecord
->
nXRelTo
==
2
&&
pRecord
->
nYRelTo
==
2
;
if
(
bXYRelHaveDefaultValues
&&
nInTable
>
0
&&
!
bCurSectionVertical
)
{
// if <nYRelTo> differs from <FSPA.nby> overwrite <nYRelTo>
if
(
pFSPA
->
nby
!=
pRecord
->
nYRelTo
)
{
pRecord
->
nYRelTo
=
pFSPA
->
nby
;
}
}
// <--
}
sal_uInt32
nXRelTo
=
nCntRelTo
>
pRecord
->
nXRelTo
?
pRecord
->
nXRelTo
:
1
;
...
...
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