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
e21ad69e
Kaydet (Commit)
e21ad69e
authored
Agu 23, 2013
tarafından
Siqi LIU
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implementation for getTranslationOffset
Change-Id: Ibe1d7f6af4be8f1520c093cd0b23cb06f5346716
üst
7ba076d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
slideshowviewimpl.cxx
sd/source/ui/slideshow/slideshowviewimpl.cxx
+12
-0
slideshowviewimpl.hxx
sd/source/ui/slideshow/slideshowviewimpl.hxx
+2
-0
No files found.
sd/source/ui/slideshow/slideshowviewimpl.cxx
Dosyayı görüntüle @
e21ad69e
...
@@ -218,6 +218,9 @@ SlideShowView::SlideShowView( ShowWindow& rOutputWindow,
...
@@ -218,6 +218,9 @@ SlideShowView::SlideShowView( ShowWindow& rOutputWindow,
mbMousePressedEaten
(
false
)
mbMousePressedEaten
(
false
)
{
{
init
();
init
();
mTranslationOffset
.
Width
=
0
;
mTranslationOffset
.
Height
=
0
;
}
}
/// Dispose all internal references
/// Dispose all internal references
...
@@ -329,6 +332,11 @@ void SAL_CALL SlideShowView::clear() throw (::com::sun::star::uno::RuntimeExcept
...
@@ -329,6 +332,11 @@ void SAL_CALL SlideShowView::clear() throw (::com::sun::star::uno::RuntimeExcept
}
}
}
}
geometry
::
IntegerSize2D
SAL_CALL
SlideShowView
::
getTranslationOffset
(
)
throw
(
RuntimeException
)
{
return
mTranslationOffset
;
}
geometry
::
AffineMatrix2D
SAL_CALL
SlideShowView
::
getTransformation
(
)
throw
(
RuntimeException
)
geometry
::
AffineMatrix2D
SAL_CALL
SlideShowView
::
getTransformation
(
)
throw
(
RuntimeException
)
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
@@ -374,6 +382,10 @@ geometry::AffineMatrix2D SAL_CALL SlideShowView::getTransformation( ) throw (Ru
...
@@ -374,6 +382,10 @@ geometry::AffineMatrix2D SAL_CALL SlideShowView::getTransformation( ) throw (Ru
aOutputSize
.
Width
()
--
;
aOutputSize
.
Width
()
--
;
aOutputSize
.
Height
()
--
;
aOutputSize
.
Height
()
--
;
// Record mTranslationOffset
mTranslationOffset
.
Height
=
aOutputOffset
.
Y
();
mTranslationOffset
.
Width
=
aOutputOffset
.
X
();
maPresentationArea
=
Rectangle
(
aOutputOffset
,
aOutputSize
);
maPresentationArea
=
Rectangle
(
aOutputOffset
,
aOutputSize
);
mrOutputWindow
.
SetPresentationArea
(
maPresentationArea
);
mrOutputWindow
.
SetPresentationArea
(
maPresentationArea
);
...
...
sd/source/ui/slideshow/slideshowviewimpl.hxx
Dosyayı görüntüle @
e21ad69e
...
@@ -211,6 +211,7 @@ public:
...
@@ -211,6 +211,7 @@ public:
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XSpriteCanvas
>
SAL_CALL
getCanvas
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
rendering
::
XSpriteCanvas
>
SAL_CALL
getCanvas
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
clear
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
clear
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
geometry
::
AffineMatrix2D
SAL_CALL
getTransformation
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
geometry
::
AffineMatrix2D
SAL_CALL
getTransformation
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
::
com
::
sun
::
star
::
geometry
::
IntegerSize2D
SAL_CALL
getTranslationOffset
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addTransformationChangedListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addTransformationChangedListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removeTransformationChangedListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
removeTransformationChangedListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addPaintListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XPaintListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
addPaintListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XPaintListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
@@ -265,6 +266,7 @@ private:
...
@@ -265,6 +266,7 @@ private:
bool
mbFirstPaint
;
bool
mbFirstPaint
;
bool
mbFullScreen
;
bool
mbFullScreen
;
bool
mbMousePressedEaten
;
bool
mbMousePressedEaten
;
::
com
::
sun
::
star
::
geometry
::
IntegerSize2D
mTranslationOffset
;
};
};
...
...
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