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
2f25dc96
Kaydet (Commit)
2f25dc96
authored
Ara 22, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
de-resource FLT_LEFT_PANE_[DRAW|IMPRESS]_DOCKING_WINDOW
Change-Id: I5042141eaa0dfbf9d2184b86b537a9b149c9a06c
üst
780457b1
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
122 deletions
+8
-122
titledockwin.hxx
include/sfx2/titledockwin.hxx
+0
-4
AllLangResTarget_sd.mk
sd/AllLangResTarget_sd.mk
+0
-1
PaneChildWindows.cxx
sd/source/ui/dlg/PaneChildWindows.cxx
+2
-10
PaneDockingWindow.cxx
sd/source/ui/dlg/PaneDockingWindow.cxx
+4
-3
PaneDockingWindow.src
sd/source/ui/dlg/PaneDockingWindow.src
+0
-54
PaneChildWindows.hxx
sd/source/ui/inc/PaneChildWindows.hxx
+1
-2
PaneDockingWindow.hrc
sd/source/ui/inc/PaneDockingWindow.hrc
+0
-23
PaneDockingWindow.hxx
sd/source/ui/inc/PaneDockingWindow.hxx
+1
-4
titledockwin.cxx
sfx2/source/dialog/titledockwin.cxx
+0
-21
No files found.
include/sfx2/titledockwin.hxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -42,10 +42,6 @@ namespace sfx2
vcl
::
Window
*
i_pParent
,
WinBits
i_nStyle
=
0
);
TitledDockingWindow
(
SfxBindings
*
i_pBindings
,
SfxChildWindow
*
i_pChildWindow
,
vcl
::
Window
*
i_pParent
,
const
ResId
&
i_rResId
);
virtual
~
TitledDockingWindow
();
/** sets a title to be displayed in the docking window
...
...
sd/AllLangResTarget_sd.mk
Dosyayı görüntüle @
2f25dc96
...
...
@@ -41,7 +41,6 @@ $(eval $(call gb_SrsTarget_add_files,sd/res,\
sd/source/ui/app/strings.src \
sd/source/ui/app/toolbox.src \
sd/source/ui/dlg/navigatr.src \
sd/source/ui/dlg/PaneDockingWindow.src \
sd/source/ui/slideshow/slideshow.src \
sd/source/ui/view/DocumentRenderer.src \
))
...
...
sd/source/ui/dlg/PaneChildWindows.cxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -18,7 +18,6 @@
*/
#include "PaneChildWindows.hxx"
#include "PaneDockingWindow.hrc"
#include "PaneDockingWindow.hxx"
#include "ViewShellBase.hxx"
#include "framework/FrameworkHelper.hxx"
...
...
@@ -48,23 +47,20 @@ SFX_IMPL_DOCKINGWINDOW_WITHID(LeftPaneImpressChildWindow, SID_LEFT_PANE_IMPRESS)
SFX_IMPL_DOCKINGWINDOW_WITHID
(
LeftPaneDrawChildWindow
,
SID_LEFT_PANE_DRAW
)
//===== PaneChildWindow =======================================================
PaneChildWindow
::
PaneChildWindow
(
vcl
::
Window
*
pParentWindow
,
sal_uInt16
nId
,
SfxBindings
*
pBindings
,
SfxChildWinInfo
*
pInfo
,
const
sal_uInt16
nDockWinTitleResId
,
const
sal_uInt16
nTitleBarResId
,
SfxChildAlignment
eAlignment
)
:
SfxChildWindow
(
pParentWindow
,
nId
)
{
pWindow
=
new
PaneDockingWindow
(
pWindow
=
new
PaneDockingWindow
(
pBindings
,
this
,
pParentWindow
,
SdResId
(
nDockWinTitleResId
),
SD_RESSTR
(
nTitleBarResId
)
);
SD_RESSTR
(
nTitleBarResId
));
eChildAlignment
=
eAlignment
;
static_cast
<
SfxDockingWindow
*>
(
pWindow
)
->
Initialize
(
pInfo
);
SetHideNotDelete
(
true
);
...
...
@@ -88,7 +84,6 @@ PaneChildWindow::~PaneChildWindow (void)
}
//===== LeftPaneImpressChildWindow ============================================
LeftPaneImpressChildWindow
::
LeftPaneImpressChildWindow
(
vcl
::
Window
*
pParentWindow
,
sal_uInt16
nId
,
...
...
@@ -99,14 +94,12 @@ LeftPaneImpressChildWindow::LeftPaneImpressChildWindow (
nId
,
pBindings
,
pInfo
,
FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW
,
STR_LEFT_PANE_IMPRESS_TITLE
,
SFX_ALIGN_LEFT
)
{
}
//===== LeftPaneDrawChildWindow ===============================================
LeftPaneDrawChildWindow
::
LeftPaneDrawChildWindow
(
vcl
::
Window
*
pParentWindow
,
sal_uInt16
nId
,
...
...
@@ -117,7 +110,6 @@ LeftPaneDrawChildWindow::LeftPaneDrawChildWindow (
nId
,
pBindings
,
pInfo
,
FLT_LEFT_PANE_DRAW_DOCKING_WINDOW
,
STR_LEFT_PANE_DRAW_TITLE
,
SFX_ALIGN_LEFT
)
{
...
...
sd/source/ui/dlg/PaneDockingWindow.cxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -39,10 +39,11 @@ namespace sd {
PaneDockingWindow
::
PaneDockingWindow
(
SfxBindings
*
_pBindings
,
SfxChildWindow
*
pChildWindow
,
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
const
OUString
&
rsTitle
)
:
TitledDockingWindow
(
_pBindings
,
pChildWindow
,
pParent
,
rResId
)
const
OUString
&
rsTitle
)
:
TitledDockingWindow
(
_pBindings
,
pChildWindow
,
pParent
,
WB_MOVEABLE
|
WB_CLOSEABLE
|
WB_HIDE
|
WB_3DLOOK
)
{
SetTitle
(
rsTitle
);
SetTitle
(
rsTitle
);
SetSizePixel
(
LogicToPixel
(
Size
(
100
,
200
),
MAP_APPFONT
));
}
PaneDockingWindow
::~
PaneDockingWindow
(
void
)
...
...
sd/source/ui/dlg/PaneDockingWindow.src
deleted
100644 → 0
Dosyayı görüntüle @
780457b1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "PaneDockingWindow.hrc"
DockingWindow FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW
{
HelpID = "sd:DockingWindow:FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW";
Border = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Sizeable = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
Zoomable = TRUE ;
Dockable = TRUE ;
EnableResizing = TRUE ;
Size = MAP_APPFONT (100,200) ;
Text [ en-US ] = "Slide Pane" ;
};
DockingWindow FLT_LEFT_PANE_DRAW_DOCKING_WINDOW
{
HelpID = "sd:DockingWindow:FLT_LEFT_PANE_DRAW_DOCKING_WINDOW";
Border = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
Sizeable = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
Zoomable = TRUE ;
Dockable = TRUE ;
EnableResizing = TRUE ;
Size = MAP_APPFONT (100,200) ;
Text [ en-US ] = "Page Pane" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sd/source/ui/inc/PaneChildWindows.hxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -34,10 +34,9 @@ public:
sal_uInt16
nId
,
SfxBindings
*
pBindings
,
SfxChildWinInfo
*
pInfo
,
const
sal_uInt16
nDockWinTitleResId
,
const
sal_uInt16
nTitleBarResId
,
SfxChildAlignment
eAlignment
);
virtual
~
PaneChildWindow
(
void
);
virtual
~
PaneChildWindow
(
);
};
class
LeftPaneImpressChildWindow
...
...
sd/source/ui/inc/PaneDockingWindow.hrc
deleted
100644 → 0
Dosyayı görüntüle @
780457b1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#define FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW 792
#define FLT_LEFT_PANE_DRAW_DOCKING_WINDOW 793
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sd/source/ui/inc/PaneDockingWindow.hxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -42,8 +42,6 @@ public:
window.
@param pParent
The parent window of the new docking window.
@param rResId
The resource is used to determine initial size and attributes.
@param rsTitle
the initial title
*/
...
...
@@ -51,10 +49,9 @@ public:
SfxBindings
*
pBindings
,
SfxChildWindow
*
pChildWindow
,
vcl
::
Window
*
pParent
,
const
ResId
&
rResId
,
const
OUString
&
rsTitle
);
virtual
~
PaneDockingWindow
(
void
);
virtual
~
PaneDockingWindow
(
);
virtual
void
StateChanged
(
StateChangedType
nType
)
SAL_OVERRIDE
;
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rEvent
)
SAL_OVERRIDE
;
/** When docked the given range is passed to the parent SplitWindow.
...
...
sfx2/source/dialog/titledockwin.cxx
Dosyayı görüntüle @
2f25dc96
...
...
@@ -30,12 +30,7 @@
namespace
sfx2
{
//= TitledDockingWindow
TitledDockingWindow
::
TitledDockingWindow
(
SfxBindings
*
i_pBindings
,
SfxChildWindow
*
i_pChildWindow
,
vcl
::
Window
*
i_pParent
,
WinBits
i_nStyle
)
:
SfxDockingWindow
(
i_pBindings
,
i_pChildWindow
,
i_pParent
,
i_nStyle
)
...
...
@@ -49,21 +44,6 @@ namespace sfx2
impl_construct
();
}
TitledDockingWindow
::
TitledDockingWindow
(
SfxBindings
*
i_pBindings
,
SfxChildWindow
*
i_pChildWindow
,
vcl
::
Window
*
i_pParent
,
const
ResId
&
i_rResId
)
:
SfxDockingWindow
(
i_pBindings
,
i_pChildWindow
,
i_pParent
,
i_rResId
)
,
m_sTitle
()
,
m_aToolbox
(
this
)
,
m_aContentWindow
(
this
)
,
m_aBorder
(
3
,
1
,
3
,
3
)
,
m_bLayoutPending
(
false
)
,
m_nTitleBarHeight
(
0
)
{
impl_construct
();
}
void
TitledDockingWindow
::
impl_construct
()
{
SetBackground
(
Wallpaper
()
);
...
...
@@ -77,7 +57,6 @@ namespace sfx2
m_aContentWindow
.
Show
();
}
TitledDockingWindow
::~
TitledDockingWindow
()
{
}
...
...
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