Tag: cws_src680_oj14
User: fs      
Date: 2007-06-23 21:21:50+0000
Modified:
   dba/dbaccess/source/ui/app/AppDetailView.cxx

Log:
 RESYNC: (1.21-1.22); FILE MERGED

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppDetailView.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailView.cxx?r1=1.12.4.9&r2=1.12.4.10
Delta lines:  +52 -24
---------------------
--- AppDetailView.cxx   2007-06-19 08:00:47+0000        1.12.4.9
+++ AppDetailView.cxx   2007-06-23 21:21:47+0000        1.12.4.10
@@ -83,6 +83,9 @@
 #ifndef _SV_MNEMONIC_HXX
 #include <vcl/mnemonic.hxx>
 #endif
+#ifndef _SV_MNEMONIC_HXX
+#include <vcl/mnemonic.hxx>
+#endif
 #ifndef DBACCESS_UI_BROWSER_ID_HXX
 #include "browserids.hxx"
 #endif
@@ -139,6 +142,7 @@
        SetSpaceBetweenEntries(nSize);
     SetSelectionMode( NO_SELECTION );
     SetExtendedWinBits( EWB_NO_AUTO_CURENTRY );
+    EnableEntryMnemonics();
 }
 // 
-----------------------------------------------------------------------------
 void OCreationList::Paint( const Rectangle& _rRect )
@@ -153,6 +157,31 @@
     if ( m_pMouseDownEntry )
         Control::SetFont( m_aOriginalFont );
 }
+
+// 
-----------------------------------------------------------------------------
+void OCreationList::SelectSearchEntry( const void* _pEntry )
+{
+    SvLBoxEntry* pEntry = const_cast< SvLBoxEntry* >( static_cast< const 
SvLBoxEntry* >( _pEntry ) );
+    DBG_ASSERT( pEntry, "OCreationList::SelectSearchEntry: invalid entry!" );
+
+    if ( pEntry )
+        setCurrentEntryInvalidate( pEntry );
+
+    if ( !HasChildPathFocus() )
+        GrabFocus();
+}
+
+// 
-----------------------------------------------------------------------------
+void OCreationList::ExecuteSearchEntry( const void* _pEntry )
+{
+    SvLBoxEntry* pEntry = const_cast< SvLBoxEntry* >( static_cast< const 
SvLBoxEntry* >( _pEntry ) );
+    DBG_ASSERT( pEntry, "OCreationList::ExecuteSearchEntry: invalid entry!" );
+    DBG_ASSERT( pEntry == GetCurEntry(), "OCreationList::ExecuteSearchEntry: 
SelectSearchEntry should have been called before!" );
+
+    if ( pEntry )
+        onSelected( pEntry );
+}
+
 // 
-----------------------------------------------------------------------------
 void OCreationList::PreparePaint( SvLBoxEntry* _pEntry )
 {
@@ -761,7 +790,6 @@
         break;
 
     case E_REPORT:
-        rList.push_back( TaskEntry( ".uno:DBNewReport", 
RID_STR_REPORT_HELP_TEXT, RID_STR_NEW_REPORT, true ) );
         rList.push_back( TaskEntry( ".uno:DBNewReportAutoPilot", 
RID_STR_REPORTS_HELP_TEXT_WIZARD, RID_STR_NEW_REPORT_AUTO ) );
         _rData.nTitleId = RID_STR_REPORTS_CONTAINER;
         break;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to