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
9c45345a
Kaydet (Commit)
9c45345a
authored
Kas 18, 2013
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
datastreams: make toolbar docked, hidden and show it when starting streaming
Change-Id: Icbf1abffc5424e213550c7cf27cdaa59126fa54d
üst
d4fa4c7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
3 deletions
+28
-3
CalcWindowState.xcu
...egistry/data/org/openoffice/Office/UI/CalcWindowState.xcu
+2
-2
datastreams.cxx
sc/source/ui/miscdlgs/datastreams.cxx
+26
-1
No files found.
officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu
Dosyayı görüntüle @
9c45345a
...
...
@@ -56,13 +56,13 @@
</node>
<node
oor:name=
"private:resource/toolbar/datastreams"
oor:op=
"replace"
>
<prop
oor:name=
"Docked"
oor:type=
"xs:boolean"
>
<value>
fals
e
</value>
<value>
tru
e
</value>
</prop>
<prop
oor:name=
"UIName"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Data Streams
</value>
</prop>
<prop
oor:name=
"Visible"
oor:type=
"xs:boolean"
>
<value>
tru
e
</value>
<value>
fals
e
</value>
</prop>
</node>
<node
oor:name=
"private:resource/toolbar/drawobjectbar"
oor:op=
"replace"
>
...
...
sc/source/ui/miscdlgs/datastreams.cxx
Dosyayı görüntüle @
9c45345a
...
...
@@ -9,14 +9,18 @@
#include <datastreams.hxx>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
#include <osl/conditn.hxx>
#include <rtl/strbuf.hxx>
#include <salhelper/thread.hxx>
#include <sfx2/viewfrm.hxx>
#include <asciiopt.hxx>
#include <dbfunc.hxx>
#include <docsh.hxx>
#include <impex.hxx>
#include <tabvwsh.hxx>
#include <viewdata.hxx>
#include <dbfunc.hxx>
namespace
datastreams
{
...
...
@@ -80,6 +84,27 @@ void DataStreams::Start()
mpScDocument
->
EnableUndo
(
false
);
mbRunning
=
true
;
mxThread
->
maStart
.
set
();
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
xFrame
=
mpScDocShell
->
GetViewData
()
->
GetViewShell
()
->
GetViewFrame
()
->
GetFrame
().
GetFrameInterface
();
if
(
!
xFrame
.
is
())
return
;
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
xPropSet
(
xFrame
,
css
::
uno
::
UNO_QUERY
);
if
(
!
xPropSet
.
is
())
return
;
css
::
uno
::
Reference
<
css
::
frame
::
XLayoutManager
>
xLayoutManager
;
xPropSet
->
getPropertyValue
(
"LayoutManager"
)
>>=
xLayoutManager
;
if
(
!
xLayoutManager
.
is
())
return
;
const
OUString
sResourceURL
(
"private:resource/toolbar/datastreams"
);
css
::
uno
::
Reference
<
css
::
ui
::
XUIElement
>
xUIElement
=
xLayoutManager
->
getElement
(
sResourceURL
);
if
(
!
xUIElement
.
is
())
{
xLayoutManager
->
createElement
(
sResourceURL
);
xLayoutManager
->
showElement
(
sResourceURL
);
}
}
void
DataStreams
::
Stop
()
...
...
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