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
4efe5916
Kaydet (Commit)
4efe5916
authored
Eyl 07, 2015
tarafından
matteocam
Kaydeden (comit)
Thorsten Behrens
Eyl 20, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
chained editeng: Change size settings if box is chainable
Change-Id: I3717324b3be36b9503cae195fd42249d92d2c685
üst
3efdb083
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
16 deletions
+33
-16
svdotext.cxx
svx/source/svdraw/svdotext.cxx
+13
-8
svdotxed.cxx
svx/source/svdraw/svdotxed.cxx
+20
-8
No files found.
svx/source/svdraw/svdotext.cxx
Dosyayı görüntüle @
4efe5916
...
...
@@ -755,14 +755,19 @@ void SdrTextObj::TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, boo
if
(
eAniDirection
==
SDRTEXTANI_UP
||
eAniDirection
==
SDRTEXTANI_DOWN
)
nHgt
=
1000000
;
}
// #i119885# Do not limit/force height to geometrical frame (vice versa for vertical writing)
if
(
IsVerticalWriting
())
{
nWdt
=
1000000
;
}
else
{
nHgt
=
1000000
;
bool
bChainedFrame
=
IsChainable
();
// Might be required for overflow check working: do limit height to frame if box is chainable.
if
(
!
bChainedFrame
)
{
// #i119885# Do not limit/force height to geometrical frame (vice versa for vertical writing)
if
(
IsVerticalWriting
())
{
nWdt
=
1000000
;
}
else
{
nHgt
=
1000000
;
}
}
rOutliner
.
SetMaxAutoPaperSize
(
Size
(
nWdt
,
nHgt
));
...
...
svx/source/svdraw/svdotxed.cxx
Dosyayı görüntüle @
4efe5916
...
...
@@ -62,6 +62,14 @@ bool SdrTextObj::BegTextEdit(SdrOutliner& rOutl)
rOutl
.
SetControlWord
(
nStat
);
}
// disable AUTOPAGESIZE if IsChainable (might be required for overflow check)
if
(
IsChainable
()
)
{
EEControlBits
nStat1
=
rOutl
.
GetControlWord
();
nStat1
&=~
EEControlBits
::
AUTOPAGESIZE
;
rOutl
.
SetControlWord
(
nStat1
);
}
OutlinerParaObject
*
pOutlinerParaObject
=
GetOutlinerParaObject
();
if
(
pOutlinerParaObject
!=
NULL
)
{
...
...
@@ -181,14 +189,18 @@ void SdrTextObj::TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* p
if
(
eAniDirection
==
SDRTEXTANI_UP
||
eAniDirection
==
SDRTEXTANI_DOWN
)
nMaxHgt
=
1000000
;
}
// #i119885# Do not limit/force height to geometrical frame (vice versa for vertical writing)
if
(
IsVerticalWriting
())
{
nMaxWdt
=
1000000
;
}
else
{
nMaxHgt
=
1000000
;
bool
bChainedFrame
=
IsChainable
();
// Might be required for overflow check working: do limit height to frame if box is chainable.
if
(
!
bChainedFrame
)
{
// #i119885# Do not limit/force height to geometrical frame (vice versa for vertical writing)
if
(
IsVerticalWriting
())
{
nMaxWdt
=
1000000
;
}
else
{
nMaxHgt
=
1000000
;
}
}
aPaperMax
.
Width
()
=
nMaxWdt
;
...
...
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