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
a65a423e
Kaydet (Commit)
a65a423e
authored
May 17, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more reverts, first cut at making sidebar optional.
üst
54d820a7
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
61 additions
and
4 deletions
+61
-4
sddll1.cxx
sd/source/ui/app/sddll1.cxx
+6
-0
sddll2.cxx
sd/source/ui/app/sddll2.cxx
+1
-0
PaneShells.cxx
sd/source/ui/dlg/PaneShells.cxx
+23
-0
BasicPaneFactory.cxx
sd/source/ui/framework/factories/BasicPaneFactory.cxx
+13
-1
BasicPaneFactory.hxx
sd/source/ui/framework/factories/BasicPaneFactory.hxx
+1
-0
BasicViewFactory.cxx
sd/source/ui/framework/factories/BasicViewFactory.cxx
+13
-0
ToolPanelModule.cxx
sd/source/ui/framework/module/ToolPanelModule.cxx
+3
-2
ToolPanelModule.hxx
sd/source/ui/framework/module/ToolPanelModule.hxx
+1
-1
No files found.
sd/source/ui/app/sddll1.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -37,6 +37,7 @@
#include "DrawDocShell.hxx"
#include "GraphicDocShell.hxx"
#include "SlideSorterViewShell.hxx"
#include "taskpane/ToolPanelViewShell.hxx"
#include "FactoryIds.hxx"
#include "sdmod.hxx"
#include "app.hrc"
...
...
@@ -114,6 +115,11 @@ void SdDLL::RegisterInterfaces()
// View shells for the side panes.
::
sd
::
slidesorter
::
SlideSorterViewShell
::
RegisterInterface
(
pMod
);
::
sd
::
toolpanel
::
ToolPanelViewShell
::
RegisterInterface
(
pMod
);
// Tell the tool panel view shell to register the interfaces of its
// controls.
::
sd
::
toolpanel
::
ToolPanelViewShell
::
RegisterControls
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sd/source/ui/app/sddll2.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -126,6 +126,7 @@ void SdDLL::RegisterControllers()
::
avmedia
::
MediaPlayer
::
RegisterChildWindow
(
0
,
pMod
);
::
sd
::
LeftPaneImpressChildWindow
::
RegisterChildWindow
(
0
,
pMod
);
::
sd
::
LeftPaneDrawChildWindow
::
RegisterChildWindow
(
0
,
pMod
);
::
sd
::
ToolPanelChildWindow
::
RegisterChildWindow
(
0
,
pMod
);
::
sfx2
::
sidebar
::
SidebarChildWindow
::
RegisterChildWindow
(
0
,
pMod
);
SvxFillToolBoxControl
::
RegisterControl
(
0
,
pMod
);
...
...
sd/source/ui/dlg/PaneShells.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -92,6 +92,29 @@ LeftDrawPaneShell::~LeftDrawPaneShell (void)
{
}
//===== ToolPanelPaneShell ========================================================
SFX_SLOTMAP
(
ToolPanelPaneShell
)
{
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
SFX_IMPL_INTERFACE
(
ToolPanelPaneShell
,
SfxShell
,
SdResId
(
STR_TOOL_PANEL_SHELL
)
)
{
SFX_CHILDWINDOW_REGISTRATION
(
::
sd
::
ToolPanelChildWindow
::
GetChildWindowId
()
);
}
TYPEINIT1
(
ToolPanelPaneShell
,
SfxShell
);
ToolPanelPaneShell
::
ToolPanelPaneShell
()
:
SfxShell
()
{
SetName
(
OUString
(
"ToolPanel"
));
}
ToolPanelPaneShell
::~
ToolPanelPaneShell
(
void
)
{
}
}
// end of namespace ::sd
...
...
sd/source/ui/framework/factories/BasicPaneFactory.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -45,7 +45,8 @@ namespace {
CenterPaneId
,
FullScreenPaneId
,
LeftImpressPaneId
,
LeftDrawPaneId
LeftDrawPaneId
,
RightPaneId
};
static
const
sal_Int32
gnConfigurationUpdateStartEvent
(
0
);
...
...
@@ -219,6 +220,11 @@ void SAL_CALL BasicPaneFactory::initialize (const Sequence<Any>& aArguments)
aDescriptor
.
mePaneId
=
LeftDrawPaneId
;
mpPaneContainer
->
push_back
(
aDescriptor
);
xCC
->
addResourceFactory
(
aDescriptor
.
msPaneURL
,
this
);
aDescriptor
.
msPaneURL
=
FrameworkHelper
::
msRightPaneURL
;
aDescriptor
.
mePaneId
=
RightPaneId
;
mpPaneContainer
->
push_back
(
aDescriptor
);
xCC
->
addResourceFactory
(
aDescriptor
.
msPaneURL
,
this
);
}
// Register as configuration change listener.
...
...
@@ -287,6 +293,7 @@ Reference<XResource> SAL_CALL BasicPaneFactory::createResource (
case
LeftImpressPaneId
:
case
LeftDrawPaneId
:
case
RightPaneId
:
xPane
=
CreateChildWindowPane
(
rxPaneId
,
*
iDescriptor
);
...
...
@@ -472,6 +479,11 @@ Reference<XResource> BasicPaneFactory::CreateChildWindowPane (
nChildWindowId
=
::
sd
::
LeftPaneDrawChildWindow
::
GetChildWindowId
();
break
;
case
RightPaneId
:
pShell
.
reset
(
new
ToolPanelPaneShell
());
nChildWindowId
=
::
sd
::
ToolPanelChildWindow
::
GetChildWindowId
();
break
;
default:
break
;
}
...
...
sd/source/ui/framework/factories/BasicPaneFactory.hxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -59,6 +59,7 @@ namespace sd { namespace framework {
private:resource/pane/FullScreenPane
private:resource/pane/LeftImpressPane
private:resource/pane/LeftDrawPane
private:resource/pane/RightPane
There are two left panes because this is (seems to be) the only way to
show different titles for the left pane in Draw and Impress.
*/
...
...
sd/source/ui/framework/factories/BasicViewFactory.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -33,6 +33,7 @@
#include "DrawViewShell.hxx"
#include "GraphicViewShell.hxx"
#include "OutlineViewShell.hxx"
#include "taskpane/ToolPanelViewShell.hxx"
#include "PresentationViewShell.hxx"
#include "SlideSorterViewShell.hxx"
#include "FrameView.hxx"
...
...
@@ -318,6 +319,7 @@ void SAL_CALL BasicViewFactory::initialize (const Sequence<Any>& aArguments)
mxConfigurationController
->
addResourceFactory
(
FrameworkHelper
::
msNotesViewURL
,
this
);
mxConfigurationController
->
addResourceFactory
(
FrameworkHelper
::
msHandoutViewURL
,
this
);
mxConfigurationController
->
addResourceFactory
(
FrameworkHelper
::
msPresentationViewURL
,
this
);
mxConfigurationController
->
addResourceFactory
(
FrameworkHelper
::
msTaskPaneURL
,
this
);
mxConfigurationController
->
addResourceFactory
(
FrameworkHelper
::
msSlideSorterURL
,
this
);
}
catch
(
RuntimeException
&
)
...
...
@@ -456,6 +458,15 @@ void SAL_CALL BasicViewFactory::initialize (const Sequence<Any>& aArguments)
pFrameView
,
bIsCenterPane
);
}
else
if
(
rsViewURL
.
equals
(
FrameworkHelper
::
msTaskPaneURL
))
{
pViewShell
.
reset
(
new
::
sd
::
toolpanel
::
ToolPanelViewShell
(
&
rFrame
,
*
mpBase
,
&
rWindow
,
pFrameView
));
}
return
pViewShell
;
}
...
...
@@ -522,6 +533,8 @@ bool BasicViewFactory::IsCacheable (const ::boost::shared_ptr<ViewDescriptor>& r
FrameworkHelper
::
msSlideSorterURL
,
FrameworkHelper
::
msLeftDrawPaneURL
));
maCacheableResources
.
push_back
(
pHelper
->
CreateResourceId
(
FrameworkHelper
::
msSlideSorterURL
,
FrameworkHelper
::
msLeftImpressPaneURL
));
maCacheableResources
.
push_back
(
pHelper
->
CreateResourceId
(
FrameworkHelper
::
msTaskPaneURL
,
FrameworkHelper
::
msRightPaneURL
));
}
::
std
::
vector
<
Reference
<
XResourceId
>
>::
const_iterator
iId
;
...
...
sd/source/ui/framework/module/ToolPanelModule.cxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -42,9 +42,10 @@ namespace sd { namespace framework {
ToolPanelModule
::
ToolPanelModule
(
const
Reference
<
frame
::
XController
>&
rxController
,
const
OUString
&
rsSidebarPaneURL
)
const
OUString
&
rsViewURL
,
const
OUString
&
rsPaneURL
)
:
ResourceManager
(
rxController
,
FrameworkHelper
::
CreateResourceId
(
FrameworkHelper
::
msSidebarViewURL
,
rsSidebar
PaneURL
)),
FrameworkHelper
::
CreateResourceId
(
rsViewURL
,
rs
PaneURL
)),
mxControllerManager
(
rxController
,
UNO_QUERY
)
{
if
(
mxConfigurationController
.
is
())
...
...
sd/source/ui/framework/module/ToolPanelModule.hxx
Dosyayı görüntüle @
a65a423e
...
...
@@ -35,7 +35,7 @@ class ToolPanelModule
public
:
ToolPanelModule
(
const
css
::
uno
::
Reference
<
css
::
frame
::
XController
>&
rxController
,
const
OUString
&
rs
Right
PaneURL
);
const
OUString
&
rs
ViewURL
,
const
OUString
&
rs
PaneURL
);
virtual
~
ToolPanelModule
(
void
);
virtual
void
SaveResourceState
(
void
);
...
...
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