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
afb82d37
Kaydet (Commit)
afb82d37
authored
Nis 13, 2015
tarafından
Siqi Liu
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement SfxObjectShell subclasses' LOK interface
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
üst
855b0af1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
0 deletions
+33
-0
document.hxx
sc/inc/document.hxx
+1
-0
docsh.cxx
sc/source/ui/docshell/docsh.cxx
+10
-0
docsh.hxx
sc/source/ui/inc/docsh.hxx
+3
-0
docshell.cxx
sd/source/ui/docshell/docshell.cxx
+15
-0
DrawDocShell.hxx
sd/source/ui/inc/DrawDocShell.hxx
+3
-0
objcont.cxx
sfx2/source/doc/objcont.cxx
+1
-0
No files found.
sc/inc/document.hxx
Dosyayı görüntüle @
afb82d37
...
@@ -766,6 +766,7 @@ public:
...
@@ -766,6 +766,7 @@ public:
SfxBindings
*
GetViewBindings
();
SfxBindings
*
GetViewBindings
();
SfxObjectShell
*
GetDocumentShell
()
const
{
return
pShell
;
}
SfxObjectShell
*
GetDocumentShell
()
const
{
return
pShell
;
}
SC_DLLPUBLIC
ScDrawLayer
*
GetDrawLayer
()
{
return
pDrawLayer
;
}
SC_DLLPUBLIC
ScDrawLayer
*
GetDrawLayer
()
{
return
pDrawLayer
;
}
SC_DLLPUBLIC
const
ScDrawLayer
*
GetDrawLayer
()
const
{
return
pDrawLayer
;
}
SfxBroadcaster
*
GetDrawBroadcaster
();
// to avoid header
SfxBroadcaster
*
GetDrawBroadcaster
();
// to avoid header
void
BeginDrawUndo
();
void
BeginDrawUndo
();
...
...
sc/source/ui/docshell/docsh.cxx
Dosyayı görüntüle @
afb82d37
...
@@ -3181,4 +3181,14 @@ bool ScDocShell::GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal
...
@@ -3181,4 +3181,14 @@ bool ScDocShell::GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal
return
bRes
;
return
bRes
;
}
}
void
ScDocShell
::
libreOfficeKitCallback
(
int
nType
,
const
char
*
pPayload
)
const
{
aDocument
.
GetDrawLayer
()
->
libreOfficeKitCallback
(
nType
,
pPayload
);
}
bool
ScDocShell
::
isTiledRendering
()
const
{
return
aDocument
.
GetDrawLayer
()
->
isTiledRendering
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/inc/docsh.hxx
Dosyayı görüntüle @
afb82d37
...
@@ -430,6 +430,9 @@ public:
...
@@ -430,6 +430,9 @@ public:
virtual
bool
GetProtectionHash
(
/*out*/
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
&
rPasswordHash
)
SAL_OVERRIDE
;
virtual
bool
GetProtectionHash
(
/*out*/
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
&
rPasswordHash
)
SAL_OVERRIDE
;
void
SnapVisArea
(
Rectangle
&
rRect
)
const
;
void
SnapVisArea
(
Rectangle
&
rRect
)
const
;
virtual
void
libreOfficeKitCallback
(
int
nType
,
const
char
*
pPayload
)
const
SAL_OVERRIDE
;
virtual
bool
isTiledRendering
()
const
SAL_OVERRIDE
;
};
};
void
UpdateAcceptChangesDialog
();
void
UpdateAcceptChangesDialog
();
...
...
sd/source/ui/docshell/docshell.cxx
Dosyayı görüntüle @
afb82d37
...
@@ -468,6 +468,21 @@ void DrawDocShell::ClearUndoBuffer()
...
@@ -468,6 +468,21 @@ void DrawDocShell::ClearUndoBuffer()
pUndoManager
->
Clear
();
pUndoManager
->
Clear
();
}
}
void
DrawDocShell
::
libreOfficeKitCallback
(
int
nType
,
const
char
*
pPayload
)
const
{
if
(
mpDoc
)
mpDoc
->
libreOfficeKitCallback
(
nType
,
pPayload
);
}
bool
DrawDocShell
::
isTiledRendering
()
const
{
if
(
!
mpDoc
)
return
false
;
return
mpDoc
->
isTiledRendering
();
}
}
// end of namespace sd
}
// end of namespace sd
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sd/source/ui/inc/DrawDocShell.hxx
Dosyayı görüntüle @
afb82d37
...
@@ -204,6 +204,9 @@ public:
...
@@ -204,6 +204,9 @@ public:
void
ClearUndoBuffer
();
void
ClearUndoBuffer
();
virtual
void
libreOfficeKitCallback
(
int
nType
,
const
char
*
pPayload
)
const
SAL_OVERRIDE
;
virtual
bool
isTiledRendering
()
const
SAL_OVERRIDE
;
protected
:
protected
:
SdDrawDocument
*
mpDoc
;
SdDrawDocument
*
mpDoc
;
...
...
sfx2/source/doc/objcont.cxx
Dosyayı görüntüle @
afb82d37
...
@@ -646,6 +646,7 @@ bool SfxObjectShell::IsModifyPasswordEntered()
...
@@ -646,6 +646,7 @@ bool SfxObjectShell::IsModifyPasswordEntered()
void
SfxObjectShell
::
libreOfficeKitCallback
(
SAL_UNUSED_PARAMETER
int
nType
,
SAL_UNUSED_PARAMETER
const
char
*
pPayload
)
const
{
void
SfxObjectShell
::
libreOfficeKitCallback
(
SAL_UNUSED_PARAMETER
int
nType
,
SAL_UNUSED_PARAMETER
const
char
*
pPayload
)
const
{
SAL_WARN
(
"tiled-rendering"
,
"LOK callback interface not overridden for SfxObjectShell subclass typeId: "
<<
typeid
(
*
this
).
name
());
SAL_WARN
(
"tiled-rendering"
,
"LOK callback interface not overridden for SfxObjectShell subclass typeId: "
<<
typeid
(
*
this
).
name
());
}
}
bool
SfxObjectShell
::
isTiledRendering
()
const
{
bool
SfxObjectShell
::
isTiledRendering
()
const
{
SAL_WARN
(
"tiled-rendering"
,
"LOK callback interface not overridden for SfxObjectShell subclass typeId: "
<<
typeid
(
*
this
).
name
());
SAL_WARN
(
"tiled-rendering"
,
"LOK callback interface not overridden for SfxObjectShell subclass typeId: "
<<
typeid
(
*
this
).
name
());
return
false
;
return
false
;
...
...
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