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
981a9748
Kaydet (Commit)
981a9748
authored
Eki 22, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: add ITiledRenderable::getWindow() and implement in sw
Change-Id: I9d0fad3904e74b44b0b126974ace4025f7a4fc5b
üst
98cdb563
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
ITiledRenderable.hxx
include/vcl/ITiledRenderable.hxx
+6
-0
unotxdoc.hxx
sw/inc/unotxdoc.hxx
+2
-0
unotxdoc.cxx
sw/source/uibase/uno/unotxdoc.cxx
+7
-0
No files found.
include/vcl/ITiledRenderable.hxx
Dosyayı görüntüle @
981a9748
...
...
@@ -147,6 +147,12 @@ public:
{
return
OUString
();
}
/// Returns the current vcl::Window of the component.
virtual
vcl
::
Window
*
getWindow
()
{
return
0
;
}
};
}
// namespace vcl
...
...
sw/inc/unotxdoc.hxx
Dosyayı görüntüle @
981a9748
...
...
@@ -431,6 +431,8 @@ public:
virtual
void
resetSelection
()
override
;
/// @see vcl::ITiledRenderable::getPartPageRectangles().
virtual
OUString
getPartPageRectangles
()
override
;
/// @see vcl::ITiledRenderable::getWindow().
virtual
vcl
::
Window
*
getWindow
()
override
;
// ::com::sun::star::tiledrendering::XTiledRenderable
virtual
void
SAL_CALL
paintTile
(
const
::
css
::
uno
::
Any
&
Parent
,
::
sal_Int32
nOutputWidth
,
::
sal_Int32
nOutputHeight
,
::
sal_Int32
nTilePosX
,
::
sal_Int32
nTilePosY
,
::
sal_Int32
nTileWidth
,
::
sal_Int32
nTileHeight
)
throw
(
::
css
::
uno
::
RuntimeException
,
::
std
::
exception
)
override
;
...
...
sw/source/uibase/uno/unotxdoc.cxx
Dosyayı görüntüle @
981a9748
...
...
@@ -3182,6 +3182,13 @@ OUString SwXTextDocument::getPartPageRectangles()
return
pWrtShell
->
getPageRectangles
();
}
vcl
::
Window
*
SwXTextDocument
::
getWindow
()
{
SolarMutexGuard
aGuard
;
return
&
pDocShell
->
GetView
()
->
GetEditWin
();
}
int
SwXTextDocument
::
getPart
()
{
SolarMutexGuard
aGuard
;
...
...
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