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
1d6dca3c
Kaydet (Commit)
1d6dca3c
authored
Tem 08, 2014
tarafından
Andrzej Hunt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add Tiled Rendering outline to sd.
Change-Id: I810d827f330690f8071b662b9ddd05cc41655a71
üst
855eb54f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
1 deletion
+52
-1
unomodel.hxx
sd/source/ui/inc/unomodel.hxx
+17
-1
unomodel.cxx
sd/source/ui/unoidl/unomodel.cxx
+35
-0
No files found.
sd/source/ui/inc/unomodel.hxx
Dosyayı görüntüle @
1d6dca3c
...
...
@@ -45,6 +45,8 @@
#include <sfx2/sfxbasemodel.hxx>
#include <svx/fmdmod.hxx>
#include <vcl/ITiledRenderable.hxx>
#include <editeng/unoipset.hxx>
#include <comphelper/servicehelper.hxx>
...
...
@@ -76,7 +78,8 @@ class SdXImpressDocument : public SfxBaseModel, // implements SfxListener, OWEAK
public
::
com
::
sun
::
star
::
lang
::
XServiceInfo
,
public
::
com
::
sun
::
star
::
ucb
::
XAnyCompareFactory
,
public
::
com
::
sun
::
star
::
presentation
::
XHandoutMasterSupplier
,
public
::
com
::
sun
::
star
::
view
::
XRenderable
public
::
com
::
sun
::
star
::
view
::
XRenderable
,
public
::
vcl
::
ITiledRenderable
{
friend
class
SdDrawPagesAccess
;
friend
class
SdMasterPagesAccess
;
...
...
@@ -218,6 +221,19 @@ public:
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
SAL_CALL
getRenderer
(
sal_Int32
nRenderer
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aSelection
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
xOptions
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
render
(
sal_Int32
nRenderer
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
aSelection
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
xOptions
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// ITiledRenderable
virtual
void
paintTile
(
VirtualDevice
&
rDevice
,
int
nOutputWidth
,
int
nOutputHeight
,
int
nTilePosX
,
int
nTilePosY
,
long
nTileWidth
,
long
nTileHeight
)
SAL_OVERRIDE
;
virtual
Size
getDocumentSize
()
SAL_OVERRIDE
;
virtual
void
setPart
(
int
nPart
)
SAL_OVERRIDE
;
virtual
int
getPart
()
SAL_OVERRIDE
;
virtual
int
getParts
()
SAL_OVERRIDE
;
// XComponent
/** This dispose implementation releases the resources held by the
...
...
sd/source/ui/unoidl/unomodel.cxx
Dosyayı görüntüle @
1d6dca3c
...
...
@@ -2185,6 +2185,41 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
}
}
void
SdXImpressDocument
::
paintTile
(
VirtualDevice
&
rDevice
,
int
nOutputWidth
,
int
nOutputHeight
,
int
nTilePosX
,
int
nTilePosY
,
long
nTileWidth
,
long
nTileHeight
)
{
(
void
)
rDevice
;
(
void
)
nOutputWidth
;
(
void
)
nOutputHeight
;
(
void
)
nTilePosX
;
(
void
)
nTilePosY
;
(
void
)
nTileWidth
;
(
void
)
nTileHeight
;
}
void
SdXImpressDocument
::
setPart
(
int
nPart
)
{
(
void
)
nPart
;
}
int
SdXImpressDocument
::
getParts
()
{
return
mpDoc
->
GetPageCount
();
}
int
SdXImpressDocument
::
getPart
()
{
return
0
;
}
Size
SdXImpressDocument
::
getDocumentSize
()
{
return
Size
(
100
,
100
);
}
uno
::
Reference
<
i18n
::
XForbiddenCharacters
>
SdXImpressDocument
::
getForbiddenCharsTable
()
{
uno
::
Reference
<
i18n
::
XForbiddenCharacters
>
xForb
(
mxForbidenCharacters
);
...
...
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