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
7cad6b12
Kaydet (Commit)
7cad6b12
authored
Tem 08, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[API CHANGE] add way to get XSidebar from XSidebarProvider
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
üst
498e03c2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
UnoSidebar.hxx
include/sfx2/sidebar/UnoSidebar.hxx
+4
-0
XSidebarProvider.idl
offapi/com/sun/star/ui/XSidebarProvider.idl
+6
-0
UnoSidebar.cxx
sfx2/source/sidebar/UnoSidebar.cxx
+6
-0
No files found.
include/sfx2/sidebar/UnoSidebar.hxx
Dosyayı görüntüle @
7cad6b12
...
...
@@ -14,6 +14,7 @@
#include <sfx2/dllapi.h>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/ui/XSidebarProvider.hpp>
#include <com/sun/star/ui/XSidebar.hpp>
#include <com/sun/star/awt/XWindow2.hpp>
...
...
@@ -56,6 +57,9 @@ public:
virtual
css
::
uno
::
Reference
<
css
::
ui
::
XDecks
>
SAL_CALL
getDecks
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
css
::
uno
::
Reference
<
css
::
ui
::
XSidebar
>
SAL_CALL
getSidebar
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
};
#endif
...
...
offapi/com/sun/star/ui/XSidebarProvider.idl
Dosyayı görüntüle @
7cad6b12
...
...
@@ -14,6 +14,7 @@
#
include
<
com
/
sun
/
star
/
frame
/
XFrame
.
idl>
#
include
<
com
/
sun
/
star
/
awt
/
XWindow2
.
idl>
#
include
<
com
/
sun
/
star
/
ui
/
XSidebar
.
idl>
#
include
<
com
/
sun
/
star
/
ui
/
XDecks
.
idl>
...
...
@@ -52,6 +53,11 @@ interface XSidebarProvider: com::sun::star::uno::XInterface
</
ul
>
*/
void
showDecks
(
[
in
]
boolean
bVisible
)
;
/**
*
Returns
the
sidebar
object
*/
com
::
sun
::
star
::
ui
::
XSidebar
getSidebar
()
;
}
;
}
; } ; } ; } ;
...
...
sfx2/source/sidebar/UnoSidebar.cxx
Dosyayı görüntüle @
7cad6b12
...
...
@@ -98,5 +98,11 @@ uno::Reference<ui::XDecks> SAL_CALL SfxUnoSidebar::getDecks()
return
decks
;
}
uno
::
Reference
<
ui
::
XSidebar
>
SAL_CALL
SfxUnoSidebar
::
getSidebar
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
getSidebarController
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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