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
7b0de91f
Kaydet (Commit)
7b0de91f
authored
Eyl 14, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl::ITiledRenderable: add getCurrentViewShell() and implement it for Writer
Change-Id: Ic936746f3d473e15f5a1589cba35173778b442c6
üst
e13510cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
ITiledRenderable.hxx
include/vcl/ITiledRenderable.hxx
+10
-0
unotxdoc.hxx
sw/inc/unotxdoc.hxx
+2
-0
unotxdoc.cxx
sw/source/uibase/uno/unotxdoc.cxx
+5
-0
No files found.
include/vcl/ITiledRenderable.hxx
Dosyayı görüntüle @
7b0de91f
...
...
@@ -16,6 +16,8 @@
#include <tools/gen.hxx>
#include <vcl/virdev.hxx>
class
SfxViewShell
;
namespace
vcl
{
...
...
@@ -139,8 +141,16 @@ public:
* @see lok::Document::resetSelection().
*/
virtual
void
resetSelection
()
=
0
;
/// Get the currently active view shell of the document.
virtual
SfxViewShell
*
getCurrentViewShell
()
{
return
0
;
}
};
}
// namespace vcl
#endif // INCLUDED_VCL_ITILEDRENDERABLE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/inc/unotxdoc.hxx
Dosyayı görüntüle @
7b0de91f
...
...
@@ -428,6 +428,8 @@ public:
virtual
void
setGraphicSelection
(
int
nType
,
int
nX
,
int
nY
)
SAL_OVERRIDE
;
/// @see vcl::ITiledRenderable::resetSelection().
virtual
void
resetSelection
()
SAL_OVERRIDE
;
/// @see vcl::ITiledRenderable::getCurrentViewShell().
virtual
SfxViewShell
*
getCurrentViewShell
()
SAL_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
)
SAL_OVERRIDE
;
...
...
sw/source/uibase/uno/unotxdoc.cxx
Dosyayı görüntüle @
7b0de91f
...
...
@@ -3400,6 +3400,11 @@ void SwXTextDocument::resetSelection()
pWrtShell
->
ResetSelect
(
0
,
false
);
}
SfxViewShell
*
SwXTextDocument
::
getCurrentViewShell
()
{
return
pDocShell
->
GetView
();
}
void
SAL_CALL
SwXTextDocument
::
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
)
{
SystemGraphicsData
aData
;
...
...
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