renaissance1: resolved merge conflicts, cleanup.
This commit is contained in:
0
desktop/source/app/check_ext_deps.cxx
Normal file → Executable file
0
desktop/source/app/check_ext_deps.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui.hrc
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui.hrc
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog.src
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog.src
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog2.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog2.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog2.hxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_dialog2.hxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_extensioncmdqueue.hxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_service.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_service.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_theextmgr.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_theextmgr.cxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_theextmgr.hxx
Normal file → Executable file
0
desktop/source/deployment/gui/dp_gui_theextmgr.hxx
Normal file → Executable file
0
desktop/source/deployment/inc/dp_update.hxx
Normal file → Executable file
0
desktop/source/deployment/inc/dp_update.hxx
Normal file → Executable file
0
desktop/source/deployment/misc/dp_update.cxx
Normal file → Executable file
0
desktop/source/deployment/misc/dp_update.cxx
Normal file → Executable file
0
desktop/source/migration/migration.cxx
Normal file → Executable file
0
desktop/source/migration/migration.cxx
Normal file → Executable file
0
oovbaapi/ooo/vba/XVBAAppService.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/XVBAAppService.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/XVBADocService.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/XVBADocService.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/SheetObject.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/SheetObject.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/SheetObjects.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/SheetObjects.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/XHyperlinks.idl
Normal file → Executable file
0
oovbaapi/ooo/vba/excel/XHyperlinks.idl
Normal file → Executable file
0
sfx2/inc/brokenpackageint.hxx
Normal file → Executable file
0
sfx2/inc/brokenpackageint.hxx
Normal file → Executable file
0
sfx2/inc/sfx2/objsh.hxx
Normal file → Executable file
0
sfx2/inc/sfx2/objsh.hxx
Normal file → Executable file
0
sfx2/inc/sfx2/securitypage.hxx
Normal file → Executable file
0
sfx2/inc/sfx2/securitypage.hxx
Normal file → Executable file
0
sfx2/inc/sfx2/sfx.hrc
Normal file → Executable file
0
sfx2/inc/sfx2/sfx.hrc
Normal file → Executable file
@@ -100,6 +100,11 @@ namespace sfx2
|
||||
ToolBox& GetToolBox() { return m_aToolbox; }
|
||||
const ToolBox& GetToolBox() const { return m_aToolbox; }
|
||||
|
||||
/** Return the border that is painted around the inner window as
|
||||
decoration.
|
||||
*/
|
||||
SvBorder GetDecorationBorder (void) const { return m_aBorder; }
|
||||
|
||||
protected:
|
||||
// Window overridables
|
||||
virtual void Paint( const Rectangle& i_rArea );
|
||||
@@ -153,6 +158,11 @@ namespace sfx2
|
||||
since the last Paint().
|
||||
*/
|
||||
bool m_bLayoutPending;
|
||||
|
||||
/** Height of the title bar. Calculated in impl_layout().
|
||||
*/
|
||||
int m_nTitleBarHeight;
|
||||
|
||||
};
|
||||
|
||||
//......................................................................................................................
|
||||
|
0
sfx2/sdi/sfx.sdi
Normal file → Executable file
0
sfx2/sdi/sfx.sdi
Normal file → Executable file
0
sfx2/source/appl/appuno.cxx
Normal file → Executable file
0
sfx2/source/appl/appuno.cxx
Normal file → Executable file
0
sfx2/source/dialog/dinfdlg.cxx
Normal file → Executable file
0
sfx2/source/dialog/dinfdlg.cxx
Normal file → Executable file
0
sfx2/source/dialog/dinfdlg.src
Normal file → Executable file
0
sfx2/source/dialog/dinfdlg.src
Normal file → Executable file
0
sfx2/source/dialog/makefile.mk
Normal file → Executable file
0
sfx2/source/dialog/makefile.mk
Normal file → Executable file
0
sfx2/source/dialog/securitypage.cxx
Normal file → Executable file
0
sfx2/source/dialog/securitypage.cxx
Normal file → Executable file
0
sfx2/source/dialog/securitypage.hrc
Normal file → Executable file
0
sfx2/source/dialog/securitypage.hrc
Normal file → Executable file
0
sfx2/source/dialog/securitypage.src
Normal file → Executable file
0
sfx2/source/dialog/securitypage.src
Normal file → Executable file
@@ -51,6 +51,7 @@ namespace sfx2
|
||||
,m_aContentWindow( this, WB_DIALOGCONTROL )
|
||||
,m_aBorder( 3, 1, 3, 3 )
|
||||
,m_bLayoutPending( false )
|
||||
,m_nTitleBarHeight(0)
|
||||
{
|
||||
impl_construct();
|
||||
}
|
||||
@@ -139,23 +140,23 @@ namespace sfx2
|
||||
Size aWindowSize( GetOutputSizePixel() );
|
||||
|
||||
// position the tool box
|
||||
int nTitleBarHeight( GetSettings().GetStyleSettings().GetTitleHeight() );
|
||||
if ( aToolBoxSize.Height() > nTitleBarHeight )
|
||||
nTitleBarHeight = aToolBoxSize.Height();
|
||||
m_nTitleBarHeight = GetSettings().GetStyleSettings().GetTitleHeight();
|
||||
if ( aToolBoxSize.Height() > m_nTitleBarHeight )
|
||||
m_nTitleBarHeight = aToolBoxSize.Height();
|
||||
m_aToolbox.SetPosSizePixel(
|
||||
Point(
|
||||
aWindowSize.Width() - aToolBoxSize.Width(),
|
||||
( nTitleBarHeight - aToolBoxSize.Height() ) / 2
|
||||
( m_nTitleBarHeight - aToolBoxSize.Height() ) / 2
|
||||
),
|
||||
aToolBoxSize
|
||||
);
|
||||
|
||||
// Place the content window.
|
||||
if ( nTitleBarHeight < aToolBoxSize.Height() )
|
||||
nTitleBarHeight = aToolBoxSize.Height();
|
||||
aWindowSize.Height() -= nTitleBarHeight;
|
||||
if ( m_nTitleBarHeight < aToolBoxSize.Height() )
|
||||
m_nTitleBarHeight = aToolBoxSize.Height();
|
||||
aWindowSize.Height() -= m_nTitleBarHeight;
|
||||
m_aContentWindow.SetPosSizePixel(
|
||||
Point( m_aBorder.Left(), nTitleBarHeight + m_aBorder.Top() ),
|
||||
Point( m_aBorder.Left(), m_nTitleBarHeight + m_aBorder.Top() ),
|
||||
Size(
|
||||
aWindowSize.Width() - m_aBorder.Left() - m_aBorder.Right(),
|
||||
aWindowSize.Height() - m_aBorder.Top() - m_aBorder.Bottom()
|
||||
@@ -175,11 +176,6 @@ namespace sfx2
|
||||
|
||||
Push( PUSH_FONT | PUSH_FILLCOLOR | PUSH_LINECOLOR );
|
||||
|
||||
int nTitleBarHeight( GetSettings().GetStyleSettings().GetTitleHeight() );
|
||||
const Size aToolBoxSize = m_aToolbox.CalcWindowSizePixel();
|
||||
if ( aToolBoxSize.Height() > nTitleBarHeight )
|
||||
nTitleBarHeight = aToolBoxSize.Height();
|
||||
|
||||
SetFillColor( GetSettings().GetStyleSettings().GetDialogColor() );
|
||||
SetLineColor();
|
||||
|
||||
@@ -194,7 +190,7 @@ namespace sfx2
|
||||
int nInnerLeft = nOuterLeft + m_aBorder.Left() - 1;
|
||||
int nOuterRight = aWindowSize.Width() - 1;
|
||||
int nInnerRight = nOuterRight - m_aBorder.Right() + 1;
|
||||
int nInnerTop = nTitleBarHeight + m_aBorder.Top() - 1;
|
||||
int nInnerTop = m_nTitleBarHeight + m_aBorder.Top() - 1;
|
||||
int nOuterBottom = aWindowSize.Height() - 1;
|
||||
int nInnerBottom = nOuterBottom - m_aBorder.Bottom() + 1;
|
||||
|
||||
|
0
sfx2/source/doc/objxtor.cxx
Normal file → Executable file
0
sfx2/source/doc/objxtor.cxx
Normal file → Executable file
0
sfx2/source/inc/helpid.hrc
Normal file → Executable file
0
sfx2/source/inc/helpid.hrc
Normal file → Executable file
0
svx/inc/svx/svxids.hrc
Normal file → Executable file
0
svx/inc/svx/svxids.hrc
Normal file → Executable file
0
uui/source/cookiedg.cxx
Normal file → Executable file
0
uui/source/cookiedg.cxx
Normal file → Executable file
0
uui/source/cookiedg.hxx
Normal file → Executable file
0
uui/source/cookiedg.hxx
Normal file → Executable file
0
uui/source/iahndl-authentication.cxx
Normal file → Executable file
0
uui/source/iahndl-authentication.cxx
Normal file → Executable file
0
uui/source/ids.hrc
Normal file → Executable file
0
uui/source/ids.hrc
Normal file → Executable file
0
uui/source/logindlg.cxx
Normal file → Executable file
0
uui/source/logindlg.cxx
Normal file → Executable file
0
uui/source/logindlg.hrc
Normal file → Executable file
0
uui/source/logindlg.hrc
Normal file → Executable file
0
uui/source/logindlg.hxx
Normal file → Executable file
0
uui/source/logindlg.hxx
Normal file → Executable file
0
uui/source/logindlg.src
Normal file → Executable file
0
uui/source/logindlg.src
Normal file → Executable file
0
uui/source/loginerr.hxx
Normal file → Executable file
0
uui/source/loginerr.hxx
Normal file → Executable file
0
uui/source/passworddlg.cxx
Normal file → Executable file
0
uui/source/passworddlg.cxx
Normal file → Executable file
0
uui/source/passworddlg.hxx
Normal file → Executable file
0
uui/source/passworddlg.hxx
Normal file → Executable file
0
uui/source/passworddlg.src
Normal file → Executable file
0
uui/source/passworddlg.src
Normal file → Executable file
0
uui/source/passworderrs.src
Normal file → Executable file
0
uui/source/passworderrs.src
Normal file → Executable file
0
vbahelper/source/msforms/vbasystemaxcontrol.cxx
Normal file → Executable file
0
vbahelper/source/msforms/vbasystemaxcontrol.cxx
Normal file → Executable file
0
vbahelper/source/msforms/vbasystemaxcontrol.hxx
Normal file → Executable file
0
vbahelper/source/msforms/vbasystemaxcontrol.hxx
Normal file → Executable file
Reference in New Issue
Block a user