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
1f289431
Kaydet (Commit)
1f289431
authored
Nis 30, 2014
tarafından
Zolnai Tamás
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
3D model insertion: here we need MM100
Change-Id: Iaa99e50589e08e8d82d860b6c61e6cbf0fd19b0a
üst
1de73df9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
fuinsert.cxx
sd/source/ui/func/fuinsert.cxx
+7
-1
No files found.
sd/source/ui/func/fuinsert.cxx
Dosyayı görüntüle @
1f289431
...
@@ -795,9 +795,14 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
...
@@ -795,9 +795,14 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
mpWindow
->
EnterWait
();
mpWindow
->
EnterWait
();
Point
aPos
;
Point
aPos
;
Size
aSize
(
480
,
360
);
sal_Int8
nAction
=
DND_ACTION_COPY
;
sal_Int8
nAction
=
DND_ACTION_COPY
;
Size
aSize
(
480
,
360
);
if
(
mpWindow
)
aSize
=
mpWindow
->
PixelToLogic
(
aSize
,
MAP_100TH_MM
);
else
aSize
=
Application
::
GetDefaultDevice
()
->
PixelToLogic
(
aSize
,
MAP_100TH_MM
);
if
(
mpWindow
)
if
(
mpWindow
)
{
{
aPos
=
mpWindow
->
PixelToLogic
(
Rectangle
(
aPos
,
mpWindow
->
GetOutputSizePixel
()
).
Center
()
);
aPos
=
mpWindow
->
PixelToLogic
(
Rectangle
(
aPos
,
mpWindow
->
GetOutputSizePixel
()
).
Center
()
);
...
@@ -805,6 +810,7 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
...
@@ -805,6 +810,7 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
aPos
.
Y
()
-=
aSize
.
Height
()
>>
1
;
aPos
.
Y
()
-=
aSize
.
Height
()
>>
1
;
}
}
mpView
->
Insert3DModelURL
(
sURL
,
nAction
,
aPos
,
aSize
,
false
)
;
mpView
->
Insert3DModelURL
(
sURL
,
nAction
,
aPos
,
aSize
,
false
)
;
if
(
mpWindow
)
if
(
mpWindow
)
...
...
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