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
6b6088fa
Kaydet (Commit)
6b6088fa
authored
Eki 30, 2013
tarafından
Ptyl Dragon
Kaydeden (comit)
Jan Holesovsky
Kas 15, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
1st implementation of touch_lo_get_content_size
Change-Id: I8b72c4366b502a71f2ed3bf917296c9553364d83
üst
8d56ce89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
MLOTestingTile.m
...jective_c/view_controllers/testing_tiles/MLOTestingTile.m
+3
-0
viewsh.cxx
sw/source/core/view/viewsh.cxx
+5
-0
No files found.
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
Dosyayı görüntüle @
6b6088fa
...
...
@@ -59,6 +59,9 @@
self
.
tester
.
params
.
tileHeight
);
CGContextRestoreGState
(
context
);
MLOContentSize
size
=
touch_lo_get_content_size
();
NSLog
(
@"MLOContentSize: width=%lld, height=%lld"
,
size
.
width
,
size
.
height
);
}
@end
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
6b6088fa
...
...
@@ -1821,6 +1821,11 @@ MLOContentSize touch_lo_get_content_size()
SwWrtShell
*
pViewShell
=
GetActiveWrtShell
();
if
(
pViewShell
)
{
static
const
long
WIDTH_ADDITION
=
6L
*
DOCUMENTBORDER
;
static
const
long
HEIGHT_ADDITION
=
2L
*
DOCUMENTBORDER
;
Size
documentSize
=
pViewShell
->
GetView
().
GetDocSz
();
return
MLOContentSizeMake
(
documentSize
.
Width
()
+
WIDTH_ADDITION
,
documentSize
.
Height
()
+
HEIGHT_ADDITION
);
}
return
MLOContentSizeMake
(
0
,
0
);
}
...
...
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