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
60e35702
Kaydet (Commit)
60e35702
authored
Kas 08, 2011
tarafından
Radek Doulik
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix text frame rectangle for ooxml customshapes
üst
8ca3ca45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
EnhancedCustomShape2d.cxx
svx/source/customshapes/EnhancedCustomShape2d.cxx
+3
-2
No files found.
svx/source/customshapes/EnhancedCustomShape2d.cxx
Dosyayı görüntüle @
60e35702
...
...
@@ -1149,8 +1149,8 @@ Rectangle EnhancedCustomShape2d::GetTextRect() const
nIndex
=
0
;
if
(
bTextFlow
&&
(
nSize
>
1
)
)
nIndex
++
;
Point
aTopLeft
(
GetPoint
(
seqTextFrames
[
nIndex
].
TopLeft
,
sal_Tru
e
,
sal_True
)
);
Point
aBottomRight
(
GetPoint
(
seqTextFrames
[
nIndex
].
BottomRight
,
sal_Tru
e
,
sal_True
)
);
Point
aTopLeft
(
GetPoint
(
seqTextFrames
[
nIndex
].
TopLeft
,
!
bOOXMLShap
e
,
sal_True
)
);
Point
aBottomRight
(
GetPoint
(
seqTextFrames
[
nIndex
].
BottomRight
,
!
bOOXMLShap
e
,
sal_True
)
);
if
(
bFlipH
)
{
aTopLeft
.
X
()
=
aLogicRect
.
GetWidth
()
-
aTopLeft
.
X
();
...
...
@@ -1162,6 +1162,7 @@ Rectangle EnhancedCustomShape2d::GetTextRect() const
aBottomRight
.
Y
()
=
aLogicRect
.
GetHeight
()
-
aBottomRight
.
Y
();
}
Rectangle
aRect
(
aTopLeft
,
aBottomRight
);
OSL_TRACE
(
"EnhancedCustomShape2d::GetTextRect: %d x %d"
,
aRect
.
GetWidth
(),
aRect
.
GetHeight
());
aRect
.
Move
(
aLogicRect
.
Left
(),
aLogicRect
.
Top
()
);
aRect
.
Justify
();
return
aRect
;
...
...
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