diff --git a/avmedia/source/framework/mediamisc.cxx b/avmedia/source/framework/mediamisc.cxx index 882f5db55d9c..f9fd65298d83 100644 --- a/avmedia/source/framework/mediamisc.cxx +++ b/avmedia/source/framework/mediamisc.cxx @@ -38,9 +38,7 @@ ResMgr* GetResMgr() if( !pResMgr ) { - ByteString aResMgrName( "avmedia" ); - - pResMgr = ResMgr::CreateResMgr( aResMgrName.GetBuffer(), Application::GetSettings().GetUILocale() ); + pResMgr = ResMgr::CreateResMgr("avmedia", Application::GetSettings().GetUILocale()); } return pResMgr; diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx index 83ea7b8a6316..f5403136ab3f 100644 --- a/avmedia/source/framework/soundhandler.cxx +++ b/avmedia/source/framework/soundhandler.cxx @@ -484,19 +484,6 @@ IMPL_LINK( SoundHandler, implts_PlayerNotify, void*, EMPTYARG ) } // namespace framework -// ------------------------------------------ -// - component_getImplementationEnvironment - -// ------------------------------------------ - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -// ------------------------ -// - component_getFactory - -// ------------------------ - extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplementationName, void* pServiceManager, void* /*pRegistryKey*/ ) { void* pReturn = NULL; diff --git a/avmedia/source/gstreamer/exports.dxp b/avmedia/source/gstreamer/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/avmedia/source/gstreamer/exports.dxp +++ b/avmedia/source/gstreamer/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index b7a68573c3da..14cdbb579af4 100644 --- a/avmedia/source/gstreamer/gstplayer.cxx +++ b/avmedia/source/gstreamer/gstplayer.cxx @@ -269,7 +269,7 @@ void Player::preparePlaybin( const ::rtl::OUString& rURL, bool bFakeVideo ) mbFakeVideo = bFakeVideo; - rtl::OString ascURL = OUStringToOString( rURL, RTL_TEXTENCODING_ASCII_US ); + rtl::OString ascURL = OUStringToOString( rURL, RTL_TEXTENCODING_UTF8 ); g_object_set( G_OBJECT( mpPlaybin ), "uri", ascURL.getStr() , NULL ); pBus = gst_element_get_bus( mpPlaybin ); diff --git a/avmedia/source/gstreamer/gstuno.cxx b/avmedia/source/gstreamer/gstuno.cxx index ff18652e79da..4bd4f9f1b83d 100644 --- a/avmedia/source/gstreamer/gstuno.cxx +++ b/avmedia/source/gstreamer/gstuno.cxx @@ -39,11 +39,6 @@ static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno: return uno::Reference< uno::XInterface >( *new ::avmedia::gstreamer::Manager( rxFact ) ); } -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /*pRegistryKey*/ ) { uno::Reference< lang::XSingleServiceFactory > xFactory; diff --git a/avmedia/source/quicktime/quicktimeuno.cxx b/avmedia/source/quicktime/quicktimeuno.cxx index df7d43f6a8e1..0a927d650bd8 100644 --- a/avmedia/source/quicktime/quicktimeuno.cxx +++ b/avmedia/source/quicktime/quicktimeuno.cxx @@ -40,19 +40,6 @@ static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno: return uno::Reference< uno::XInterface >( *new ::avmedia::quicktime::Manager( rxFact ) ); } -// ------------------------------------------ -// - component_getImplementationEnvironment - -// ------------------------------------------ - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -// ------------------------ -// - component_getFactory - -// ------------------------ - extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* /* pRegistryKey */ ) { uno::Reference< lang::XSingleServiceFactory > xFactory; diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index c79fea8c033f..e831ad1e88c8 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -331,13 +331,6 @@ const Pointer& MediaWindowImpl::getPointer() const // --------------------------------------------------------------------- -bool MediaWindowImpl::hasInternalMediaControl() const -{ - return( mpMediaWindowControl != NULL ); -} - -// --------------------------------------------------------------------- - void MediaWindowImpl::Resize() { uno::Reference< media::XPlayerWindow > xPlayerWindow( getPlayerWindow() ); diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx index fa44d2158863..edc8eda5b610 100644 --- a/avmedia/source/viewer/mediawindow_impl.hxx +++ b/avmedia/source/viewer/mediawindow_impl.hxx @@ -111,8 +111,6 @@ namespace avmedia void setPointer( const Pointer& rPointer ); const Pointer& getPointer() const; - bool hasInternalMediaControl() const; - protected: // Window diff --git a/avmedia/source/win/exports.dxp b/avmedia/source/win/exports.dxp index 926e49f5f1a5..70033078921a 100755 --- a/avmedia/source/win/exports.dxp +++ b/avmedia/source/win/exports.dxp @@ -1,3 +1 @@ -component_getImplementationEnvironment component_getFactory - diff --git a/avmedia/source/win/winuno.cxx b/avmedia/source/win/winuno.cxx index 43c4382b67d4..d59e287eb487 100644 --- a/avmedia/source/win/winuno.cxx +++ b/avmedia/source/win/winuno.cxx @@ -40,19 +40,6 @@ static uno::Reference< uno::XInterface > SAL_CALL create_MediaPlayer( const uno: return uno::Reference< uno::XInterface >( *new ::avmedia::win::Manager( rxFact ) ); } -// ------------------------------------------ -// - component_getImplementationEnvironment - -// ------------------------------------------ - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -// ------------------------ -// - component_getFactory - -// ------------------------ - extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* ) { uno::Reference< lang::XSingleServiceFactory > xFactory; diff --git a/avmedia/util/makefile.mk b/avmedia/util/makefile.mk index 6d12706a265d..06882dda3f46 100755 --- a/avmedia/util/makefile.mk +++ b/avmedia/util/makefile.mk @@ -53,7 +53,11 @@ LIB1FILES=\ # ========================================================================== SHL1TARGET=$(TARGET)$(DLLPOSTFIX) +.IF "$(COM)" == "MSC" SHL1IMPLIB=i$(TARGET) +.ELSE +SHL1IMPLIB=$(TARGET)$(DLLPOSTFIX) +.ENDIF SHL1STDLIBS=$(UNOTOOLSLIB) $(TOOLSLIB) $(CPPULIB) $(CPPUHELPERLIB) $(SALLIB) $(VCLLIB) $(COMPHELPERLIB) $(SVTOOLLIB) $(SVLLIB) $(SFXLIB) SHL1DEF=$(MISC)$/$(SHL1TARGET).def SHL1LIBS=$(SLB)$/$(TARGET).lib diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx index 73d80a4345b7..5ac9aee34742 100644 --- a/basic/inc/basic/sbstar.hxx +++ b/basic/inc/basic/sbstar.hxx @@ -148,8 +148,6 @@ public: void InitAllModules( StarBASIC* pBasicNotToInit = NULL ); void DeInitAllModules( void ); void ClearAllModuleVars( void ); - void ActivateObject( const String*, sal_Bool ); - sal_Bool LoadOldModules( SvStream& ); // #43011 For TestTool; deletes global vars void ClearGlobalVars( void ); @@ -168,12 +166,9 @@ public: static sal_Bool IsCompilerError(); static sal_uInt16 GetVBErrorCode( SbError nError ); static SbError GetSfxFromVBError( sal_uInt16 nError ); - static void SetGlobalLanguageMode( SbLanguageMode eLangMode ); - static SbLanguageMode GetGlobalLanguageMode(); // Local settings void SetLanguageMode( SbLanguageMode eLangMode ) { eLanguageMode = eLangMode; } - SbLanguageMode GetLanguageMode(); // Specific for break handler sal_Bool IsBreak() const { return bBreak; } @@ -183,7 +178,6 @@ public: Link GetErrorHdl() const { return aErrorHdl; } void SetErrorHdl( const Link& r ) { aErrorHdl = r; } - static Link GetGlobalBreakHdl(); static void SetGlobalBreakHdl( const Link& rNewHdl ); Link GetBreakHdl() const { return aBreakHdl; } void SetBreakHdl( const Link& r ) { aBreakHdl = r; } @@ -191,19 +185,11 @@ public: SbxArrayRef getUnoListeners( void ); static SbxBase* FindSBXInCurrentScope( const String& rName ); - static SbxVariable* FindVarInCurrentScopy - ( const String& rName, sal_uInt16& rStatus ); static SbMethod* GetActiveMethod( sal_uInt16 nLevel = 0 ); static SbModule* GetActiveModule(); void SetVBAEnabled( sal_Bool bEnabled ); sal_Bool isVBAEnabled(); - // #60175 sal_True: SFX-Resource is not displayed on basic errors - static void StaticSuppressSfxResource( sal_Bool bSuppress ); - - // #91147 sal_True: Reschedule is enabled (default>, sal_False: No reschedule - static void StaticEnableReschedule( sal_Bool bReschedule ); - SbxObjectRef getRTL( void ) { return pRtl; } sal_Bool IsDocBasic() { return bDocBasic; } SbxVariable* VBAFind( const String& rName, SbxClassType t ); diff --git a/basic/prj/build.lst b/basic/prj/build.lst index c6f684fefadc..d097760283e1 100644 --- a/basic/prj/build.lst +++ b/basic/prj/build.lst @@ -1,4 +1,4 @@ -sb basic : TRANSLATIONS:translations offuh oovbaapi svtools xmlscript framework salhelper LIBXSLT:libxslt NULL +sb basic : TRANSLATIONS:translations offapi oovbaapi svtools xmlscript framework salhelper LIBXSLT:libxslt NULL sb basic usr1 - all sb_mkout NULL sb basic\inc nmake - all sb_inc NULL sb basic\source\app nmake - all sb_app sb_class sb_inc NULL diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx index 558a01353fbd..f1bdd3f0e69e 100644 --- a/basic/source/app/app.cxx +++ b/basic/source/app/app.cxx @@ -38,7 +38,6 @@ #include <basic/ttstrhlp.hxx> #include <basic/sbx.hxx> -#include <svtools/filedlg.hxx> #include <osl/module.h> @@ -71,6 +70,8 @@ #include <ucbhelper/content.hxx> #include <unotools/syslocale.hxx> +#include <rtl/strbuf.hxx> + using namespace comphelper; using namespace cppu; using namespace com::sun::star; @@ -279,8 +280,9 @@ int BasicApp::Main( ) // 1033 = LANGUAGE_ENGLISH_US // 1031 = LANGUAGE_GERMAN aConf.SetGroup("Misc"); - ByteString aLang = aConf.ReadKey( "Language", ByteString::CreateFromInt32( LANGUAGE_SYSTEM ) ); - aRequestedLanguage = LanguageType( aLang.ToInt32() ); + rtl::OString aLang = aConf.ReadKey( "Language", + rtl::OString::valueOf(static_cast<sal_Int32>(LANGUAGE_SYSTEM)) ); + aRequestedLanguage = LanguageType(aLang.toInt32()); AllSettings aSettings = GetSettings(); aSettings.SetUILanguage( aRequestedLanguage ); @@ -569,7 +571,7 @@ BasicFrame::BasicFrame() : WorkWindow( NULL, { Config aConf(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") )); aConf.SetGroup("WinGeom"); - SetWindowState( aConf.ReadKey("WinParams", "") ); + SetWindowState( ::rtl::OString(aConf.ReadKey("WinParams", "")) ); } aLineNum.SetTimeoutHdl( LINK( this, BasicFrame, ShowLineNr ) ); @@ -1030,7 +1032,10 @@ sal_Bool BasicFrame::CompileAll() // Setup menu #define MENU2FILENAME( Name ) Name.Copy( Name.SearchAscii(" ") +1).EraseAllChars( '~' ) -#define LRUNr( nNr ) CByteString("LRU").Append( ByteString::CreateFromInt32( nNr ) ) +#define LRUNr( nNr ) \ + rtl::OStringBuffer(RTL_CONSTASCII_STRINGPARAM("LRU")) \ + .append(static_cast<sal_Int32>(nNr)) \ + .makeStringAndClear() String FILENAME2MENU( sal_uInt16 nNr, String aName ) { String aRet; diff --git a/basic/source/app/basic.src b/basic/source/app/basic.src index 754b35e1b56f..8a1d73d0589c 100644 --- a/basic/source/app/basic.src +++ b/basic/source/app/basic.src @@ -84,7 +84,6 @@ ModalDialog IDD_TT_ABOUT_DIALOG { FixedText RID_VERSIONSTRING { Pos = MAP_APPFONT( 5, 25 ); Size = MAP_APPFONT( 110, 10 ); - Text = UPDVER; CENTER = TRUE; }; FixedText 4 { diff --git a/basic/source/app/brkpnts.cxx b/basic/source/app/brkpnts.cxx index 134c5194b7aa..57406feec54d 100644 --- a/basic/source/app/brkpnts.cxx +++ b/basic/source/app/brkpnts.cxx @@ -39,6 +39,8 @@ #include <basic/ttstrhlp.hxx> +#include <rtl/strbuf.hxx> + #include "brkpnts.hxx" #include "basic.hrc" #include "resids.hrc" @@ -232,22 +234,22 @@ void BreakpointWindow::LoadBreakpoints( String aFilename ) void BreakpointWindow::SaveBreakpoints( String aFilename ) { - ByteString aBreakpoints; + rtl::OStringBuffer aBreakpoints; for ( size_t i = 0, n = BreakpointList.size(); i < n; ++i ) { Breakpoint* pBrk = BreakpointList[ i ]; - if ( aBreakpoints.Len() ) - aBreakpoints += ';'; - aBreakpoints += ByteString::CreateFromInt32( pBrk->nLine ); + if (aBreakpoints.getLength()) + aBreakpoints.append(';'); + aBreakpoints.append(static_cast<sal_Int32>(pBrk->nLine)); } Config aConfig(Config::GetConfigName( Config::GetDefDirectory(), CUniString("testtool") )); aConfig.SetGroup("Breakpoints"); - if ( aBreakpoints.Len() ) - aConfig.WriteKey( ByteString( aFilename, RTL_TEXTENCODING_UTF8 ), aBreakpoints ); + if (aBreakpoints.getLength()) + aConfig.WriteKey( ByteString( aFilename, RTL_TEXTENCODING_UTF8 ), aBreakpoints.makeStringAndClear() ); else aConfig.DeleteKey( ByteString( aFilename, RTL_TEXTENCODING_UTF8 ) ); } diff --git a/basic/source/app/dialogs.cxx b/basic/source/app/dialogs.cxx index 20b7bd1c7cf8..f326c5321552 100644 --- a/basic/source/app/dialogs.cxx +++ b/basic/source/app/dialogs.cxx @@ -47,7 +47,7 @@ #include <vcl/splitwin.hxx> #include <svl/zformat.hxx> #include <svtools/ctrltool.hxx> - +#include <unotools/bootstrap.hxx> #include <svtools/svtdata.hxx> #include <svl/solar.hrc> @@ -55,6 +55,7 @@ #include <basic/dispdefs.hxx> #include <basic/testtool.hxx> +#include <rtl/strbuf.hxx> #include "dialogs.hxx" #include "resids.hrc" #include "basic.hrc" @@ -72,6 +73,8 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& id ) , aOk ( this, ResId( RID_OK, *id.GetResMgr() ) ) { FreeResource(); + rtl::OUString sDefault; + aVersionString.SetText( utl::Bootstrap::getBuildIdData( sDefault ) ); } @@ -556,7 +559,8 @@ void CrashreportOptions::Save( Config &aConfig ) aConfig.WriteKey( "UseProxy", "false" ); aConfig.WriteKey( "ProxyServer", ByteString( aEDCRHost.GetText(), RTL_TEXTENCODING_UTF8 ) ); - aConfig.WriteKey( "ProxyPort", ByteString::CreateFromInt64( aNFCRPort.GetValue() ) ); + aConfig.WriteKey("ProxyPort", + rtl::OString::valueOf(static_cast<sal_Int64>(aNFCRPort.GetValue()))); if ( aCBAllowContact.IsChecked() ) aConfig.WriteKey( "AllowContact", "true" ); @@ -606,27 +610,29 @@ MiscOptions::MiscOptions( Window* pParent, Config &aConfig ) aNFUNOPort.SetUseThousandSep( sal_False ); aTFMaxLRU.SetUseThousandSep( sal_False ); - ByteString aTemp; + rtl::OString aTemp; aConfig.SetGroup("Communication"); aTemp = aConfig.ReadKey( "Host", DEFAULT_HOST ); - aEDHost.SetText( String( aTemp, RTL_TEXTENCODING_UTF8 ) ); - aTemp = aConfig.ReadKey( "TTPort", ByteString::CreateFromInt32( TESTTOOL_DEFAULT_PORT ) ); - aNFTTPort.SetValue( aTemp.ToInt32() ); - aTemp = aConfig.ReadKey( "UnoPort", ByteString::CreateFromInt32( UNO_DEFAULT_PORT ) ); - aNFUNOPort.SetValue( aTemp.ToInt32() ); + aEDHost.SetText(rtl::OStringToOUString(aTemp, RTL_TEXTENCODING_UTF8)); + aTemp = aConfig.ReadKey("TTPort", + rtl::OString::valueOf(static_cast<sal_Int32>(TESTTOOL_DEFAULT_PORT))); + aNFTTPort.SetValue(aTemp.toInt32()); + aTemp = aConfig.ReadKey("UnoPort", + rtl::OString::valueOf(static_cast<sal_Int32>(UNO_DEFAULT_PORT))); + aNFUNOPort.SetValue(aTemp.toInt32()); aConfig.SetGroup("Misc"); aTemp = aConfig.ReadKey( "ServerTimeout", "10000" ); // Default 1 Minute - aServerTimeout.SetTime( Time(aTemp.ToInt32()) ); + aServerTimeout.SetTime(Time(aTemp.toInt32())); aConfig.SetGroup("LRU"); aTemp = aConfig.ReadKey( "MaxLRU", "4" ); - aTFMaxLRU.SetValue( aTemp.ToInt32() ); + aTFMaxLRU.SetValue(aTemp.toInt32()); aConfig.SetGroup("OOoProgramDir"); aTemp = aConfig.ReadKey( "Current" ); - aEDProgDir.SetText( String( aTemp, RTL_TEXTENCODING_UTF8 ) ); + aEDProgDir.SetText(rtl::OStringToOUString(aTemp, RTL_TEXTENCODING_UTF8)); aPBProgDir.SetClickHdl( LINK( this, MiscOptions, Click ) ); } @@ -644,19 +650,27 @@ void MiscOptions::Save( Config &aConfig ) { aConfig.SetGroup("Communication"); aConfig.WriteKey( "Host", ByteString( aEDHost.GetText(), RTL_TEXTENCODING_UTF8 ) ); - aConfig.WriteKey( "TTPort", ByteString::CreateFromInt64( aNFTTPort.GetValue() ) ); - aConfig.WriteKey( "UnoPort", ByteString::CreateFromInt64( aNFUNOPort.GetValue() ) ); + aConfig.WriteKey("TTPort", + rtl::OString::valueOf(static_cast<sal_Int64>(aNFTTPort.GetValue()))); + aConfig.WriteKey("UnoPort", + rtl::OString::valueOf(static_cast<sal_Int64>(aNFUNOPort.GetValue()))); aConfig.SetGroup("Misc"); - aConfig.WriteKey( "ServerTimeout", ByteString::CreateFromInt32( aServerTimeout.GetTime().GetTime() ) ); + aConfig.WriteKey("ServerTimeout", + rtl::OString::valueOf(static_cast<sal_Int32>(aServerTimeout.GetTime().GetTime()))); aConfig.SetGroup("LRU"); ByteString aTemp = aConfig.ReadKey( "MaxLRU", "4" ); sal_uInt16 nOldMaxLRU = (sal_uInt16)aTemp.ToInt32(); sal_uInt16 n; for ( n = nOldMaxLRU ; n > aTFMaxLRU.GetValue() ; n-- ) - aConfig.DeleteKey( ByteString("LRU").Append( ByteString::CreateFromInt32( n ) ) ); - aConfig.WriteKey( "MaxLRU", ByteString::CreateFromInt64( aTFMaxLRU.GetValue() ) ); + { + aConfig.DeleteKey(rtl::OStringBuffer(RTL_CONSTASCII_STRINGPARAM("LRU")) + .append(static_cast<sal_Int32>(n)) + .makeStringAndClear()); + } + aConfig.WriteKey("MaxLRU", + rtl::OString::valueOf(static_cast<sal_Int64>(aTFMaxLRU.GetValue()))); aConfig.SetGroup("OOoProgramDir"); aConfig.WriteKey( C_KEY_AKTUELL, ByteString( aEDProgDir.GetText(), RTL_TEXTENCODING_UTF8 ) ); diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 221286e91142..fca2841bcaee 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1394,23 +1394,6 @@ SbxBase* StarBASIC::FindSBXInCurrentScope( const String& rName ) return pINST->pRun->FindElementExtern( rName ); } -// Preserve old interface -SbxVariable* StarBASIC::FindVarInCurrentScopy -( const String& rName, sal_uInt16& rStatus ) -{ - rStatus = 1; // Presumption: nothing found - SbxVariable* pVar = NULL; - SbxBase* pSbx = FindSBXInCurrentScope( rName ); - if( pSbx ) - { - if( !pSbx->ISA(SbxMethod) && !pSbx->ISA(SbxObject) ) - pVar = PTR_CAST(SbxVariable,pSbx); - } - if( pVar ) - rStatus = 0; // We found something - return pVar; -} - void StarBASIC::QuitAndExitApplication() { Stop(); @@ -1434,40 +1417,6 @@ sal_Bool StarBASIC::IsRunning() /************************************************************************** * -* Object factories and others -* -**************************************************************************/ - -// Activation of an object. There is no need to access active objects -// with name via BASIC. If NULL is given, everything is activated. -void StarBASIC::ActivateObject( const String* pName, sal_Bool bActivate ) -{ - if( pName ) - { - SbxObject* p = (SbxObject*) SbxObject::Find( *pName, SbxCLASS_OBJECT ); - if( p ) - { - if( bActivate ) - p->SetFlag( SBX_EXTSEARCH ); - else - p->ResetFlag( SBX_EXTSEARCH ); - } - } - else - { - for( sal_uInt16 i = 0; i < GetObjects()->Count(); i++ ) - { - SbxObject* p = (SbxObject*) GetObjects()->Get( i ); - if( bActivate ) - p->SetFlag( SBX_EXTSEARCH ); - else - p->ResetFlag( SBX_EXTSEARCH ); - } - } -} - -/************************************************************************** -* * Debugging and error handling * **************************************************************************/ @@ -1523,23 +1472,6 @@ sal_uInt16 StarBASIC::GetCol2() { return GetSbData()->nCol2; } SbError StarBASIC::GetErrorCode() { return GetSbData()->nCode; } const String& StarBASIC::GetErrorText() { return GetSbData()->aErrMsg; } sal_Bool StarBASIC::IsCompilerError() { return GetSbData()->bCompiler; } -void StarBASIC::SetGlobalLanguageMode( SbLanguageMode eLanguageMode ) -{ - GetSbData()->eLanguageMode = eLanguageMode; -} -SbLanguageMode StarBASIC::GetGlobalLanguageMode() -{ - return GetSbData()->eLanguageMode; -} -// Local settings -SbLanguageMode StarBASIC::GetLanguageMode() -{ - // Use global settings? - if( eLanguageMode == SB_LANG_GLOBAL ) - return GetSbData()->eLanguageMode; - else - return eLanguageMode; -} // From 1996-03-29: // The mapping between the old and the new error codes take place by searching @@ -1669,31 +1601,9 @@ struct BasicStringList_Impl : private Resource }; //---------------------------------------------------------------- -// Flag, that prevent the activation of the SFX-Resources at a Basic error -static sal_Bool bStaticSuppressSfxResource = sal_False; - -void StarBASIC::StaticSuppressSfxResource( sal_Bool bSuppress ) -{ - bStaticSuppressSfxResource = bSuppress; -} - -// Hack for #83750, use bStaticSuppressSfxResource as setup flag -sal_Bool runsInSetup( void ) -{ - return bStaticSuppressSfxResource; -} - - void StarBASIC::MakeErrorText( SbError nId, const String& aMsg ) { SolarMutexGuard aSolarGuard; - - if( bStaticSuppressSfxResource ) - { - GetSbData()->aErrMsg = String( RTL_CONSTASCII_USTRINGPARAM("No resource: Error message not available") ); - return; - } - sal_uInt16 nOldID = GetVBErrorCode( nId ); // intantiate the help class @@ -1869,12 +1779,6 @@ void StarBASIC::SetGlobalErrorHdl( const Link& rLink ) GetSbData()->aErrHdl = rLink; } - -Link StarBASIC::GetGlobalBreakHdl() -{ - return GetSbData()->aBreakHdl; -} - void StarBASIC::SetGlobalBreakHdl( const Link& rLink ) { GetSbData()->aBreakHdl = rLink; @@ -1966,11 +1870,6 @@ sal_Bool StarBASIC::StoreData( SvStream& r ) const return sal_True; } -sal_Bool StarBASIC::LoadOldModules( SvStream& ) -{ - return sal_False; -} - bool StarBASIC::GetUNOConstant( const sal_Char* _pAsciiName, ::com::sun::star::uno::Any& aOut ) { bool bRes = false; diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index cadaa0c43131..e655050e3606 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -434,28 +434,6 @@ template< class EXCEPTION > return implGetExceptionMsg( e, ::getCppuType( &e ).getTypeName() ); } -// Error-Message fuer WrappedTargetExceptions -::rtl::OUString implGetWrappedMsg( const WrappedTargetException& e ) -{ - ::rtl::OUString aMsg; - Any aWrappedAny = e.TargetException; - Type aExceptionType = aWrappedAny.getValueType(); - - // Really an Exception? - if( aExceptionType.getTypeClass() == TypeClass_EXCEPTION ) - { - Exception& e_ = *( (Exception*)aWrappedAny.getValue() ); - aMsg = implGetExceptionMsg( e_, ::rtl::OUString( aExceptionType.getTypeName() ) ); - } - // Otherwise use WrappedTargetException itself - else - { - aMsg = implGetExceptionMsg( e ); - } - - return aMsg; -} - void implHandleBasicErrorException( BasicErrorException& e ) { SbError nError = StarBASIC::GetSfxFromVBError( (sal_uInt16)e.ErrorCode ); diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index e1e56101e937..f3cf7334b6bb 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -1088,8 +1088,6 @@ void SbiParser::SubFunc() // Read in of a procedure -sal_Bool runsInSetup( void ); - void SbiParser::DefProc( sal_Bool bStatic, sal_Bool bPrivate ) { sal_uInt16 l1 = nLine, l2 = nLine; @@ -1132,7 +1130,7 @@ void SbiParser::DefProc( sal_Bool bStatic, sal_Bool bPrivate ) } // #100027: Multiple declaration -> Error // #112787: Not for setup, REMOVE for 8 - else if( !runsInSetup() && pProc->IsUsedForProcDecl() ) + else if( pProc->IsUsedForProcDecl() ) { PropertyMode ePropMode = pDef->getPropertyMode(); if( ePropMode == PROPERTY_MODE_NONE || ePropMode == pProc->getPropertyMode() ) diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index 855af7fa1eb7..d8e8b2507640 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -480,15 +480,6 @@ sal_Bool hasUno( void ); // (Implemented in methods.cxx) String getFullPath( const String& aRelPath ); -// Sets (virtual) current path for UCB file access -void implChDir( const String& aDir ); - -// Sets (virtual) current drive for UCB file access -void implChDrive( const String& aDrive ); - -// Returns (virtual) current path for UCB file access -String implGetCurDir( void ); - // Implementation of StepRENAME with UCB // (Implemented in methods.cxx, so step0.cxx // has not to be infected with UNO) diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index b71558b0fb7e..6f3af60aedd5 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -203,9 +203,6 @@ void SbiStream::MapError() return user; } -// Hack for #83750 -sal_Bool runsInSetup( void ); - sal_Bool needSecurityRestrictions( void ) { static sal_Bool bNeedInit = sal_True; @@ -213,15 +210,6 @@ sal_Bool needSecurityRestrictions( void ) if( bNeedInit ) { - // Hack for #83750, use internal flag until - // setup provides own service manager - if( runsInSetup() ) - { - // Setup is not critical - bRetVal = sal_False; - return bRetVal; - } - bNeedInit = sal_False; // Get system user to compare to portal user diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index f7920a11d1a9..0d74f14407d2 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -184,28 +184,6 @@ String getFullPath( const String& aRelPath ) return aFileURL; } -// Sets (virtual) current path for UCB file access -void implChDir( const String& aDir ) -{ - (void)aDir; - // TODO -} - -// Sets (virtual) current drive for UCB file access -void implChDrive( const String& aDrive ) -{ - (void)aDrive; - // TODO -} - -// Returns (virtual) current path for UCB file access -String implGetCurDir( void ) -{ - String aRetStr; - - return aRetStr; -} - // TODO: -> SbiGlobals static com::sun::star::uno::Reference< XSimpleFileAccess3 > getFileAccess( void ) { diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 8e6299b6203f..ba03bdac939e 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -61,13 +61,6 @@ bool SbiRuntime::isVBAEnabled() return result; } -// #91147 Global reschedule flag -static sal_Bool bStaticGlobalEnableReschedule = sal_True; - -void StarBASIC::StaticEnableReschedule( sal_Bool bReschedule ) -{ - bStaticGlobalEnableReschedule = bReschedule; -} void StarBASIC::SetVBAEnabled( sal_Bool bEnabled ) { if ( bDocBasic ) @@ -715,7 +708,7 @@ sal_Bool SbiRuntime::Step() if( bRun ) { // Unbedingt gelegentlich die Kontrolle abgeben! - if( !( ++nOps & 0xF ) && pInst->IsReschedule() && bStaticGlobalEnableReschedule ) + if( !( ++nOps & 0xF ) && pInst->IsReschedule() ) { sal_uInt32 nTime = osl_getGlobalTimer(); if (nTime - m_nLastTime > 5 ) // 20 ms @@ -728,7 +721,7 @@ sal_Bool SbiRuntime::Step() // #i48868 blocked by next call level? while( bBlocked ) { - if( pInst->IsReschedule() && bStaticGlobalEnableReschedule ) + if( pInst->IsReschedule() ) Application::Reschedule(); } diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 77f34d90f370..0e116c9a9b5b 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -37,6 +37,8 @@ #include <basic/sbxfac.hxx> #include <basic/sbxbase.hxx> +#include <rtl/strbuf.hxx> + // AppData-Structure for SBX: SV_IMPL_PTRARR(SbxParams,SbxParamInfo*); @@ -214,9 +216,10 @@ SbxBase* SbxBase::Create( sal_uInt16 nSbxId, sal_uInt32 nCreator ) #ifdef DBG_UTIL if( !pNew ) { - ByteString aMsg( "SBX: Keine Factory fuer SBX-ID " ); - aMsg += ByteString::CreateFromInt32(nSbxId); - DbgError( aMsg.GetBuffer() ); + rtl::OStringBuffer aMsg( + RTL_CONSTASCII_STRINGPARAM("SBX: Keine Factory fuer SBX-ID ")); + aMsg.append(static_cast<sal_Int32>(nSbxId)); + DbgError(aMsg.getStr()); } #endif return pNew; diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index 8c1bbbec6119..bf4bd83c7b28 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -866,17 +866,17 @@ void SbxObject::Dump( SvStream& rStrm, sal_Bool bFill ) ByteString aNameStr( (const UniString&)GetName(), RTL_TEXTENCODING_ASCII_US ); ByteString aClassNameStr( (const UniString&)aClassName, RTL_TEXTENCODING_ASCII_US ); rStrm << "Object( " - << ByteString::CreateFromInt64( (sal_uIntPtr) this ).GetBuffer() << "=='" + << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(this)).getStr()<< "=='" << ( aNameStr.Len() ? aNameStr.GetBuffer() : "<unnamed>" ) << "', " << "of class '" << aClassNameStr.GetBuffer() << "', " << "counts " - << ByteString::CreateFromInt64( GetRefCount() ).GetBuffer() + << rtl::OString::valueOf(static_cast<sal_Int64>(GetRefCount())).getStr() << " refs, "; if ( GetParent() ) { ByteString aParentNameStr( (const UniString&)GetName(), RTL_TEXTENCODING_ASCII_US ); rStrm << "in parent " - << ByteString::CreateFromInt64( (sal_uIntPtr) GetParent() ).GetBuffer() + << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(GetParent())).getStr() << "=='" << ( aParentNameStr.Len() ? aParentNameStr.GetBuffer() : "<unnamed>" ) << "'"; } else diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 9a99f06b151c..77c3b51d74a9 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -641,7 +641,7 @@ void SbxVariable::Dump( SvStream& rStrm, sal_Bool bFill ) { ByteString aBNameStr( (const UniString&)GetName( SbxNAME_SHORT_TYPES ), RTL_TEXTENCODING_ASCII_US ); rStrm << "Variable( " - << ByteString::CreateFromInt64( (sal_uIntPtr) this ).GetBuffer() << "==" + << rtl::OString::valueOf(reinterpret_cast<sal_Int64>(this)).getStr() << "==" << aBNameStr.GetBuffer(); ByteString aBParentNameStr( (const UniString&)GetParent()->GetName(), RTL_TEXTENCODING_ASCII_US ); if ( GetParent() ) diff --git a/basic/source/uno/sbmodule.cxx b/basic/source/uno/sbmodule.cxx index 3c8d115b1912..909c9d5d7e37 100644 --- a/basic/source/uno/sbmodule.cxx +++ b/basic/source/uno/sbmodule.cxx @@ -36,7 +36,24 @@ namespace basic { //........................................................................ - IMPLEMENT_COMPONENT_MODULE( BasicModule ); + struct BasicModuleCreator + { + BasicModule m_aBasicModule; + }; + namespace + { + class theBasicModuleInstance : public rtl::Static<BasicModuleCreator, theBasicModuleInstance> {}; + } + + BasicModule::BasicModule() + :BaseClass() + { + } + + BasicModule& BasicModule::getInstance() + { + return theBasicModuleInstance::get().m_aBasicModule; + } //........................................................................ } // namespace basic diff --git a/basic/source/uno/sbmodule.hxx b/basic/source/uno/sbmodule.hxx index 2dd0b3dd7910..1da1ca5a6c2e 100644 --- a/basic/source/uno/sbmodule.hxx +++ b/basic/source/uno/sbmodule.hxx @@ -36,7 +36,55 @@ namespace basic { //........................................................................ - DECLARE_COMPONENT_MODULE( BasicModule, BasicModuleClient ) + class BasicModule : public ::comphelper::OModule + { + friend struct BasicModuleCreator; + typedef ::comphelper::OModule BaseClass; + + public: + static BasicModule& getInstance(); + + private: + BasicModule(); + }; + + /* -------------------------------------------------------------------- */ + class BasicModuleClient : public ::comphelper::OModuleClient + { + private: + typedef ::comphelper::OModuleClient BaseClass; + + public: + BasicModuleClient() : BaseClass( BasicModule::getInstance() ) + { + } + }; + + /* -------------------------------------------------------------------- */ + template < class TYPE > + class OAutoRegistration : public ::comphelper::OAutoRegistration< TYPE > + { + private: + typedef ::comphelper::OAutoRegistration< TYPE > BaseClass; + + public: + OAutoRegistration() : BaseClass( BasicModule::getInstance() ) + { + } + }; + + /* -------------------------------------------------------------------- */ + template < class TYPE > + class OSingletonRegistration : public ::comphelper::OSingletonRegistration< TYPE > + { + private: + typedef ::comphelper::OSingletonRegistration< TYPE > BaseClass; + + public: + OSingletonRegistration() : BaseClass( BasicModule::getInstance() ) + { + } + }; //........................................................................ } // namespace basic diff --git a/basic/source/uno/sbservices.cxx b/basic/source/uno/sbservices.cxx index 5c4e1fc98309..f4453d424bfa 100644 --- a/basic/source/uno/sbservices.cxx +++ b/basic/source/uno/sbservices.cxx @@ -60,6 +60,11 @@ namespace basic } // namespace basic //........................................................................ -IMPLEMENT_COMPONENT_LIBRARY_API( ::basic::BasicModule, ::basic::initializeModule ) +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( + const sal_Char* pImplementationName, void* pServiceManager, void* pRegistryKey ) +{ + ::basic::initializeModule(); + return ::basic::BasicModule::getInstance().getComponentFactory( pImplementationName, pServiceManager, pRegistryKey ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/util/makefile.mk b/basic/util/makefile.mk index 29564fddd125..ad3bd67e8f66 100755 --- a/basic/util/makefile.mk +++ b/basic/util/makefile.mk @@ -48,7 +48,11 @@ LIB1FILES= \ $(SLB)$/sbx.lib SHL1TARGET= sb$(DLLPOSTFIX) +.IF "$(COM)" == "MSC" SHL1IMPLIB= basic +.ELSE +SHL1IMPLIB= sb$(DLLPOSTFIX) +.ENDIF SHL1STDLIBS= \ $(CPPULIB) \ diff --git a/configmgr/prj/build.lst b/configmgr/prj/build.lst index caf964964554..962e2bc648ff 100644 --- a/configmgr/prj/build.lst +++ b/configmgr/prj/build.lst @@ -1,4 +1,4 @@ -cg configmgr : BOOST:boost LIBXSLT:libxslt comphelper cppu cppuhelper offuh sal salhelper stlport xmlreader NULL +cg configmgr : BOOST:boost LIBXSLT:libxslt comphelper cppu cppuhelper offapi sal salhelper stlport xmlreader NULL cg configmgr\inc nmake - all cg_inc NULL cg configmgr\source nmake - all cg_source cg_inc NULL # migrated to gbuild diff --git a/configmgr/qa/unit/data.xcd b/configmgr/qa/unit/data.xcd index 97e0aed31989..cd1cdd3a63d0 100755 --- a/configmgr/qa/unit/data.xcd +++ b/configmgr/qa/unit/data.xcd @@ -3578,11 +3578,6 @@ <value>1</value> </prop> </node> - <node oor:name=".uno:OnlineRegistrationDlg" oor:op="replace"> - <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="x-no-translate"></value><value xml:lang="en-US">~Registration...</value> - </prop> - </node> <node oor:name=".uno:GoToStartSel" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="x-no-translate"></value><value xml:lang="en-US">Select to File Begin</value> diff --git a/configmgr/source/services.cxx b/configmgr/source/services.cxx index ce4b9d49eb38..5f70c6ed708a 100644 --- a/configmgr/source/services.cxx +++ b/configmgr/source/services.cxx @@ -83,10 +83,4 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( pImplName, pServiceManager, pRegistryKey, services); } -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - char const ** ppEnvTypeName, uno_Environment **) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/prj/d.lst b/connectivity/prj/d.lst index 03f2a8b3cee7..a89eaef86805 100644 --- a/connectivity/prj/d.lst +++ b/connectivity/prj/d.lst @@ -3,6 +3,7 @@ ..\%__SRC%\lib\lib*.so %_DEST%\lib\lib*.so ..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib ..\%__SRC%\lib\*.jnilib %_DEST%\lib\*.jnilib +..\%__SRC%\lib\*.a %_DEST%\lib\*.a ..\%__SRC%\slb\connectivity*.* %_DEST%\lib\connectivity*.* ..\%__SRC%\lib\idbt* %_DEST%\lib\idbt* ..\source\cpool\*.xml %_DEST%\xml\*.xml diff --git a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx index 231ebb75fcc1..0404e59a8889 100644 --- a/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx +++ b/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx @@ -895,12 +895,6 @@ extern "C" { //--------------------------------------------------------------------------------------- -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** _ppEnvTypeName, uno_Environment** /*_ppEnv*/) -{ - *_ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* implName, ::com::sun::star::lang::XMultiServiceFactory* serviceManager, void* registryKey) { return cppu::component_getFactoryHelper(implName, serviceManager, registryKey, entries); diff --git a/connectivity/source/cpool/Zregistration.cxx b/connectivity/source/cpool/Zregistration.cxx index cbfcf4ce5f13..bf2ff653dcd0 100644 --- a/connectivity/source/cpool/Zregistration.cxx +++ b/connectivity/source/cpool/Zregistration.cxx @@ -45,12 +45,6 @@ extern "C" { //--------------------------------------------------------------------------------------- -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** _ppEnvTypeName, uno_Environment** /*_ppEnv*/) -{ - *_ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* _pImplName, ::com::sun::star::lang::XMultiServiceFactory* _pServiceManager, void* /*_pRegistryKey*/) { void* pRet = NULL; diff --git a/connectivity/source/cpool/exports.dxp b/connectivity/source/cpool/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/cpool/exports.dxp +++ b/connectivity/source/cpool/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/dbtools/exports.dxp b/connectivity/source/dbtools/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/dbtools/exports.dxp +++ b/connectivity/source/dbtools/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/dbtools/makefile.mk b/connectivity/source/dbtools/makefile.mk index 3e67ada06bd4..9e77702c5461 100755 --- a/connectivity/source/dbtools/makefile.mk +++ b/connectivity/source/dbtools/makefile.mk @@ -72,7 +72,11 @@ SHL1STDLIBS=\ SHL1STDLIBS+=$(UCBHELPERLIB) .ENDIF +.IF "$(COM)" == "MSC" SHL1IMPLIB= idbtools +.ELSE +SHL1IMPLIB= dbtools$(DLLPOSTFIX) +.ENDIF SHL1LIBS= $(LIB1TARGET) SHL1DEF= $(MISC)$/$(SHL1TARGET).def diff --git a/connectivity/source/drivers/adabas/Bservices.cxx b/connectivity/source/drivers/adabas/Bservices.cxx index 3ac0d922f33a..aff502930d78 100644 --- a/connectivity/source/drivers/adabas/Bservices.cxx +++ b/connectivity/source/drivers/adabas/Bservices.cxx @@ -86,15 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/adabas/adabas.mxp.map b/connectivity/source/drivers/adabas/adabas.mxp.map index f64c44c13fce..d1251e372562 100755 --- a/connectivity/source/drivers/adabas/adabas.mxp.map +++ b/connectivity/source/drivers/adabas/adabas.mxp.map @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory __mh_dylib_header ___builtin_delete diff --git a/connectivity/source/drivers/adabas/exports.dxp b/connectivity/source/drivers/adabas/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/adabas/exports.dxp +++ b/connectivity/source/drivers/adabas/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/ado/ADriver.cxx b/connectivity/source/drivers/ado/ADriver.cxx index ca0f6acc970a..35229f6ac608 100644 --- a/connectivity/source/drivers/ado/ADriver.cxx +++ b/connectivity/source/drivers/ado/ADriver.cxx @@ -39,7 +39,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include "connectivity/dbexception.hxx" #include "resource/ado_res.hrc" -#include <Objbase.h> +#include <objbase.h> #include "resource/sharedresources.hxx" diff --git a/connectivity/source/drivers/ado/Aservices.cxx b/connectivity/source/drivers/ado/Aservices.cxx index a9bf835cf940..5fd7231d7a07 100644 --- a/connectivity/source/drivers/ado/Aservices.cxx +++ b/connectivity/source/drivers/ado/Aservices.cxx @@ -87,9 +87,8 @@ struct ProviderRequest //--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) + const sal_Char **ppEnvTypeName, + uno_Environment ** /*ppEnv*/) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ":affine"; } diff --git a/connectivity/source/drivers/ado/makefile.mk b/connectivity/source/drivers/ado/makefile.mk index 8e65a8771dde..20cd74f99692 100755 --- a/connectivity/source/drivers/ado/makefile.mk +++ b/connectivity/source/drivers/ado/makefile.mk @@ -43,6 +43,10 @@ ENVCFLAGS+=/FR$(SLO)$/ .IF "$(GUI)"=="WNT" # --- Files ------------------------------------- +.IF "$(COM)" == "GCC" +CFLAGS+=-fpermissive +.ENDIF + EXCEPTIONSFILES= \ $(SLO)$/ADatabaseMetaDataImpl.obj \ $(SLO)$/Aolevariant.obj \ diff --git a/connectivity/source/drivers/calc/Cservices.cxx b/connectivity/source/drivers/calc/Cservices.cxx index cb74522ba4ff..9e6dabd38168 100644 --- a/connectivity/source/drivers/calc/Cservices.cxx +++ b/connectivity/source/drivers/calc/Cservices.cxx @@ -86,15 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/calc/exports.dxp b/connectivity/source/drivers/calc/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/calc/exports.dxp +++ b/connectivity/source/drivers/calc/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx index eea0e48d5393..64146fb9a393 100644 --- a/connectivity/source/drivers/dbase/DIndex.cxx +++ b/connectivity/source/drivers/dbase/DIndex.cxx @@ -402,18 +402,18 @@ void ODbaseIndex::createINFEntry() aInfFile.SetGroup(dBASE_III_GROUP); sal_uInt16 nSuffix = aInfFile.GetKeyCount(); - ByteString aNewEntry,aKeyName; + rtl::OString aNewEntry,aKeyName; sal_Bool bCase = isCaseSensitive(); - while (!aNewEntry.Len()) + while (aNewEntry.isEmpty()) { - aNewEntry = "NDX"; - aNewEntry += ByteString::CreateFromInt32(++nSuffix); + aNewEntry = rtl::OString(RTL_CONSTASCII_STRINGPARAM("NDX")); + aNewEntry += rtl::OString::valueOf(static_cast<sal_Int32>(++nSuffix)); for (sal_uInt16 i = 0; i < aInfFile.GetKeyCount(); i++) { aKeyName = aInfFile.GetKeyName(i); - if (bCase ? aKeyName == aNewEntry : aKeyName.EqualsIgnoreCaseAscii(aNewEntry)) + if (bCase ? aKeyName.equals(aNewEntry) : aKeyName.equalsIgnoreAsciiCase(aNewEntry)) { - aNewEntry.Erase(); + aNewEntry = rtl::OString(); break; } } diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 95b412da85db..6e1c5d8d1ca7 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1952,7 +1952,7 @@ sal_Bool ODbaseTable::UpdateBuffer(OValueRefVector& rRow, OValueRefRow pOrgRow,c break; ByteString aStr; - ByteString aBlock(ByteString::CreateFromInt32(nBlockNo)); + ByteString aBlock(rtl::OString::valueOf(static_cast<sal_Int32>(nBlockNo))); aStr.Expand(static_cast<sal_uInt16>(nLen - aBlock.Len()), '0' ); aStr += aBlock; // Copy characters: diff --git a/connectivity/source/drivers/dbase/Dservices.cxx b/connectivity/source/drivers/dbase/Dservices.cxx index a0b82022792d..9b7e692e5e53 100644 --- a/connectivity/source/drivers/dbase/Dservices.cxx +++ b/connectivity/source/drivers/dbase/Dservices.cxx @@ -86,15 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/dbase/dbase.mxp.map b/connectivity/source/drivers/dbase/dbase.mxp.map index 87eccc45b66a..57a91423a172 100755 --- a/connectivity/source/drivers/dbase/dbase.mxp.map +++ b/connectivity/source/drivers/dbase/dbase.mxp.map @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory __mh_dylib_header ___builtin_delete diff --git a/connectivity/source/drivers/dbase/exports.dxp b/connectivity/source/drivers/dbase/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/dbase/exports.dxp +++ b/connectivity/source/drivers/dbase/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/evoab/LServices.cxx b/connectivity/source/drivers/evoab/LServices.cxx new file mode 100644 index 000000000000..bd2b5f588b99 --- /dev/null +++ b/connectivity/source/drivers/evoab/LServices.cxx @@ -0,0 +1,114 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/************************************************************************* + * + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * Copyright 2000, 2010 Oracle and/or its affiliates. + * + * OpenOffice.org - a multi-platform office productivity suite + * + * This file is part of OpenOffice.org. + * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. + * + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). + * + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. + * + ************************************************************************/ + +// MARKER(update_precomp.py): autogen include statement, do not remove +#include "precompiled_connectivity.hxx" +#include "LDriver.hxx" +#include <cppuhelper/factory.hxx> + +using namespace connectivity::evoab; +using ::rtl::OUString; +using ::com::sun::star::uno::Reference; +using ::com::sun::star::uno::Sequence; +using ::com::sun::star::lang::XSingleServiceFactory; +using ::com::sun::star::lang::XMultiServiceFactory; + +typedef Reference< XSingleServiceFactory > (SAL_CALL *createFactoryFunc) + ( + const Reference< XMultiServiceFactory > & rServiceManager, + const OUString & rComponentName, + ::cppu::ComponentInstantiation pCreateFunction, + const Sequence< OUString > & rServiceNames, + rtl_ModuleCount* _pT + ); + +//--------------------------------------------------------------------------------------- +struct ProviderRequest +{ + Reference< XSingleServiceFactory > xRet; + Reference< XMultiServiceFactory > const xServiceManager; + OUString const sImplementationName; + + ProviderRequest( + void* pServiceManager, + sal_Char const* pImplementationName + ) + : xServiceManager(reinterpret_cast<XMultiServiceFactory*>(pServiceManager)) + , sImplementationName(OUString::createFromAscii(pImplementationName)) + { + } + + inline + sal_Bool CREATE_PROVIDER( + const OUString& Implname, + const Sequence< OUString > & Services, + ::cppu::ComponentInstantiation Factory, + createFactoryFunc creator + ) + { + if (!xRet.is() && (Implname == sImplementationName)) + try + { + xRet = creator( xServiceManager, sImplementationName,Factory, Services,0); + } + catch(...) + { + } + return xRet.is(); + } + + void* getProvider() const { return xRet.get(); } +}; + +//--------------------------------------------------------------------------------------- +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( + const sal_Char* pImplementationName, + void* pServiceManager, + void* /*pRegistryKey*/) +{ + void* pRet = 0; + if (pServiceManager) + { + ProviderRequest aReq(pServiceManager,pImplementationName); + + aReq.CREATE_PROVIDER( + OEvoabDriver::getImplementationName_Static(), + OEvoabDriver::getSupportedServiceNames_Static(), + OEvoabDriver_CreateInstance, ::cppu::createSingleFactory) + ; + + if(aReq.xRet.is()) + aReq.xRet->acquire(); + + pRet = aReq.getProvider(); + } + + return pRet; +}; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/evoab/exports.dxp b/connectivity/source/drivers/evoab/exports.dxp new file mode 100755 index 000000000000..70033078921a --- /dev/null +++ b/connectivity/source/drivers/evoab/exports.dxp @@ -0,0 +1 @@ +component_getFactory diff --git a/connectivity/source/drivers/evoab2/NServices.cxx b/connectivity/source/drivers/evoab2/NServices.cxx index 8c28d56c36c9..a9295940021a 100644 --- a/connectivity/source/drivers/evoab2/NServices.cxx +++ b/connectivity/source/drivers/evoab2/NServices.cxx @@ -88,15 +88,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/flat/Eservices.cxx b/connectivity/source/drivers/flat/Eservices.cxx index 2931d53f92ab..46fde8b6495c 100644 --- a/connectivity/source/drivers/flat/Eservices.cxx +++ b/connectivity/source/drivers/flat/Eservices.cxx @@ -86,15 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/flat/exports.dxp b/connectivity/source/drivers/flat/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/flat/exports.dxp +++ b/connectivity/source/drivers/flat/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/flat/flat.mxp.map b/connectivity/source/drivers/flat/flat.mxp.map index 2737c61b5a57..9a6cbf91b7b3 100755 --- a/connectivity/source/drivers/flat/flat.mxp.map +++ b/connectivity/source/drivers/flat/flat.mxp.map @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory __mh_dylib_header ___builtin_delete diff --git a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx index b102481b4fe3..0e2856a72e7a 100644 --- a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx @@ -257,7 +257,7 @@ jint read_from_storage_stream_into_buffer( JNIEnv * env, jobject /*obj_this*/,js if (nBytesRead <= 0) return -1; - env->SetByteArrayRegion(buffer,off,nBytesRead,&aData[0]); + env->SetByteArrayRegion(buffer,off,nBytesRead,(const jbyte*) &aData[0]); #ifdef HSQLDB_DBG if ( logger ) @@ -448,7 +448,7 @@ void write_to_storage_stream_from_buffer( JNIEnv* env, jobject /*obj_this*/, jst OSL_ENSURE(buf,"buf is NULL"); if ( buf && len > 0 && len <= env->GetArrayLength(buffer)) { - Sequence< ::sal_Int8 > aData(buf + off,len); + Sequence< ::sal_Int8 > aData((const signed char*) buf + off,len); env->ReleaseByteArrayElements(buffer, buf, JNI_ABORT); xOut->writeBytes(aData); #ifdef HSQLDB_DBG diff --git a/connectivity/source/drivers/hsqldb/Hservices.cxx b/connectivity/source/drivers/hsqldb/Hservices.cxx index bac05be8b0a6..20f8d8c85358 100644 --- a/connectivity/source/drivers/hsqldb/Hservices.cxx +++ b/connectivity/source/drivers/hsqldb/Hservices.cxx @@ -87,15 +87,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx index 3fb691d5524a..1b13ed62c322 100644 --- a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx +++ b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx @@ -294,7 +294,7 @@ SAL_DLLPUBLIC_EXPORT jint JNICALL Java_com_sun_star_sdbcx_comp_hsqldb_StorageNat } OSL_ENSURE(nLen >= nBytesRead,"Buffer is too small!"); OSL_ENSURE(aData.getLength() >= nBytesRead,"Buffer is too small!"); - env->SetByteArrayRegion(buffer,0,nBytesRead,&aData[0]); + env->SetByteArrayRegion(buffer,0,nBytesRead,(const jbyte*) &aData[0]); #ifdef HSQLDB_DBG aDataLog.write( &aData[0], nBytesRead ); #endif diff --git a/connectivity/source/drivers/hsqldb/exports.dxp b/connectivity/source/drivers/hsqldb/exports.dxp index 3efc73741d24..de2bf561d45f 100755 --- a/connectivity/source/drivers/hsqldb/exports.dxp +++ b/connectivity/source/drivers/hsqldb/exports.dxp @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_openStream Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3BII diff --git a/connectivity/source/drivers/hsqldb/hsqldb.map b/connectivity/source/drivers/hsqldb/hsqldb.map index b611aba02d5b..1ef1616db6b7 100755 --- a/connectivity/source/drivers/hsqldb/hsqldb.map +++ b/connectivity/source/drivers/hsqldb/hsqldb.map @@ -1,6 +1,5 @@ UDK_3_0_0 { global: - component_getImplementationEnvironment; component_getFactory; Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_openStream; Java_com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream_write__Ljava_lang_String_2Ljava_lang_String_2_3BII; diff --git a/connectivity/source/drivers/jdbc/exports.dxp b/connectivity/source/drivers/jdbc/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/jdbc/exports.dxp +++ b/connectivity/source/drivers/jdbc/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/jdbc/jdbc.mxp.map b/connectivity/source/drivers/jdbc/jdbc.mxp.map index e02823e8c41b..2437d90ec812 100755 --- a/connectivity/source/drivers/jdbc/jdbc.mxp.map +++ b/connectivity/source/drivers/jdbc/jdbc.mxp.map @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory __mh_dylib_header ___builtin_delete diff --git a/connectivity/source/drivers/jdbc/jservices.cxx b/connectivity/source/drivers/jdbc/jservices.cxx index 32fa42f22678..8a05c91925c2 100644 --- a/connectivity/source/drivers/jdbc/jservices.cxx +++ b/connectivity/source/drivers/jdbc/jservices.cxx @@ -86,16 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/kab/KServices.cxx b/connectivity/source/drivers/kab/KServices.cxx index 8f2d76357498..5b2cdebde455 100644 --- a/connectivity/source/drivers/kab/KServices.cxx +++ b/connectivity/source/drivers/kab/KServices.cxx @@ -87,16 +87,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/kab/exports.dxp b/connectivity/source/drivers/kab/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/kab/exports.dxp +++ b/connectivity/source/drivers/kab/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx index 3f6967217afe..a90a6723048e 100644 --- a/connectivity/source/drivers/macab/MacabServices.cxx +++ b/connectivity/source/drivers/macab/MacabServices.cxx @@ -87,16 +87,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/macab/exports.dxp b/connectivity/source/drivers/macab/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/macab/exports.dxp +++ b/connectivity/source/drivers/macab/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/mozab/MServices.cxx b/connectivity/source/drivers/mozab/MServices.cxx index d16fc5d4bff4..d26fee2cf1c4 100644 --- a/connectivity/source/drivers/mozab/MServices.cxx +++ b/connectivity/source/drivers/mozab/MServices.cxx @@ -92,15 +92,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - typedef void* (SAL_CALL * OMozillaBootstrap_CreateInstanceFunction)(const Reference< XMultiServiceFactory >& _rxFactory ); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createMozillaBootstrap(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ) { diff --git a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx index e0aec4dc255c..72062d202aaf 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MMozillaBootstrap.cxx @@ -242,14 +242,6 @@ using ::com::sun::star::uno::Sequence; using ::com::sun::star::lang::XSingleServiceFactory; using ::com::sun::star::lang::XMultiServiceFactory; -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - static Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager ) { MozillaBootstrap * pBootstrap = reinterpret_cast<MozillaBootstrap*>(OMozillaBootstrap_CreateInstance(rServiceManager)); diff --git a/connectivity/source/drivers/mozab/exports.dxp b/connectivity/source/drivers/mozab/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/mozab/exports.dxp +++ b/connectivity/source/drivers/mozab/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/mysql/Yservices.cxx b/connectivity/source/drivers/mysql/Yservices.cxx index 0487378f6fb6..a4dc747fd5be 100644 --- a/connectivity/source/drivers/mysql/Yservices.cxx +++ b/connectivity/source/drivers/mysql/Yservices.cxx @@ -86,16 +86,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/drivers/mysql/exports.dxp b/connectivity/source/drivers/mysql/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/drivers/mysql/exports.dxp +++ b/connectivity/source/drivers/mysql/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/drivers/odbc/oservices.cxx b/connectivity/source/drivers/odbc/oservices.cxx index 77ab7d647171..e2c866970f7c 100644 --- a/connectivity/source/drivers/odbc/oservices.cxx +++ b/connectivity/source/drivers/odbc/oservices.cxx @@ -87,16 +87,6 @@ struct ProviderRequest }; //--------------------------------------------------------------------------------------- - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/connectivity/source/manager/exports.dxp b/connectivity/source/manager/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/connectivity/source/manager/exports.dxp +++ b/connectivity/source/manager/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/connectivity/source/manager/mregistration.cxx b/connectivity/source/manager/mregistration.cxx index 5dfaf0441b14..d60b8a044111 100644 --- a/connectivity/source/manager/mregistration.cxx +++ b/connectivity/source/manager/mregistration.cxx @@ -45,12 +45,6 @@ extern "C" { //--------------------------------------------------------------------------------------- -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** _ppEnvTypeName, uno_Environment** /*_ppEnv*/) -{ - *_ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//--------------------------------------------------------------------------------------- SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* _pImplName, ::com::sun::star::lang::XMultiServiceFactory* _pServiceManager, void* /*_pRegistryKey*/) { void* pRet = NULL; diff --git a/connectivity/source/manager/sdbc.mxp.map b/connectivity/source/manager/sdbc.mxp.map index 431725adbbec..4a6ae43142c1 100755 --- a/connectivity/source/manager/sdbc.mxp.map +++ b/connectivity/source/manager/sdbc.mxp.map @@ -1,4 +1,3 @@ -component_getImplementationEnvironment component_getFactory __mh_dylib_header ___builtin_delete diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 560b1b0b0860..b950d2583097 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -126,7 +126,6 @@ class Desktop : public Application return m_aBootstrapStatus; } - static sal_Bool CheckOEM(); static sal_Bool isCrashReporterEnabled(); // first-start (ever) related methods diff --git a/desktop/prj/build.lst b/desktop/prj/build.lst index 0307d002282e..4e59c5f21517 100644 --- a/desktop/prj/build.lst +++ b/desktop/prj/build.lst @@ -1,4 +1,4 @@ -dt desktop : TRANSLATIONS:translations sfx2 stoc BERKELEYDB:berkeleydb sysui BOOST:boost svx xmlhelp sal unoil officecfg offuh filter LIBXSLT:libxslt NULL +dt desktop : TRANSLATIONS:translations sfx2 stoc BERKELEYDB:berkeleydb sysui BOOST:boost svx xmlhelp sal unoil officecfg offapi filter LIBXSLT:libxslt NULL dt desktop usr1 - all dt_mkout NULL dt desktop\inc nmake - all dt_inc NULL dt desktop\prj get - all dt_prj NULL @@ -6,7 +6,6 @@ dt desktop\res get - all dt_res NULL dt desktop\source\app nmake - all dt_app dt_migr dt_inc dt_dp_misc NULL dt desktop\source\migration nmake - all dt_migr dt_inc NULL dt desktop\source\migration\services nmake - all dt_services dt_inc dt_dp_misc NULL -dt desktop\source\so_comp nmake - all dt_so_comp dt_inc NULL dt desktop\source\offacc nmake - all dt_offac dt_inc NULL dt desktop\source\splash nmake - all dt_spl dt_migr dt_inc NULL dt desktop\win32\source nmake - w dt_wrapper dt_inc NULL @@ -40,12 +39,9 @@ dt desktop\source\deployment\registry\configuration nmake - all dt_dp_registry_c dt desktop\source\deployment\registry\help nmake - all dt_dp_registry_help dt_inc NULL dt desktop\source\deployment\registry\executable nmake - all dt_dp_registry_executable dt_inc NULL dt desktop\scripts nmake - u dt_scripts dt_inc NULL -dt desktop\util nmake - all dt_util dt_app dt_pagein.u dt_so_comp dt_spl dt_uwrapper.u dt_usplash.u dt_wrapper.w dt_officeloader.w dt_officeloader_unx.u dt_migr dt_rebase.w dt_win32_quickstart_so.w dt_zipintro NULL +dt desktop\util nmake - all dt_util dt_app dt_pagein.u dt_spl dt_uwrapper.u dt_usplash.u dt_wrapper.w dt_officeloader.w dt_officeloader_unx.u dt_migr dt_rebase.w dt_win32_quickstart_so.w dt_zipintro NULL dt desktop\zipintro nmake - all dt_zipintro NULL dt desktop\registry\data\org\openoffice\Office nmake - all sn_regconfig NULL -dt desktop\source\registration\com\sun\star\servicetag\resources get - all sn_svctagres NULL -dt desktop\source\registration\com\sun\star\servicetag nmake - all sn_svctag NULL -dt desktop\source\registration\com\sun\star\registration nmake - all sn_regjob sn_svctag NULL dt desktop\qa\deployment_misc nmake - all sn_qa_deployment_misc dt_dp_misc dt_inc NULL dt desktop\test\deployment\active nmake - all dt_test_deployment_active NULL dt desktop\test\deployment\boxt nmake - all dt_test_deployment_boxt NULL diff --git a/desktop/prj/d.lst b/desktop/prj/d.lst index 9fa248f290f1..6287afa02ed9 100644 --- a/desktop/prj/d.lst +++ b/desktop/prj/d.lst @@ -50,7 +50,6 @@ mkdir: %_DEST%\bin\odf4ms ..\%__SRC%\misc\soffice.bin.manifest %_DEST%\bin\soffice.bin.manifest ..\%__SRC%\bin\wrp*.dll %_DEST%\bin\wrp*.dll ..\%__SRC%\bin\spl*.dll %_DEST%\bin\spl*.dll -..\%__SRC%\bin\socomp.dll %_DEST%\bin\socomp.dll ..\%__SRC%\obj\officeloader.obj %_DEST%\lib\officeloader.obj ..\%__SRC%\obj\extendloaderenvironment.obj %_DEST%\lib\extendloaderenvironment.obj ..\%__SRC%\obj\copyright_ascii_sun.obj %_DEST%\lib\copyright_ascii_sun.obj @@ -59,8 +58,6 @@ mkdir: %_DEST%\bin\odf4ms ..\%__SRC%\lib\libwrp*.dylib %_DEST%\lib\libwrp*.dylib ..\%__SRC%\lib\libspl*.so %_DEST%\lib\libspl*.so ..\%__SRC%\lib\libspl*.dylib %_DEST%\lib\libspl*.dylib -..\%__SRC%\lib\libsocomp.so %_DEST%\lib\libsocomp.so -..\%__SRC%\lib\libsocomp.dylib %_DEST%\lib\libsocomp.dylib ..\%__SRC%\bin\offacc*.dll %_DEST%\bin\offacc*.dll ..\%__SRC%\lib\liboffacc*.so %_DEST%\lib\liboffacc*.so ..\%__SRC%\lib\liboffacc*.dylib %_DEST%\lib\liboffacc*.dylib @@ -110,6 +107,7 @@ mkdir: %_DEST%\bin\odf4ms ..\%__SRC%\misc\swriter.sh %_DEST%\bin\swriter ..\%__SRC%\misc\nswrapper.sh %_DEST%\bin\nswrapper ..\%__SRC%\misc\mozwrapper.sh %_DEST%\bin\mozwrapper +..\%__SRC%\misc\gdbtrace %_DEST%\bin\gdbtrace mkdir: %COMMON_DEST%\pck\brand mkdir: %COMMON_DEST%\pck\brand_dev @@ -146,7 +144,5 @@ mkdir: %_DEST%\xml\registry\spool\org\openoffice\Office\Jobs ..\%__SRC%\misc\migrationoo2.component %_DEST%\xml\migrationoo2.component ..\%__SRC%\misc\migrationoo3.component %_DEST%\xml\migrationoo3.component ..\%__SRC%\misc\offacc.component %_DEST%\xml\offacc.component -..\%__SRC%\misc\productregistration.jar.component %_DEST%\xml\productregistration.jar.component -..\%__SRC%\misc\socomp.component %_DEST%\xml\socomp.component ..\%__SRC%\misc\spl.component %_DEST%\xml\spl.component ..\%__SRC%\misc\splash.component %_DEST%\xml\splash.component diff --git a/desktop/scripts/gdbtrace b/desktop/scripts/gdbtrace new file mode 100644 index 000000000000..548ffe6512e9 --- /dev/null +++ b/desktop/scripts/gdbtrace @@ -0,0 +1,12 @@ +set pagination off +echo log will be saved as gdbtrace.log, this will take some time, patience...\n +set logging redirect on +set logging file gdbtrace.log +set logging on +set logging overwrite on +run +bt +thread apply all bt +quit +set logging off +echo log is saved as gdbtrace.log\n diff --git a/desktop/scripts/makefile.mk b/desktop/scripts/makefile.mk index 5c412f818702..ce0c9b8ed292 100755 --- a/desktop/scripts/makefile.mk +++ b/desktop/scripts/makefile.mk @@ -47,7 +47,8 @@ UNIXTEXT= \ $(MISC)$/swriter.sh \ $(MISC)$/mozwrapper.sh \ $(MISC)$/unoinfo.sh \ - $(MISC)$/unopkg.sh + $(MISC)$/unopkg.sh \ + $(MISC)$/gdbtrace .IF "$(OS)" != "MACOSX" diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 106bded2ea6a..b23d4522b4fa 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -72,13 +72,68 @@ if [ -e $sd_prog/ooenv ] ; then . $sd_prog/ooenv fi -if [ "$VALGRIND" != "" ]; then - VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes --trace-children-skip=*/java --error-exitcode=101" - export VALGRINDCHECK - if [ "$VALGRIND" = "memcheck" ]; then - G_SLICE=always-malloc - export G_SLICE - fi +# try to get some debug output? +GDBTRACECHECK= +STRACECHECK= +VALGRINDCHECK= + +# count number of selected checks; only one is allowed +checks= +# force the --valgrind option if the VALGRIND variable is set +test -n "$VALGRIND" && VALGRINDOPT="--valgrind" || VALGRINDOPT= + +for arg in $@ $VALGRINDOPT ; do + case "$arg" in + --backtrace) + if which gdb >/dev/null 2>&1 ; then + GDBTRACECHECK="gdb -nx --command=$sd_prog/gdbtrace --args" + checks="c$checks" + else + echo "Error: Can't find the tool \"gdb\", --backtrace option will be ignored." + exit 1 + fi + ;; + --strace) + if which strace >/dev/null 2>&1 ; then + STRACECHECK="strace -o strace.log -f -tt -s 256" + checks="c$checks" + else + echo "Error: Can't find the tool \"strace\", --strace option will be ignored." + exit 1; + fi + ;; + --valgrind) + test -n "$VALGRINDCHECK" && continue; + if which valgrind >/dev/null 2>&1 ; then + # another valgrind tool might be forced via the environment variable + test -z "$VALGRIND" && VALGRIND="memcheck" + # --trace-children-skip is pretty useful but supported only with valgrind >= 3.6.0 + valgrind_ver=`valgrind --version | sed -e "s/valgrind-//"` + valgrind_ver_maj=`echo $valgrind_ver | awk -F. '{ print \$1 }'` + valgrind_ver_min=`echo $valgrind_ver | awk -F. '{ print \$2 }'` + valgrind_skip= + if [ "$valgrind_ver_maj" -gt 3 -o \( "$valgrind_ver_maj" -eq 3 -a "$valgrind_ver_min" -ge 6 \) ] ; then + valgrind_skip='--trace-children-skip=*/java' + fi + # finally set the valgrind check + VALGRINDCHECK="valgrind --tool=$VALGRIND --trace-children=yes $valgrind_skip --num-callers=50 --error-exitcode=101" + checks="c$checks" + if [ "$VALGRIND" = "memcheck" ] ; then + export G_SLICE=always-malloc + export GLIBCXX_FORCE_NEW=1 + fi + else + echo "Error: Can't find the tool \"valgrind\", --valgrind option will be ignored" + exit 1 + fi + ;; + esac +done + +if echo "$checks" | grep -q "cc" ; then + echo "Error: The debug options --backtrace, --strace, and --valgrind cannot be used together." + echo " Please, use them one by one." + exit 1; fi case "`uname -s`" in @@ -99,5 +154,32 @@ AIX) ;; esac +# run soffice.bin directly when you want to get the backtrace +if [ -n "$GDBTRACECHECK" ] ; then + exec $GDBTRACECHECK "$sd_prog/soffice.bin" "$@" +fi + +# valgrind --log-file=valgrind.log does not work well with --trace-children=yes +if [ -n "$VALGRINDCHECK" ] ; then + echo "redirecting the standard and the error output to valgrind.log" + exec &>valgrind.log +fi + +# do not pass the request for command line help to oosplash +if test "$#" -eq 1; then + case "$1" in + -h | --h | --he | --hel | --help) + "$sd_prog/soffice.bin" -h + exit 0 + ;; + -V | --v | --ve | --ver | --vers | --versi | --versio | --version) + "$sd_prog/soffice.bin" -h | head -1 + exit 0 + ;; + *) + ;; + esac +fi + # oosplash does the rest: forcing pages in, javaldx etc. are -exec $VALGRINDCHECK "$sd_prog/oosplash.bin" "$@" +exec $VALGRINDCHECK $STRACECHECK "$sd_prog/oosplash.bin" "$@" diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 8991bb6334b0..2da459578d3e 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -43,7 +43,6 @@ #include "dispatchwatcher.hxx" #include "configinit.hxx" #include "lockfile.hxx" -#include "checkinstall.hxx" #include "cmdlinehelp.hxx" #include "userinstall.hxx" #include "desktopcontext.hxx" @@ -1665,26 +1664,17 @@ int Desktop::Main() } // create title string - sal_Bool bCheckOk = sal_False; ::com::sun::star::lang::Locale aLocale; String aMgrName = String::CreateFromAscii( "ofa" ); ResMgr* pLabelResMgr = ResMgr::SearchCreateResMgr( "ofa", aLocale ); String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String(); delete pLabelResMgr; - // Check for StarOffice/Suite specific extensions runs also with OpenOffice installation sets - OUString aTitleString( aTitle ); - bCheckOk = CheckInstallation( aTitleString ); - if ( !bCheckOk ) - return EXIT_FAILURE; - else - aTitle = aTitleString; - #ifdef DBG_UTIL //include version ID in non product builds - ::rtl::OUString aDefault; + ::rtl::OUString aDefault(RTL_CONSTASCII_USTRINGPARAM("development")); aTitle += DEFINE_CONST_UNICODE(" ["); - String aVerId( utl::Bootstrap::getBuildIdData( aDefault )); + String aVerId( utl::Bootstrap::getProductSource(aDefault)); aTitle += aVerId; aTitle += ']'; #endif @@ -1784,7 +1774,7 @@ int Desktop::Main() if ( !pExecGlobals->bRestartRequested ) { - if ((!rCmdLineArgs.WantsToLoadDocument() && !rCmdLineArgs.IsInvisible() && !rCmdLineArgs.IsHeadless() ) && + if ((!rCmdLineArgs.WantsToLoadDocument() && !rCmdLineArgs.IsInvisible() && !rCmdLineArgs.IsHeadless() && !rCmdLineArgs.IsQuickstart()) && (SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE)) && (!bExistsRecoveryData ) && (!bExistsSessionData ) && @@ -2234,23 +2224,6 @@ void Desktop::EnableOleAutomation() #endif } -sal_Bool Desktop::CheckOEM() -{ - Reference<XMultiServiceFactory> rFactory = ::comphelper::getProcessServiceFactory(); - Reference<XJob> rOemJob(rFactory->createInstance( - OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.office.OEMPreloadJob"))), - UNO_QUERY ); - Sequence<NamedValue> args; - sal_Bool bResult = sal_False; - if (rOemJob.is()) { - Any aResult = rOemJob->execute(args); - aResult >>= bResult; - return bResult; - } else { - return sal_True; - } -} - void Desktop::PreloadModuleData( const CommandLineArgs& rArgs ) { Reference< XMultiServiceFactory > rFactory = ::comphelper::getProcessServiceFactory(); diff --git a/desktop/source/app/checkinstall.cxx b/desktop/source/app/checkinstall.cxx deleted file mode 100644 index c0e853d9eef5..000000000000 --- a/desktop/source/app/checkinstall.cxx +++ /dev/null @@ -1,122 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include "checkinstall.hxx" -#include <com/sun/star/beans/XExactName.hpp> -#include <com/sun/star/beans/XMaterialHolder.hpp> -#include <com/sun/star/container/XContentEnumerationAccess.hpp> -#include <com/sun/star/util/Date.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <comphelper/processfactory.hxx> -#include <vcl/msgbox.hxx> -#include <tools/date.hxx> - -using namespace com::sun::star::uno; -using namespace com::sun::star::lang; -using namespace com::sun::star::beans; - -using ::rtl::OUString; - -namespace desktop -{ - -sal_Bool CheckInstallation( OUString& rTitle ) -{ - try - { - Reference< XMultiServiceFactory > xSMgr = ::comphelper::getProcessServiceFactory(); - Reference< XExactName > xExactName( xSMgr->createInstance( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.comp.desktop.Evaluation" ))), - UNO_QUERY ); - if ( xExactName.is() ) - { - try - { - rTitle = xExactName->getExactName( rTitle ); - Reference< XMaterialHolder > xMaterialHolder( xExactName, UNO_QUERY ); - if ( xMaterialHolder.is() ) - { - com::sun::star::util::Date aExpirationDate; - Any a = xMaterialHolder->getMaterial(); - if ( a >>= aExpirationDate ) - { - Date aToday; - Date aTimeBombDate( aExpirationDate.Day, aExpirationDate.Month, aExpirationDate.Year ); - if ( aToday > aTimeBombDate ) - { - InfoBox aInfoBox( NULL, String::CreateFromAscii( "This version has expired" ) ); - aInfoBox.Execute(); - return sal_False; - } - } - - return sal_True; - } - else - { - InfoBox aInfoBox( NULL, rTitle ); - aInfoBox.Execute(); - return sal_False; - } - } - catch ( RuntimeException& ) - { - // Evaluation version expired! - return sal_False; - } - } - else - { - Reference< com::sun::star::container::XContentEnumerationAccess > rContent( xSMgr , UNO_QUERY ); - if( rContent.is() ) - { - OUString sEvalService = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.office.Evaluation" ) ); - Reference < com::sun::star::container::XEnumeration > rEnum = rContent->createContentEnumeration( sEvalService ); - if ( rEnum.is() ) - { - InfoBox aInfoBox( NULL, rTitle ); - aInfoBox.Execute(); - return sal_False; - } - } - } - } - catch(Exception) - { - } - - return sal_True; -} - -} // namespace desktop - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx index 00754d91631e..82c9eb560178 100644 --- a/desktop/source/app/cmdlinehelp.cxx +++ b/desktop/source/app/cmdlinehelp.cxx @@ -55,7 +55,7 @@ namespace desktop // [OK] const char *aCmdLineHelp_version = - "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION %BUILDID\n"\ + "%PRODUCTNAME %PRODUCTVERSION %PRODUCTEXTENSION\n"\ "\n"; const char *aCmdLineHelp_head = "Usage: %CMDNAME [options] [documents...]\n"\ @@ -147,9 +147,6 @@ namespace desktop String aHelpMessage_right(aCmdLineHelp_right, RTL_TEXTENCODING_ASCII_US); String aHelpMessage_bottom(aCmdLineHelp_bottom, RTL_TEXTENCODING_ASCII_US); ReplaceStringHookProc(aHelpMessage_version); - ::rtl::OUString aDefault; - String aVerId( ::utl::Bootstrap::getBuildIdData( aDefault )); - aHelpMessage_version.SearchAndReplaceAscii( "%BUILDID", aVerId ); aHelpMessage_head.SearchAndReplaceAscii( "%CMDNAME", String( "soffice", RTL_TEXTENCODING_ASCII_US) ); #ifdef UNX // on unix use console for output @@ -184,11 +181,8 @@ namespace desktop { String aVersionMsg(aCmdLineHelp_version, RTL_TEXTENCODING_ASCII_US); ReplaceStringHookProc(aVersionMsg); - ::rtl::OUString aDefault; - String aVerId = ::utl::Bootstrap::getBuildIdData(aDefault); - aVersionMsg.SearchAndReplaceAscii("%BUILDID", aVerId); #ifdef UNX - fprintf(stdout, "%s", ByteString(aVersionMsg, RTL_TEXTENCODING_ASCII_US).GetBuffer()); + fprintf(stdout, "%s", rtl::OUStringToOString(aVersionMsg, RTL_TEXTENCODING_ASCII_US).getStr()); #else // Just re-use the help dialog for now. CmdlineHelpDialog aDlg; diff --git a/desktop/source/app/exports.dxp b/desktop/source/app/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/desktop/source/app/exports.dxp +++ b/desktop/source/app/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/desktop/source/app/makefile.mk b/desktop/source/app/makefile.mk index 4a3d084b8bb0..f905bd6ea296 100755 --- a/desktop/source/app/makefile.mk +++ b/desktop/source/app/makefile.mk @@ -61,7 +61,6 @@ SHL1OBJS = \ $(SLO)$/appfirststart.obj \ $(SLO)$/appinit.obj \ $(SLO)$/appsys.obj \ - $(SLO)$/checkinstall.obj \ $(SLO)$/check_ext_deps.obj \ $(SLO)$/cmdlineargs.obj \ $(SLO)$/cmdlinehelp.obj \ diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 51cb8db878d1..022ccf1eada2 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -719,7 +719,7 @@ void SAL_CALL OfficeIPCThread::run() // handle request for acceptor OUString aAcceptString; - if ( aCmdLineArgs->GetAcceptString(aAcceptString) && Desktop::CheckOEM()) { + if ( aCmdLineArgs->GetAcceptString(aAcceptString) ) { ApplicationEvent* pAppEvent = new ApplicationEvent( aEmpty, aEmpty, "ACCEPT", aAcceptString ); @@ -772,7 +772,7 @@ void SAL_CALL OfficeIPCThread::run() // we only do this if no document was specified on the command line, // since this would be inconsistent with the the behaviour of // the first process, see OpenClients() (call to OpenDefault()) in app.cxx - if ( aCmdLineArgs->HasModuleParam() && Desktop::CheckOEM() && (!bDocRequestSent)) + if ( aCmdLineArgs->HasModuleParam() && (!bDocRequestSent) ) { SvtModuleOptions aOpt; SvtModuleOptions::EFactory eFactory = SvtModuleOptions::E_WRITER; @@ -801,7 +801,7 @@ void SAL_CALL OfficeIPCThread::run() } } - if (!aCmdLineArgs->IsQuickstart() && Desktop::CheckOEM()) { + if ( !aCmdLineArgs->IsQuickstart() ) { sal_Bool bShowHelp = sal_False; rtl::OUStringBuffer aHelpURLBuffer; if (aCmdLineArgs->IsHelpWriter()) { @@ -844,7 +844,7 @@ void SAL_CALL OfficeIPCThread::run() } } - if ( bDocRequestSent && Desktop::CheckOEM()) + if ( bDocRequestSent ) { // Send requests to dispatch watcher if we have at least one. The receiver // is responsible to delete the request after processing it. diff --git a/desktop/source/deployment/dp_services.cxx b/desktop/source/deployment/dp_services.cxx index a62873d89c5f..7a93e5b42df3 100644 --- a/desktop/source/deployment/dp_services.cxx +++ b/desktop/source/deployment/dp_services.cxx @@ -85,12 +85,6 @@ bool singleton_entries( uno::Reference<registry::XRegistryKey> const& ); extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( sal_Char const * pImplName, lang::XMultiServiceFactory * pServiceManager, diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index 7b00c4ede248..96e4e596ca71 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -970,18 +970,20 @@ long ExtensionBox_Impl::addEntry( const uno::Reference< deployment::XPackage > & if ( ! pEntry->m_sTitle.Len() ) return 0; - xPackage->addEventListener( uno::Reference< lang::XEventListener > ( m_xRemoveListener, uno::UNO_QUERY ) ); + bool bNewEntryInserted = false; ::osl::ClearableMutexGuard guard(m_entriesMutex); if ( m_vEntries.empty() ) { m_vEntries.push_back( pEntry ); + bNewEntryInserted = true; } else { if ( !FindEntryPos( pEntry, 0, m_vEntries.size()-1, nPos ) ) { m_vEntries.insert( m_vEntries.begin()+nPos, pEntry ); + bNewEntryInserted = true; } else if ( !m_bInCheckMode ) { @@ -989,6 +991,14 @@ long ExtensionBox_Impl::addEntry( const uno::Reference< deployment::XPackage > & } } + //Related: rhbz#702833 Only add a Listener if we're adding a new entry, to + //keep in sync with removeEventListener logic + if (bNewEntryInserted) + { + pEntry->m_xPackage->addEventListener(uno::Reference< lang::XEventListener > ( m_xRemoveListener, uno::UNO_QUERY ) ); + } + + pEntry->m_bHasOptions = m_pManager->supportsOptions( xPackage ); pEntry->m_bUser = xPackage->getRepositoryName().equals( USER_PACKAGE_MANAGER ); pEntry->m_bShared = xPackage->getRepositoryName().equals( SHARED_PACKAGE_MANAGER ); diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index 25df7f0f4caa..efd055dc4d87 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -351,12 +351,6 @@ sdecl::ServiceDecl const updateDecl( extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( sal_Char const * pImplName, lang::XMultiServiceFactory * pServiceManager, diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 2cade3a5faac..fc3be7f8236e 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -125,8 +125,7 @@ static const char XDG_CONFIG_PART[] = "/.config"; sLabel = aStr; } - - catch(container::NoSuchElementException&) + catch (const container::NoSuchElementException&) { sLabel = sCommand; sal_Int32 nIndex = sLabel.indexOf(':'); @@ -228,9 +227,11 @@ void Migration::migrateSettingsIfNecessary() return; sal_Bool bResult = sal_False; - try { + try + { bResult = aImpl.doMigration(); - } catch (Exception& e) + } + catch (const Exception& e) { OString aMsg("doMigration() exception: "); aMsg += OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); @@ -332,7 +333,8 @@ sal_Bool MigrationImpl::doMigration() refresh(); result = sal_True; - } catch (...) + } + catch (...) { OString aMsg("An unexpected exception was thrown during migration"); aMsg += "\nOldVersion: " + OUStringToOString(m_aInfo.productname, RTL_TEXTENCODING_ASCII_US); @@ -358,11 +360,14 @@ void MigrationImpl::refresh() void MigrationImpl::setMigrationCompleted() { - try { + try + { uno::Reference< XPropertySet > aPropertySet(getConfigAccess("org.openoffice.Setup/Office", true), uno::UNO_QUERY_THROW); aPropertySet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("MigrationCompleted")), uno::makeAny(sal_True)); uno::Reference< XChangesBatch >(aPropertySet, uno::UNO_QUERY_THROW)->commitChanges(); - } catch (...) { + } + catch (...) + { // fail silently } } @@ -382,7 +387,9 @@ bool MigrationImpl::checkMigrationCompleted() setMigrationCompleted(); bMigrationCompleted = sal_True; } - } catch (Exception&) { + } + catch (const Exception&) + { // just return false... } OSL_TRACE( "Migration %s", bMigrationCompleted ? "already completed" : "not done" ); @@ -587,7 +594,9 @@ install_info MigrationImpl::findInstallation(const strings_v& rVersions) aInfo.userdata = aObj.GetMainURL( INetURLObject::NO_DECODE ); aInfo.productname = aVersion; } - catch( uno::Exception& ){} + catch (const uno::Exception&) + { + } } ++i_ver; } @@ -870,7 +879,8 @@ uno::Reference< XNameAccess > MigrationImpl::getConfigAccess(const sal_Char* pPa xNameAccess = uno::Reference< XNameAccess > ( theConfigProvider->createInstanceWithArguments( sAccessSrvc, theArgs ), uno::UNO_QUERY_THROW ); - } catch (com::sun::star::uno::Exception& e) + } + catch (const com::sun::star::uno::Exception& e) { OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); OSL_FAIL(aMsg.getStr()); @@ -954,13 +964,15 @@ void MigrationImpl::runServices() xMigrationJob->execute(uno::Sequence< NamedValue >()); - } catch (Exception& e) + } + catch (const Exception& e) { OString aMsg("Execution of migration service failed (Exception caught).\nService: "); aMsg += OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US) + "\nMessage: "; aMsg += OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); OSL_FAIL(aMsg.getStr()); - } catch (...) + } + catch (...) { OString aMsg("Execution of migration service failed (Exception caught).\nService: "); aMsg += OUStringToOString(i_mig->service, RTL_TEXTENCODING_ASCII_US) + diff --git a/desktop/source/migration/pages.cxx b/desktop/source/migration/pages.cxx deleted file mode 100644 index fb86474c8578..000000000000 --- a/desktop/source/migration/pages.cxx +++ /dev/null @@ -1,671 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include "pages.hxx" -#include "wizard.hrc" -#include "wizard.hxx" -#include "migration.hxx" -#include <vcl/msgbox.hxx> -#include <vcl/mnemonic.hxx> -#include <vos/security.hxx> -#include <app.hxx> -#include <rtl/ustring.hxx> -#include <osl/file.hxx> -#include <unotools/bootstrap.hxx> -#include <unotools/configmgr.hxx> -#include <unotools/regoptions.hxx> -#include <unotools/useroptions.hxx> -#include <sfx2/basedlgs.hxx> -#include <comphelper/processfactory.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/frame/XDesktop.hpp> -#include <com/sun/star/beans/XMaterialHolder.hpp> -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/container/XNameReplace.hpp> -#include <com/sun/star/task/XJobExecutor.hpp> -#include <comphelper/configurationhelper.hxx> -#include <rtl/bootstrap.hxx> -#include <rtl/ustrbuf.hxx> -#include <osl/file.hxx> -#include <osl/thread.hxx> -#include <unotools/bootstrap.hxx> -#include <tools/config.hxx> - -using namespace rtl; -using namespace osl; -using namespace utl; -using namespace svt; -using namespace com::sun::star; -using namespace com::sun::star::frame; -using namespace com::sun::star::lang; -using namespace com::sun::star::util; -using namespace com::sun::star::beans; -using namespace com::sun::star::uno; -using namespace com::sun::star::container; - -#define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s)) - -namespace desktop { - -static void _setBold(FixedText& ft) -{ - Font f = ft.GetControlFont(); - f.SetWeight(WEIGHT_BOLD); - ft.SetControlFont(f); -} - -WelcomePage::WelcomePage( svt::OWizardMachine* parent, const ResId& resid, sal_Bool bLicenseNeedsAcceptance ) - : OWizardPage(parent, resid) - , m_ftHead(this, WizardResId(FT_WELCOME_HEADER)) - , m_ftBody(this, WizardResId(FT_WELCOME_BODY)) - , m_pParent(parent) - , m_bLicenseNeedsAcceptance( bLicenseNeedsAcceptance ) - , bIsEvalVersion(false) - , bNoEvalText(false) -{ - FreeResource(); - - _setBold(m_ftHead); - - checkEval(); - - // check for migration - if (Migration::checkMigration()) - { - String aText(WizardResId(STR_WELCOME_MIGRATION)); - // replace %OLDPRODUCT with found version name - aText.SearchAndReplaceAll( UniString::CreateFromAscii("%OLD_VERSION"), Migration::getOldVersionName()); - m_ftBody.SetText( aText ); - } - else if ( ! m_bLicenseNeedsAcceptance ) - { - String aText(WizardResId(STR_WELCOME_WITHOUT_LICENSE)); - m_ftBody.SetText( aText ); - } -} - - -void WelcomePage::checkEval() -{ - Reference< XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - Reference< XMaterialHolder > xHolder(xFactory->createInstance( - OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.tab.tabreg"))), UNO_QUERY); - if (xHolder.is()) { - Any aData = xHolder->getMaterial(); - Sequence < NamedValue > aSeq; - if (aData >>= aSeq) { - bIsEvalVersion = true; - for (int i=0; i< aSeq.getLength(); i++) { - if (aSeq[i].Name.equalsAscii("NoEvalText")) { - aSeq[i].Value >>= bNoEvalText; - } - } - } - } -} - - -void WelcomePage::ActivatePage() -{ - OWizardPage::ActivatePage(); - // this page has no controls, so forwarding to default - // button (next) won't work if we grap focus - // GrabFocus(); -} - -LicensePage::LicensePage( svt::OWizardMachine* parent, const ResId& resid, const rtl::OUString &rLicensePath ) - : OWizardPage(parent, resid) - , m_pParent(parent) - , m_ftHead(this, WizardResId(FT_LICENSE_HEADER)) - , m_ftBody1(this, WizardResId(FT_LICENSE_BODY_1)) - , m_ftBody1Txt(this, WizardResId(FT_LICENSE_BODY_1_TXT)) - , m_ftBody2(this, WizardResId(FT_LICENSE_BODY_2)) - , m_ftBody2Txt(this, WizardResId(FT_LICENSE_BODY_2_TXT)) - , m_mlLicense(this, WizardResId(ML_LICENSE)) - , m_pbDown(this, WizardResId(PB_LICENSE_DOWN)) - , m_bLicenseRead(sal_False) -{ - FreeResource(); - - _setBold(m_ftHead); - - m_mlLicense.SetEndReachedHdl( LINK(this, LicensePage, EndReachedHdl) ); - m_mlLicense.SetScrolledHdl( LINK(this, LicensePage, ScrolledHdl) ); - m_pbDown.SetClickHdl( LINK(this, LicensePage, PageDownHdl) ); - - // We want a automatic repeating page down button - WinBits aStyle = m_pbDown.GetStyle(); - aStyle |= WB_REPEAT; - m_pbDown.SetStyle( aStyle ); - - // replace %PAGEDOWN in text2 with button text - String aText = m_ftBody1Txt.GetText(); - aText.SearchAndReplaceAll( UniString::CreateFromAscii("%PAGEDOWN"), - MnemonicGenerator::EraseAllMnemonicChars(m_pbDown.GetText())); - - m_ftBody1Txt.SetText( aText ); - - // load license text - File aLicenseFile(rLicensePath); - if ( aLicenseFile.open(OpenFlag_Read) == FileBase::E_None) - { - DirectoryItem d; - DirectoryItem::get(rLicensePath, d); - FileStatus fs(osl_FileStatus_Mask_FileSize); - d.getFileStatus(fs); - sal_uInt64 nBytesRead = 0; - sal_uInt64 nPosition = 0; - sal_uInt32 nBytes = (sal_uInt32)fs.getFileSize(); - sal_Char *pBuffer = new sal_Char[nBytes]; - // FileBase RC r = FileBase::E_None; - while (aLicenseFile.read(pBuffer+nPosition, nBytes-nPosition, nBytesRead) == FileBase::E_None - && nPosition + nBytesRead < nBytes) - { - nPosition += nBytesRead; - } - OUString aLicenseString(pBuffer, nBytes, RTL_TEXTENCODING_UTF8, - OSTRING_TO_OUSTRING_CVTFLAGS | RTL_TEXTTOUNICODE_FLAGS_GLOBAL_SIGNATURE); - delete[] pBuffer; - m_mlLicense.SetText(aLicenseString); - - } -} - -void LicensePage::ActivatePage() -{ - OWizardPage::ActivatePage(); - m_bLicenseRead = m_mlLicense.IsEndReached(); - m_pbDown.GrabFocus(); - updateDialogTravelUI(); -} - -bool LicensePage::canAdvance() const -{ - if (m_mlLicense.IsEndReached()) - const_cast< LicensePage* >( this )->m_pbDown.Disable(); - else - const_cast< LicensePage* >( this )->m_pbDown.Enable(); - - return m_bLicenseRead; -} - -IMPL_LINK( LicensePage, PageDownHdl, PushButton *, EMPTYARG ) -{ - m_mlLicense.ScrollDown( SCROLL_PAGEDOWN ); - return 0; -} - -IMPL_LINK( LicensePage, EndReachedHdl, LicenseView *, EMPTYARG ) -{ - m_bLicenseRead = sal_True; - updateDialogTravelUI(); - return 0; -} - -IMPL_LINK( LicensePage, ScrolledHdl, LicenseView *, EMPTYARG ) -{ - updateDialogTravelUI(); - return 0; -} - - -LicenseView::LicenseView( Window* pParent, const ResId& rResId ) - : MultiLineEdit( pParent, rResId ) -{ - SetLeftMargin( 5 ); - mbEndReached = IsEndReached(); - StartListening( *GetTextEngine() ); -} - -LicenseView::~LicenseView() -{ - maEndReachedHdl = Link(); - maScrolledHdl = Link(); - EndListeningAll(); -} - -void LicenseView::ScrollDown( ScrollType eScroll ) -{ - ScrollBar* pScroll = GetVScrollBar(); - if ( pScroll ) - pScroll->DoScrollAction( eScroll ); -} - -sal_Bool LicenseView::IsEndReached() const -{ - sal_Bool bEndReached; - - ExtTextView* pView = GetTextView(); - ExtTextEngine* pEdit = GetTextEngine(); - sal_uLong nHeight = pEdit->GetTextHeight(); - Size aOutSize = pView->GetWindow()->GetOutputSizePixel(); - Point aBottom( 0, aOutSize.Height() ); - - if ( (sal_uLong) pView->GetDocPos( aBottom ).Y() >= nHeight - 1 ) - bEndReached = sal_True; - else - bEndReached = sal_False; - - return bEndReached; -} - -void LicenseView::Notify( SfxBroadcaster&, const SfxHint& rHint ) -{ - if ( rHint.IsA( TYPE(TextHint) ) ) - { - sal_Bool bLastVal = EndReached(); - sal_uLong nId = ((const TextHint&)rHint).GetId(); - - if ( nId == TEXT_HINT_PARAINSERTED ) - { - if ( bLastVal ) - mbEndReached = IsEndReached(); - } - else if ( nId == TEXT_HINT_VIEWSCROLLED ) - { - if ( ! mbEndReached ) - mbEndReached = IsEndReached(); - maScrolledHdl.Call( this ); - } - - if ( EndReached() && !bLastVal ) - { - maEndReachedHdl.Call( this ); - } - } -} - - - -// ------------------------------------------------------------------- - -class MigrationThread : public ::osl::Thread -{ - public: - MigrationThread(); - - virtual void SAL_CALL run(); - virtual void SAL_CALL onTerminated(); -}; - -MigrationThread::MigrationThread() -{ -} - -void MigrationThread::run() -{ - try - { - Migration::doMigration(); - } - catch ( uno::Exception& ) - { - } -} - -void MigrationThread::onTerminated() -{ -} - -// ------------------------------------------------------------------- - -MigrationPage::MigrationPage( - svt::OWizardMachine* parent, - const ResId& resid, Throbber& i_throbber ) - : OWizardPage(parent, resid) - , m_ftHead(this, WizardResId(FT_MIGRATION_HEADER)) - , m_ftBody(this, WizardResId(FT_MIGRATION_BODY)) - , m_cbMigration(this, WizardResId(CB_MIGRATION)) - , m_rThrobber(i_throbber) - , m_bMigrationDone(sal_False) -{ - FreeResource(); - _setBold(m_ftHead); - - // replace %OLDPRODUCT with found version name - String aText = m_ftBody.GetText(); - aText.SearchAndReplaceAll( UniString::CreateFromAscii("%OLDPRODUCT"), Migration::getOldVersionName()); - m_ftBody.SetText( aText ); -} - -sal_Bool MigrationPage::commitPage( svt::WizardTypes::CommitPageReason _eReason ) -{ - if (_eReason == svt::WizardTypes::eTravelForward && m_cbMigration.IsChecked() && !m_bMigrationDone) - { - GetParent()->EnterWait(); - FirstStartWizard* pWizard = dynamic_cast< FirstStartWizard* >( GetParent() ); - if ( pWizard ) - pWizard->DisableButtonsWhileMigration(); - - m_rThrobber.Show(); - m_rThrobber.start(); - MigrationThread* pMigThread = new MigrationThread(); - pMigThread->create(); - - while ( pMigThread->isRunning() ) - { - Application::Reschedule(); - } - - m_rThrobber.stop(); - GetParent()->LeaveWait(); - // Next state will enable buttons - so no EnableButtons necessary! - m_rThrobber.Hide(); - pMigThread->join(); - delete pMigThread; - m_bMigrationDone = sal_True; - } - else - Migration::cancelMigration(); - return sal_True; -} - -void MigrationPage::ActivatePage() -{ - OWizardPage::ActivatePage(); - GrabFocus(); -} - -UserPage::UserPage( svt::OWizardMachine* parent, const ResId& resid) - : OWizardPage(parent, resid) - , m_ftHead(this, WizardResId(FT_USER_HEADER)) - , m_ftBody(this, WizardResId(FT_USER_BODY)) - , m_ftFirst(this, WizardResId(FT_USER_FIRST)) - , m_edFirst(this, WizardResId(ED_USER_FIRST)) - , m_ftLast(this, WizardResId(FT_USER_LAST)) - , m_edLast(this, WizardResId(ED_USER_LAST)) - , m_ftInitials(this, WizardResId(FT_USER_INITIALS)) - , m_edInitials(this, WizardResId(ED_USER_INITIALS)) - , m_ftFather(this, WizardResId(FT_USER_FATHER)) - , m_edFather(this, WizardResId(ED_USER_FATHER)) - , m_lang(Application::GetSettings().GetUILanguage()) -{ - FreeResource(); - _setBold(m_ftHead); - - // check whether this is a russian version. otherwise - // we'll hide the 'Fathers name' field - SvtUserOptions aUserOpt; - m_edFirst.SetText(aUserOpt.GetFirstName()); - m_edLast.SetText(aUserOpt.GetLastName()); -#if 0 - rtl::OUString aUserName; - vos::OSecurity().getUserName( aUserName ); - aUserOpt.SetID( aUserName ); -#endif - - m_edInitials.SetText(aUserOpt.GetID()); - if (m_lang == LANGUAGE_RUSSIAN) - { - m_ftFather.Show(); - m_edFather.Show(); - m_edFather.SetText(aUserOpt.GetFathersName()); - } -} - -sal_Bool UserPage::commitPage( svt::WizardTypes::CommitPageReason ) -{ - SvtUserOptions aUserOpt; - aUserOpt.SetFirstName(m_edFirst.GetText()); - aUserOpt.SetLastName(m_edLast.GetText()); - aUserOpt.SetID( m_edInitials.GetText()); - - if (m_lang == LANGUAGE_RUSSIAN) - aUserOpt.SetFathersName(m_edFather.GetText()); - - return sal_True; -} - -void UserPage::ActivatePage() -{ - OWizardPage::ActivatePage(); - GrabFocus(); -} - -// ------------------------------------------------------------------- -UpdateCheckPage::UpdateCheckPage( svt::OWizardMachine* parent, const ResId& resid) - : OWizardPage(parent, resid) - , m_ftHead(this, WizardResId(FT_UPDATE_CHECK_HEADER)) - , m_ftBody(this, WizardResId(FT_UPDATE_CHECK_BODY)) - , m_cbUpdateCheck(this, WizardResId(CB_UPDATE_CHECK)) -{ - FreeResource(); - _setBold(m_ftHead); -} - -sal_Bool UpdateCheckPage::commitPage( svt::WizardTypes::CommitPageReason _eReason ) -{ - if ( _eReason == svt::WizardTypes::eTravelForward ) - { - try { - Reference < XNameReplace > xUpdateAccess; - Reference < XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() ); - - xUpdateAccess = Reference < XNameReplace >( - xFactory->createInstance( UNISTRING( "com.sun.star.setup.UpdateCheckConfig" ) ), UNO_QUERY_THROW ); - - if ( !xUpdateAccess.is() ) - return sal_False; - - sal_Bool bAutoUpdChk = m_cbUpdateCheck.IsChecked(); - xUpdateAccess->replaceByName( UNISTRING("AutoCheckEnabled"), makeAny( bAutoUpdChk ) ); - - Reference< XChangesBatch > xChangesBatch( xUpdateAccess, UNO_QUERY); - if( xChangesBatch.is() && xChangesBatch->hasPendingChanges() ) - xChangesBatch->commitChanges(); - } catch (RuntimeException) - { - } - } - - return sal_True; -} - -void UpdateCheckPage::ActivatePage() -{ - OWizardPage::ActivatePage(); - GrabFocus(); -} - -// ------------------------------------------------------------------- -RegistrationPage::RegistrationPage( Window* pParent, const ResId& rResid ) - : OWizardPage( pParent, rResid ) - , m_ftHeader(this, WizardResId(FT_REGISTRATION_HEADER)) - , m_ftBody(this, WizardResId(FT_REGISTRATION_BODY)) - , m_rbNow(this, WizardResId(RB_REGISTRATION_NOW)) - , m_rbLater(this, WizardResId(RB_REGISTRATION_LATER)) - , m_rbNever(this, WizardResId(RB_REGISTRATION_NEVER)) - , m_flSeparator(this, WizardResId(FL_REGISTRATION)) - , m_ftEnd(this, WizardResId(FT_REGISTRATION_END)) - , m_bNeverVisible( sal_True ) -{ - FreeResource(); - - // another text for OOo - sal_Int32 nOpenSourceContext = 0; - try - { - ::utl::ConfigManager::GetDirectConfigProperty( - ::utl::ConfigManager::OPENSOURCECONTEXT ) >>= nOpenSourceContext; - } - catch( Exception& ) - { - DBG_ERRORFILE( "RegistrationPage::RegistrationPage(): error while getting open source context" ); - } - - if ( nOpenSourceContext > 0 ) - { - String sBodyText( WizardResId( STR_REGISTRATION_OOO ) ); - m_ftBody.SetText( sBodyText ); - } - - // calculate height of body text and rearrange the buttons - Size aSize = m_ftBody.GetSizePixel(); - Size aMinSize = m_ftBody.CalcMinimumSize( aSize.Width() ); - long nTxtH = aMinSize.Height(); - long nCtrlH = aSize.Height(); - long nDelta = ( nCtrlH - nTxtH ); - aSize.Height() -= nDelta; - m_ftBody.SetSizePixel( aSize ); - Window* pWins[] = { &m_rbNow, &m_rbLater, &m_rbNever }; - Window** pCurrent = pWins; - for ( sal_uInt32 i = 0; i < sizeof( pWins ) / sizeof( pWins[ 0 ] ); ++i, ++pCurrent ) - { - Point aNewPos = (*pCurrent)->GetPosPixel(); - aNewPos.Y() -= nDelta; - (*pCurrent)->SetPosPixel( aNewPos ); - } - - _setBold(m_ftHeader); - impl_retrieveConfigurationData(); - updateButtonStates(); -} - -bool RegistrationPage::canAdvance() const -{ - return false; -} - -void RegistrationPage::ActivatePage() -{ - OWizardPage::ActivatePage(); - GrabFocus(); -} - -void RegistrationPage::impl_retrieveConfigurationData() -{ - static ::rtl::OUString PACKAGE(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.FirstStartWizard")); - static ::rtl::OUString PATH(RTL_CONSTASCII_USTRINGPARAM("TabPages/Registration/RegistrationOptions/NeverButton")); - static ::rtl::OUString KEY(RTL_CONSTASCII_USTRINGPARAM("Visible")); - - ::com::sun::star::uno::Any aValue; - try - { - aValue = ::comphelper::ConfigurationHelper::readDirectKey( - ::comphelper::getProcessServiceFactory(), - PACKAGE, - PATH, - KEY, - ::comphelper::ConfigurationHelper::E_READONLY); - } - catch(const ::com::sun::star::uno::Exception&) - { aValue.clear(); } - - aValue >>= m_bNeverVisible; -} - -void RegistrationPage::updateButtonStates() -{ - m_rbNever.Show( m_bNeverVisible ); -} - -sal_Bool RegistrationPage::commitPage( svt::WizardTypes::CommitPageReason _eReason ) -{ - if ( _eReason == svt::WizardTypes::eFinish ) - { - ::utl::RegOptions aOptions; - rtl::OUString aEvent; - - if ( m_rbNow.IsChecked()) - { - aEvent = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RegistrationRequired" ) ); - } - else if (m_rbLater.IsChecked()) - { - aOptions.activateReminder(7); - // avtivate a reminder job... - } - // aOptions.markSessionDone(); - - try - { - // create the Desktop component which can load components - Reference < XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - if( xFactory.is() ) - { - Reference< com::sun::star::task::XJobExecutor > xProductRegistration( - xFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.setup.ProductRegistration" ) ) ), - UNO_QUERY_THROW ); - - // tell it that the user wants to register - xProductRegistration->trigger( aEvent ); - } - } - catch( const Exception& ) - { - } - } - return sal_True; -} - -RegistrationPage::RegistrationMode RegistrationPage::getRegistrationMode() const -{ - RegistrationPage::RegistrationMode eMode = rmNow; - if ( m_rbLater.IsChecked() ) - eMode = rmLater; - else if ( m_rbNever.IsChecked() ) - eMode = rmNever; - return eMode; -} - -void RegistrationPage::prepareSingleMode() -{ - // remove wizard text (hide and cut) - m_flSeparator.Hide(); - m_ftEnd.Hide(); - Size aNewSize = GetSizePixel(); - aNewSize.Height() -= ( aNewSize.Height() - m_flSeparator.GetPosPixel().Y() ); - SetSizePixel( aNewSize ); -} - -bool RegistrationPage::hasReminderDateCome() -{ - return ::utl::RegOptions().hasReminderDateCome(); -} - -void RegistrationPage::executeSingleMode() -{ - // opens the page in a single tabdialog - SfxSingleTabDialog aSingleDlg( NULL, TP_REGISTRATION ); - RegistrationPage* pPage = new RegistrationPage( &aSingleDlg, WizardResId( TP_REGISTRATION ) ); - pPage->prepareSingleMode(); - aSingleDlg.SetPage( pPage ); - aSingleDlg.SetText( pPage->getSingleModeTitle() ); - aSingleDlg.Execute(); - // the registration modes "Now" and "Later" are handled by the page - RegistrationPage::RegistrationMode eMode = pPage->getRegistrationMode(); - if ( eMode == RegistrationPage::rmNow || eMode == RegistrationPage::rmLater ) - pPage->commitPage( WizardTypes::eFinish ); - if ( eMode != RegistrationPage::rmLater ) - ::utl::RegOptions().removeReminder(); -} - -} // namespace desktop diff --git a/desktop/source/migration/pages.hxx b/desktop/source/migration/pages.hxx deleted file mode 100644 index 47eae23ff58c..000000000000 --- a/desktop/source/migration/pages.hxx +++ /dev/null @@ -1,212 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef _PAGES_HXX_ -#define _PAGES_HXX_ - -#include <vcl/tabpage.hxx> -#include <vcl/button.hxx> -#include <vcl/dialog.hxx> -#include <vcl/scrbar.hxx> -#include <vcl/throbber.hxx> -#include <svtools/wizardmachine.hxx> -#include <svtools/svmedit.hxx> -#include <svl/lstner.hxx> -#include <svtools/xtextedt.hxx> - -namespace desktop -{ -class WelcomePage : public svt::OWizardPage -{ -private: - FixedText m_ftHead; - FixedText m_ftBody; - svt::OWizardMachine *m_pParent; - sal_Bool m_bLicenseNeedsAcceptance; - enum OEMType - { - OEM_NONE, OEM_NORMAL, OEM_EXTENDED - }; - bool bIsEvalVersion; - bool bNoEvalText; - void checkEval(); - - -public: - WelcomePage( svt::OWizardMachine* parent, const ResId& resid, sal_Bool bLicenseNeedsAcceptance ); -protected: - virtual void ActivatePage(); -}; - -class LicenseView : public MultiLineEdit, public SfxListener -{ - sal_Bool mbEndReached; - Link maEndReachedHdl; - Link maScrolledHdl; - -public: - LicenseView( Window* pParent, const ResId& rResId ); - ~LicenseView(); - - void ScrollDown( ScrollType eScroll ); - - sal_Bool IsEndReached() const; - sal_Bool EndReached() const { return mbEndReached; } - void SetEndReached( sal_Bool bEnd ) { mbEndReached = bEnd; } - - void SetEndReachedHdl( const Link& rHdl ) { maEndReachedHdl = rHdl; } - const Link& GetAutocompleteHdl() const { return maEndReachedHdl; } - - void SetScrolledHdl( const Link& rHdl ) { maScrolledHdl = rHdl; } - const Link& GetScrolledHdl() const { return maScrolledHdl; } - - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); - -protected: - using MultiLineEdit::Notify; -}; - -class LicensePage : public svt::OWizardPage -{ -private: - svt::OWizardMachine *m_pParent; - FixedText m_ftHead; - FixedText m_ftBody1; - FixedText m_ftBody1Txt; - FixedText m_ftBody2; - FixedText m_ftBody2Txt; - LicenseView m_mlLicense; - PushButton m_pbDown; - sal_Bool m_bLicenseRead; -public: - LicensePage( svt::OWizardMachine* parent, const ResId& resid, const rtl::OUString &rLicensePath ); -private: - DECL_LINK(PageDownHdl, PushButton*); - DECL_LINK(EndReachedHdl, LicenseView*); - DECL_LINK(ScrolledHdl, LicenseView*); -protected: - virtual bool canAdvance() const; - virtual void ActivatePage(); -}; - -class MigrationPage : public svt::OWizardPage -{ -private: - FixedText m_ftHead; - FixedText m_ftBody; - CheckBox m_cbMigration; - Throbber& m_rThrobber; - sal_Bool m_bMigrationDone; -public: - MigrationPage( svt::OWizardMachine* parent, const ResId& resid, Throbber& i_throbber ); - virtual sal_Bool commitPage( svt::WizardTypes::CommitPageReason _eReason ); - -protected: - virtual void ActivatePage(); -}; - -class UserPage : public svt::OWizardPage -{ -private: - FixedText m_ftHead; - FixedText m_ftBody; - FixedText m_ftFirst; - Edit m_edFirst; - FixedText m_ftLast; - Edit m_edLast; - FixedText m_ftInitials; - Edit m_edInitials; - FixedText m_ftFather; - Edit m_edFather; - LanguageType m_lang; - -public: - UserPage( svt::OWizardMachine* parent, const ResId& resid); - virtual sal_Bool commitPage( svt::WizardTypes::CommitPageReason _eReason ); -protected: - virtual void ActivatePage(); -}; - -class UpdateCheckPage : public svt::OWizardPage -{ -private: - FixedText m_ftHead; - FixedText m_ftBody; - CheckBox m_cbUpdateCheck; -public: - UpdateCheckPage( svt::OWizardMachine* parent, const ResId& resid); - virtual sal_Bool commitPage( svt::WizardTypes::CommitPageReason _eReason ); - -protected: - virtual void ActivatePage(); -}; - - -class RegistrationPage : public svt::OWizardPage -{ -private: - FixedText m_ftHeader; - FixedText m_ftBody; - RadioButton m_rbNow; - RadioButton m_rbLater; - RadioButton m_rbNever; - FixedLine m_flSeparator; - FixedText m_ftEnd; - - sal_Bool m_bNeverVisible; - - void updateButtonStates(); - void impl_retrieveConfigurationData(); - -protected: - virtual bool canAdvance() const; - virtual void ActivatePage(); - - virtual sal_Bool commitPage( svt::WizardTypes::CommitPageReason _eReason ); - -public: - RegistrationPage( Window* parent, const ResId& resid); - - enum RegistrationMode - { - rmNow, // register now - rmLater, // register later - rmNever // register never - }; - - RegistrationMode getRegistrationMode() const; - void prepareSingleMode(); - inline String getSingleModeTitle() const { return m_ftHeader.GetText(); } - - static bool hasReminderDateCome(); - static void executeSingleMode(); -}; - -} // namespace desktop - -#endif // #ifndef _PAGES_HXX_ - diff --git a/desktop/source/migration/services/cexports.cxx b/desktop/source/migration/services/cexports.cxx index 195cc012b404..f527941376bd 100644 --- a/desktop/source/migration/services/cexports.cxx +++ b/desktop/source/migration/services/cexports.cxx @@ -61,12 +61,6 @@ extern "C" }; -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/desktop/source/migration/services/cexportsoo3.cxx b/desktop/source/migration/services/cexportsoo3.cxx index 66e45a3f2da2..5f715393cc1c 100644 --- a/desktop/source/migration/services/cexportsoo3.cxx +++ b/desktop/source/migration/services/cexportsoo3.cxx @@ -46,12 +46,6 @@ extern "C" }; -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/desktop/source/migration/wizard.cxx b/desktop/source/migration/wizard.cxx deleted file mode 100644 index bb4be7e9f4e2..000000000000 --- a/desktop/source/migration/wizard.cxx +++ /dev/null @@ -1,601 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include <migration.hxx> -#include "wizard.hxx" -#include "wizard.hrc" -#include "pages.hxx" -#include "app.hxx" - -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> -#include <rtl/string.hxx> -#include <rtl/strbuf.hxx> -#include <rtl/bootstrap.hxx> - -#include <comphelper/processfactory.hxx> -#include <tools/date.hxx> -#include <tools/time.hxx> -#include <tools/datetime.hxx> -#include <osl/file.hxx> -#include <osl/time.h> -#include <osl/module.hxx> -#include <unotools/bootstrap.hxx> -#include <vcl/msgbox.hxx> - -#include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/beans/XPropertyState.hpp> -#include <com/sun/star/frame/XDesktop.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/util/XChangesBatch.hpp> -#include <com/sun/star/container/XNameReplace.hpp> -#include <com/sun/star/awt/WindowDescriptor.hpp> -#include <com/sun/star/awt/WindowAttribute.hpp> - -using namespace svt; -using namespace rtl; -using namespace osl; -using namespace utl; -using namespace com::sun::star; -using namespace com::sun::star::uno; -using namespace com::sun::star::lang; -using namespace com::sun::star::beans; -using namespace com::sun::star::util; -using namespace com::sun::star::container; - -#define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s)) - -namespace desktop -{ - -const FirstStartWizard::WizardState FirstStartWizard::STATE_WELCOME = 0; -const FirstStartWizard::WizardState FirstStartWizard::STATE_LICENSE = 1; -const FirstStartWizard::WizardState FirstStartWizard::STATE_MIGRATION = 2; -const FirstStartWizard::WizardState FirstStartWizard::STATE_USER = 3; -const FirstStartWizard::WizardState FirstStartWizard::STATE_UPDATE_CHECK = 4; -const FirstStartWizard::WizardState FirstStartWizard::STATE_REGISTRATION = 5; - -static sal_Int32 getBuildId() -{ - ::rtl::OUString aDefault; - ::rtl::OUString aBuildIdData = utl::Bootstrap::getBuildIdData( aDefault ); - sal_Int32 nBuildId( 0 ); - sal_Int32 nIndex1 = aBuildIdData.indexOf(':'); - sal_Int32 nIndex2 = aBuildIdData.indexOf(')'); - if (( nIndex1 > 0 ) && ( nIndex2 > 0 ) && ( nIndex2-1 > nIndex1+1 )) - { - ::rtl::OUString aBuildId = aBuildIdData.copy( nIndex1+1, nIndex2-nIndex1-1 ); - nBuildId = aBuildId.toInt32(); - } - return nBuildId; -} - -WizardResId::WizardResId( sal_uInt16 nId ) : - ResId( nId, *FirstStartWizard::GetResManager() ) -{ -} - -ResMgr *FirstStartWizard::pResMgr = 0; - -ResMgr *FirstStartWizard::GetResManager() -{ - if ( !FirstStartWizard::pResMgr ) - { - String aMgrName = String::CreateFromAscii( "dkt" ); - FirstStartWizard::pResMgr = ResMgr::CreateResMgr( OUStringToOString( aMgrName, RTL_TEXTENCODING_UTF8 )); - } - return FirstStartWizard::pResMgr; -} - -FirstStartWizard::FirstStartWizard( Window* pParent, sal_Bool bLicenseNeedsAcceptance, const rtl::OUString &rLicensePath ) - :RoadmapWizard( pParent, WizardResId(DLG_FIRSTSTART_WIZARD), - WZB_NEXT|WZB_PREVIOUS|WZB_FINISH|WZB_CANCEL|WZB_HELP) - ,m_bOverride(sal_False) - ,m_aDefaultPath(0) - ,m_aMigrationPath(0) - ,m_bDone(sal_False) - ,m_bLicenseNeedsAcceptance( bLicenseNeedsAcceptance ) - ,m_bLicenseWasAccepted(sal_False) - ,m_bAutomaticUpdChk(sal_True) - ,m_aThrobber(this, WizardResId(CTRL_THROBBER)) - ,m_aLicensePath( rLicensePath ) -{ - FreeResource(); - // --- -// enableState(STATE_USER, sal_False); -// enableState(STATE_REGISTRATION, sal_False); - - Size aTPSize(TP_WIDTH, TP_HEIGHT); - SetPageSizePixel(LogicToPixel(aTPSize, MAP_APPFONT)); - - //set help id - m_pPrevPage->SetHelpId(HID_FIRSTSTART_PREV); - m_pNextPage->SetHelpId(HID_FIRSTSTART_NEXT); - m_pCancel->SetHelpId(HID_FIRSTSTART_CANCEL); - m_pFinish->SetHelpId(HID_FIRSTSTART_FINISH); - // m_pHelp->SetUniqueId(UID_FIRSTSTART_HELP); - m_pHelp->Hide(); - m_pHelp->Disable(); - - // save button lables - m_sNext = m_pNextPage->GetText(); - m_sCancel = m_pCancel->GetText(); - - // save cancel click handler - m_lnkCancel = m_pCancel->GetClickHdl(); - - m_aDefaultPath = defineWizardPagesDependingFromContext(); - activatePath(m_aDefaultPath, sal_True); - - ActivatePage(); - - // set text of finish putton: - m_pFinish->SetText(String(WizardResId(STR_FINISH))); - // disable "finish button" - enableButtons(WZB_FINISH, sal_False); - defaultButton(WZB_NEXT); -} - -void FirstStartWizard::DisableButtonsWhileMigration() -{ - enableButtons(0xff, sal_False); -} - -::svt::RoadmapWizardTypes::PathId FirstStartWizard::defineWizardPagesDependingFromContext() -{ - ::svt::RoadmapWizardTypes::PathId aDefaultPath = 0; - - sal_Bool bPage_Welcome = sal_True; - sal_Bool bPage_License = sal_True; - sal_Bool bPage_Migration = sal_True; - sal_Bool bPage_User = sal_True; - sal_Bool bPage_UpdateCheck = sal_True; - sal_Bool bPage_Registration = sal_True; - - bPage_License = m_bLicenseNeedsAcceptance; - bPage_Migration = Migration::checkMigration(); - bPage_UpdateCheck = showOnlineUpdatePage(); - - WizardPath aPath; - if (bPage_Welcome) - aPath.push_back(STATE_WELCOME); - if (bPage_License) - aPath.push_back(STATE_LICENSE); - if (bPage_Migration) - aPath.push_back(STATE_MIGRATION); - if (bPage_User) - aPath.push_back(STATE_USER); - if (bPage_UpdateCheck) - aPath.push_back(STATE_UPDATE_CHECK); - if (bPage_Registration) - aPath.push_back(STATE_REGISTRATION); - - declarePath(aDefaultPath, aPath); - - // a) If license must be accepted by the user, all direct links - // to wizard tab pages must be disabled. Because such pages - // should be accessible only in case license was accepted ! - // b) But if no license should be shown at all ... - // such direct links can be enabled by default. - sal_Bool bAllowDirectLink = ( ! bPage_License); - - if (bPage_User) - enableState(STATE_USER, bAllowDirectLink); - if (bPage_UpdateCheck) - enableState(STATE_UPDATE_CHECK, bAllowDirectLink); - if (bPage_Migration) - enableState(STATE_MIGRATION, bAllowDirectLink); - if (bPage_Registration) - enableState(STATE_REGISTRATION, bAllowDirectLink); - - return aDefaultPath; -} - -// catch F1 and disable help -long FirstStartWizard::PreNotify( NotifyEvent& rNEvt ) -{ - if( rNEvt.GetType() == EVENT_KEYINPUT ) - { - const KeyCode& rKey = rNEvt.GetKeyEvent()->GetKeyCode(); - if( rKey.GetCode() == KEY_F1 && ! rKey.GetModifier() ) - return sal_True; - } - return RoadmapWizard::PreNotify(rNEvt); -} - - -void FirstStartWizard::enterState(WizardState _nState) -{ - RoadmapWizard::enterState(_nState); - // default state - // all on - enableButtons(0xff, sal_True); - // finish off - enableButtons(WZB_FINISH, sal_False); - // default text - m_pCancel->SetText(m_sCancel); - m_pCancel->SetClickHdl(m_lnkCancel); - m_pNextPage->SetText(m_sNext); - - // default - defaultButton(WZB_NEXT); - - // specialized state - switch (_nState) - { - case STATE_WELCOME: - enableButtons(WZB_PREVIOUS, sal_False); - break; - case STATE_LICENSE: - m_pCancel->SetText(String(WizardResId(STR_LICENSE_DECLINE))); - m_pNextPage->SetText(String(WizardResId(STR_LICENSE_ACCEPT))); - enableButtons(WZB_NEXT, sal_False); - // attach warning dialog to cancel/decline button - m_pCancel->SetClickHdl( LINK(this, FirstStartWizard, DeclineHdl) ); - break; - case STATE_REGISTRATION: - enableButtons(WZB_NEXT, sal_False); - enableButtons(WZB_FINISH, sal_True); - defaultButton(WZB_FINISH); - break; - } - - // focus - -} - -IMPL_LINK( FirstStartWizard, DeclineHdl, PushButton *, EMPTYARG ) -{ - QueryBox aBox(this, WizardResId(QB_ASK_DECLINE)); - sal_Int32 ret = aBox.Execute(); - if ( ret == BUTTON_OK || ret == BUTTON_YES) - { - Close(); - return sal_False; - } - else - return sal_True; -} - - -TabPage* FirstStartWizard::createPage(WizardState _nState) -{ - TabPage *pTabPage = 0; - switch (_nState) - { - case STATE_WELCOME: - pTabPage = new WelcomePage(this, WizardResId(TP_WELCOME), m_bLicenseNeedsAcceptance); - break; - case STATE_LICENSE: - pTabPage = new LicensePage(this, WizardResId(TP_LICENSE), m_aLicensePath); - break; - case STATE_MIGRATION: - pTabPage = new MigrationPage(this, WizardResId(TP_MIGRATION), m_aThrobber); - break; - case STATE_USER: - pTabPage = new UserPage(this, WizardResId(TP_USER)); - break; - case STATE_UPDATE_CHECK: - pTabPage = new UpdateCheckPage(this, WizardResId(TP_UPDATE_CHECK)); - break; - case STATE_REGISTRATION: - pTabPage = new RegistrationPage(this, WizardResId(TP_REGISTRATION)); - break; - } - pTabPage->Show(); - - return pTabPage; -} - -String FirstStartWizard::getStateDisplayName( WizardState _nState ) const -{ - String sName; - switch(_nState) - { - case STATE_WELCOME: - sName = String(WizardResId(STR_STATE_WELCOME)); - break; - case STATE_LICENSE: - sName = String(WizardResId(STR_STATE_LICENSE)); - break; - case STATE_MIGRATION: - sName = String(WizardResId(STR_STATE_MIGRATION)); - break; - case STATE_USER: - sName = String(WizardResId(STR_STATE_USER)); - break; - case STATE_UPDATE_CHECK: - sName = String(WizardResId(STR_STATE_UPDATE_CHECK)); - break; - case STATE_REGISTRATION: - sName = String(WizardResId(STR_STATE_REGISTRATION)); - break; - } - return sName; -} - -sal_Bool FirstStartWizard::prepareLeaveCurrentState( CommitPageReason _eReason ) -{ - // the license acceptance is handled here, because it needs to change the state - // of the roadmap wizard which the page implementation does not know. - if ( - (_eReason == eTravelForward) && - (getCurrentState() == STATE_LICENSE ) && - (m_bLicenseWasAccepted == sal_False ) - ) - { - if (Migration::checkMigration()) - enableState(FirstStartWizard::STATE_MIGRATION, sal_True); - if ( showOnlineUpdatePage() ) - enableState(FirstStartWizard::STATE_UPDATE_CHECK, sal_True); - enableState(FirstStartWizard::STATE_USER, sal_True); - enableState(FirstStartWizard::STATE_REGISTRATION, sal_True); - - storeAcceptDate(); - m_bLicenseWasAccepted = sal_True; - } - - return svt::RoadmapWizard::prepareLeaveCurrentState(_eReason); -} - -sal_Bool FirstStartWizard::leaveState(WizardState) -{ - if (( getCurrentState() == STATE_MIGRATION ) && m_bLicenseWasAccepted ) - { - // Store accept date and patch level now as it has been - // overwritten by the migration process! - storeAcceptDate(); - setPatchLevel(); - } - - return sal_True; -} - -sal_Bool FirstStartWizard::onFinish() -{ - // return sal_True; - if ( svt::RoadmapWizard::onFinish() ) - { - enableQuickstart(); - disableWizard(); - return sal_True; - } - else - return sal_False; -} - -short FirstStartWizard::Execute() -{ - return svt::RoadmapWizard::Execute(); -} - -static OUString _makeDateTimeString (const DateTime& aDateTime, sal_Bool bUTC = sal_False) -{ - OStringBuffer aDateTimeString; - aDateTimeString.append((sal_Int32)aDateTime.GetYear()); - aDateTimeString.append("-"); - if (aDateTime.GetMonth()<10) aDateTimeString.append("0"); - aDateTimeString.append((sal_Int32)aDateTime.GetMonth()); - aDateTimeString.append("-"); - if (aDateTime.GetDay()<10) aDateTimeString.append("0"); - aDateTimeString.append((sal_Int32)aDateTime.GetDay()); - aDateTimeString.append("T"); - if (aDateTime.GetHour()<10) aDateTimeString.append("0"); - aDateTimeString.append((sal_Int32)aDateTime.GetHour()); - aDateTimeString.append(":"); - if (aDateTime.GetMin()<10) aDateTimeString.append("0"); - aDateTimeString.append((sal_Int32)aDateTime.GetMin()); - aDateTimeString.append(":"); - if (aDateTime.GetSec()<10) aDateTimeString.append("0"); - aDateTimeString.append((sal_Int32)aDateTime.GetSec()); - if (bUTC) aDateTimeString.append("Z"); - - return OStringToOUString(aDateTimeString.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US); -} - -static OUString _getCurrentDateString() -{ - OUString aString; - return _makeDateTimeString(DateTime()); -} - - -static const OUString sConfigSrvc( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationProvider" ) ); -static const OUString sAccessSrvc( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationUpdateAccess" ) ); -static const OUString sReadSrvc ( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationAccess" ) ); - -void FirstStartWizard::storeAcceptDate() -{ - - try { - Reference < XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - // get configuration provider - Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >( - xFactory->createInstance(sConfigSrvc), UNO_QUERY_THROW); - Sequence< Any > theArgs(1); - NamedValue v(OUString(RTL_CONSTASCII_USTRINGPARAM("NodePath")), - makeAny(OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Setup/Office")))); - theArgs[0] <<= v; - Reference< XPropertySet > pset = Reference< XPropertySet >( - theConfigProvider->createInstanceWithArguments(sAccessSrvc, theArgs), UNO_QUERY_THROW); - Any result = pset->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("LicenseAcceptDate"))); - - OUString aAcceptDate = _getCurrentDateString(); - pset->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("LicenseAcceptDate")), makeAny(aAcceptDate)); - Reference< XChangesBatch >(pset, UNO_QUERY_THROW)->commitChanges(); - - // since the license is accepted the local user registry can be cleaned if required - cleanOldOfficeRegKeys(); - } catch (const Exception&) - { - } - -} - -void FirstStartWizard::setPatchLevel() -{ - try { - Reference < XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - // get configuration provider - Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >( - xFactory->createInstance(sConfigSrvc), UNO_QUERY_THROW); - Sequence< Any > theArgs(1); - NamedValue v(OUString(RTL_CONSTASCII_USTRINGPARAM("NodePath")), - makeAny(OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Office.Common/Help/Registration")))); - theArgs[0] <<= v; - Reference< XPropertySet > pset = Reference< XPropertySet >( - theConfigProvider->createInstanceWithArguments(sAccessSrvc, theArgs), UNO_QUERY_THROW); - Any result = pset->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("ReminderDate"))); - - OUString aPatchLevel( RTL_CONSTASCII_USTRINGPARAM( "Patch" )); - aPatchLevel += OUString::valueOf( getBuildId(), 10 ); - pset->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("ReminderDate")), makeAny(aPatchLevel)); - Reference< XChangesBatch >(pset, UNO_QUERY_THROW)->commitChanges(); - } catch (const Exception&) - { - } -} - -#ifdef WNT -typedef int ( __stdcall * CleanCurUserRegProc ) ( wchar_t* ); -#endif - -void FirstStartWizard::cleanOldOfficeRegKeys() -{ -#ifdef WNT - // after the wizard is completed clean OOo1.1.x entries in the current user registry if required - // issue i47658 - - OUString aBaseLocationPath; - OUString aSharedLocationPath; - OUString aInstallMode; - - ::utl::Bootstrap::PathStatus aBaseLocateResult = - ::utl::Bootstrap::locateBaseInstallation( aBaseLocationPath ); - ::utl::Bootstrap::PathStatus aSharedLocateResult = - ::utl::Bootstrap::locateSharedData( aSharedLocationPath ); - aInstallMode = ::utl::Bootstrap::getAllUsersValue( ::rtl::OUString() ); - - // TODO: replace the checking for install mode - if ( aBaseLocateResult == ::utl::Bootstrap::PATH_EXISTS && aSharedLocateResult == ::utl::Bootstrap::PATH_EXISTS - && aInstallMode.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "1" ) ) ) ) - { - ::rtl::OUString aDeregCompletePath = - aBaseLocationPath + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/program/regcleanold.dll" ) ); - ::rtl::OUString aExecCompletePath = - aSharedLocationPath + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "/regdeinstall/userdeinst.exe" ) ); - - osl::Module aCleanModule( aDeregCompletePath ); - CleanCurUserRegProc pNativeProc = ( CleanCurUserRegProc )( - aCleanModule.getFunctionSymbol( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CleanCurUserOldSystemRegistry" ) ) ) ); - - if( pNativeProc!=NULL ) - { - ::rtl::OUString aExecCompleteSysPath; - if ( osl::File::getSystemPathFromFileURL( aExecCompletePath, aExecCompleteSysPath ) == FileBase::E_None - && aExecCompleteSysPath.getLength() ) - { - ( *pNativeProc )( (wchar_t*)( aExecCompleteSysPath.getStr() ) ); - } - } - } -#endif -} - -void FirstStartWizard::disableWizard() -{ - - try { - Reference < XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - // get configuration provider - Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >( - xFactory->createInstance(sConfigSrvc), UNO_QUERY_THROW); - Sequence< Any > theArgs(1); - NamedValue v(OUString(RTL_CONSTASCII_USTRINGPARAM("NodePath")), - makeAny(OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.Setup/Office")))); - theArgs[0] <<= v; - Reference< XPropertySet > pset = Reference< XPropertySet >( - theConfigProvider->createInstanceWithArguments(sAccessSrvc, theArgs), UNO_QUERY_THROW); - pset->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("FirstStartWizardCompleted")), makeAny(sal_True)); - Reference< XChangesBatch >(pset, UNO_QUERY_THROW)->commitChanges(); - } catch (const Exception&) - { - } - -} - - -void FirstStartWizard::enableQuickstart() -{ - sal_Bool bQuickstart( sal_True ); - sal_Bool bAutostart( sal_True ); - Sequence< Any > aSeq( 2 ); - aSeq[0] <<= bQuickstart; - aSeq[1] <<= bAutostart; - - Reference < XInitialization > xQuickstart( ::comphelper::getProcessServiceFactory()->createInstance( - OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.office.Quickstart"))),UNO_QUERY ); - if ( xQuickstart.is() ) - xQuickstart->initialize( aSeq ); - -} - -sal_Bool FirstStartWizard::showOnlineUpdatePage() -{ - try { - Reference < XNameReplace > xUpdateAccess; - Reference < XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() ); - - xUpdateAccess = Reference < XNameReplace >( - xFactory->createInstance( UNISTRING( "com.sun.star.setup.UpdateCheckConfig" ) ), UNO_QUERY_THROW ); - - if ( xUpdateAccess.is() ) - { - sal_Bool bAutoUpdChk = sal_False; - Any result = xUpdateAccess->getByName( UNISTRING( "AutoCheckEnabled" ) ); - result >>= bAutoUpdChk; - if ( bAutoUpdChk == sal_False ) - return sal_True; - else - return sal_False; - } - } catch (const Exception&) - { - } - return sal_False; -} - -} diff --git a/desktop/source/migration/wizard.hrc b/desktop/source/migration/wizard.hrc deleted file mode 100755 index 8f35488c58b3..000000000000 --- a/desktop/source/migration/wizard.hrc +++ /dev/null @@ -1,100 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#include "desktop.hrc" -#include "helpid.hrc" - -#define TP_WIDTH 220 -#define TP_HEIGHT 205 - -#define DLG_FIRSTSTART_WIZARD RID_FIRSTSTSTART_START+1 - // FREE -#define TP_WELCOME RID_FIRSTSTSTART_START+3 -#define TP_REGISTRATION RID_FIRSTSTSTART_START+4 -#define TP_MIGRATION RID_FIRSTSTSTART_START+5 -#define TP_USER RID_FIRSTSTSTART_START+6 -#define TP_LICENSE RID_FIRSTSTSTART_START+7 -#define TP_UPDATE_CHECK RID_FIRSTSTSTART_START+8 -#define ERRBOX_REG_NOSYSBROWSER RID_FIRSTSTSTART_START+29 -#define QB_ASK_DECLINE RID_FIRSTSTSTART_START+30 - -// local resIDs - -#define FT_WELCOME_HEADER 1 -#define FT_WELCOME_BODY 2 -#define FT_LICENSE_HEADER 1 -#define FT_LICENSE_BODY_1 2 -#define FT_LICENSE_BODY_1_TXT 3 -#define FT_LICENSE_BODY_2 4 -#define FT_LICENSE_BODY_2_TXT 5 -#define ML_LICENSE 6 -#define PB_LICENSE_DOWN 7 -#define FT_MIGRATION_HEADER 1 -#define FT_MIGRATION_BODY 2 -#define CB_MIGRATION 3 -#define FT_UPDATE_CHECK_HEADER 1 -#define FT_UPDATE_CHECK_BODY 2 -#define CB_UPDATE_CHECK 3 -#define FT_REGISTRATION_HEADER 1 -#define FT_REGISTRATION_BODY 2 -#define FL_REGISTRATION 3 -#define FT_REGISTRATION_END 4 -#define RB_REGISTRATION_NOW 5 -#define RB_REGISTRATION_LATER 6 -#define RB_REGISTRATION_NEVER 7 -#define RB_REGISTRATION_REG 8 -#define IMG_REGISTRATION 9 -#define FT_USER_HEADER 10 -#define FT_USER_BODY 11 -#define FT_USER_FIRST 12 -#define FT_USER_LAST 13 -#define FT_USER_FATHER 14 -#define FT_USER_INITIALS 15 -#define ED_USER_FIRST 16 -#define ED_USER_LAST 17 -#define ED_USER_FATHER 18 -#define ED_USER_INITIALS 19 -#define TR_WAITING 20 -#define CTRL_THROBBER 21 - -// global strings -#define STR_STATE_WELCOME RID_FIRSTSTSTART_START+100 -#define STR_STATE_LICENSE RID_FIRSTSTSTART_START+101 -#define STR_STATE_MIGRATION RID_FIRSTSTSTART_START+102 -#define STR_STATE_REGISTRATION RID_FIRSTSTSTART_START+103 -#define STR_WELCOME_MIGRATION RID_FIRSTSTSTART_START+104 -// FREE RID_FIRSTSTSTART_START+105 -// FREE RID_FIRSTSTSTART_START+106 -#define STR_LICENSE_ACCEPT RID_FIRSTSTSTART_START+107 -#define STR_LICENSE_DECLINE RID_FIRSTSTSTART_START+108 -#define STR_FINISH RID_FIRSTSTSTART_START+109 -#define STR_STATE_USER RID_FIRSTSTSTART_START+110 -// FREE RID_FIRSTSTSTART_START+111 -#define STR_STATE_UPDATE_CHECK RID_FIRSTSTSTART_START+112 -#define STR_WELCOME_WITHOUT_LICENSE RID_FIRSTSTSTART_START+113 -#define STR_REGISTRATION_OOO RID_FIRSTSTSTART_START+114 - diff --git a/desktop/source/migration/wizard.hxx b/desktop/source/migration/wizard.hxx deleted file mode 100644 index 96bd74dcd859..000000000000 --- a/desktop/source/migration/wizard.hxx +++ /dev/null @@ -1,105 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef _WIZARD_HXX_ -#define _WIZARD_HXX_ - -#include <rtl/ustring.hxx> -#include <svtools/roadmapwizard.hxx> -#include <vcl/throbber.hxx> -#include <tools/resid.hxx> - -namespace desktop -{ - -class WizardResId : public ResId -{ -public: - WizardResId( sal_uInt16 nId ); -}; - -class FirstStartWizard : public svt::RoadmapWizard -{ - -public: - static const WizardState STATE_WELCOME; - static const WizardState STATE_LICENSE; - static const WizardState STATE_MIGRATION; - static const WizardState STATE_USER; - static const WizardState STATE_UPDATE_CHECK; - static const WizardState STATE_REGISTRATION; - - static ResMgr* pResMgr; - static ResMgr* GetResManager(); - - FirstStartWizard( Window* pParent, sal_Bool bLicenseNeedsAcceptance, const rtl::OUString &rLicensePath ); - - virtual short Execute(); - virtual long PreNotify( NotifyEvent& rNEvt ); - - void DisableButtonsWhileMigration(); - -private: - sal_Bool m_bOverride; - WizardState _currentState; - ::svt::RoadmapWizardTypes::PathId m_aDefaultPath; - ::svt::RoadmapWizardTypes::PathId m_aMigrationPath; - String m_sNext; - String m_sCancel; - sal_Bool m_bDone; - sal_Bool m_bLicenseNeedsAcceptance; - sal_Bool m_bLicenseWasAccepted; - sal_Bool m_bAutomaticUpdChk; - Link m_lnkCancel; - Throbber m_aThrobber; - - rtl::OUString m_aLicensePath; - - void storeAcceptDate(); - void setPatchLevel(); - void disableWizard(); - void enableQuickstart(); - - DECL_LINK(DeclineHdl, PushButton*); - - void cleanOldOfficeRegKeys(); - sal_Bool showOnlineUpdatePage(); - ::svt::RoadmapWizardTypes::PathId defineWizardPagesDependingFromContext(); - -protected: - // from svt::WizardMachine - virtual TabPage* createPage(WizardState _nState); - virtual sal_Bool prepareLeaveCurrentState( CommitPageReason _eReason ); - virtual sal_Bool leaveState(WizardState _nState ); - virtual sal_Bool onFinish(); - virtual void enterState(WizardState _nState); - - // from svt::RoadmapWizard - virtual String getStateDisplayName( WizardState _nState ) const; -}; -} -#endif diff --git a/desktop/source/migration/wizard.src b/desktop/source/migration/wizard.src deleted file mode 100644 index 78bd3a0e8197..000000000000 --- a/desktop/source/migration/wizard.src +++ /dev/null @@ -1,442 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - - /* - * encoding for resources: windows-1252 - */ - -#include "wizard.hrc" -#include <svtools/controldims.hrc> - -ModalDialog DLG_FIRSTSTART_WIZARD -{ - Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION"; - - OutputSize = TRUE ; - SVLook = TRUE ; - Moveable = TRUE ; - Closeable = TRUE ; - Hide = TRUE; - HelpID = HID_FIRSTSTART_DIALOG; - - FixedImage CTRL_THROBBER - { - Pos = MAP_APPFONT( 5, 210 ); - Size = MAP_APPFONT( 11, 11 ); - Hide = TRUE; - }; -}; - -String STR_STATE_WELCOME -{ - Text [ en-US ] = "Welcome"; -}; -String STR_STATE_LICENSE -{ - Text [ en-US ] = "License Agreement"; -}; -String STR_STATE_MIGRATION -{ - Text [ en-US ] = "Personal Data"; -}; -String STR_STATE_USER -{ - Text [ en-US ] = "User name"; -}; - -String STR_STATE_UPDATE_CHECK -{ - Text [ en-US ] = "Online Update"; -}; - -String STR_STATE_REGISTRATION -{ - Text [ en-US ] = "Registration"; -}; - -String STR_WELCOME_MIGRATION -{ - Text [ en-US ] = "This wizard will guide you through the license agreement, the transfer of user data from %OLD_VERSION and the registration of %PRODUCTNAME.\n\nClick 'Next' to continue."; - -}; - -String STR_WELCOME_WITHOUT_LICENSE -{ - Text [ en-US ] = "This wizard will guide you through the registration of %PRODUCTNAME.\n\nClick 'Next' to continue."; -}; - -String STR_FINISH -{ - Text [ en-US ] = "~Finish"; -}; - -String STR_REGISTRATION_OOO -{ - Text [ en-US ] = "You now have the opportunity to support and contribute to the fastest growing open source community in the world.\n\nHelp us prove that %PRODUCTNAME has already gained significant market share by registering.\n\nRegistering is voluntary and without obligation."; -}; - -ErrorBox ERRBOX_REG_NOSYSBROWSER -{ - BUTTONS = WB_OK ; - DEFBUTTON = WB_DEF_OK ; - - Message [ en-US ] = "An error occurred in starting the web browser.\nPlease check the %PRODUCTNAME and web browser settings."; -}; - -QueryBox QB_ASK_DECLINE -{ - Buttons = WB_YES_NO; - DefButton = WB_DEF_NO; - - Message [ en-US ] = "Do you really want to decline?"; -}; - - -#define ROWHEIGHT 8 -#define MARGINLEFT 10 -#define MARGINRIGHT 10 -#define BODYWIDTH TP_WIDTH-MARGINLEFT-MARGINRIGHT -#define MARGINTOP 10 -#define MARGINBOTTOM 2 -#define BODYHEIGHT TP_HEIGHT-MARGINTOP-MARGINBOTTOM -#define INDENT 10 -#define INDENT2 12 - -TabPage TP_WELCOME -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_WELCOME; - // bold fixedtext for header - FixedText FT_WELCOME_HEADER - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINRIGHT, MARGINTOP); - Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT ); - Text [ en-US ] = "Welcome to %PRODUCTNAME %PRODUCTVERSION"; - }; - FixedText FT_WELCOME_BODY - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 2*ROWHEIGHT); - Size = MAP_APPFONT( BODYWIDTH, BODYHEIGHT-MARGINTOP - 2*ROWHEIGHT ); - WordBreak = TRUE; - Text [ en-US ] = "This wizard will guide you through the license agreement and the registration of %PRODUCTNAME.\n\nClick 'Next' to continue."; - }; -}; - -TabPage TP_LICENSE -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_LICENSE; - FixedText FT_LICENSE_HEADER - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP); - Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT ); - NoLabel = TRUE; - Text [ en-US ] = "Please follow these steps to accept the license"; - }; - FixedText FT_LICENSE_BODY_1 - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 2*ROWHEIGHT); - Size = MAP_APPFONT( INDENT, ROWHEIGHT ); - NoLabel = TRUE; - Text [ en-US ] = "1."; - }; - FixedText FT_LICENSE_BODY_1_TXT - { - Pos = MAP_APPFONT(MARGINLEFT+INDENT, MARGINTOP +2*ROWHEIGHT); - Size = MAP_APPFONT( BODYWIDTH-INDENT, 3*ROWHEIGHT); - WordBreak = TRUE; - NoLabel = TRUE; - Text [ en-US ] = "View the complete License Agreement. Please use the scrollbar or the '%PAGEDOWN' button in this dialog to view the entire license text."; - }; - FixedText FT_LICENSE_BODY_2 - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP + 5*ROWHEIGHT); - Size = MAP_APPFONT(INDENT, ROWHEIGHT ); - NoLabel = TRUE; - Text [ en-US ] = "2."; - }; - FixedText FT_LICENSE_BODY_2_TXT - { - Pos = MAP_APPFONT(MARGINLEFT+INDENT, MARGINTOP + 5*ROWHEIGHT); - Size = MAP_APPFONT( BODYWIDTH-INDENT, 2*ROWHEIGHT); - WordBreak = TRUE; - NoLabel = TRUE; - Text [ en-US ] = "Click 'Accept' to accept the terms of the Agreement."; - }; - MultiLineEdit ML_LICENSE - { - HelpID = "desktop:MultiLineEdit:TP_LICENSE:ML_LICENSE"; - PosSize = MAP_APPFONT (MARGINLEFT+INDENT, MARGINTOP + 8*ROWHEIGHT, BODYWIDTH-INDENT , BODYHEIGHT - 8*ROWHEIGHT - 20-2*MARGINBOTTOM) ; - Border = TRUE; - VScroll = TRUE; - ReadOnly = TRUE; - }; - PushButton PB_LICENSE_DOWN - { - HelpID = "desktop:PushButton:TP_LICENSE:PB_LICENSE_DOWN"; - TabStop = TRUE ; - Pos = MAP_APPFONT ( TP_WIDTH-MARGINRIGHT-50 , TP_HEIGHT-MARGINBOTTOM-18 ) ; - Size = MAP_APPFONT ( 50, 15 ) ; - Text [ en-US ] = "Scroll Do~wn"; - }; -}; - -String STR_LICENSE_ACCEPT -{ - Text [ en-US ] = "~Accept"; -}; -String STR_LICENSE_DECLINE -{ - Text [ en-US ] = "~Decline"; -}; - - -TabPage TP_MIGRATION -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_MIGRATION; - - FixedText FT_MIGRATION_HEADER - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP); - Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT ); - Text [ en-US ] = "Transfer personal data"; - - }; - - FixedText FT_MIGRATION_BODY - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8); - WordBreak = TRUE; - Text [ en-US ] = "Most personal data from %OLDPRODUCT installation can be reused in %PRODUCTNAME %PRODUCTVERSION.\n\nIf you do not want to reuse any settings in %PRODUCTNAME %PRODUCTVERSION, unmark the check box."; - - }; - - CheckBox CB_MIGRATION - { - HelpID = "desktop:CheckBox:TP_MIGRATION:CB_MIGRATION"; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*10); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*2); - Check = TRUE; - Text [ en-US ] = "Transfer personal data"; - }; -}; - -TabPage TP_UPDATE_CHECK -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_UPDATE_CHECK; - - FixedText FT_UPDATE_CHECK_HEADER - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP); - Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT ); - Text [ en-US ] = "Online Update"; - - }; - - FixedText FT_UPDATE_CHECK_BODY - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8); - WordBreak = TRUE; - Text [ en-US ] = "%PRODUCTNAME searches automatically at regular intervals for new versions.\nIn doing so online update does not transfer personal data.\nAs soon as a new version is available, you will be notified.\n\nYou can configure this feature at Tools / Options... / %PRODUCTNAME / Online Update."; - - }; - - CheckBox CB_UPDATE_CHECK - { - HelpID = "desktop:CheckBox:TP_UPDATE_CHECK:CB_UPDATE_CHECK"; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*10); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*2); - Check = TRUE; - Text [ en-US ] = "~Check for updates automatically"; - }; -}; - -#define USERINDENT 40 -#define EDHEIGHT 12 -#define INITIALSWIDTH 50 -#define FTADD 2 - -TabPage TP_USER -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_USER; - - FixedText FT_USER_HEADER - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP); - Size = MAP_APPFONT( BODYWIDTH, ROWHEIGHT ); - Text [ en-US ] = "Provide your full name and initials below"; - - }; - - FixedText FT_USER_BODY - { - NoLabel = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*3); - WordBreak = TRUE; - Text [ en-US ] = "The user name will be used in the document properties, templates and when you record changes made to documents."; - }; - - - FixedText FT_USER_FIRST - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*7+FTADD); - Size = MAP_APPFONT(USERINDENT, ROWHEIGHT); - Text [ en-US ] = "~First name"; - }; - Edit ED_USER_FIRST - { - HelpID = "desktop:Edit:TP_USER:ED_USER_FIRST"; - Border = TRUE; - Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*7); - Size = MAP_APPFONT(BODYWIDTH-USERINDENT, EDHEIGHT); - }; - FixedText FT_USER_LAST - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*9+FTADD); - Size = MAP_APPFONT(USERINDENT, ROWHEIGHT); - Text [ en-US ] = "~Last name"; - }; - Edit ED_USER_LAST - { - HelpID = "desktop:Edit:TP_USER:ED_USER_LAST"; - Border = TRUE; - Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*9); - Size = MAP_APPFONT(BODYWIDTH-USERINDENT, EDHEIGHT); - }; - FixedText FT_USER_INITIALS - { - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*11+FTADD); - Size = MAP_APPFONT(USERINDENT, ROWHEIGHT); - Text [ en-US ] = "~Initials"; - }; - Edit ED_USER_INITIALS - { - HelpID = "desktop:Edit:TP_USER:ED_USER_INITIALS"; - Border = TRUE; - Pos = MAP_APPFONT(MARGINLEFT+USERINDENT, MARGINTOP+ROWHEIGHT*11); - Size = MAP_APPFONT(INITIALSWIDTH, EDHEIGHT); - }; - - FixedText FT_USER_FATHER - { - Hide = TRUE; - Pos = MAP_APPFONT(MARGINLEFT+USERINDENT+INITIALSWIDTH+10, MARGINTOP+ROWHEIGHT*11+FTADD); - Size = MAP_APPFONT(USERINDENT, ROWHEIGHT); - Text [ en-US ] = "~Father's name"; - }; - Edit ED_USER_FATHER - { - HelpID = "desktop:Edit:TP_USER:ED_USER_FATHER"; - Border = TRUE; - Hide = TRUE; - Pos = MAP_APPFONT(MARGINLEFT+USERINDENT*2+INITIALSWIDTH+10, MARGINTOP+ROWHEIGHT*11); - Size = MAP_APPFONT(BODYWIDTH-10-USERINDENT*2-INITIALSWIDTH, EDHEIGHT); - }; -}; - -#define RB_HEIGHT (RSC_CD_CHECKBOX_HEIGHT+RSC_SP_GRP_SPACE_Y) - -TabPage TP_REGISTRATION -{ - SVLook = TRUE ; - Hide = TRUE ; - Size = MAP_APPFONT(TP_WIDTH, TP_HEIGHT); - HelpID = HID_FIRSTSTART_REGISTRATION; - FixedText FT_REGISTRATION_HEADER - { - NoLabel = TRUE; - Text [ en-US ] = "%PRODUCTNAME Registration"; - Pos = MAP_APPFONT(MARGINLEFT, MARGINRIGHT); - Size = MAP_APPFONT(BODYWIDTH, MARGINRIGHT); - }; - FixedText FT_REGISTRATION_BODY - { - NoLabel = TRUE; - Text [ en-US ] = "You now have the opportunity to register as a %PRODUCTNAME user. Registration is voluntary and is without obligation.\n\nIf you register, we can inform you about new developments concerning this product."; - WordBreak = TRUE; - Pos = MAP_APPFONT(MARGINLEFT, MARGINTOP+ROWHEIGHT*2); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*8); - }; - RadioButton RB_REGISTRATION_NOW - { - HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_NOW"; - Text [ en-US ] = "I want to register ~now"; - Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2); - Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT); - Check = TRUE; - }; - RadioButton RB_REGISTRATION_LATER - { - HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_LATER"; - Text [ en-US ] = "I want to register ~later"; - Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2+RB_HEIGHT); - Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT); - }; - RadioButton RB_REGISTRATION_NEVER - { - HelpID = "desktop:RadioButton:TP_REGISTRATION:RB_REGISTRATION_NEVER"; - Text [ en-US ] = "I do not want to ~register"; - Pos = MAP_APPFONT(MARGINLEFT+INDENT2, ROWHEIGHT*12+2+RB_HEIGHT*2); - Size = MAP_APPFONT(BODYWIDTH-INDENT2, RSC_CD_CHECKBOX_HEIGHT); - }; - FixedLine FL_REGISTRATION - { - Pos = MAP_APPFONT(MARGINLEFT, TP_HEIGHT-MARGINBOTTOM-ROWHEIGHT*6); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT); - }; - FixedText FT_REGISTRATION_END - { - NoLabel = TRUE; - Text [ en-US ] = "We hope you enjoy working with %PRODUCTNAME.\n\nTo exit the wizard, click 'Finish'."; - Pos = MAP_APPFONT(MARGINLEFT, TP_HEIGHT-MARGINBOTTOM-ROWHEIGHT*4); - Size = MAP_APPFONT(BODYWIDTH, ROWHEIGHT*4); - }; -}; - diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index 5d7561b628e6..dc40670e9535 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -297,11 +297,6 @@ extern "C" { using namespace desktop; -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char **ppEnvironmentTypeName, uno_Environment **) -{ - *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_Char *pImplementationName, void *pServiceManager, void *) { void* pReturn = NULL ; diff --git a/desktop/source/registration/com/sun/star/registration/Registration.java b/desktop/source/registration/com/sun/star/registration/Registration.java deleted file mode 100755 index 4da6199c621c..000000000000 --- a/desktop/source/registration/com/sun/star/registration/Registration.java +++ /dev/null @@ -1,334 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ -package com.sun.star.registration; - -import com.sun.star.beans.NamedValue; -import com.sun.star.comp.loader.FactoryHelper; -import com.sun.star.frame.DispatchResultEvent; -import com.sun.star.frame.DispatchResultState; -import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.lang.XMultiComponentFactory; -import com.sun.star.lang.XSingleServiceFactory; -import com.sun.star.registry.*; -import com.sun.star.servicetag.*; -import com.sun.star.system.*; -import com.sun.star.task.*; -import com.sun.star.uno.*; -import com.sun.star.uri.XExternalUriReferenceTranslator; -import com.sun.star.util.XStringSubstitution; - -import java.io.*; -import java.net.URI; -import java.net.URL; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.Locale; -import java.util.Set; -import java.net.HttpURLConnection; - -public class Registration { - - public static XSingleServiceFactory __getServiceFactory(String implName, - XMultiServiceFactory multiFactory, XRegistryKey regKey) { - XSingleServiceFactory xSingleServiceFactory = null; - - if (implName.equals(Registration.class.getName())) { - xSingleServiceFactory = FactoryHelper.getServiceFactory(_Registration.class, _serviceName, multiFactory, regKey); - } - - return xSingleServiceFactory; - } - - static final String _serviceName = "com.sun.star.comp.framework.DoRegistrationJob"; - - static public class _Registration implements XJob { - XComponentContext xComponentContext; - - XStringSubstitution xPathSubstService = null; - XExternalUriReferenceTranslator xUriTranslator = null; - - RegistrationData theRegistrationData = null; - - public _Registration(XComponentContext xComponentContext) { - this.xComponentContext = xComponentContext; - } - - private String resolvePath(String path) { - try { - if( xPathSubstService == null || xUriTranslator == null ) { - XMultiComponentFactory theServiceManager = xComponentContext.getServiceManager(); - if( xPathSubstService == null ) { - Object o = theServiceManager.createInstanceWithContext( - "com.sun.star.util.PathSubstitution", - xComponentContext ); - xPathSubstService = (XStringSubstitution) - UnoRuntime.queryInterface(XStringSubstitution.class, o); - } - - if( xUriTranslator == null ) { - Object o = theServiceManager.createInstanceWithContext( - "com.sun.star.uri.ExternalUriReferenceTranslator", - xComponentContext ); - xUriTranslator = (XExternalUriReferenceTranslator) - UnoRuntime.queryInterface(XExternalUriReferenceTranslator.class, o); - } - } - - String s = xPathSubstService.substituteVariables(path, true); - return xUriTranslator.translateToExternal(s); - } catch (java.lang.Exception e) { - return path; - } - } - - private void openBrowser(String url) { - try { - XMultiComponentFactory theServiceManager = xComponentContext.getServiceManager(); - - Object o = theServiceManager.createInstanceWithContext( - "com.sun.star.system.SystemShellExecute", - xComponentContext ); - - XSystemShellExecute xShellExecuteService = (XSystemShellExecute) - UnoRuntime.queryInterface(XSystemShellExecute.class, o); - - xShellExecuteService.execute( url, "", SystemShellExecuteFlags.DEFAULTS ); - } catch (java.lang.Exception e) { - } - } - - private ServiceTag getServiceTagFromRegistrationData(File xmlFile, String productURN) { - try { - RegistrationData storedRegData = RegistrationData.loadFromXML(new FileInputStream(xmlFile)); - Set<ServiceTag> storedServiceTags = storedRegData.getServiceTags(); - - Iterator<ServiceTag> tagIterator = storedServiceTags.iterator(); - while( tagIterator.hasNext() ) { - ServiceTag tag = tagIterator.next(); - if( tag.getProductURN().equals(productURN) ) { - theRegistrationData = storedRegData; - return tag; - } - } - - // product URN has changed, remove registration data file - xmlFile.delete(); - } catch (IOException e) { - // fall through intentionally - } catch (IllegalArgumentException e) { - // file is damaged (or a name clash appeared) - xmlFile.delete(); - } - return null; - } - - /* - * XJob - * - * NOTE: as this Job hets triggered by the the JobExecutor service from first start - * wizard and registration reminder code (because their frames do not implement - * XDispatchProvider), making this an XAsyncJob doesn't make sense as the - * JobExecutor waits for the jobFinished call on the listener passed. - */ - public Object execute(NamedValue[] args) - throws com.sun.star.lang.IllegalArgumentException, com.sun.star.uno.Exception { - - final NamedValue[] f_args = args; - - new Thread( - new Runnable () { - public void run() { - try { - executeImpl(f_args); - } catch(com.sun.star.uno.Exception e) { - } - } - } - ).start(); - - NamedValue ret[] = new NamedValue[1]; - ret[0] = new NamedValue( "Deactivate", new Boolean(false) ); - return ret; - } - - public synchronized void executeImpl(NamedValue[] args) - throws com.sun.star.lang.IllegalArgumentException, com.sun.star.uno.Exception { - - // extract the interesting part of the argument list - NamedValue[] theJobConfig = null; - NamedValue[] theEnvironment = null; - - int c = args.length; - for (int i=0; i<c; ++i) { - if (args[i].Name.equals("JobConfig")) - theJobConfig = (NamedValue[]) AnyConverter.toArray(args[i].Value); - else if (args[i].Name.equals("Environment")) - theEnvironment = (NamedValue[]) AnyConverter.toArray(args[i].Value); - } - - if (theEnvironment==null) - throw new com.sun.star.lang.IllegalArgumentException("no environment"); - - boolean saveConfig = false; - - String productName = ""; - String productVersion = ""; - String productURN = ""; - String productParent = ""; - String productParentURN = ""; - String productDefinedInstanceID = ""; - String productSource = ""; - String vendor = ""; - - String urlRegData = null; - String registrationURL = null; - - c = theJobConfig.length; - for (int i=0; i<c; ++i) { - if( theJobConfig[i].Name.equals("ProductName") ) { - productName = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("ProductVersion") ) { - productVersion = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("ProductURN") ) { - productURN = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("ProductParent") ) { - productParent = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("ProductParentURN") ) { - productParentURN = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("ProductSource") ) { - productSource = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("Vendor") ) { - vendor = AnyConverter.toString(theJobConfig[i].Value); - } else if( theJobConfig[i].Name.equals("RegistrationData") ) { - urlRegData = resolvePath(AnyConverter.toString(theJobConfig[i].Value)); - } else if( theJobConfig[i].Name.equals("RegistrationURL") ) { - registrationURL = AnyConverter.toString(theJobConfig[i].Value); - } else { - System.err.println( theJobConfig[i].Name + " = " + AnyConverter.toString(theJobConfig[i].Value) ); - } - } - - if (registrationURL==null) - throw new com.sun.star.lang.IllegalArgumentException("no registration url"); - - boolean local_only = false; - - c = theEnvironment.length; - for (int i=0; i<c; ++i) { - if( theEnvironment[i].Name.equals("EventName") ) { - if( ! AnyConverter.toString(theEnvironment[i].Value).equals("onRegisterNow") ) { - local_only = true; - } - } - } - - try { - - /* ensure only one thread accesses/writes registration.xml at a time - * regardless how many instances of this Job exist. - */ - synchronized( _serviceName ) { - - File xmlRegData = new File( new URI( urlRegData ) ); - - ServiceTag tag = getServiceTagFromRegistrationData(xmlRegData, productURN); - if( tag == null ) { - tag = ServiceTag.newInstance( - ServiceTag.generateInstanceURN(), - productName, - productVersion, - productURN, - productParent, - productParentURN, - productDefinedInstanceID, - vendor, - System.getProperty("os.arch"), - Installer.getZoneName(), - productSource); - - theRegistrationData = new RegistrationData(); - theRegistrationData.addServiceTag(tag); - theRegistrationData.storeToXML( new FileOutputStream( xmlRegData ) ); - } - - // Store the service tag in local registry, which might have been installed later - if( Registry.isSupported() ) { - // ignore communication failures with local service tag client - try { - if( Registry.getSystemRegistry().getServiceTag(tag.getInstanceURN()) == null ) { - Registry.getSystemRegistry().addServiceTag(tag); - } - } catch( java.io.IOException e) { - e.printStackTrace(); - } catch (java.lang.RuntimeException e) { - e.printStackTrace(); - } - } - } - - if( ! local_only ) { - registrationURL = registrationURL.replaceAll("\\$\\{registry_urn\\}", theRegistrationData.getRegistrationURN()); - registrationURL = registrationURL.replaceAll("\\$\\{locale\\}", Locale.getDefault().getLanguage()); - - HttpURLConnection con = (HttpURLConnection) new URL(registrationURL).openConnection(); - con.setDoInput(true); - con.setDoOutput(true); - con.setUseCaches(false); - con.setAllowUserInteraction(false); - con.setRequestMethod("POST"); - - con.setRequestProperty("Content-Type", "text/xml;charset=\"utf-8\""); - try { - con.connect(); - - OutputStream out = con.getOutputStream(); - theRegistrationData.storeToXML(out); - out.flush(); - out.close(); - - int returnCode = con.getResponseCode(); - } catch(java.lang.Exception e) { - // IOException and UnknownHostException - } - openBrowser(registrationURL); - } - } catch (java.net.MalformedURLException e) { - e.printStackTrace(); - throw new com.sun.star.lang.IllegalArgumentException( e.toString() ); - } catch (java.net.URISyntaxException e) { - e.printStackTrace(); - throw new com.sun.star.lang.IllegalArgumentException( e.toString() ); - } catch (java.io.IOException e) { - e.printStackTrace(); - throw new com.sun.star.uno.RuntimeException( e.toString() ); - } catch (java.lang.RuntimeException e) { - e.printStackTrace(); - throw new com.sun.star.uno.RuntimeException( e.toString() ); - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/registration/makefile.mk b/desktop/source/registration/com/sun/star/registration/makefile.mk deleted file mode 100755 index 859802256256..000000000000 --- a/desktop/source/registration/com/sun/star/registration/makefile.mk +++ /dev/null @@ -1,62 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJNAME = setup_native -PRJ = ..$/..$/..$/..$/..$/.. -TARGET = productregistration -PACKAGE = com$/sun$/star$/registration - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -.IF "$(ENABLE_SVCTAGS)" == "YES" - -JARFILES = jurt.jar unoil.jar ridl.jar -JAVAFILES = \ - Registration.java - -JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class) - -JARTARGET = $(TARGET).jar -JARCOMPRESS = TRUE -JARCLASSDIRS = $(PACKAGE) com$/sun$/star$/servicetag -CUSTOMMANIFESTFILE = manifest -.ENDIF # "$(ENABLE_SVCTAGS)" == "YES" - -# --- Targets ------------------------------------------------------ - - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/productregistration.jar.component - -$(MISC)/productregistration.jar.component .ERRREMOVE : \ - $(SOLARENV)/bin/createcomponent.xslt productregistration.jar.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_JAVA)productregistration.jar' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt productregistration.jar.component diff --git a/desktop/source/registration/com/sun/star/registration/manifest b/desktop/source/registration/com/sun/star/registration/manifest deleted file mode 100755 index 952aaa804e96..000000000000 --- a/desktop/source/registration/com/sun/star/registration/manifest +++ /dev/null @@ -1,2 +0,0 @@ -RegistrationClassName: com.sun.star.registration.Registration -UNO-Type-Path: diff --git a/desktop/source/registration/com/sun/star/registration/productregistration.jar.component b/desktop/source/registration/com/sun/star/registration/productregistration.jar.component deleted file mode 100755 index c022a98ae010..000000000000 --- a/desktop/source/registration/com/sun/star/registration/productregistration.jar.component +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!--********************************************************************** -* -* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -* -* Copyright 2000, 2010 Oracle and/or its affiliates. -* -* OpenOffice.org - a multi-platform office productivity suite -* -* This file is part of OpenOffice.org. -* -* OpenOffice.org is free software: you can redistribute it and/or modify -* it under the terms of the GNU Lesser General Public License version 3 -* only, as published by the Free Software Foundation. -* -* OpenOffice.org is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser General Public License version 3 for more details -* (a copy is included in the LICENSE file that accompanied this code). -* -* You should have received a copy of the GNU Lesser General Public License -* version 3 along with OpenOffice.org. If not, see -* <http://www.openoffice.org/license.html> -* for a copy of the LGPLv3 License. -* -**********************************************************************--> - -<component loader="com.sun.star.loader.Java2" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.registration.Registration"> - <service name="com.sun.star.comp.framework.DoRegistrationJob"/> - </implementation> -</component> diff --git a/desktop/source/registration/com/sun/star/servicetag/BrowserSupport.java b/desktop/source/registration/com/sun/star/servicetag/BrowserSupport.java deleted file mode 100755 index 87d83d5339ac..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/BrowserSupport.java +++ /dev/null @@ -1,201 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.lang.reflect.InvocationTargetException; -import java.io.IOException; -import java.net.URI; - -/** - * BrowserSupport class. - * - * The implementation of the com.sun.servicetag API needs to be - * compiled with JDK 5 as well since the consumer of this API - * may require to support JDK 5 (e.g. NetBeans). - * - * The Desktop.browse() method can be backported in this class - * if needed. The current implementation only supports JDK 6. - */ -class BrowserSupport { - private static boolean isBrowseSupported = false; - private static Method browseMethod = null; - private static Object desktop = null; - private static volatile Boolean result = false; - - - private static void initX() { - if (desktop != null) { - return; - } - boolean supported = false; - Method browseM = null; - Object desktopObj = null; - try { - // Determine if java.awt.Desktop is supported - Class desktopCls = Class.forName("java.awt.Desktop", true, null); - Method getDesktopM = desktopCls.getMethod("getDesktop"); - browseM = desktopCls.getMethod("browse", URI.class); - - Class actionCls = Class.forName("java.awt.Desktop$Action", true, null); - final Method isDesktopSupportedMethod = desktopCls.getMethod("isDesktopSupported"); - Method isSupportedMethod = desktopCls.getMethod("isSupported", actionCls); - Field browseField = actionCls.getField("BROWSE"); - // isDesktopSupported calls getDefaultToolkit which can block - // infinitely, see 6636099 for details, to workaround we call - // in a thread and time it out, noting that the issue is specific - // to X11, it does not hurt for Windows. - Thread xthread = new Thread() { - public void run() { - try { - // support only if Desktop.isDesktopSupported() and - // Desktop.isSupported(Desktop.Action.BROWSE) return true. - result = (Boolean) isDesktopSupportedMethod.invoke(null); - } catch (IllegalAccessException e) { - // should never reach here - InternalError x = - new InternalError("Desktop.getDesktop() method not found"); - x.initCause(e); - } catch (InvocationTargetException e) { - // browser not supported - if (Util.isVerbose()) { - e.printStackTrace(); - } - } - } - }; - // set it to daemon, so that the vm will exit. - xthread.setDaemon(true); - xthread.start(); - try { - xthread.join(5 * 1000); - } catch (InterruptedException ie) { - // ignore the exception - } - if (result.booleanValue()) { - desktopObj = getDesktopM.invoke(null); - result = (Boolean) isSupportedMethod.invoke(desktopObj, browseField.get(null)); - supported = result.booleanValue(); - } - } catch (ClassNotFoundException e) { - // browser not supported - if (Util.isVerbose()) { - e.printStackTrace(); - } - } catch (NoSuchMethodException e) { - // browser not supported - if (Util.isVerbose()) { - e.printStackTrace(); - } - } catch (NoSuchFieldException e) { - // browser not supported - if (Util.isVerbose()) { - e.printStackTrace(); - } - } catch (IllegalAccessException e) { - // should never reach here - InternalError x = - new InternalError("Desktop.getDesktop() method not found"); - x.initCause(e); - throw x; - } catch (InvocationTargetException e) { - // browser not supported - if (Util.isVerbose()) { - e.printStackTrace(); - } - } - isBrowseSupported = supported; - browseMethod = browseM; - desktop = desktopObj; - } - - static boolean isSupported() { - initX(); - return isBrowseSupported; - } - - /** - * Launches the default browser to display a {@code URI}. - * If the default browser is not able to handle the specified - * {@code URI}, the application registered for handling - * {@code URIs} of the specified type is invoked. The application - * is determined from the protocol and path of the {@code URI}, as - * defined by the {@code URI} class. - * <p> - * This method calls the Desktop.getDesktop().browse() method. - * <p> - * @param uri the URI to be displayed in the user default browser - * - * @throws NullPointerException if {@code uri} is {@code null} - * @throws UnsupportedOperationException if the current platform - * does not support the {@link Desktop.Action#BROWSE} action - * @throws IOException if the user default browser is not found, - * or it fails to be launched, or the default handler application - * failed to be launched - * @throws IllegalArgumentException if the necessary permissions - * are not available and the URI can not be converted to a {@code URL} - */ - static void browse(URI uri) throws IOException { - if (uri == null) { - throw new NullPointerException("null uri"); - } - if (!isSupported()) { - throw new UnsupportedOperationException("Browse operation is not supported"); - } - - // Call Desktop.browse() method - try { - if (Util.isVerbose()) { - System.out.println("desktop: " + desktop + ":browsing..." + uri); - } - browseMethod.invoke(desktop, uri); - } catch (IllegalAccessException e) { - // should never reach here - InternalError x = - new InternalError("Desktop.getDesktop() method not found"); - x.initCause(e); - throw x; - } catch (InvocationTargetException e) { - Throwable x = e.getCause(); - if (x != null) { - if (x instanceof UnsupportedOperationException) { - throw (UnsupportedOperationException) x; - } else if (x instanceof IllegalArgumentException) { - throw (IllegalArgumentException) x; - } else if (x instanceof IOException) { - throw (IOException) x; - } else if (x instanceof SecurityException) { - throw (SecurityException) x; - } else { - // ignore - } - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/Installer.java b/desktop/source/registration/com/sun/star/servicetag/Installer.java deleted file mode 100755 index ba1b5c4b86d5..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/Installer.java +++ /dev/null @@ -1,943 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.*; -import java.util.HashSet; -import java.util.Locale; -import java.util.Properties; -import java.util.Set; -import java.util.List; -import java.util.ArrayList; -import static com.sun.star.servicetag.Util.*; - -/** - * Service Tag Installer for Java SE. - */ -public class Installer { - // System properties for testing - private static String SVCTAG_DIR_PATH = - "servicetag.dir.path"; - private static String SVCTAG_ENABLE_REGISTRATION = - "servicetag.registration.enabled"; - private final static String SUN_VENDOR = "Sun Microsystems"; - private final static String REGISTRATION_XML = "registration.xml"; - private final static String SERVICE_TAG_FILE = "servicetag"; - private final static String REGISTRATION_HTML_NAME = "register"; - - private final static Locale[] knownSupportedLocales = - new Locale[] { Locale.ENGLISH, - Locale.JAPANESE, - Locale.SIMPLIFIED_CHINESE}; - - private final static String javaHome = System.getProperty("java.home"); - private static File svcTagDir; - private static File serviceTagFile; - private static File regXmlFile; - private static RegistrationData registration; - private static boolean supportRegistration; - private static String registerHtmlParent; - private static Set<Locale> supportedLocales = new HashSet<Locale>(); - private static Properties swordfishProps = null; - private static String[] jreArchs = null; - static { - String dir = System.getProperty(SVCTAG_DIR_PATH); - if (dir == null) { - svcTagDir = new File(getJrePath(), "lib" + File.separator + SERVICE_TAG_FILE); - } else { - svcTagDir = new File(dir); - } - serviceTagFile = new File(svcTagDir, SERVICE_TAG_FILE); - regXmlFile = new File(svcTagDir, REGISTRATION_XML); - if (System.getProperty(SVCTAG_ENABLE_REGISTRATION) == null) { - supportRegistration = isJdk(); - } else { - supportRegistration = true; - } - } - - private Installer() { - } - - // Implementation of ServiceTag.getJavaServiceTag(String) method - static ServiceTag getJavaServiceTag(String source) throws IOException { - if (!System.getProperty("java.vendor").startsWith(SUN_VENDOR)) { - // Products bundling this implementation may run on - // Mac OS which is not a Sun JDK - return null; - } - boolean cleanup = false; - try { - // Check if we have the swordfish entries for this JRE version - if (loadSwordfishEntries() == null) { - return null; - } - - ServiceTag st = getJavaServiceTag(); - // Check if the service tag created by this bundle owner - if (st != null && st.getSource().equals(source)) { - // Install the system service tag if supported - // stclient may be installed after the service tag creation - if (Registry.isSupported()) { - installSystemServiceTag(); - } - return st; - } - - // in case any exception thrown during the cleanup - cleanup = true; - - // re-create a new one for this bundle owner - // first delete the registration data - deleteRegistrationData(); - cleanup = false; - - // create service tag and generate new register.html pages - return createServiceTag(source); - } finally { - if (cleanup) { - if (regXmlFile.exists()) { - regXmlFile.delete(); - } - if (serviceTagFile.exists()) { - serviceTagFile.delete(); - } - } - } - } - - /** - * Returns the Java SE registration data located in - * the <JRE>/lib/servicetag/registration.xml by default. - * - * @throws IllegalArgumentException if the registration data - * is of invalid format. - */ - private static synchronized RegistrationData getRegistrationData() - throws IOException { - if (registration != null) { - return registration; - } - if (regXmlFile.exists()) { - BufferedInputStream in = null; - try { - in = new BufferedInputStream(new FileInputStream(regXmlFile)); - registration = RegistrationData.loadFromXML(in); - } catch (IllegalArgumentException ex) { - System.err.println("Error: Bad registration data \"" + - regXmlFile + "\":" + ex.getMessage()); - throw ex; - } finally { - if (in != null) { - in.close(); - } - } - } else { - registration = new RegistrationData(); - } - return registration; - } - - /** - * Write the registration data to the registration.xml file. - * - * The offline registration page has to be regenerated with - * the new registration data. - * - * @throws java.io.IOException - */ - private static synchronized void writeRegistrationXml() - throws IOException { - if (!svcTagDir.exists()) { - // This check is for NetBeans or other products that - // bundles this com.sun.servicetag implementation for - // pre-6u5 release. - if (!svcTagDir.mkdir()) { - throw new IOException("Failed to create directory: " + svcTagDir); - } - } - - // regenerate the new offline registration page - deleteRegistrationHtmlPage(); - getRegistrationHtmlPage(); - - BufferedOutputStream out = null; - try { - out = new BufferedOutputStream(new FileOutputStream(regXmlFile)); - getRegistrationData().storeToXML(out); - } catch (IllegalArgumentException ex) { - System.err.println("Error: Bad registration data \"" + - regXmlFile + "\":" + ex.getMessage()); - throw ex; - } finally { - if (out != null) { - out.close(); - } - } - } - - /** - * Returns the instance urn(s) stored in the servicetag file - * or empty set if file not exists. - */ - private static Set<String> getInstalledURNs() throws IOException { - Set<String> urnSet = new HashSet<String>(); - if (serviceTagFile.exists()) { - BufferedReader in = null; - try { - in = new BufferedReader(new FileReader(serviceTagFile)); - String urn; - while ((urn = in.readLine()) != null) { - urn = urn.trim(); - if (urn.length() > 0) { - urnSet.add(urn); - } - } - } finally { - if (in != null) { - in.close(); - } - } - } - return urnSet; - } - - /** - * Return the Java SE service tag(s) if it exists. - * Typically only one Java SE service tag but it could have two for - * Solaris 32-bit and 64-bit on the same install directory. - * - * @return the service tag(s) for Java SE - */ - private static ServiceTag[] getJavaServiceTagArray() throws IOException { - RegistrationData regData = getRegistrationData(); - Set<ServiceTag> svcTags = regData.getServiceTags(); - Set<ServiceTag> result = new HashSet<ServiceTag>(); - - Properties props = loadSwordfishEntries(); - String jdkUrn = props.getProperty("servicetag.jdk.urn"); - String jreUrn = props.getProperty("servicetag.jre.urn"); - for (ServiceTag st : svcTags) { - if (st.getProductURN().equals(jdkUrn) || - st.getProductURN().equals(jreUrn)) { - result.add(st); - } - } - return result.toArray(new ServiceTag[0]); - } - - /** - * Returns the Java SE service tag for this running platform; - * or null if not exist. - * This method will return the 64-bit service tag if the JDK - * supports both 32-bit and 64-bit if already created. - */ - private static ServiceTag getJavaServiceTag() throws IOException { - String definedId = getProductDefinedId(); - for (ServiceTag st : getJavaServiceTagArray()) { - if (st.getProductDefinedInstanceID().equals(definedId)) { - return st; - } - } - return null; - } - - /** - * Create a service tag for Java SE and install in the system - * service tag registry if supported. - * - * A registration data <JRE>/lib/servicetag/registration.xml - * will be created to storeToXML the XML entry for Java SE service tag. - * If the system supports service tags, this method will install - * the Java SE service tag in the system service tag registry and - * its <tt>instance_urn</tt> will be stored to <JRE>/lib/servicetag/servicetag. - * - * If <JRE>/lib/servicetag/registration.xml exists but is not installed - * in the system service tag registry (i.e. servicetag doesn't exist), - * this method will install it as described above. - * - * If the system supports service tag, stclient will be used - * to create the Java SE service tag. - * - * A Solaris 32-bit and 64-bit JDK will be installed in the same - * directory but the registration.xml will have 2 service tags. - * The servicetag file will also contain 2 instance_urns for that case. - */ - private static ServiceTag createServiceTag(String svcTagSource) - throws IOException { - // determine if a new service tag is needed to be created - ServiceTag newSvcTag = null; - if (getJavaServiceTag() == null) { - newSvcTag = newServiceTag(svcTagSource); - } - - // Add the new service tag in the registration data - if (newSvcTag != null) { - RegistrationData regData = getRegistrationData(); - - // Add the service tag to the registration data in JDK/JRE - newSvcTag = regData.addServiceTag(newSvcTag); - - // add if there is a service tag for the OS - ServiceTag osTag = SolarisServiceTag.getServiceTag(); - if (osTag != null && regData.getServiceTag(osTag.getInstanceURN()) == null) { - regData.addServiceTag(osTag); - } - // write to the registration.xml - writeRegistrationXml(); - } - - // Install the system service tag if supported - if (Registry.isSupported()) { - installSystemServiceTag(); - } - return newSvcTag; - } - - private static void installSystemServiceTag() throws IOException { - // only install the service tag in the registry if - // it has permission to write the servicetag file. - if ((!serviceTagFile.exists() && !svcTagDir.canWrite()) || - (serviceTagFile.exists() && !serviceTagFile.canWrite())) { - return; - } - - Set<String> urns = getInstalledURNs(); - ServiceTag[] javaSvcTags = getJavaServiceTagArray(); - if (urns.size() < javaSvcTags.length) { - for (ServiceTag st : javaSvcTags) { - // Add the service tag in the system service tag registry - // if not installed - String instanceURN = st.getInstanceURN(); - if (!urns.contains(instanceURN)) { - Registry.getSystemRegistry().addServiceTag(st); - } - } - } - writeInstalledUrns(); - } - - private static ServiceTag newServiceTag(String svcTagSource) throws IOException { - // Load the swoRDFish information for the service tag creation - Properties props = loadSwordfishEntries(); - - // Determine the product URN and name - String productURN; - String productName; - - if (isJdk()) { - // <HOME>/jre exists which implies it's a JDK - productURN = props.getProperty("servicetag.jdk.urn"); - productName = props.getProperty("servicetag.jdk.name"); - } else { - // Otherwise, it's a JRE - productURN = props.getProperty("servicetag.jre.urn"); - productName = props.getProperty("servicetag.jre.name"); - } - - return ServiceTag.newInstance(ServiceTag.generateInstanceURN(), - productName, - System.getProperty("java.version"), - productURN, - props.getProperty("servicetag.parent.name"), - props.getProperty("servicetag.parent.urn"), - getProductDefinedId(), - SUN_VENDOR, - System.getProperty("os.arch"), - getZoneName(), - svcTagSource); - } - - /** - * Delete the registration data, the offline registration pages and - * the service tags in the system service tag registry if installed. - * - * The registration.xml and servicetag file will be removed. - */ - private static synchronized void deleteRegistrationData() - throws IOException { - try { - // delete the offline registration page - deleteRegistrationHtmlPage(); - - // Remove the service tag from the system ST registry if exists - Set<String> urns = getInstalledURNs(); - if (urns.size() > 0 && Registry.isSupported()) { - for (String u : urns) { - Registry.getSystemRegistry().removeServiceTag(u); - } - } - registration = null; - } finally { - // Delete the registration.xml and servicetag files if exists - if (regXmlFile.exists()) { - if (!regXmlFile.delete()) { - throw new IOException("Failed to delete " + regXmlFile); - } - } - if (serviceTagFile.exists()) { - if (!serviceTagFile.delete()) { - throw new IOException("Failed to delete " + serviceTagFile); - } - } - } - } - - /** - * Updates the registration data to contain one single service tag - * for the running Java runtime. - */ - private static synchronized void updateRegistrationData(String svcTagSource) - throws IOException { - RegistrationData regData = getRegistrationData(); - ServiceTag curSvcTag = newServiceTag(svcTagSource); - - ServiceTag[] javaSvcTags = getJavaServiceTagArray(); - Set<String> urns = getInstalledURNs(); - for (ServiceTag st : javaSvcTags) { - if (!st.getProductDefinedInstanceID().equals(curSvcTag.getProductDefinedInstanceID())) { - String instanceURN = st.getInstanceURN(); - regData.removeServiceTag(instanceURN); - - // remove it from the system service tag registry if exists - if (urns.contains(instanceURN) && Registry.isSupported()) { - Registry.getSystemRegistry().removeServiceTag(instanceURN); - } - } - } - writeRegistrationXml(); - writeInstalledUrns(); - } - - private static void writeInstalledUrns() throws IOException { - // if the Registry is not supported, - // remove the servicetag file - if (!Registry.isSupported() && serviceTagFile.exists()) { - serviceTagFile.delete(); - return; - } - - PrintWriter out = null; - try { - out = new PrintWriter(serviceTagFile); - - ServiceTag[] javaSvcTags = getJavaServiceTagArray(); - for (ServiceTag st : javaSvcTags) { - // Write the instance_run to the servicetag file - String instanceURN = st.getInstanceURN(); - out.println(instanceURN); - } - } finally { - if (out != null) { - out.close(); - } - } - } - - /** - * Load the values associated with the swoRDFish metadata entries - * for Java SE. The swoRDFish metadata entries are different for - * different release. - * - * @param version Version of Java SE - */ - private static synchronized Properties loadSwordfishEntries() throws IOException { - if (swordfishProps != null) { - return swordfishProps; - } - - // The version string for Java SE 6 is 1.6.0 - // We just need the minor number in the version string - int version = Util.getJdkVersion(); - - String filename = "/com/sun/servicetag/resources/javase_" + - version + "_swordfish.properties"; - InputStream in = Installer.class.getClass().getResourceAsStream(filename); - if (in == null) { - return null; - } - swordfishProps = new Properties(); - try { - swordfishProps.load(in); - } finally { - in.close(); - } - return swordfishProps; - } - - /** - * Returns the product defined instance ID for Java SE. - * It is a list of comma-separated name/value pairs: - * "id=<full-version> <arch> [<arch>]*" - * "dir=<java.home system property value>" - * - * where <full-version> is the full version string of the JRE, - * <arch> is the architecture that the runtime supports - * (i.e. "sparc", "sparcv9", "i386", "amd64" (ISA list)) - * - * For Solaris, it can be dual mode that can support both - * 32-bit and 64-bit. the "id" will be set to - * "1.6.0_03-b02 sparc sparcv9" - * - * The "dir" property is included in the service tag to enable - * the Service Tag software to determine if a service tag for - * Java SE is invalid and perform appropriate service tag - * cleanup if necessary. See RFE# 6574781 Service Tags Enhancement. - * - */ - private static String getProductDefinedId() { - StringBuilder definedId = new StringBuilder(); - definedId.append("id="); - definedId.append(System.getProperty("java.runtime.version")); - - String[] archs = getJreArchs(); - for (String name : archs) { - definedId.append(" " + name); - } - - String location = ",dir=" + javaHome; - if ((definedId.length() + location.length()) < 256) { - definedId.append(",dir="); - definedId.append(javaHome); - } else { - // if it exceeds the limit, we will not include the location - if (isVerbose()) { - System.err.println("Warning: Product defined instance ID exceeds the field limit:"); - } - } - - return definedId.toString(); - } - - /** - * Returns the architectures that the runtime supports - * (i.e. "sparc", "sparcv9", "i386", "amd64" (ISA list)) - * The directory name where libjava.so is located. - * - * On Windows, returns the "os.arch" system property value. - */ - private synchronized static String[] getJreArchs() { - if (jreArchs != null) { - return jreArchs; - } - - Set<String> archs = new HashSet<String>(); - - String os = System.getProperty("os.name"); - if (os.equals("SunOS") || os.equals("Linux")) { - // Traverse the directories under <JRE>/lib. - // If <JRE>/lib/<arch>/libjava.so exists, add <arch> - // to the product defined ID - File dir = new File(getJrePath() + File.separator + "lib"); - if (dir.isDirectory()) { - String[] children = dir.list(); - for (String name : children) { - File f = new File(dir, name + File.separator + "libjava.so"); - if (f.exists()) { - archs.add(name); - } - } - } - } else { - // Windows - append the os.arch - archs.add(System.getProperty("os.arch")); - } - jreArchs = archs.toArray(new String[0]); - return jreArchs; - } - - /** - * Return the zonename if zone is supported; otherwise, return - * "global". - */ - public static String getZoneName() throws IOException { - String zonename = "global"; - - String command = "/usr/bin/zonename"; - File f = new File(command); - // com.sun.servicetag package has to be compiled with JDK 5 as well - // JDK 5 doesn't support the File.canExecute() method. - // Risk not checking isExecute() for the zonename command is very low. - if (f.exists()) { - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (p.exitValue() == 0) { - zonename = output.trim(); - } - - } - return zonename; - } - - private synchronized static String getRegisterHtmlParent() throws IOException { - if (registerHtmlParent == null) { - File htmlDir; // register.html is put under the JDK directory - if (getJrePath().endsWith(File.separator + "jre")) { - htmlDir = new File(getJrePath(), ".."); - } else { - // j2se non-image build - htmlDir = new File(getJrePath()); - } - - // initialize the supported locales - initSupportedLocales(htmlDir); - - // Determine the location of the offline registration page - String path = System.getProperty(SVCTAG_DIR_PATH); - if (path == null) { - // Default is <JDK>/register.html - registerHtmlParent = htmlDir.getCanonicalPath(); - } else { - File f = new File(path); - registerHtmlParent = f.getCanonicalPath(); - if (!f.isDirectory()) { - throw new InternalError("Path " + path + " set in \"" + - SVCTAG_DIR_PATH + "\" property is not a directory"); - } - } - } - return registerHtmlParent; - } - - /** - * Returns the File object of the offline registration page localized - * for the default locale in the JDK directory. - */ - static synchronized File getRegistrationHtmlPage() throws IOException { - if (!supportRegistration) { - // No register.html page generated if JRE - return null; - } - - String parent = getRegisterHtmlParent(); - - // check if the offline registration page is already generated - File f = new File(parent, REGISTRATION_HTML_NAME + ".html"); - if (!f.exists()) { - // Generate the localized version of the offline registration Page - generateRegisterHtml(parent); - } - - String name = REGISTRATION_HTML_NAME; - List<Locale> candidateLocales = getCandidateLocales(Locale.getDefault()); - for (Locale l : candidateLocales) { - if (supportedLocales.contains(l)) { - name = REGISTRATION_HTML_NAME + "_" + l.toString(); - break; - } - } - File htmlFile = new File(parent, name + ".html"); - if (isVerbose()) { - System.out.print("Offline registration page: " + htmlFile); - System.out.println((htmlFile.exists() ? - "" : " not exist. Use register.html")); - } - if (htmlFile.exists()) { - return htmlFile; - } else { - return new File(parent, - REGISTRATION_HTML_NAME + ".html"); - } - } - - private static List<Locale> getCandidateLocales(Locale locale) { - String language = locale.getLanguage(); - String country = locale.getCountry(); - String variant = locale.getVariant(); - - List<Locale> locales = new ArrayList<Locale>(3); - if (variant.length() > 0) { - locales.add(locale); - } - if (country.length() > 0) { - locales.add((locales.size() == 0) ? - locale : new Locale(language, country, "")); - } - if (language.length() > 0) { - locales.add((locales.size() == 0) ? - locale : new Locale(language, "", "")); - } - return locales; - } - - // Remove the offline registration pages - private static void deleteRegistrationHtmlPage() throws IOException { - String parent = getRegisterHtmlParent(); - if (parent == null) { - return; - } - - for (Locale locale : supportedLocales) { - String name = REGISTRATION_HTML_NAME; - if (!locale.equals(Locale.ENGLISH)) { - name += "_" + locale.toString(); - } - File f = new File(parent, name + ".html"); - if (f.exists()) { - if (!f.delete()) { - throw new IOException("Failed to delete " + f); - } - } - } - } - - private static void initSupportedLocales(File jdkDir) { - if (supportedLocales.isEmpty()) { - // initialize with the known supported locales - for (Locale l : knownSupportedLocales) { - supportedLocales.add(l); - } - } - - // Determine unknown supported locales if any - // by finding the localized version of README.html - // This prepares if a new locale in JDK is supported in - // e.g. in the OpenSource world - FilenameFilter ff = new FilenameFilter() { - public boolean accept(File dir, String name) { - String fname = name.toLowerCase(); - if (fname.startsWith("readme") && fname.endsWith(".html")) { - return true; - } - return false; - } - }; - - String[] readmes = jdkDir.list(ff); - for (String name : readmes) { - String basename = name.substring(0, name.length() - ".html".length()); - String[] ss = basename.split("_"); - switch (ss.length) { - case 1: - // English version - break; - case 2: - supportedLocales.add(new Locale(ss[1])); - break; - case 3: - supportedLocales.add(new Locale(ss[1], ss[2])); - break; - default: - // ignore - break; - } - } - if (isVerbose()) { - System.out.println("Supported locales: "); - for (Locale l : supportedLocales) { - System.out.println(l); - } - } - } - - private static final String JDK_HEADER_PNG_KEY = "@@JDK_HEADER_PNG@@"; - private static final String JDK_VERSION_KEY = "@@JDK_VERSION@@"; - private static final String REGISTRATION_URL_KEY = "@@REGISTRATION_URL@@"; - private static final String REGISTRATION_PAYLOAD_KEY = "@@REGISTRATION_PAYLOAD@@"; - - @SuppressWarnings("unchecked") - private static void generateRegisterHtml(String parent) throws IOException { - int version = Util.getJdkVersion(); - int update = Util.getUpdateVersion(); - String jdkVersion = "Version " + version; - if (update > 0) { - // product name is not translated - jdkVersion += " Update " + update; - } - RegistrationData regData = getRegistrationData(); - String registerURL = SunConnection.getRegistrationURL( - regData.getRegistrationURN()).toString(); - // Make sure it uses the canonical path before getting the URI. - File img = new File(svcTagDir.getCanonicalPath(), "jdk_header.png"); - String headerImageSrc = img.toURI().toString(); - - // Format the registration data in one single line - StringBuilder payload = new StringBuilder(); - String xml = regData.toString().replaceAll("\"", "%22"); - BufferedReader reader = new BufferedReader(new StringReader(xml)); - try { - String line = null; - while ((line = reader.readLine()) != null) { - payload.append(line.trim()); - } - } finally { - reader.close(); - } - - String resourceFilename = "/com/sun/servicetag/resources/register"; - for (Locale locale : supportedLocales) { - String name = REGISTRATION_HTML_NAME; - String resource = resourceFilename; - if (!locale.equals(Locale.ENGLISH)) { - name += "_" + locale.toString(); - resource += "_" + locale.toString(); - } - File f = new File(parent, name + ".html"); - InputStream in = null; - BufferedReader br = null; - PrintWriter pw = null; - try { - in = Installer.class.getClass().getResourceAsStream(resource + ".html"); - if (in == null) { - // if the resource file is missing - if (isVerbose()) { - System.out.println("Missing resouce file: " + resource + ".html"); - } - continue; - } - if (isVerbose()) { - System.out.println("Generating " + f + " from " + resource + ".html"); - } - - br = new BufferedReader(new InputStreamReader(in, "UTF-8")); - pw = new PrintWriter(f, "UTF-8"); - String line = null; - while ((line = br.readLine()) != null) { - String output = line; - if (line.contains(JDK_VERSION_KEY)) { - output = line.replace(JDK_VERSION_KEY, jdkVersion); - } else if (line.contains(JDK_HEADER_PNG_KEY)) { - output = line.replace(JDK_HEADER_PNG_KEY, headerImageSrc); - } else if (line.contains(REGISTRATION_URL_KEY)) { - output = line.replace(REGISTRATION_URL_KEY, registerURL); - } else if (line.contains(REGISTRATION_PAYLOAD_KEY)) { - output = line.replace(REGISTRATION_PAYLOAD_KEY, payload.toString()); - } - pw.println(output); - } - f.setReadOnly(); - pw.flush(); - } finally { - if (pw != null) { - pw.close(); - } - if (in != null) { - in.close(); - } - if (br!= null) { - br.close(); - } - } - } - } - - /** - * A utility class to create a service tag for Java SE. - * <p> - * <b>Usage:</b><br> - * <blockquote><tt> - * <JAVA_HOME>/bin/java com.sun.servicetag.Installer - * </tt></blockquote> - * <p> - */ - public static void main(String[] args) { - String source = "Manual"; - - // Parse the options (arguments starting with "-" ) - boolean delete = false; - boolean update = false; - boolean register = false; - int count = 0; - while (count < args.length) { - String arg = args[count]; - if (arg.trim().length() == 0) { - // skip empty arguments - count++; - continue; - } - - if (arg.equals("-source")) { - source = args[++count]; - } else if (arg.equals("-delete")) { - delete = true; - } else if (arg.equals("-register")) { - register = true; - } else { - usage(); - return; - } - count++; - } - try { - if (delete) { - deleteRegistrationData(); - } else { - ServiceTag[] javaSvcTags = getJavaServiceTagArray(); - String[] archs = getJreArchs(); - if (javaSvcTags.length > archs.length) { - // 64-bit has been uninstalled - // so remove the service tag - updateRegistrationData(source); - } else { - // create the service tag - createServiceTag(source); - } - } - - if (register) { - // Registration is only supported by JDK - // For testing purpose, override with a "servicetag.enable.registration" property - - RegistrationData regData = getRegistrationData(); - if (supportRegistration && !regData.getServiceTags().isEmpty()) { - SunConnection.register(regData); - } - } - System.exit(0); - } catch (IOException e) { - System.err.println("I/O Error: " + e.getMessage()); - if (isVerbose()) { - e.printStackTrace(); - } - } catch (IllegalArgumentException ex) { - if (isVerbose()) { - ex.printStackTrace(); - } - } catch (Exception e) { - System.err.println("Error: " + e.getMessage()); - if (isVerbose()) { - e.printStackTrace(); - } - } - System.exit(1); - } - - private static void usage() { - System.out.println("Usage:"); - System.out.print(" " + Installer.class.getName()); - System.out.println(" [-delete|-source <source>|-register]"); - System.out.println(" to create a service tag for the Java platform"); - System.out.println(""); - System.out.println("Internal Options:"); - System.out.println(" -source: to specify the source of the service tag to be created"); - System.out.println(" -delete: to delete the service tag "); - System.out.println(" -register: to register the JDK"); - System.out.println(" -help: to print this help message"); - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/LinuxSystemEnvironment.java b/desktop/source/registration/com/sun/star/servicetag/LinuxSystemEnvironment.java deleted file mode 100755 index ff762d202e35..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/LinuxSystemEnvironment.java +++ /dev/null @@ -1,322 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - - -package com.sun.star.servicetag; - -// The Service Tags team maintains the latest version of the implementation -// for system environment data collection. JDK will include a copy of -// the most recent released version for a JDK release. We rename -// the package to com.sun.servicetag so that the Sun Connection -// product always uses the latest version from the com.sun.scn.servicetags -// package. JDK and users of the com.sun.servicetag API -// (e.g. NetBeans and SunStudio) will use the version in JDK. - -import java.io.*; -import java.util.*; - -/** - * Linux implementation of the SystemEnvironment class. - */ -class LinuxSystemEnvironment extends SystemEnvironment { - LinuxSystemEnvironment() { - setHostId(getLinuxHostId()); - - setSystemModel(getLinuxModel()); - setSystemManufacturer(getLinuxSystemManufacturer()); - setCpuManufacturer(getLinuxCpuManufacturer()); - setSerialNumber(getLinuxSN()); - setPhysMem(getLinuxPhysMem()); - setSockets(getLinuxSockets()); - setCores(getLinuxCores()); - setVirtCpus(getLinuxVirtCpus()); - setCpuName(getLinuxCpuName()); - setClockRate(getLinuxClockRate()); - } - private String dmiInfo = null; - private String kstatCpuInfo = null; - - private static final int SN = 1; - private static final int SYS = 2; - private static final int CPU = 3; - private static final int MODEL = 4; - - private String getLinuxHostId() { - String output = getCommandOutput("/usr/bin/hostid"); - // trim off the leading 0x - if (output.startsWith("0x")) { - output = output.substring(2); - } - return output; - } - - /** - * Tries to obtain and return the cpu manufacturer. - * @return The cpu manufacturer (an empty string if not found or an error occurred) - */ - private String getLinuxCpuManufacturer() { - String tmp = getLinuxPSNInfo(CPU); - if (tmp.length() > 0) { - return tmp; - } - - String contents = getFileContent("/proc/cpuinfo"); - for (String line : contents.split("\n")) { - if (line.contains("vendor_id")) { - String[] ss = line.split(":", 2); - if (ss.length > 1) { - return ss[1].trim(); - } - } - } - - // returns an empty string if it can't be found or an error happened - return getLinuxDMIInfo("dmi type 4", "manufacturer"); - } - - private String getLinuxModel() { - String tmp = getLinuxPSNInfo(MODEL); - if (tmp.length() > 0) { - return tmp + "::" + getCommandOutput("/bin/uname","-v"); - } - - tmp = getLinuxDMIInfo("dmi type 1", "product name"); - if (tmp.length() > 0) { - return tmp + "::" + getCommandOutput("/bin/uname","-v"); - } - - return getCommandOutput("/bin/uname","-i") - + "::" + getCommandOutput("/bin/uname","-v"); - } - - - /** - * Tries to obtain and return the system manufacturer. - * @return The system manufacturer (an empty string if not found or an error occurred) - */ - private String getLinuxSystemManufacturer() { - String tmp = getLinuxPSNInfo(SYS); - if (tmp.length() > 0) { - return tmp; - } - - // returns an empty string if it can't be found or an error happened - return getLinuxDMIInfo("dmi type 1", "manufacturer"); - } - - /** - * Tries to obtain and return the serial number of the system. - * @return The serial number (an empty string if not found or an error occurred) - */ - private String getLinuxSN() { - String tmp = getLinuxPSNInfo(SN); - if (tmp.length() > 0) { - return tmp; - } - - // returns an empty string if it can't be found or an error happened - return getLinuxDMIInfo("dmi type 1", "serial number"); - } - - private String getLinuxPSNInfo(int target) { - // try to read from the psn file if it exists - String contents = getFileContent("/var/run/psn"); - String[] ss = contents.split("\n"); - if (target <= ss.length) { - return ss[target-1]; - } - - // default case is to return "" - return ""; - } - - // reads from dmidecode with the given type and target - // returns an empty string if nothing was found or an error occurred - // Sample output segment: - // Handle 0x0001 - // DMI type 1, 25 bytes. - // System Information - // Manufacturer: System manufacturer - // Product Name: System Product Name - // Version: System Version - // Serial Number: System Serial Number - // UUID: 3091D719-B25B-D911-959D-6D1B12C7686E - // Wake-up Type: Power Switch - - private synchronized String getLinuxDMIInfo(String dmiType, String target) { - // only try to get dmidecode information once, after that, we can - // reuse the output - if (dmiInfo == null) { - Thread dmidecodeThread = new Thread() { - public void run() { - dmiInfo = getCommandOutput("/usr/sbin/dmidecode"); - } - }; - dmidecodeThread.start(); - - try { - dmidecodeThread.join(3000); - if (dmidecodeThread.isAlive()) { - dmidecodeThread.interrupt(); - dmiInfo = ""; - } - } catch (InterruptedException ie) { - dmidecodeThread.interrupt(); - } - } - - if (dmiInfo.length() == 0) { - return ""; - } - boolean dmiFlag = false; - for (String s : dmiInfo.split("\n")) { - String line = s.toLowerCase(); - if (dmiFlag) { - if (line.contains(target)) { - String key = target + ":"; - int indx = line.indexOf(key) + key.length(); - if (line.contains(key) && indx < line.length()) { - return line.substring(indx).trim(); - } - String[] ss = line.split(":"); - return ss[ss.length-1]; - } - } else if (line.contains(dmiType)) { - dmiFlag = true; - } - } - return ""; - } - - private String getLinuxClockRate() { - String contents = getFileContent("/proc/cpuinfo"); - String token = "cpu MHz"; - for (String line : contents.split("\n")) { - if (line.contains(token)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - return key[1].trim(); - } - } - } - return ""; - } - - private String getLinuxCpuName() { - String contents = getFileContent("/proc/cpuinfo"); - String token = "model name"; - for (String line : contents.split("\n")) { - if (line.contains(token)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - return key[1].trim(); - } - } - } - return ""; - } - - private String getLinuxVirtCpus() { - Set<String> set = new HashSet<String>(); - String contents = getFileContent("/proc/cpuinfo"); - String token = "processor"; - for (String line : contents.split("\n")) { - if (line.contains(token)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - set.add(key[1].trim()); - } - } - } - return "" + set.size(); - } - - private String getLinuxCores() { - Set<String> set = new HashSet<String>(); - String contents = getFileContent("/proc/cpuinfo"); - String token = "core id"; - for (String line : contents.split("\n")) { - if (line.contains(token)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - set.add(key[1].trim()); - } - } - } - if (set.size() == 0) { - return "1"; - } - return "" + set.size(); - } - - private String getLinuxPhysMem() { - String contents = getFileContent("/proc/meminfo"); - for (String line : contents.split("\n")) { - if (line.contains("MemTotal")) { - String[] total = line.split(":", 2); - if (total.length > 1) { - String[] mem = total[1].trim().split(" "); - if (mem.length >= 1) { - return mem[0].trim(); - } else { - return total[1].trim(); - } - } - } - } - - return ""; - } - - private String getLinuxSockets() { - Set<String> physIdSet = new HashSet<String>(); - Set<String> procSet = new HashSet<String>(); - String contents = getFileContent("/proc/cpuinfo"); - String physIdToken = "physical id"; - String procToken = "processor"; - - for (String line : contents.split("\n")) { - if (line.contains(physIdToken)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - physIdSet.add(key[1].trim()); - } - } - - if (line.contains(procToken)) { - String[] key = line.split(":", 2); - if (key.length > 1) { - procSet.add(key[1].trim()); - } - } - } - if (physIdSet.size() != 0) { - return "" + physIdSet.size(); - } - return "" + procSet.size(); - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/RegistrationData.java b/desktop/source/registration/com/sun/star/servicetag/RegistrationData.java deleted file mode 100755 index 66eb1933210a..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/RegistrationData.java +++ /dev/null @@ -1,531 +0,0 @@ - -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can obtain - * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html - * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. - * Sun designates this particular file as subject to the "Classpath" exception - * as provided by Sun in the GPL Version 2 section of the License file that - * accompanied this code. If applicable, add the following below the License - * Header, with the fields enclosed by brackets [] replaced by your own - * identifying information: "Portions Copyrighted [year] - * [name of copyright owner]" - * - * Contributor(s): - * - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.star.servicetag; - -import java.io.*; -import java.net.UnknownHostException; -import java.util.Collection; -import java.util.Collections; -import java.util.HashSet; -import java.util.LinkedHashMap; -import java.util.Map; -import java.util.Set; - -import static com.sun.star.servicetag.RegistrationDocument.*; - -/** - * A {@code RegistrationData} object is a container of one or more - * {@link #getServiceTags service tags} that identify the - * components for product registration. - * Each {@code RegistrationData} object has a {@link #getRegistrationURN - * uniform resource name} (URN) as its identifier. - * <a name="EnvMap"></a> - * It also has an <i>environment map</i> with - * the following elements: - * <blockquote> - * <table border=0> - * <tr> - * <td><tt>hostname</tt></td> - * <td>Hostname of the system</td> - * <td>e.g. woody</td> - * </tr> - * <tr> - * <td><tt>hostId</tt></td> - * <td>Host ID of the system</td> - * <td>e.g. 83abc1ab</td> - * </tr> - * <tr> - * <td><tt>osName</tt></td> - * <td>Operating system name</td> - * <td> e.g. SunOS</td> - * </tr> - * <tr> - * <td><tt>osVersion</tt></td> - * <td>Operating system version</td> - * <td> e.g. 5.10</td> - * </tr> - * <tr> - * <td><tt>osArchitecture</tt></td> - * <td>Operating system architecture</td> - * <td> e.g. sparc</td> - * </tr> - * <tr> - * <td><tt>systemModel</tt></td> - * <td>System model</td> - * <td> e.g. SUNW,Sun-Fire-V440</td> - * </tr> - * <tr> - * <td><tt>systemManufacturer</tt></td> - * <td>System manufacturer</td> - * <td> e.g. Sun Microsystems</td> - * </tr> - * <tr> - * <td><tt>cpuManufacturer</tt></td> - * <td>CPU manufacturer</td> - * <td> e.g. Sun Microsystems</td> - * </tr> - * <tr> - * <td><tt>serialNumber</tt></td> - * <td>System serial number</td> - * <td> e.g. BEL078932</td> - * </tr> - * <tr> - * <td><tt>physmem</tt></td> - * <td>Physical memory for the system (in MB)</td> - * <td> e.g. 4096</td> - * </tr> - * </table> - * </blockquote> - * The <tt>hostname</tt> and <tt>osName</tt> element must have a non-empty value. - * If an element is not available on a system and their value will be - * empty. - * <p> - * <a name="XMLSchema"> - * <b>Registration XML Schema</b></a> - * <p> - * A {@code RegistrationData} object can be {@link #loadFromXML loaded} from - * and {@link #storeToXML stored} into an XML file in the format described - * by the - * <a href="https://sn-tools.central.sun.com/twiki/pub/ServiceTags/RegistrationRelayService/product_registration.xsd"> - * registration data schema</a>. The registration data schema is defined by the - * Service Tags Technology. - * <p> - * Typically the registration data is constructed at installation time - * and stored in an XML file for later service tag lookup or registration. - * - * <p> - * <b>Example Usage</b> - * <p> - * The examples below show how the {@code RegistrationData} can be - * used for product registration. - * Exception handling is not shown in these examples for clarity. - * <ol> - * <li>This example shows how the JDK creates a JDK service tag, installs it - * in the system service tag registry and adds it to the registration data. - * <br> - * <blockquote><pre> - * // create a service tag object with an instance_urn - * ServiceTag st = ServiceTag.newInstance(ServiceTag.generateInstanceURN(), - * ....); - * // Adds to the system service tag registry if supported - * if (Registry.isSupported()) { - * Registry.getSystemRegistry().addServiceTag(st); - * } - * - * // add to the registration data - * RegistrationData registration = new RegistrationData(); - * registration.addServiceTag(st); - * </pre></blockquote> - * </li> - * <li>At this point, the registration data is ready to - * send to Sun Connection for registration. This example shows how to register - * the JDK via the <i>Registration Relay Service</i>. - * <p> - * There are several registration services for Sun Connection. For example, - * the <a href="https://sn-tools.central.sun.com/twiki/bin/view/ServiceTags/RegistrationRelayService"> - * Registration Relay Service</a> is a web application interface that - * processes the registration data payload sent via HTTP post - * and hosts the registration user interface for a specified - * registration URL. Refer to the - * Registration Relay Service Specification for details. - * <p> - * <blockquote><pre> - * // Open the connection to the URL of the registration service - * HttpsURLConnection con = (HttpsURLConnection) url.openConnection(); - * con.setDoInput(true); - * con.setDoOutput(true); - * con.setUseCaches(false); - * con.setAllowUserInteraction(false); - * con.setRequestMethod("POST"); - * con.setRequestProperty("Content-Type", "text/xml;charset=\"utf-8\""); - * con.connect(); - * - * // send the registration data to the registration service - * OutputStream out = con.getOutputStream(); - * registration.storeToXML(out); - * out.close(); - * </pre></blockquote> - * </li> - * <li>This example shows how to store the registration data in an XML file. - * for later service tag lookup or registration. - * <br> - * <blockquote><pre> - * BufferedOutputStream out = new BufferedOutputStream( - * new FileOutputStream(""<JAVA_HOME>/lib/servicetag/registration.xml")); - * registration.storeToXML(out); - * out.close(); - * </pre></blockquote> - * </li> - * <li>This example shows how to install service tags that are in the - * registration data in the system service tag registry when determined - * to be available. The system service tag registry might not have existed - * when the registration data was constructed. - * <br> - * <blockquote><pre> - * if (Registry.isSupported()) { - * Set<ServiceTag> svctags = registration.getServiceTags(); - * for (ServiceTag st : svctags) { - * Registry.getSystemRegistry().addServiceTag(st); - * } - * } - * </pre></blockquote> - * </li> - * </ol> - * - * @see <a href="https://sunconnection.sun.com/inventory">Sun Connection Inventory Channel</a> - */ -public class RegistrationData { - private final Map<String, String> environment; - private final Map<String, String> cpuInfo; - private final Map<String, ServiceTag> svcTagMap; - private final String urn; - - /** - * Creates a {@code RegistrationData} object with a generated - * {@link #getRegistrationURN registration URN}. - * The following keys in the {@link #getEnvironmentMap environment map} - * will be initialized for the configuration of the - * running system: - * <blockquote> - * <tt>hostname</tt>, <tt>osName</tt>, <tt>osVersion</tt> and - * <tt>osArchitecture</tt> - * </blockquote> - * and the value of other keys may be empty. - */ - public RegistrationData() { - this(Util.generateURN()); - } - - // package private - RegistrationData(String urn) { - this.urn = urn; - SystemEnvironment sysEnv = SystemEnvironment.getSystemEnvironment(); - this.environment = initEnvironment(sysEnv); - this.cpuInfo = initCpuInfo(sysEnv); - this.svcTagMap = new LinkedHashMap<String, ServiceTag>(); - } - - private Map<String, String> initEnvironment(SystemEnvironment sysEnv) { - Map<String, String> map = new LinkedHashMap<String, String>(); - map.put(ST_NODE_HOSTNAME, sysEnv.getHostname()); - map.put(ST_NODE_HOST_ID, sysEnv.getHostId()); - map.put(ST_NODE_OS_NAME, sysEnv.getOsName()); - map.put(ST_NODE_OS_VERSION, sysEnv.getOsVersion()); - map.put(ST_NODE_OS_ARCH, sysEnv.getOsArchitecture()); - map.put(ST_NODE_SYSTEM_MODEL, sysEnv.getSystemModel()); - map.put(ST_NODE_SYSTEM_MANUFACTURER, sysEnv.getSystemManufacturer()); - map.put(ST_NODE_CPU_MANUFACTURER, sysEnv.getCpuManufacturer()); - map.put(ST_NODE_SERIAL_NUMBER, sysEnv.getSerialNumber()); - map.put(ST_NODE_PHYS_MEM, sysEnv.getPhysMem()); - return map; - } - - private Map<String, String> initCpuInfo(SystemEnvironment sysEnv) { - Map<String, String> map = new LinkedHashMap<String, String>(); - map.put(ST_NODE_SOCKETS, sysEnv.getSockets()); - map.put(ST_NODE_CORES, sysEnv.getCores()); - map.put(ST_NODE_VIRT_CPUS, sysEnv.getVirtCpus()); - map.put(ST_NODE_CPU_NAME, sysEnv.getCpuName()); - map.put(ST_NODE_CLOCK_RATE, sysEnv.getClockRate()); - return map; - } - - /** - * Returns the uniform resource name of this registration data - * in this format: - * <tt>urn:st:<32-char {@link java.util.UUID uuid}></tt> - * - * @return the URN of this registration data. - */ - public String getRegistrationURN() { - return urn; - } - - /** - * Returns a map containing the environment information for this - * registration data. See the set of <a href="#EnvMap">keys</a> - * in the environment map. Subsequent update to the environment - * map via the {@link #setEnvironment setEnvironment} method will not be reflected - * in the returned map. - * - * @return an environment map for this registration data. - */ - public Map<String, String> getEnvironmentMap() { - return new LinkedHashMap<String,String>(environment); - } - - /** - * Returns a map containing the cpu information for this - * registration data. Subsequent update to the cpu info - * map via the {@link #setCpuInfo setCpuInfo} method will not be reflected - * in the returned map. - * - * @return a cpu info map for this registration data. - */ - public Map<String, String> getCpuInfoMap() { - return new LinkedHashMap<String,String>(cpuInfo); - } - - /** - * Sets an element of the specified {@code name} in the environment map - * with the given {@code value}. - * - * @throws IllegalArgumentException if {@code name} is not a valid key - * in the environment map, or {@code value} is not valid. - */ - public void setEnvironment(String name, String value) { - if (name == null) { - throw new NullPointerException("name is null"); - } - if (value == null) { - throw new NullPointerException("value is null"); - } - if (environment.containsKey(name)) { - if (name.equals(ST_NODE_HOSTNAME) || name.equals(ST_NODE_OS_NAME)) { - if (value.length() == 0) { - throw new IllegalArgumentException("\"" + - name + "\" requires non-empty value."); - } - } - environment.put(name, value); - } else { - throw new IllegalArgumentException("\"" + - name + "\" is not an environment element."); - } - } - - /** - * Sets an element of the specified {@code name} in the cpu info map - * with the given {@code value}. - * - * @throws IllegalArgumentException if {@code name} is not a valid key - * in the cpu info map, or {@code value} is not valid. - */ - public void setCpuInfo(String name, String value) { - if (name == null) { - throw new NullPointerException("name is null"); - } - if (value == null) { - throw new NullPointerException("value is null"); - } - if (cpuInfo.containsKey(name)) { - cpuInfo.put(name, value); - } else { - throw new IllegalArgumentException("\"" + - name + "\" is not an cpuinfo element."); - } - } - - /** - * Returns all service tags in this registration data. - * - * @return a {@link Set Set} of the service tags - * in this registration data. - */ - public Set<ServiceTag> getServiceTags() { - return new HashSet<ServiceTag>(svcTagMap.values()); - } - - /** - * Adds a service tag to this registration data. - * If the given service tag has an empty <tt>instance_urn</tt>, - * this method will generate a URN and place it in the copy - * of the service tag in this registration data. - * This method will return the {@code ServiceTag} object - * added to this registration data. - * - * @param st {@code ServiceTag} object to be added. - * @return a {@code ServiceTag} object added to this registration data. - * - * @throws IllegalArgumentException if - * a service tag of the same {@link ServiceTag#getInstanceURN - * <tt>instance_urn</tt>} already exists in the registry. - */ - public synchronized ServiceTag addServiceTag(ServiceTag st) { - ServiceTag svcTag = ServiceTag.newInstanceWithUrnTimestamp(st); - - String instanceURN = svcTag.getInstanceURN(); - if (svcTagMap.containsKey(instanceURN)) { - throw new IllegalArgumentException("Instance_urn = " + instanceURN + - " already exists in the registration data."); - } else { - svcTagMap.put(instanceURN, svcTag); - } - return svcTag; - } - - /** - * Returns a service tag of the given <tt>instance_urn</tt> in this registration - * data. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag - * @return the {@code ServiceTag} object of the given <tt>instance_urn</tt> - * if exists; otherwise return {@code null}. - */ - public synchronized ServiceTag getServiceTag(String instanceURN) { - if (instanceURN == null) { - throw new NullPointerException("instanceURN is null"); - } - return svcTagMap.get(instanceURN); - } - - /** - * Removes a service tag of the given <tt>instance_urn</tt> from this - * registration data. - * - * @param instanceURN the <tt>instance_urn</tt> of - * the service tag to be removed. - * - * @return the removed {@code ServiceTag} object; - * or {@code null} if the service tag does not exist in this - * registration data. - */ - public synchronized ServiceTag removeServiceTag(String instanceURN) { - if (instanceURN == null) { - throw new NullPointerException("instanceURN is null"); - } - - ServiceTag svcTag = null; - if (svcTagMap.containsKey(instanceURN)) { - svcTag = svcTagMap.remove(instanceURN); - } - return svcTag; - } - - /** - * Updates the <tt>product_defined_instance_id</tt> in the service tag - * of the given <tt>instance_urn</tt> in this registration data. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag to be updated. - * @param productDefinedInstanceID the value of the - * <tt>product_defined_instance_id</tt> to be set. - * - * @return the updated {@code ServiceTag} object; - * or {@code null} if the service tag does not exist in this - * registration data. - */ - public synchronized ServiceTag updateServiceTag(String instanceURN, - String productDefinedInstanceID) { - ServiceTag svcTag = getServiceTag(instanceURN); - if (svcTag == null) { - return null; - } - - svcTag = ServiceTag.newInstanceWithUrnTimestamp(svcTag); - // update the product defined instance ID field - svcTag.setProductDefinedInstanceID(productDefinedInstanceID); - svcTagMap.put(instanceURN, svcTag); - return svcTag; - } - - /** - * Reads the registration data from the XML document on the - * specified input stream. The XML document must be - * in the format described by the <a href="#XMLSchema"> - * registration data schema</a>. - * The specified stream is closed after this method returns. - * - * @param in the input stream from which to read the XML document. - * @return a {@code RegistrationData} object read from the input - * stream. - * - * @throws IllegalArgumentException if the input stream - * contains an invalid registration data. - * - * @throws IOException if an error occurred when reading from the input stream. - */ - public static RegistrationData loadFromXML(InputStream in) throws IOException { - try { - return RegistrationDocument.load(in); - } finally { - in.close(); - } - } - - /** - * Writes the registration data to the specified output stream - * in the format described by the <a href="#XMLSchema"> - * registration data schema</a> with "UTF-8" encoding. - * The specified stream remains open after this method returns. - * - * @param os the output stream on which to write the XML document. - * - * @throws IOException if an error occurred when writing to the output stream. - */ - public void storeToXML(OutputStream os) throws IOException { - RegistrationDocument.store(os, this); - os.flush(); - } - - /** - * Returns a newly allocated byte array containing the registration - * data in XML format. - * - * @return a newly allocated byte array containing the registration - * data in XML format. - */ - public byte[] toXML() { - try { - ByteArrayOutputStream out = new ByteArrayOutputStream(); - storeToXML(out); - return out.toByteArray(); - } catch (IOException e) { - // should not reach here - return new byte[0]; - } - } - - /** - * Returns a string representation of this registration data in XML - * format. - * - * @return a string representation of this registration data in XML - * format. - */ - @Override - public String toString() { - try { - ByteArrayOutputStream out = new ByteArrayOutputStream(); - storeToXML(out); - return out.toString("UTF-8"); - } catch (IOException e) { - // should not reach here - return "Error creating the return string."; - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/RegistrationDocument.java b/desktop/source/registration/com/sun/star/servicetag/RegistrationDocument.java deleted file mode 100755 index fb13b581c0ce..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/RegistrationDocument.java +++ /dev/null @@ -1,440 +0,0 @@ - -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can obtain - * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html - * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt. - * Sun designates this particular file as subject to the "Classpath" exception - * as provided by Sun in the GPL Version 2 section of the License file that - * accompanied this code. If applicable, add the following below the License - * Header, with the fields enclosed by brackets [] replaced by your own - * identifying information: "Portions Copyrighted [year] - * [name of copyright owner]" - * - * Contributor(s): - * - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.star.servicetag; - -import java.io.*; -import java.net.URL; -import java.util.Collection; -import java.util.Map; -import java.util.Set; - -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; -import org.xml.sax.SAXException; -import org.xml.sax.InputSource; - -import javax.xml.XMLConstants; -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; - -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.validation.Schema; -import javax.xml.validation.SchemaFactory; -import javax.xml.validation.Validator; - -// For write operation -import javax.xml.transform.OutputKeys; -import javax.xml.transform.Transformer; -import javax.xml.transform.TransformerException; -import javax.xml.transform.TransformerFactory; -import javax.xml.transform.TransformerConfigurationException; -import javax.xml.transform.dom.DOMSource; -import javax.xml.transform.stream.StreamResult; - -/** - * XML Support Class for Product Registration. - */ -class RegistrationDocument { - - private static final String REGISTRATION_DATA_SCHEMA = - "/com/sun/star/servicetag/resources/product_registration.xsd"; - private static final String REGISTRATION_DATA_VERSION = "1.0"; - private static final String SERVICE_TAG_VERSION = "1.0"; - final static String ST_NODE_REGISTRATION_DATA = "registration_data"; - final static String ST_ATTR_REGISTRATION_VERSION = "version"; - final static String ST_NODE_ENVIRONMENT = "environment"; - final static String ST_NODE_HOSTNAME = "hostname"; - final static String ST_NODE_HOST_ID = "hostId"; - final static String ST_NODE_OS_NAME = "osName"; - final static String ST_NODE_OS_VERSION = "osVersion"; - final static String ST_NODE_OS_ARCH = "osArchitecture"; - final static String ST_NODE_SYSTEM_MODEL = "systemModel"; - final static String ST_NODE_SYSTEM_MANUFACTURER = "systemManufacturer"; - final static String ST_NODE_CPU_MANUFACTURER = "cpuManufacturer"; - final static String ST_NODE_SERIAL_NUMBER = "serialNumber"; - final static String ST_NODE_PHYS_MEM = "physmem"; - final static String ST_NODE_CPU_INFO = "cpuinfo"; - final static String ST_NODE_SOCKETS = "sockets"; - final static String ST_NODE_CORES = "cores"; - final static String ST_NODE_VIRT_CPUS = "virtcpus"; - final static String ST_NODE_CPU_NAME = "name"; - final static String ST_NODE_CLOCK_RATE = "clockrate"; - final static String ST_NODE_REGISTRY = "registry"; - final static String ST_ATTR_REGISTRY_URN = "urn"; - final static String ST_ATTR_REGISTRY_VERSION = "version"; - final static String ST_NODE_SERVICE_TAG = "service_tag"; - final static String ST_NODE_INSTANCE_URN = "instance_urn"; - final static String ST_NODE_PRODUCT_NAME = "product_name"; - final static String ST_NODE_PRODUCT_VERSION = "product_version"; - final static String ST_NODE_PRODUCT_URN = "product_urn"; - final static String ST_NODE_PRODUCT_PARENT_URN = "product_parent_urn"; - final static String ST_NODE_PRODUCT_PARENT = "product_parent"; - final static String ST_NODE_PRODUCT_DEFINED_INST_ID = "product_defined_inst_id"; - final static String ST_NODE_PRODUCT_VENDOR = "product_vendor"; - final static String ST_NODE_PLATFORM_ARCH = "platform_arch"; - final static String ST_NODE_TIMESTAMP = "timestamp"; - final static String ST_NODE_CONTAINER = "container"; - final static String ST_NODE_SOURCE = "source"; - final static String ST_NODE_INSTALLER_UID = "installer_uid"; - - static RegistrationData load(InputStream in) throws IOException { - Document document = initializeDocument(in); - - // Gets the registration URN - Element root = getRegistrationDataRoot(document); - Element registryRoot = - getSingletonElementFromRoot(root, ST_NODE_REGISTRY); - String urn = registryRoot.getAttribute(ST_ATTR_REGISTRY_URN); - - // Construct a new RegistrationData object from the DOM tree - // Initialize the environment map and service tags - RegistrationData regData = new RegistrationData(urn); - addServiceTags(registryRoot, regData); - - Element envRoot = getSingletonElementFromRoot(root, ST_NODE_ENVIRONMENT); - buildEnvironmentMap(envRoot, regData); - - Element cpuInfo = getSingletonElementFromRoot(envRoot, ST_NODE_CPU_INFO); - buildCpuInfoMap(cpuInfo, regData); - return regData; - } - - static void store(OutputStream os, RegistrationData registration) - throws IOException { - // create a new document with the root node - Document document = initializeDocument(); - - // create the nodes for the environment map and the service tags - // in the registration data - addEnvironmentNodes(document, - registration.getEnvironmentMap(), - registration.getCpuInfoMap()); - addServiceTagRegistry(document, - registration.getRegistrationURN(), - registration.getServiceTags()); - transform(document, os); - } - - // initialize a document from an input stream - private static Document initializeDocument(InputStream in) throws IOException { - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - SchemaFactory sf = null; - try { - // Some Java versions (e.g., 1.5.0_06-b05) fail with a - // NullPointerException if SchemaFactory.newInstance is called with - // a null context class loader, so work around that here (and the - // class loader of this class hopefully is not the null bootstrap - // class loader): - ClassLoader cl = Thread.currentThread().getContextClassLoader(); - if (cl == null) { - Thread.currentThread().setContextClassLoader( - RegistrationDocument.class.getClassLoader()); - } - try { - sf = SchemaFactory.newInstance( - XMLConstants.W3C_XML_SCHEMA_NS_URI); - } finally { - Thread.currentThread().setContextClassLoader(cl); - } - - Schema schema = null; - try { - // Even using the workaround above is not enough on some - // Java versions. Therefore try to workaround the validation - // completely! - URL xsdUrl = RegistrationDocument.class.getResource(REGISTRATION_DATA_SCHEMA); - schema = sf.newSchema(xsdUrl); - } - catch (NullPointerException nex) { - } - - Validator validator = null; - if (schema != null) - validator = schema.newValidator(); - - DocumentBuilder builder = factory.newDocumentBuilder(); - Document doc = builder.parse(new InputSource(in)); - - if (validator != null) - validator.validate(new DOMSource(doc)); - - return doc; - } catch (SAXException sxe) { - IllegalArgumentException e = new IllegalArgumentException("Error generated in parsing"); - e.initCause(sxe); - throw e; - } catch (ParserConfigurationException pce) { - // Parser with specific options can't be built - // should not reach here - InternalError x = new InternalError("Error in creating the new document"); - x.initCause(pce); - throw x; - } - } - - // initialize a new document for the registration data - private static Document initializeDocument() throws IOException { - DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); - try { - DocumentBuilder builder = factory.newDocumentBuilder(); - Document doc = builder.newDocument(); - - // initialize the document with the registration_data root - Element root = doc.createElement(ST_NODE_REGISTRATION_DATA); - doc.appendChild(root); - root.setAttribute(ST_ATTR_REGISTRATION_VERSION, REGISTRATION_DATA_VERSION); - - return doc; - } catch (ParserConfigurationException pce) { - // Parser with specified options can't be built - // should not reach here - InternalError x = new InternalError("Error in creating the new document"); - x.initCause(pce); - throw x; - } - } - - // Transform the current DOM tree with the given output stream. - private static void transform(Document document, OutputStream os) { - try { - // Use a Transformer for output - TransformerFactory tFactory = TransformerFactory.newInstance(); - tFactory.setAttribute("indent-number", new Integer(3)); - - Transformer transformer = tFactory.newTransformer(); - - transformer.setOutputProperty(OutputKeys.INDENT, "yes"); - transformer.setOutputProperty(OutputKeys.METHOD, "xml"); - transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); - transformer.setOutputProperty(OutputKeys.STANDALONE, "yes"); - transformer.transform(new DOMSource(document), - new StreamResult(new BufferedWriter(new OutputStreamWriter(os, "UTF-8")))); - } catch (UnsupportedEncodingException ue) { - // Should not reach here - InternalError x = new InternalError("Error generated during transformation"); - x.initCause(ue); - throw x; - } catch (TransformerConfigurationException tce) { - // Error generated by the parser - // Should not reach here - InternalError x = new InternalError("Error in creating the new document"); - x.initCause(tce); - throw x; - } catch (TransformerException te) { - // Error generated by the transformer - InternalError x = new InternalError("Error generated during transformation"); - x.initCause(te); - throw x; - } - } - - private static void addServiceTagRegistry(Document document, - String registryURN, - Set<ServiceTag> svcTags) { - // add service tag registry node and its attributes - Element reg = document.createElement(ST_NODE_REGISTRY); - reg.setAttribute(ST_ATTR_REGISTRY_URN, registryURN); - reg.setAttribute(ST_ATTR_REGISTRY_VERSION, SERVICE_TAG_VERSION); - - Element root = getRegistrationDataRoot(document); - root.appendChild(reg); - - // adds the elements for the service tags - for (ServiceTag st : svcTags) { - addServiceTagElement(document, reg, st); - } - } - - private static void addServiceTagElement(Document document, - Element registryRoot, - ServiceTag st) { - Element svcTag = document.createElement(ST_NODE_SERVICE_TAG); - registryRoot.appendChild(svcTag); - addChildElement(document, svcTag, - ST_NODE_INSTANCE_URN, st.getInstanceURN()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_NAME, st.getProductName()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_VERSION, st.getProductVersion()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_URN, st.getProductURN()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_PARENT_URN, st.getProductParentURN()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_PARENT, st.getProductParent()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_DEFINED_INST_ID, - st.getProductDefinedInstanceID()); - addChildElement(document, svcTag, - ST_NODE_PRODUCT_VENDOR, st.getProductVendor()); - addChildElement(document, svcTag, - ST_NODE_PLATFORM_ARCH, st.getPlatformArch()); - addChildElement(document, svcTag, - ST_NODE_TIMESTAMP, Util.formatTimestamp(st.getTimestamp())); - addChildElement(document, svcTag, - ST_NODE_CONTAINER, st.getContainer()); - addChildElement(document, svcTag, - ST_NODE_SOURCE, st.getSource()); - addChildElement(document, svcTag, - ST_NODE_INSTALLER_UID, - String.valueOf(st.getInstallerUID())); - } - - private static void addChildElement(Document document, Element root, - String element, String text) { - Element node = document.createElement(element); - node.appendChild(document.createTextNode(text)); - root.appendChild(node); - } - - // Constructs service tags from the document - private static void addServiceTags(Element registryRoot, - RegistrationData registration) { - NodeList children = registryRoot.getElementsByTagName(ST_NODE_SERVICE_TAG); - int length = (children == null ? 0 : children.getLength()); - for (int i = 0; i < length; i++) { - Element svcTagElement = (Element) children.item(i); - ServiceTag st = getServiceTag(svcTagElement); - registration.addServiceTag(st); - } - } - - // build environment map from the document - private static void buildEnvironmentMap(Element envRoot, - RegistrationData registration) { - registration.setEnvironment(ST_NODE_HOSTNAME, getTextValue(envRoot, ST_NODE_HOSTNAME)); - registration.setEnvironment(ST_NODE_HOST_ID, getTextValue(envRoot, ST_NODE_HOST_ID)); - registration.setEnvironment(ST_NODE_OS_NAME, getTextValue(envRoot, ST_NODE_OS_NAME)); - registration.setEnvironment(ST_NODE_OS_VERSION, getTextValue(envRoot, ST_NODE_OS_VERSION)); - registration.setEnvironment(ST_NODE_OS_ARCH, getTextValue(envRoot, ST_NODE_OS_ARCH)); - registration.setEnvironment(ST_NODE_SYSTEM_MODEL, getTextValue(envRoot, ST_NODE_SYSTEM_MODEL)); - registration.setEnvironment(ST_NODE_SYSTEM_MANUFACTURER, getTextValue(envRoot, ST_NODE_SYSTEM_MANUFACTURER)); - registration.setEnvironment(ST_NODE_CPU_MANUFACTURER, getTextValue(envRoot, ST_NODE_CPU_MANUFACTURER)); - registration.setEnvironment(ST_NODE_SERIAL_NUMBER, getTextValue(envRoot, ST_NODE_SERIAL_NUMBER)); - registration.setEnvironment(ST_NODE_PHYS_MEM, getTextValue(envRoot, ST_NODE_PHYS_MEM)); - } - - private static void buildCpuInfoMap(Element cpuInfoRoot, - RegistrationData registration) { - registration.setCpuInfo(ST_NODE_SOCKETS, getTextValue(cpuInfoRoot, ST_NODE_SOCKETS)); - registration.setCpuInfo(ST_NODE_CORES, getTextValue(cpuInfoRoot, ST_NODE_CORES)); - registration.setCpuInfo(ST_NODE_VIRT_CPUS, getTextValue(cpuInfoRoot, ST_NODE_VIRT_CPUS)); - registration.setCpuInfo(ST_NODE_CPU_NAME, getTextValue(cpuInfoRoot, ST_NODE_CPU_NAME)); - registration.setCpuInfo(ST_NODE_CLOCK_RATE, getTextValue(cpuInfoRoot, ST_NODE_CLOCK_RATE)); - } - - // add the nodes representing the environment map in the document - private static void addEnvironmentNodes(Document document, - Map<String, String> envMap, - Map<String, String> cpuInfoMap) { - Element root = getRegistrationDataRoot(document); - - Element env = document.createElement(ST_NODE_ENVIRONMENT); - root.appendChild(env); - Set<Map.Entry<String, String>> keys = envMap.entrySet(); - for (Map.Entry<String, String> entry : keys) { - addChildElement(document, env, entry.getKey(), entry.getValue()); - } - - Element cpuInfo = document.createElement(ST_NODE_CPU_INFO); - env.appendChild(cpuInfo); - keys = cpuInfoMap.entrySet(); - for (Map.Entry<String, String> entry : keys) { - addChildElement(document, cpuInfo, entry.getKey(), entry.getValue()); - } - } - - private static Element getRegistrationDataRoot(Document doc) { - Element root = doc.getDocumentElement(); - if (!root.getNodeName().equals(ST_NODE_REGISTRATION_DATA)) { - throw new IllegalArgumentException("Not a " + - ST_NODE_REGISTRATION_DATA + - " node \"" + root.getNodeName() + "\""); - } - return root; - } - - private static Element getSingletonElementFromRoot(Element root, String name) { - NodeList children = root.getElementsByTagName(name); - int length = (children == null ? 0 : children.getLength()); - if (length != 1) { - throw new IllegalArgumentException("Invalid number of " + name + - " nodes = " + length); - } - Element e = (Element) children.item(0); - if (!e.getNodeName().equals(name)) { - throw new IllegalArgumentException("Not a " + name + - " node \"" + e.getNodeName() + "\""); - } - return e; - } - - // Constructs one ServiceTag instance from a service tag element root - private static ServiceTag getServiceTag(Element svcTagElement) { - return new ServiceTag( - getTextValue(svcTagElement, ST_NODE_INSTANCE_URN), - getTextValue(svcTagElement, ST_NODE_PRODUCT_NAME), - getTextValue(svcTagElement, ST_NODE_PRODUCT_VERSION), - getTextValue(svcTagElement, ST_NODE_PRODUCT_URN), - getTextValue(svcTagElement, ST_NODE_PRODUCT_PARENT), - getTextValue(svcTagElement, ST_NODE_PRODUCT_PARENT_URN), - getTextValue(svcTagElement, ST_NODE_PRODUCT_DEFINED_INST_ID), - getTextValue(svcTagElement, ST_NODE_PRODUCT_VENDOR), - getTextValue(svcTagElement, ST_NODE_PLATFORM_ARCH), - getTextValue(svcTagElement, ST_NODE_CONTAINER), - getTextValue(svcTagElement, ST_NODE_SOURCE), - Util.getIntValue(getTextValue(svcTagElement, ST_NODE_INSTALLER_UID)), - Util.parseTimestamp(getTextValue(svcTagElement, ST_NODE_TIMESTAMP)) - ); - } - - private static String getTextValue(Element e, String tagName) { - String value = ""; - NodeList nl = e.getElementsByTagName(tagName); - if (nl != null && nl.getLength() > 0) { - Element el = (Element) nl.item(0); - Node node = el.getFirstChild(); - if (node != null) { - value = node.getNodeValue(); - } - } - return value; - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/Registry.java b/desktop/source/registration/com/sun/star/servicetag/Registry.java deleted file mode 100755 index 1415a75fd28a..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/Registry.java +++ /dev/null @@ -1,553 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.*; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashSet; -import java.util.List; -import java.util.Properties; -import java.util.Set; - -import static com.sun.star.servicetag.Util.*; -import static com.sun.star.servicetag.RegistrationDocument.*; - -/** - * A service tag registry is a XML-based registry containing - * the list of {@link ServiceTag service tags} installed in the system. - * The {@code Registry} class provides interfaces - * to add, remove, update, and get a service tag from a service tag - * registry. - * This {@code Registry} class may not be supported - * on all systems. The {@link #isSupported} method - * can be called to determine if it is supported. - * <p> - * A registry may implement restrictions to only allow certain users - * to {@link #updateServiceTag update} and - * to {@link #removeServiceTag remove} a service tag record. Typically, - * only the owner of the service tag, the owner of the registry - * and superuser are authorized to update or remove a service tag in - * the registry. - * - * @see <a href="https://sn-tools.central.sun.com/twiki/bin/view/ServiceTags/ServiceTagDevGuideHelper"> - * Service Tag User Guide</a> - */ -public class Registry { - - private static final String STCLIENT_SOLARIS = "/usr/bin/stclient"; - private static final String STCLIENT_LINUX = "/opt/sun/servicetag/bin/stclient"; - // stclient exit value (see sthelper.h) - private static final int ST_ERR_NOT_AUTH = 245; - private static final int ST_ERR_REC_NOT_FOUND = 225; - - // The stclient output has to be an exported interface - private static final String INSTANCE_URN_DESC = "Product instance URN="; - private static boolean initialized = false; - private static boolean supportsHelperClass = true; // default - private static File stclient = null; - private static String stclientPath = null; - private static Registry registry = new Registry(); - - // System properties for testing - private static String SVCTAG_STCLIENT_CMD = "servicetag.stclient.cmd"; - private static String SVCTAG_STHELPER_SUPPORTED = "servicetag.sthelper.supported"; - - private Registry() { - } - - private synchronized static String getSTclient() { - if (!initialized) { - // the system property always overrides the default setting - if (System.getProperty(SVCTAG_STHELPER_SUPPORTED) != null) { - supportsHelperClass = Boolean.getBoolean(SVCTAG_STHELPER_SUPPORTED); - } - - // This is only used for testing - stclientPath = System.getProperty(SVCTAG_STCLIENT_CMD); - if (stclientPath != null) { - return stclientPath; - } - - // Initialization to determine the platform's stclient pathname - String os = System.getProperty("os.name"); - if (os.equals("SunOS")) { - stclient = new File(STCLIENT_SOLARIS); - } else if (os.equals("Linux")) { - stclient = new File(STCLIENT_LINUX); - } else if (os.startsWith("Windows")) { - stclient = getWindowsStClientFile(); - } else { - if (isVerbose()) { - System.out.println("Running on non-Sun JDK"); - } - } - initialized = true; - } - - // com.sun.servicetag package has to be compiled with JDK 5 as well - // JDK 5 doesn't support the File.canExecute() method. - // Risk not checking isExecute() for the stclient command is very low. - - if (stclientPath == null && stclient != null && stclient.exists()) { - stclientPath = stclient.getAbsolutePath(); - } - return stclientPath; - } - - /** - * Returns the system service tag registry. The {@code Registry} class - * may not be supported on some platforms; use the {@link #isSupported} - * method to determine if it is supported. - * - * @return the {@code Registry} object for the system service tag registry. - * - * @throws UnsupportedOperationException if the {@code Registry} class is - * not supported. - */ - public static Registry getSystemRegistry() { - if (isSupported()) { - return registry; - } else { - throw new UnsupportedOperationException("Registry class is not supported"); - } - } - - /** - * Returns {@code true} if the {@code Registry} class is supported on this system. - * - * @return {@code true} if the {@code Registry} class is supported; - * otherwise, return {@code false}. - */ - public static boolean isSupported() { - return (getSTclient() != null && supportsHelperClass); - } - - private static List<String> getCommandList() { - // Set up the arguments to call stclient - List<String> command = new ArrayList<String>(); - if (System.getProperty(SVCTAG_STCLIENT_CMD) != null) { - // This is for jtreg testing use. This will be set to something - // like: - // $JAVA_HOME/bin/java -cp $TEST_DIR \ - // -Dstclient.registry.path=$TEST_DIR/registry.xml \ - // SvcTagClient - // On Windows, the JAVA_HOME and TEST_DIR path could contain - // space e.g. c:\Program Files\Java\jdk1.6.0_05\bin\java. - // The SVCTAG_STCLIENT_CMD must be set with a list of - // space-separated parameters. If a parameter contains spaces, - // it must be quoted with '"'. - - String cmd = getSTclient(); - int len = cmd.length(); - int i = 0; - while (i < len) { - char separator = ' '; - if (cmd.charAt(i) == '"') { - separator = '"'; - i++; - } - // look for the separator or matched the closing '"' - int j; - for (j = i+1; j < len; j++) { - if (cmd.charAt(j) == separator) { - break; - } - } - - if (i == j-1) { - // add an empty parameter - command.add("\"\""); - } else { - // double quotes and space are not included - command.add(cmd.substring(i,j)); - } - - // skip spaces - for (i = j+1; i < len; i++) { - if (!Character.isSpaceChar(cmd.charAt(i))) { - break; - } - } - } - if (isVerbose()) { - System.out.println("Command list:"); - for (String s : command) { - System.out.println(s); - } - } - } else { - command.add(getSTclient()); - } - return command; - } - - // Returns null if the service tag record not found; - // or throw UnauthorizedAccessException or IOException - // based on the exitValue. - private static ServiceTag checkReturnError(int exitValue, - String output, - ServiceTag st) throws IOException { - switch (exitValue) { - case ST_ERR_REC_NOT_FOUND: - return null; - case ST_ERR_NOT_AUTH: - if (st != null) { - throw new UnauthorizedAccessException( - "Not authorized to access " + st.getInstanceURN() + - " installer_uid=" + st.getInstallerUID()); - } else { - throw new UnauthorizedAccessException( - "Not authorized:" + output); - } - default: - throw new IOException("stclient exits with error" + - " (" + exitValue + ")\n" + output); - } - } - - /** - * Adds a service tag to this registry. - * If the given service tag has an empty <tt>instance_urn</tt>, - * this helper class will generate a URN and place it in the - * copy of the service tag in this registry. - * This method will return the {@code ServiceTag} representing - * the service tag entry to this registry. - * - * @param st {@code ServiceTag} object - * @return a {@code ServiceTag} object representing the service tag - * entry to this registry. - * - * @throws IllegalArgumentException if a service tag of the same - * <tt>instance_urn</tt> already exists in this registry. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - public ServiceTag addServiceTag(ServiceTag st) throws IOException { - List<String> command = getCommandList(); - command.add("-a"); - if (st.getInstanceURN().length() > 0) { - ServiceTag sysSvcTag = getServiceTag(st.getInstanceURN()); - if (sysSvcTag != null) { - throw new IllegalArgumentException("Instance_urn = " + - st.getInstanceURN() + " already exists"); - } - command.add("-i"); - command.add(st.getInstanceURN()); - } - command.add("-p"); - command.add(st.getProductName()); - command.add("-e"); - command.add(st.getProductVersion()); - command.add("-t"); - command.add(st.getProductURN()); - if (st.getProductParentURN().length() > 0) { - command.add("-F"); - command.add(st.getProductParentURN()); - } - command.add("-P"); - command.add(st.getProductParent()); - if (st.getProductDefinedInstanceID().length() > 0) { - command.add("-I"); - command.add(st.getProductDefinedInstanceID()); - } - command.add("-m"); - command.add(st.getProductVendor()); - command.add("-A"); - command.add(st.getPlatformArch()); - command.add("-z"); - command.add(st.getContainer()); - command.add("-S"); - command.add(st.getSource()); - - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (isVerbose()) { - System.out.println("Output from stclient -a command:"); - System.out.println(output); - } - String urn = ""; - if (p.exitValue() == 0) { - // Obtain the instance urn from the stclient output - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - line = line.trim(); - if (line.startsWith(INSTANCE_URN_DESC)) { - urn = line.substring(INSTANCE_URN_DESC.length()); - break; - } - } - if (urn.length() == 0) { - throw new IOException("Error in creating service tag:\n" + - output); - } - return getServiceTag(urn); - } else { - return checkReturnError(p.exitValue(), output, st); - } - } finally { - if (in != null) { - in.close(); - } - } - } - - /** - * Removes a service tag of the given <tt>instance_urn</tt> from this - * registry. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag - * to be removed. - * - * @return the {@code ServiceTag} object removed from this registry; - * or {@code null} if the service tag does not exist in this registry. - * - * @throws UnauthorizedAccessException if the user is not authorized to - * remove the service tag of the given <tt>instance_urn</tt> - * from this registry. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - public ServiceTag removeServiceTag(String instanceURN) throws IOException { - ServiceTag st = getServiceTag(instanceURN); - if (st == null) { - return null; - } - - List<String> command = getCommandList(); - command.add("-d"); - command.add("-i"); - command.add(instanceURN); - - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (isVerbose()) { - System.out.println("Output from stclient -d command:"); - System.out.println(output); - } - if (p.exitValue() == 0) { - return st; - } else { - return checkReturnError(p.exitValue(), output, st); - } - } - - /** - * Updates the <tt>product_defined_instance_id</tt> in the service tag - * of the specified <tt>instance_urn</tt> in this registry. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag to be updated. - * @param productDefinedInstanceID the value of the - * <tt>product_defined_instance_id</tt> to be set. - * - * @return the updated {@code ServiceTag} object; - * or {@code null} if the service tag does not exist in this - * registry. - * - * @throws UnauthorizedAccessException if the user is not authorized to - * update the service tag from this registry. - * - * @throws IOException if an I/O error occurs in this operation. - */ - public ServiceTag updateServiceTag(String instanceURN, - String productDefinedInstanceID) - throws IOException { - ServiceTag svcTag = getServiceTag(instanceURN); - if (svcTag == null) { - return null; - } - - List<String> command = getCommandList(); - command.add("-u"); - command.add("-i"); - command.add(instanceURN); - command.add("-I"); - if (productDefinedInstanceID.length() > 0) { - command.add(productDefinedInstanceID); - } else { - command.add("\"\""); - } - - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (isVerbose()) { - System.out.println("Output from stclient -u command:"); - System.out.println(output); - } - - if (p.exitValue() == 0) { - return getServiceTag(instanceURN); - } else { - return checkReturnError(p.exitValue(), output, svcTag); - } - } - - /** - * Returns a {@code ServiceTag} object of the given <tt>instance_urn</tt> - * in this registry. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag - * @return a {@code ServiceTag} object of the given <tt>instance_urn</tt> - * in this registry; or {@code null} if not found. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - public ServiceTag getServiceTag(String instanceURN) throws IOException { - if (instanceURN == null) { - throw new NullPointerException("instanceURN is null"); - } - - List<String> command = getCommandList(); - command.add("-g"); - command.add("-i"); - command.add(instanceURN); - - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (isVerbose()) { - System.out.println("Output from stclient -g command:"); - System.out.println(output); - } - if (p.exitValue() == 0) { - return parseServiceTag(output); - } else { - return checkReturnError(p.exitValue(), output, null); - } - } - - private ServiceTag parseServiceTag(String output) throws IOException { - BufferedReader in = null; - try { - Properties props = new Properties(); - // parse the service tag output from stclient - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - if ((line = line.trim()).length() > 0) { - String[] ss = line.trim().split("=", 2); - if (ss.length == 2) { - props.setProperty(ss[0].trim(), ss[1].trim()); - } else { - props.setProperty(ss[0].trim(), ""); - } - } - } - - String urn = props.getProperty(ST_NODE_INSTANCE_URN); - String productName = props.getProperty(ST_NODE_PRODUCT_NAME); - String productVersion = props.getProperty(ST_NODE_PRODUCT_VERSION); - String productURN = props.getProperty(ST_NODE_PRODUCT_URN); - String productParent = props.getProperty(ST_NODE_PRODUCT_PARENT); - String productParentURN = props.getProperty(ST_NODE_PRODUCT_PARENT_URN); - String productDefinedInstanceID = - props.getProperty(ST_NODE_PRODUCT_DEFINED_INST_ID); - String productVendor = props.getProperty(ST_NODE_PRODUCT_VENDOR); - String platformArch = props.getProperty(ST_NODE_PLATFORM_ARCH); - String container = props.getProperty(ST_NODE_CONTAINER); - String source = props.getProperty(ST_NODE_SOURCE); - int installerUID = - Util.getIntValue(props.getProperty(ST_NODE_INSTALLER_UID)); - Date timestamp = - Util.parseTimestamp(props.getProperty(ST_NODE_TIMESTAMP)); - - return new ServiceTag(urn, - productName, - productVersion, - productURN, - productParent, - productParentURN, - productDefinedInstanceID, - productVendor, - platformArch, - container, - source, - installerUID, - timestamp); - } finally { - if (in != null) { - in.close(); - } - } - - } - - /** - * Returns the service tags of the specified - * <tt>product_urn</tt> in this registry. - * - * @param productURN the <tt>product_urn</tt> to look up - * @return a {@code Set} of {@code ServiceTag} objects - * of the specified <tt>product_urn</tt> in this registry. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - public Set<ServiceTag> findServiceTags(String productURN) throws IOException { - if (productURN == null) { - throw new NullPointerException("productURN is null"); - } - - List<String> command = getCommandList(); - command.add("-f"); - command.add("-t"); - command.add(productURN); - - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - - Set<ServiceTag> instances = new HashSet<ServiceTag>(); - if (p.exitValue() == 0) { - // parse the service tag output from stclient - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - String s = line.trim(); - if (s.startsWith("urn:st:")) { - instances.add(getServiceTag(s)); - } - } - } else { - checkReturnError(p.exitValue(), output, null); - } - return instances; - } finally { - if (in != null) { - in.close(); - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/ServiceTag.java b/desktop/source/registration/com/sun/star/servicetag/ServiceTag.java deleted file mode 100755 index 4adb36772517..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/ServiceTag.java +++ /dev/null @@ -1,636 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.util.Date; -import java.io.IOException; -import static com.sun.star.servicetag.RegistrationDocument.*; - -/** - * A service tag is an XML-based data structure that identifies a product or - * a component on a system. The service tag schema is defined by the - * Service Tags Technology. The location of the DTD file is platform dependent. - * On Solaris, see <tt>/usr/share/lib/xml/dtd/servicetag.dtd</tt>. - * <p> - * A valid {@code ServiceTag} instance must comply to the service tag schema - * and contain the following fields: - * <ul> - * <li>{@link #getInstanceURN <tt>instance_urn</tt>}</li> - * <li>{@link #getProductName <tt>product_name</tt>}</li> - * <li>{@link #getProductVersion <tt>product_version</tt>}</li> - * <li>{@link #getProductURN <tt>product_urn</tt>}</li> - * <li>{@link #getProductParent <tt>product_parent</tt>}</li> - * <li>{@link #getProductParentURN <tt>product_parent_urn</tt>}</li> - * <li>{@link #getProductDefinedInstanceID <tt>product_defined_inst_id</tt>}</li> - * <li>{@link #getProductVendor <tt>product_vendor</tt>}</li> - * <li>{@link #getPlatformArch <tt>platform_arch</tt>}</li> - * <li>{@link #getContainer <tt>container</tt>}</li> - * <li>{@link #getSource <tt>source</tt>}</li> - * <li>{@link #getInstallerUID <tt>installer_uid</tt>}</li> - * <li>{@link #getTimestamp <tt>timestamp</tt>}</li> - * </ul> - * - * The <tt>instance_urn</tt> can be specified when a {@code ServiceTag} - * object is created, or it can be generated when it is added to - * a {@link RegistrationData} object, or {@link Registry - * system service tag registry}. The <tt>installer_uid</tt> and - * <tt>timestamp</tt> are set when a {@code ServiceTag} object - * is added to a {@link RegistrationData} object, or {@link Registry - * system service tag registry}. - * - * @see <a href="https://sunconnection.sun.com/FAQ/sc_faq.html">Service Tags FAQ</a> - */ -public class ServiceTag { - - private String instanceURN; - private String productName; - private String productVersion; - private String productURN; - private String productParent; - private String productParentURN; - private String productDefinedInstanceID; - private String productVendor; - private String platformArch; - private String container; - private String source; - private int installerUID; - private Date timestamp; - - // Service Tag Field Lengths (defined in sthelper.h) - // Since the constants defined in sthelper.h includes the null-terminated - // character, so minus 1 from the sthelper.h defined values. - private final int MAX_URN_LEN = 256 - 1; - private final int MAX_PRODUCT_NAME_LEN = 256 - 1; - private final int MAX_PRODUCT_VERSION_LEN = 64 - 1; - private final int MAX_PRODUCT_PARENT_LEN = 256 - 1; - private final int MAX_PRODUCT_VENDOR_LEN = 64 - 1; - private final int MAX_PLATFORM_ARCH_LEN = 64 - 1; - private final int MAX_CONTAINER_LEN = 64 - 1; - private final int MAX_SOURCE_LEN = 64 - 1; - - // private constructors - private ServiceTag() { - } - // package private - ServiceTag(String instanceURN, - String productName, - String productVersion, - String productURN, - String productParent, - String productParentURN, - String productDefinedInstanceID, - String productVendor, - String platformArch, - String container, - String source, - int installerUID, - Date timestamp) { - setInstanceURN(instanceURN); - setProductName(productName); - setProductVersion(productVersion); - setProductURN(productURN); - setProductParentURN(productParentURN); - setProductParent(productParent); - setProductDefinedInstanceID(productDefinedInstanceID); - setProductVendor(productVendor); - setPlatformArch(platformArch); - setContainer(container); - setSource(source); - setInstallerUID(installerUID); - setTimestamp(timestamp); - } - - /** - * Creates a service tag object with no <tt>instance_urn</tt>. - * - * @param productName the name of the product. - * @param productVersion the version of the product. - * @param productURN the uniform resource name of the product - * @param productParent the name of the product's parent. - * @param productParentURN the uniform resource name of the product's parent. - * @param productDefinedInstanceID the instance identifier. - * @param productVendor the vendor of the product. - * @param platformArch the operating system architecture. - * @param container the container of the product. - * @param source the source of the product. - * - * @throws IllegalArgumentException if any value of the input fields - * does not conform to the service tag XML schema. - */ - public static ServiceTag newInstance(String productName, - String productVersion, - String productURN, - String productParent, - String productParentURN, - String productDefinedInstanceID, - String productVendor, - String platformArch, - String container, - String source) { - return new ServiceTag("", /* empty instance_urn */ - productName, - productVersion, - productURN, - productParent, - productParentURN, - productDefinedInstanceID, - productVendor, - platformArch, - container, - source, - -1, - null); - } - - /** - * Creates a service tag object with a specified <tt>instance_urn</tt>. - * - * @param instanceURN the uniform resource name of this instance. - * @param productName the name of the product. - * @param productVersion the version of the product. - * @param productURN the uniform resource name of the product - * @param productParent the name of the product's parent. - * @param productParentURN the uniform resource name of the product's parent. - * @param productDefinedInstanceID the instance identifier. - * @param productVendor the vendor of the product. - * @param platformArch the operating system architecture. - * @param container the container of the product. - * @param source the source of the product. - * - * @throws IllegalArgumentException if any value of the input fields - * does not conform to the service tag XML schema. - */ - public static ServiceTag newInstance(String instanceURN, - String productName, - String productVersion, - String productURN, - String productParent, - String productParentURN, - String productDefinedInstanceID, - String productVendor, - String platformArch, - String container, - String source) { - return new ServiceTag(instanceURN, - productName, - productVersion, - productURN, - productParent, - productParentURN, - productDefinedInstanceID, - productVendor, - platformArch, - container, - source, - -1, - null); - } - - // Creates a copy of the ServiceTag instance - // with instance_urn and timestamp initialized - static ServiceTag newInstanceWithUrnTimestamp(ServiceTag st) { - String instanceURN = - (st.getInstanceURN().length() == 0 ? Util.generateURN() : - st.getInstanceURN()); - ServiceTag svcTag = new ServiceTag(instanceURN, - st.getProductName(), - st.getProductVersion(), - st.getProductURN(), - st.getProductParent(), - st.getProductParentURN(), - st.getProductDefinedInstanceID(), - st.getProductVendor(), - st.getPlatformArch(), - st.getContainer(), - st.getSource(), - st.getInstallerUID(), - new Date()); - return svcTag; - } - - /** - * Returns a uniform resource name (URN) in this format: - * <blockquote> - * "<tt>urn:st:<32-char {@link java.util.UUID uuid}></tt>" - * </blockquote> - * @return a URN. - */ - public static String generateInstanceURN() { - return Util.generateURN(); - } - - /** - * Returns the uniform resource name of this service tag instance. - * - * @return the <tt>instance_urn</tt> of this service tag. - */ - public String getInstanceURN() { - return instanceURN; - } - - /** - * Returns the name of the product. - * - * @return the product name. - */ - public String getProductName() { - return productName; - } - - /** - * Returns the version of the product. - * - * @return the product version. - */ - public String getProductVersion() { - return productVersion; - } - - /** - * Returns the uniform resource name of the product. - * - * @return the product URN. - */ - public String getProductURN() { - return productURN; - } - - /** - * Returns the uniform resource name of the product's parent. - * - * @return the product's parent URN. - */ - public String getProductParentURN() { - return productParentURN; - } - - /** - * Returns the name of the product's parent. - * - * @return the product's parent name. - */ - public String getProductParent() { - return productParent; - } - - /** - * Returns the identifier defined for this product instance. - * - * @return the identifier defined for this product instance. - */ - public String getProductDefinedInstanceID() { - return productDefinedInstanceID; - } - - /** - * Returns the vendor of the product. - * - * @return the product vendor. - */ - public String getProductVendor() { - return productVendor; - } - - /** - * Returns the platform architecture on which the product - * is running on. - * - * @return the platform architecture on which the product is running on. - */ - public String getPlatformArch() { - return platformArch; - } - - /** - * Returns the timestamp. This timestamp is set when this service tag - * is added to or updated in a {@code RegistrationData} object or - * the system service tag registry. - * This method may return {@code null}. - * - * @return timestamp when this service tag - * is added to or updated in a {@code RegistrationData} object or - * the system service tag registry, or {@code null}. - */ - public Date getTimestamp() { - if (timestamp != null) { - return (Date) timestamp.clone(); - } else { - return null; - } - } - - - /** - * Returns the container of the product. - * - * @return the container of the product. - */ - public String getContainer() { - return container; - } - - /** - * Returns the source of this service tag. - * - * @return source of this service tag. - */ - public String getSource() { - return source; - } - - /** - * Returns the UID. The UID is set when this service tag - * is added to or updated in the system service tag registry. - * This is platform dependent whose default value is {@code -1}. - * When this service tag is added to a {@code RegistrationData}, - * the UID is not set. - * - * @return the UID of whom this service tag - * is added to or updated in the system service tag registry, - * or {@code -1}. - */ - public int getInstallerUID() { - return installerUID; - } - - // The following setter methods are used to validate the - // input field when constructing a ServiceTag instance - - private void setInstanceURN(String instanceURN) { - if (instanceURN == null) { - throw new NullPointerException("Parameter instanceURN cannot be null"); - } - if (instanceURN.length() > MAX_URN_LEN) { - throw new IllegalArgumentException("instanceURN \"" + instanceURN + - "\" exceeds maximum length " + MAX_URN_LEN); - } - this.instanceURN = instanceURN; - } - - private void setProductName(String productName) { - if (productName == null) { - throw new NullPointerException("Parameter productName cannot be null"); - } - if (productName.length() == 0) { - throw new IllegalArgumentException("product name cannot be empty"); - } - if (productName.length() > MAX_PRODUCT_NAME_LEN) { - throw new IllegalArgumentException("productName \"" + productName + - "\" exceeds maximum length " + MAX_PRODUCT_NAME_LEN); - } - this.productName = productName; - } - - private void setProductVersion(String productVersion) { - if (productVersion == null) { - throw new NullPointerException("Parameter productVersion cannot be null"); - } - - if (productVersion.length() == 0) { - throw new IllegalArgumentException("product version cannot be empty"); - } - if (productVersion.length() > MAX_PRODUCT_VERSION_LEN) { - throw new IllegalArgumentException("productVersion \"" + - productVersion + "\" exceeds maximum length " + - MAX_PRODUCT_VERSION_LEN); - } - this.productVersion = productVersion; - } - - private void setProductURN(String productURN) { - if (productURN == null) { - throw new NullPointerException("Parameter productURN cannot be null"); - } - if (productURN.length() == 0) { - throw new IllegalArgumentException("product URN cannot be empty"); - } - if (productURN.length() > MAX_URN_LEN) { - throw new IllegalArgumentException("productURN \"" + productURN + - "\" exceeds maximum length " + MAX_URN_LEN); - } - this.productURN = productURN; - } - - private void setProductParentURN(String productParentURN) { - if (productParentURN == null) { - throw new NullPointerException("Parameter productParentURN cannot be null"); - } - // optional field - can be empty - if (productParentURN.length() > MAX_URN_LEN) { - throw new IllegalArgumentException("productParentURN \"" + - productParentURN + "\" exceeds maximum length " + - MAX_URN_LEN); - } - this.productParentURN = productParentURN; - } - - private void setProductParent(String productParent) { - if (productParent == null) { - throw new NullPointerException("Parameter productParent cannot be null"); - } - if (productParent.length() == 0) { - throw new IllegalArgumentException("product parent cannot be empty"); - } - if (productParent.length() > MAX_PRODUCT_PARENT_LEN) { - throw new IllegalArgumentException("productParent \"" + - productParent + "\" exceeds maximum length " + - MAX_PRODUCT_PARENT_LEN); - } - this.productParent = productParent; - } - - void setProductDefinedInstanceID(String productDefinedInstanceID) { - if (productDefinedInstanceID == null) { - throw new NullPointerException("Parameter productDefinedInstanceID cannot be null"); - } - if (productDefinedInstanceID.length() > MAX_URN_LEN) { - throw new IllegalArgumentException("productDefinedInstanceID \"" + - productDefinedInstanceID + "\" exceeds maximum length " + - MAX_URN_LEN); - } - // optional field - can be empty - this.productDefinedInstanceID = productDefinedInstanceID; - } - - private void setProductVendor(String productVendor) { - if (productVendor == null) { - throw new NullPointerException("Parameter productVendor cannot be null"); - } - if (productVendor.length() == 0) { - throw new IllegalArgumentException("product vendor cannot be empty"); - } - if (productVendor.length() > MAX_PRODUCT_VENDOR_LEN) { - throw new IllegalArgumentException("productVendor \"" + - productVendor + "\" exceeds maximum length " + - MAX_PRODUCT_VENDOR_LEN); - } - this.productVendor = productVendor; - } - - private void setPlatformArch(String platformArch) { - if (platformArch == null) { - throw new NullPointerException("Parameter platformArch cannot be null"); - } - if (platformArch.length() == 0) { - throw new IllegalArgumentException("platform architecture cannot be empty"); - } - if (platformArch.length() > MAX_PLATFORM_ARCH_LEN) { - throw new IllegalArgumentException("platformArch \"" + - platformArch + "\" exceeds maximum length " + - MAX_PLATFORM_ARCH_LEN); - } - this.platformArch = platformArch; - } - - private void setTimestamp(Date timestamp) { - // can be null - this.timestamp = timestamp; - } - - private void setContainer(String container) { - if (container == null) { - throw new NullPointerException("Parameter container cannot be null"); - } - if (container.length() == 0) { - throw new IllegalArgumentException("container cannot be empty"); - } - if (container.length() > MAX_CONTAINER_LEN) { - throw new IllegalArgumentException("container \"" + - container + "\" exceeds maximum length " + - MAX_CONTAINER_LEN); - } - this.container = container; - } - - private void setSource(String source) { - if (source == null) { - throw new NullPointerException("Parameter source cannot be null"); - } - if (source.length() == 0) { - throw new IllegalArgumentException("source cannot be empty"); - } - if (source.length() > MAX_SOURCE_LEN) { - throw new IllegalArgumentException("source \"" + source + - "\" exceeds maximum length " + MAX_SOURCE_LEN); - } - this.source = source; - } - - private void setInstallerUID(int installerUID) { - this.installerUID = installerUID; - } - - /** - * Compares this service tag to the specified object. - * The result is {@code true} if and only if the argument is - * not {@code null} and is a {@code ServiceTag} object whose - * <tt>instance_urn</tt> is the same as the - * <tt>instance_urn</tt> of this service tag. - * - * @return {@code true} if this service tag is the same as - * the specified object. - */ - @Override - public boolean equals(Object obj) { - if (obj == null || !(obj instanceof ServiceTag)) { - return false; - } - ServiceTag st = (ServiceTag) obj; - if (st == this) { - return true; - } - return st.getInstanceURN().equals(getInstanceURN()); - } - - /** - * Returns the hash code value for this service tag. - * @return the hash code value for this service tag. - */ - @Override - public int hashCode() { - int hash = 7; - hash = 19 * hash + (this.instanceURN != null ? this.instanceURN.hashCode() : 0); - return hash; - } - - /** - * Returns the string representation of this service tag. - * The format is implementation specific. - * - * @return the string representation of this service tag. - */ - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append(ST_NODE_INSTANCE_URN).append("=").append(instanceURN).append("\n"); - sb.append(ST_NODE_PRODUCT_NAME).append("=").append(productName).append("\n"); - sb.append(ST_NODE_PRODUCT_VERSION).append("=").append(productVersion).append("\n"); - sb.append(ST_NODE_PRODUCT_URN).append("=").append(productURN).append("\n"); - sb.append(ST_NODE_PRODUCT_PARENT_URN).append("=").append(productParentURN).append("\n"); - sb.append(ST_NODE_PRODUCT_PARENT).append("=").append(productParent).append("\n"); - sb.append(ST_NODE_PRODUCT_DEFINED_INST_ID).append("=").append(productDefinedInstanceID).append("\n"); - sb.append(ST_NODE_PRODUCT_VENDOR).append("=").append(productVendor).append("\n"); - sb.append(ST_NODE_PLATFORM_ARCH).append("=").append(platformArch).append("\n"); - sb.append(ST_NODE_TIMESTAMP).append("=").append(Util.formatTimestamp(timestamp)).append("\n"); - sb.append(ST_NODE_CONTAINER).append("=").append(container).append("\n"); - sb.append(ST_NODE_SOURCE).append("=").append(source).append("\n"); - sb.append(ST_NODE_INSTALLER_UID).append("=").append(String.valueOf(installerUID)).append("\n"); - return sb.toString(); - } - - - /** - * Returns the {@link ServiceTag} instance for the running Java - * platform. The {@link ServiceTag#setSource source} field - * of the {@code ServiceTag} will be set to the given {@code source}. - * This method will return {@code null} if there is no service tag - * for the running Java platform. - * <p> - * This method is designed for Sun software that bundles the JDK - * or the JRE to use. It is recommended that the {@code source} - * string contains information about the bundling software - * such as the name and the version of the software bundle, - * for example, - * <blockquote> - * <tt>NetBeans IDE 6.0 with JDK 6 Update 5 Bundle</tt> - * </blockquote> - * in a NetBeans/JDK bundle. - * <p> - * At the first time to call this method the application - * is required to have the write permission to the installed - * directory of this running JDK or JRE instance. - * - * @param source the source that bundles the JDK or the JRE. - * @return a {@code ServiceTag} object for the Java platform, - * or {@code null} if not supported. - * @throws IOException if an error occurs in this operation. - */ - public static ServiceTag getJavaServiceTag(String source) throws IOException { - return Installer.getJavaServiceTag(source); - } - -} diff --git a/desktop/source/registration/com/sun/star/servicetag/SolarisServiceTag.java b/desktop/source/registration/com/sun/star/servicetag/SolarisServiceTag.java deleted file mode 100755 index 4f99d890577f..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/SolarisServiceTag.java +++ /dev/null @@ -1,64 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.IOException; -import java.util.Set; - -/** - * Utility class to obtain the service tag for the Solaris Operating System. - */ -class SolarisServiceTag { - private final static String[] SolarisProductURNs = new String[] { - "urn:uuid:a7a38948-2bd5-11d6-98ce-9d3ac1c0cfd7", /* Solaris 8 */ - "urn:uuid:4f82caac-36f3-11d6-866b-85f428ef944e", /* Solaris 9 */ - "urn:uuid:a19de03b-48bc-11d9-9607-080020a9ed93", /* Solaris 9 sparc */ - "urn:uuid:4c35c45b-4955-11d9-9607-080020a9ed93", /* Solaris 9 x86 */ - "urn:uuid:5005588c-36f3-11d6-9cec-fc96f718e113", /* Solaris 10 */ - "urn:uuid:6df19e63-7ef5-11db-a4bd-080020a9ed93" /* Solaris 11 */ - }; - - /** - * Returns null if not found. - * - * There is only one service tag for the operating system. - */ - static ServiceTag getServiceTag() throws IOException { - if (Registry.isSupported()) { - Registry streg = Registry.getSystemRegistry(); - for (String parentURN : SolarisProductURNs) { - Set<ServiceTag> instances = streg.findServiceTags(parentURN); - for (ServiceTag st : instances) { - // there should have only one service tag for the OS - return st; - } - } - } - return null; - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/SolarisSystemEnvironment.java b/desktop/source/registration/com/sun/star/servicetag/SolarisSystemEnvironment.java deleted file mode 100755 index 4a5a980938e1..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/SolarisSystemEnvironment.java +++ /dev/null @@ -1,420 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -// The Service Tags team maintains the latest version of the implementation -// for system environment data collection. JDK will include a copy of -// the most recent released version for a JDK release. We rename -// the package to com.sun.servicetag so that the Sun Connection -// product always uses the latest version from the com.sun.scn.servicetags -// package. JDK and users of the com.sun.servicetag API -// (e.g. NetBeans and SunStudio) will use the version in JDK. - -import java.io.*; -import java.util.Set; -import java.util.HashSet; - -/** - * Solaris implementation of the SystemEnvironment class. - */ -class SolarisSystemEnvironment extends SystemEnvironment { - private static final int SN = 1; - private static final int SYS = 2; - private static final int CPU = 3; - private static final int MODEL = 4; - private String kstatCpuInfo = null; - - SolarisSystemEnvironment() { - setHostId(getCommandOutput("/usr/bin/hostid")); - setSystemModel(getSolarisModel()); - setSystemManufacturer(getSolarisSystemManufacturer()); - setCpuManufacturer(getSolarisCpuManufacturer()); - setSerialNumber(getSolarisSN()); - setPhysMem(getSolarisPhysMem()); - setSockets(getSolarisSockets()); - setCores(getSolarisCores()); - setVirtCpus(getSolarisVirtCpus()); - setCpuName(getSolarisCpuName()); - setClockRate(getSolarisClockRate()); - } - - private String getSolarisClockRate() { - String data = getSolarisKstatCpuInfo(); - - String lines[] = data.split("\n"); - String token = "clock_MHz"; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.startsWith(token)) { - return line.substring(line.indexOf(token) + token.length()).trim(); - } - } - return ""; - } - - private String getSolarisCpuName() { - String data = getSolarisKstatCpuInfo(); - - String lines[] = data.split("\n"); - String token = "brand"; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.startsWith(token)) { - return line.substring(line.indexOf(token) + token.length()).trim(); - } - } - return ""; - } - - private String getSolarisVirtCpus() { - String data = getSolarisKstatCpuInfo(); - - int cnt = 0; - String lines[] = data.split("\n"); - String token = " cpu_info "; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.indexOf(token) != -1) { - cnt++; - } - } - return "" + cnt; - } - - private String getSolarisCores() { - String data = getSolarisKstatCpuInfo(); - - Set<String> set = new HashSet<String>(); - String lines[] = data.split("\n"); - String coreIdToken = "core_id"; - String coreId = ""; - String chipIdToken = "chip_id"; - String chipId = ""; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.startsWith(chipIdToken)) { - chipId = line.substring(line.indexOf(chipIdToken) + chipIdToken.length()).trim(); - } - if (line.startsWith(coreIdToken)) { - coreId = line.substring(line.indexOf(coreIdToken) + coreIdToken.length()).trim(); - set.add(chipId + "," + coreId); - } - } - return "" + set.size(); - } - - private String getSolarisPhysMem() { - String data = getCommandOutput("/usr/sbin/prtconf"); - - int cnt = 0; - String lines[] = data.split("\n"); - String token = "Memory size:"; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.startsWith(token)) { - line = line.substring(line.indexOf(token) + token.length()).trim(); - if (line.indexOf(" ") != -1) { - return line.substring(0, line.indexOf(" ")).trim(); - } - } - } - return ""; - } - - private String getSolarisSockets() { - String data = getSolarisKstatCpuInfo(); - - Set<String> set = new HashSet<String>(); - String lines[] = data.split("\n"); - String token = "chip_id"; - for (int i=0; i<lines.length; i++) { - String line = lines[i].trim(); - if (line.startsWith(token)) { - String id = line.substring(line.indexOf(token) + token.length()).trim(); - set.add(id); - } - } - return "" + set.size(); - } - - private synchronized String getSolarisKstatCpuInfo() { - // only try to get kstat cpu_info information once, after that, we can - // reuse the output - if (kstatCpuInfo == null) { - Thread thread = new Thread() { - public void run() { - kstatCpuInfo = getCommandOutput("/usr/bin/kstat", "cpu_info"); - } - }; - thread.start(); - - try { - thread.join(2000); - if (thread.isAlive()) { - thread.interrupt(); - kstatCpuInfo = ""; - } - } catch (InterruptedException ie) { - thread.interrupt(); - } - } - return kstatCpuInfo; - } - - private String getSolarisModel() { - String tmp = getFileContent("/var/run/psn"); - if (tmp.length() > 0) { - String[] lines = tmp.split("\n"); - if (MODEL <= lines.length) { - return lines[MODEL-1] + "::" - + getCommandOutput("/usr/bin/uname", "-v"); - } - } - - if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) { - return getCommandOutput("/usr/bin/uname", "-i") + "::" - + getCommandOutput("/usr/bin/uname", "-v"); - } else { - String model = getSmbiosData("1", "Product: "); - if (model == null || model.trim().equals("")) { - model = getCommandOutput("/usr/bin/uname", "-i"); - } - if (model == null) { - model = ""; - } - return model.trim() + "::" - + getCommandOutput("/usr/bin/uname", "-v"); - } - } - - /** - * Tries to obtain the cpu manufacturer. - * @return The cpu manufacturer (an empty string if not found or an error occurred) - */ - private String getSolarisCpuManufacturer() { - String tmp = getFileContent("/var/run/psn"); - if (tmp.length() > 0) { - String[] lines = tmp.split("\n"); - if (CPU <= lines.length) { - return lines[CPU-1]; - } - } - - // not fully accurate, this could be another manufacturer (fujitsu for example) - if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) { - return "Sun Microsystems, Inc"; - } - - // if we're here, then we'll try smbios (type 4) - return getSmbiosData("4", "Manufacturer: "); - } - - /** - * Tries to obtain the system manufacturer. - * @return The system manufacturer (an empty string if not found or an error occurred) - */ - private String getSolarisSystemManufacturer() { - String tmp = getFileContent("/var/run/psn"); - if (tmp.length() > 0) { - String[] lines = tmp.split("\n"); - if (SYS <= lines.length) { - return lines[SYS-1]; - } - } - - // not fully accurate, this could be another manufacturer (fujitsu for example) - if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) { - if (getCommandOutput("/usr/bin/uname", "-m").equals("sun4us")) { - return "Fujitsu"; - } - return "Sun Microsystems, Inc"; - } - - // if we're here, then we'll try smbios (type 1) - return getSmbiosData("1", "Manufacturer: "); - } - - /** - * Tries to obtain the serial number. - * @return The serial number (empty string if not found or an error occurred) - */ - private String getSolarisSN() { - // try to read from the psn file if it exists - String tmp = getFileContent("/var/run/psn"); - if (tmp.length() > 0) { - String[] lines = tmp.split("\n"); - if (SN <= lines.length) { - return lines[SN-1]; - } - } - - // if we're here, then we'll try sneep - String tmpSN = getSneepSN(); - if (tmpSN.length() > 0) { - return tmpSN; - } - - // if we're here, then we'll try smbios (type 1) - tmpSN = getSmbiosData("1", "Serial Number: "); - if (tmpSN.length() > 0) { - return tmpSN; - } - - // if we're here, then we'll try smbios (type 3) - tmpSN = getSmbiosData("3", "Serial Number: "); - if (tmpSN.length() > 0) { - return tmpSN; - } - - if ("sparc".equalsIgnoreCase(System.getProperty("os.arch"))) { - tmpSN = getSNViaPrtfruX(); - if (tmpSN.length() > 0) { - return tmpSN; - } - tmpSN = getSNViaPrtfru(); - if (tmpSN.length() > 0) { - return tmpSN; - } - } - - // give up and return - return ""; - } - - // Sample smbios output segment: - // ID SIZE TYPE - // 1 150 SMB_TYPE_SYSTEM (system information) - // Manufacturer: Sun Microsystems - // Product: Sun Fire X4600 - // Version: To Be Filled By O.E.M. - // Serial Number: 00:14:4F:45:0C:2A - private String getSmbiosData(String type, String target) { - String output = getCommandOutput("/usr/sbin/smbios", "-t", type); - for (String s : output.split("\n")) { - if (s.contains(target)) { - int indx = s.indexOf(target) + target.length(); - if (indx < s.length()) { - String tmp = s.substring(indx).trim(); - String lowerCaseStr = tmp.toLowerCase(); - if (!lowerCaseStr.startsWith("not available") - && !lowerCaseStr.startsWith("to be filled by o.e.m")) { - return tmp; - } - } - } - } - - return ""; - } - - private String getSneepSN() { - String basedir = getCommandOutput("pkgparam","SUNWsneep","BASEDIR"); - File f = new File(basedir + "/bin/sneep"); - if (f.exists()) { - String sneepSN = getCommandOutput(basedir + "/bin/sneep"); - if (sneepSN.equalsIgnoreCase("unknown")) { - return ""; - } else { - return sneepSN; - } - } else { - return ""; - } - } - - private String getSNViaPrtfruX() { - String data = getCommandOutput("/usr/sbin/prtfru", "-x"); - - boolean FRUTREE_FLAG = false; - boolean FRUNAME_FLAG = false; - boolean MB_LABEL_FLAG = false; - boolean SYSTEM_BOARD_FLAG = false; - - String lines[] = data.split("\n"); - for (int i=0; i<lines.length; i++) { - String line = lines[i]; - if (SYSTEM_BOARD_FLAG) { - String tok = "<Sun_Serial_No value=\""; - int index = line.indexOf(tok); - if (index != -1) { - String val = line.substring(index+tok.length()); - String vals[] = val.split("\""); - if (vals.length > 0) { - return vals[0].trim(); - } - break; - } - } - - if (line.indexOf("</ContainerData>") != -1) { - FRUTREE_FLAG = false; - FRUNAME_FLAG = false; - SYSTEM_BOARD_FLAG = false; - } - - if (FRUNAME_FLAG && line.indexOf("<Container name=\"system-board\">") != -1 ) { - SYSTEM_BOARD_FLAG = true; - } - - if (FRUTREE_FLAG && line.indexOf("<Fru name=\"chassis\">") != -1 ) { - FRUNAME_FLAG = true; - } - - if (line.indexOf("<Location name=\"frutree\">") != -1) { - FRUTREE_FLAG = true; - } - } - - return ""; - } - - private String getSNViaPrtfru() { - String data = getCommandOutput("/usr/sbin/prtfru"); - boolean CHASSIS_FLAG = false; - - String lines[] = data.split("\n"); - for (int i=0; i<lines.length; i++) { - String line = lines[i]; - if (CHASSIS_FLAG) { - String tok = "/ManR/Sun_Serial_No:"; - int index = line.indexOf(tok); - if (index != -1) { - String val = line.substring(index+tok.length()); - return val.trim(); - } - } - - if (line.indexOf("/frutree/chassis/system-board (container)") != -1) { - CHASSIS_FLAG = true; - } else if (line.indexOf("/frutree/chassis/MB?Label=MB/system-board (container)") != -1) { - CHASSIS_FLAG = true; - } - } - return ""; - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/SunConnection.java b/desktop/source/registration/com/sun/star/servicetag/SunConnection.java deleted file mode 100755 index db525ea637f4..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/SunConnection.java +++ /dev/null @@ -1,292 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.*; -import java.net.URISyntaxException; -import java.net.URL; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.io.OutputStreamWriter; -import java.util.Locale; -import javax.net.ssl.HttpsURLConnection; - -/** - * Sun Connection Class for Product Registration. - * - * Registration Web Application Interface - * 1) POST the product registry to the output stream of the registration - * relay service. - * 2) Open the webapp URL from a browser with the following parameters: - * registry-urn - * product=jdk - * locale=<locale-lang> - * - * @see https://sn-tools.central.sun.com/twiki/pub/ServiceTags/RegistrationRelayService/ - * - */ -class SunConnection { - - private static String JDK_REGISTRATION_URL = - "https://inventory.sun.com/RegistrationWeb/register"; - private static String SANDBOX_TESTING_URL = - "https://connection-tst.sun.com/RegistrationWeb/register"; - - // System properties for testing - private static String SVCTAG_REGISTER_TESTING = "servicetag.register.testing"; - private static String SVCTAG_REGISTRATION_URL = "servicetag.registration.url"; - private static String SVCTAG_CONNECTION_TIMEOUT = "servicetag.connection.timeout"; - - private SunConnection() { - } - - /** - * Returns a URL for JDK registration interfacing with the Sun Connection - * registration relay service in this form: - * <registration-url>/<registry_urn>?product=jdk&locale=<locale-lang> - * - * The <registration-url> can be overridden by an environment - * variable or a system property. - * - * 1) "servicetag.register.testing" system property to switch to the - * Sun Connection registration sandbox testing. - * 2) "servicetag.registration.url" system property to override - * the URL - * 3) Default production URL - * - */ - static URL getRegistrationURL(String registrationURN) { - String url = System.getProperty(SVCTAG_REGISTRATION_URL); - if (url == null) { - if (System.getProperty(SVCTAG_REGISTER_TESTING) != null) { - url = SANDBOX_TESTING_URL; - } else { - url = JDK_REGISTRATION_URL; - } - } - - // trim whitespaces - url = url.trim(); - if (url.length() == 0) { - throw new InternalError("Empty registration url set"); - } - - // Add the registry_urn in the URL's query - String registerURL = rewriteURL(url, registrationURN); - try { - return new URL(registerURL); - } catch (MalformedURLException ex) { - // should never reach here - InternalError x = - new InternalError(ex.getMessage()); - x.initCause(ex); - throw x; - } - } - - private static String rewriteURL(String url, String registryURN) { - StringBuilder sb = new StringBuilder(url.trim()); - int len = sb.length(); - if (sb.charAt(len-1) != '/') { - sb.append('/'); - } - sb.append(registryURN); - sb.append("?"); - sb.append("product=jdk"); - sb.append("&"); - sb.append("locale=").append(Locale.getDefault().getLanguage()); - return sb.toString(); - } - - /** - * Registers all products in the given product registry. If it fails - * to post the service tag registry, open the browser with the offline - * registration page. - * - * @param regData registration data to be posted to the Sun Connection - * for registration. - * - * @throws IOException if I/O error occurs in this operation - */ - public static void register(RegistrationData regData) throws IOException { - // Gets the URL for SunConnection registration relay service - URL url = getRegistrationURL(regData.getRegistrationURN()); - - // Post the Product Registry to Sun Connection - boolean succeed = postRegistrationData(url, regData); - if (succeed) { - // service tags posted successfully - // now prompt for registration - openBrowser(url); - } else { - // open browser with the offline registration page - openOfflineRegisterPage(); - } - } - - /** - * Opens a browser for JDK product registration. - * @param url Registration Webapp URL - */ - private static void openBrowser(URL url) throws IOException { - if (!BrowserSupport.isSupported()) { - if (Util.isVerbose()) { - System.out.println("Browser is not supported"); - } - return; - } - - try { - BrowserSupport.browse(url.toURI()); - } catch (URISyntaxException ex) { - InternalError x = new InternalError("Error in registering: " + ex.getMessage()); - x.initCause(ex); - throw x; - } catch (IllegalArgumentException ex) { - if (Util.isVerbose()) { - ex.printStackTrace(); - } - } catch (UnsupportedOperationException ex) { - // ignore if not supported - if (Util.isVerbose()) { - ex.printStackTrace(); - } - } - } - - /** - * POST service tag registry to Sun Connection - * @param loc the URL of the webapp to handle the POST request - * @param streg the Service Tag registry - * @return true if posting succeeds; otherwise, false. - */ - private static boolean postRegistrationData(URL url, - RegistrationData registration) { - try { - HttpsURLConnection con = (HttpsURLConnection) url.openConnection(); - con.setDoInput(true); - con.setDoOutput(true); - con.setUseCaches(false); - con.setAllowUserInteraction(false); - - // default 10 seconds timeout - String timeout = System.getProperty(SVCTAG_CONNECTION_TIMEOUT, "10"); - con.setConnectTimeout(Util.getIntValue(timeout) * 1000); - - if (Util.isVerbose()) { - System.out.println("Connecting to post registration data at " + url); - } - - con.setRequestMethod("POST"); - con.setRequestProperty("Content-Type", "text/xml;charset=\"utf-8\""); - con.connect(); - - OutputStream out = con.getOutputStream(); - registration.storeToXML(out); - out.flush(); - out.close(); - - int returnCode = con.getResponseCode(); - if (Util.isVerbose()) { - System.out.println("POST return status = " + returnCode); - printReturnData(con, returnCode); - } - return (returnCode == HttpURLConnection.HTTP_OK); - } catch (MalformedURLException me) { - // should never reach here - InternalError x = new InternalError("Error in registering: " + me.getMessage()); - x.initCause(me); - throw x; - } catch (Exception ioe) { - // SocketTimeoutException, IOException or UnknownHostException - if (Util.isVerbose()) { - ioe.printStackTrace(); - } - return false; - } - } - - /** - * Opens the offline registratioin page in the browser. - * - */ - private static void openOfflineRegisterPage() - throws IOException { - if (!BrowserSupport.isSupported()) { - if (Util.isVerbose()) { - System.out.println("Browser is not supported"); - } - return; - } - - File registerPage = Installer.getRegistrationHtmlPage(); - try { - BrowserSupport.browse(registerPage.toURI()); - } catch (FileNotFoundException ex) { - // should never reach here - InternalError x = - new InternalError("Error in launching " + registerPage + ": " + ex.getMessage()); - x.initCause(ex); - throw x; - } catch (IllegalArgumentException ex) { - if (Util.isVerbose()) { - ex.printStackTrace(); - } - } catch (UnsupportedOperationException ex) { - // ignore if not supported - if (Util.isVerbose()) { - ex.printStackTrace(); - } - } - } - - private static void printReturnData(HttpURLConnection con, int returnCode) - throws IOException { - BufferedReader reader = null; - try { - if (returnCode < 400) { - reader = new BufferedReader( - new InputStreamReader(con.getInputStream())); - } else { - reader = new BufferedReader( - new InputStreamReader(con.getErrorStream())); - } - StringBuilder sb = new StringBuilder(); - String line; - while ((line = reader.readLine()) != null) { - sb.append(line).append("\n"); - } - System.out.println("Response is : "); - System.out.println(sb.toString()); - } finally { - if (reader != null) { - reader.close(); - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/SysnetRegistryHelper.java b/desktop/source/registration/com/sun/star/servicetag/SysnetRegistryHelper.java deleted file mode 100755 index 362136cc6f46..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/SysnetRegistryHelper.java +++ /dev/null @@ -1,375 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.*; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashSet; -import java.util.List; -import java.util.Properties; -import java.util.Set; - -import static com.sun.star.servicetag.Util.*; -import static com.sun.star.servicetag.RegistrationDocument.*; - -/** - * Class containing additional methods that are not yet - * in the JDK Registry class. Note that all methods in this class - * will be superceeded by the JDK classes. - */ -public class SysnetRegistryHelper { - - private static final String STCLIENT_SOLARIS = "/usr/bin/stclient"; - private static final String STCLIENT_LINUX = "/opt/sun/servicetag/bin/stclient"; - // stclient exit value (see sthelper.h) - private static final int ST_ERR_NOT_AUTH = 245; - private static final int ST_ERR_REC_NOT_FOUND = 225; - - // The stclient output has to be an exported interface - private static final String INSTANCE_URN_OPEN_ELEMENT = "<instance_urn>"; - private static final String INSTANCE_URN_CLOSE_ELEMENT = "</instance_urn>"; - private static final String REGISTRY_URN = "<registry urn=\""; - private static final String INSTANCE_URN_DESC = "Product instance URN="; - private static boolean initialized = false; - private static boolean supportsHelperClass = true; // default - private static File stclient = null; - private static String stclientPath = null; - - // System properties for testing - private static String SVCTAG_STCLIENT_CMD = "servicetag.stclient.cmd"; - private static String SVCTAG_STHELPER_SUPPORTED = "servicetag.sthelper.supported"; - - private synchronized static String getSTclient() { - if (!initialized) { - // the system property always overrides the default setting - if (System.getProperty(SVCTAG_STHELPER_SUPPORTED) != null) { - supportsHelperClass = Boolean.getBoolean(SVCTAG_STHELPER_SUPPORTED); - } - - // This is only used for testing - stclientPath = System.getProperty(SVCTAG_STCLIENT_CMD); - if (stclientPath != null) { - return stclientPath; - } - - // Initialization to determine the platform's stclient pathname - String os = System.getProperty("os.name"); - if (os.equals("SunOS")) { - stclient = new File(STCLIENT_SOLARIS); - } else if (os.equals("Linux")) { - stclient = new File(STCLIENT_LINUX); - } else if (os.startsWith("Windows")) { - stclient = getWindowsStClientFile(); - } else { - if (isVerbose()) { - System.out.println("Running on non-Sun JDK"); - } - } - initialized = true; - } - - // com.sun.servicetag package has to be compiled with JDK 5 as well - // JDK 5 doesn't support the File.canExecute() method. - // Risk not checking isExecute() for the stclient command is very low. - - if (stclientPath == null && stclient != null && stclient.exists()) { - stclientPath = stclient.getAbsolutePath(); - } - return stclientPath; - } - - private static List<String> getCommandList() { - // Set up the arguments to call stclient - List<String> command = new ArrayList<String>(); - if (System.getProperty(SVCTAG_STCLIENT_CMD) != null) { - // This is for jtreg testing use. This will be set to something - // like: - // $JAVA_HOME/bin/java -cp $TEST_DIR \ - // -Dstclient.registry.path=$TEST_DIR/registry.xml \ - // SvcTagClient - // On Windows, the JAVA_HOME and TEST_DIR path could contain - // space e.g. c:\Program Files\Java\jdk1.6.0_05\bin\java. - // The SVCTAG_STCLIENT_CMD must be set with a list of - // space-separated parameters. If a parameter contains spaces, - // it must be quoted with '"'. - - String cmd = getSTclient(); - int len = cmd.length(); - int i = 0; - while (i < len) { - char separator = ' '; - if (cmd.charAt(i) == '"') { - separator = '"'; - i++; - } - // look for the separator or matched the closing '"' - int j; - for (j = i+1; j < len; j++) { - if (cmd.charAt(j) == separator) { - break; - } - } - - if (i == j-1) { - // add an empty parameter - command.add("\"\""); - } else { - // double quotes and space are not included - command.add(cmd.substring(i,j)); - } - - // skip spaces - for (i = j+1; i < len; i++) { - if (!Character.isSpaceChar(cmd.charAt(i))) { - break; - } - } - } - if (isVerbose()) { - System.out.println("Command list:"); - for (String s : command) { - System.out.println(s); - } - } - } else { - command.add(getSTclient()); - } - return command; - } - - // Returns null if the service tag record not found; - // or throw UnauthorizedAccessException or IOException - // based on the exitValue. - private static ServiceTag checkReturnError(int exitValue, - String output, - ServiceTag st) throws IOException { - switch (exitValue) { - case ST_ERR_REC_NOT_FOUND: - return null; - case ST_ERR_NOT_AUTH: - if (st != null) { - throw new UnauthorizedAccessException( - "Not authorized to access " + st.getInstanceURN() + - " installer_uid=" + st.getInstallerUID()); - } else { - throw new UnauthorizedAccessException( - "Not authorized:" + output); - } - default: - throw new IOException("stclient exits with error" + - " (" + exitValue + ")\n" + output); - } - } - - /** - * Returns a {@code ServiceTag} object of the given <tt>instance_urn</tt> - * in this registry. - * - * @param instanceURN the <tt>instance_urn</tt> of the service tag - * @return a {@code ServiceTag} object of the given <tt>instance_urn</tt> - * in this registry; or {@code null} if not found. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - private static ServiceTag getServiceTag(String instanceURN) throws IOException { - if (instanceURN == null) { - throw new NullPointerException("instanceURN is null"); - } - - List<String> command = getCommandList(); - command.add("-g"); - command.add("-i"); - command.add(instanceURN); - - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - if (isVerbose()) { - System.out.println("Output from stclient -g command:"); - System.out.println(output); - } - if (p.exitValue() == 0) { - return parseServiceTag(output); - } else { - return checkReturnError(p.exitValue(), output, null); - } - } - - private static ServiceTag parseServiceTag(String output) throws IOException { - BufferedReader in = null; - try { - Properties props = new Properties(); - // parse the service tag output from stclient - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - if ((line = line.trim()).length() > 0) { - String[] ss = line.trim().split("=", 2); - if (ss.length == 2) { - props.setProperty(ss[0].trim(), ss[1].trim()); - } else { - props.setProperty(ss[0].trim(), ""); - } - } - } - - String urn = props.getProperty(ST_NODE_INSTANCE_URN); - String productName = props.getProperty(ST_NODE_PRODUCT_NAME); - String productVersion = props.getProperty(ST_NODE_PRODUCT_VERSION); - String productURN = props.getProperty(ST_NODE_PRODUCT_URN); - String productParent = props.getProperty(ST_NODE_PRODUCT_PARENT); - String productParentURN = props.getProperty(ST_NODE_PRODUCT_PARENT_URN); - String productDefinedInstanceID = - props.getProperty(ST_NODE_PRODUCT_DEFINED_INST_ID); - String productVendor = props.getProperty(ST_NODE_PRODUCT_VENDOR); - String platformArch = props.getProperty(ST_NODE_PLATFORM_ARCH); - String container = props.getProperty(ST_NODE_CONTAINER); - String source = props.getProperty(ST_NODE_SOURCE); - int installerUID = - Util.getIntValue(props.getProperty(ST_NODE_INSTALLER_UID)); - Date timestamp = - Util.parseTimestamp(props.getProperty(ST_NODE_TIMESTAMP)); - - return new ServiceTag(urn, - productName, - productVersion, - productURN, - productParent, - productParentURN, - productDefinedInstanceID, - productVendor, - platformArch, - container, - source, - installerUID, - timestamp); - } finally { - if (in != null) { - in.close(); - } - } - - } - - /** - * Returns the urn of this registry. - * - * @return a {@code String} for the urn of this registry. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - // Once JDK makes this method available, we'll deprecate this method - // @deprecated Use the JDK version when available. - public static String getRegistryURN() throws IOException { - List<String> command = getCommandList(); - command.add("-x"); - - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - - String registryURN = null; - if (p.exitValue() == 0) { - // parse the service tag output from stclient - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - String s = line.trim(); - if (s.indexOf(REGISTRY_URN) != -1) { - s = s.substring(s.indexOf(REGISTRY_URN) - + REGISTRY_URN.length()); - if (s.indexOf("\"") != -1) { - s = s.substring(0, s.indexOf("\"")); - registryURN = s; - break; - } - } - } - } else { - checkReturnError(p.exitValue(), output, null); - } - return registryURN; - } finally { - if (in != null) { - in.close(); - } - } - } - - /** - * Returns all the service tags in this registry. - * - * @return a {@code Set} of {@code ServiceTag} objects - * in this registry. - * - * @throws java.io.IOException if an I/O error occurs in this operation. - */ - // Once JDK makes this method available, we'll deprecate this method - // @deprecated Use the JDK version when available. - public static Set<ServiceTag> getServiceTags() throws IOException { - List<String> command = getCommandList(); - command.add("-x"); - - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder(command); - Process p = pb.start(); - String output = commandOutput(p); - - Set<ServiceTag> instances = new HashSet<ServiceTag>(); - if (p.exitValue() == 0) { - // parse the service tag output from stclient - in = new BufferedReader(new StringReader(output)); - String line = null; - while ((line = in.readLine()) != null) { - String s = line.trim(); - if (s.indexOf(INSTANCE_URN_OPEN_ELEMENT) != -1 - && s.indexOf(INSTANCE_URN_CLOSE_ELEMENT) != -1) { - s = s.substring(s.indexOf(INSTANCE_URN_OPEN_ELEMENT) - + INSTANCE_URN_OPEN_ELEMENT.length(), - s.indexOf(INSTANCE_URN_CLOSE_ELEMENT)); - try { - instances.add(getServiceTag(s)); - } catch (Exception e) { - } - } - } - } else { - checkReturnError(p.exitValue(), output, null); - } - return instances; - } finally { - if (in != null) { - in.close(); - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/SystemEnvironment.java b/desktop/source/registration/com/sun/star/servicetag/SystemEnvironment.java deleted file mode 100755 index 76eaca37e39a..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/SystemEnvironment.java +++ /dev/null @@ -1,436 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -// The Service Tags team maintains the latest version of the implementation -// for system environment data collection. JDK will include a copy of -// the most recent released version for a JDK release. We rename -// the package to com.sun.servicetag so that the Sun Connection -// product always uses the latest version from the com.sun.scn.servicetags -// package. JDK and users of the com.sun.servicetag API -// (e.g. NetBeans and SunStudio) will use the version in JDK. - -import java.io.*; -import java.net.InetAddress; -import java.net.UnknownHostException; - -/** - * SystemEnvironment class collects the environment data with the - * best effort from the underlying platform. - */ -public class SystemEnvironment { - private String hostname; - private String hostId; - private String osName; - private String osVersion; - private String osArchitecture; - private String systemModel; - private String systemManufacturer; - private String cpuManufacturer; - private String serialNumber; - private String physmem; - private String sockets; - private String cores; - private String virtcpus; - private String cpuname; - private String clockrate; - private static SystemEnvironment sysEnv = null; - - public static synchronized SystemEnvironment getSystemEnvironment() { - if (sysEnv == null) { - String os = System.getProperty("os.name"); - if (os.equals("SunOS")) { - sysEnv = new SolarisSystemEnvironment(); - } else if (os.equals("Linux")) { - sysEnv = new LinuxSystemEnvironment(); - } else if (os.startsWith("Windows")) { - sysEnv = new WindowsSystemEnvironment(); - } else { - sysEnv = new SystemEnvironment(); - } - } - return sysEnv; - } - - // package-private - SystemEnvironment() { - try { - this.hostname = InetAddress.getLocalHost().getHostName(); - } catch (UnknownHostException ex) { - this.hostname = "Unknown host"; - } - this.hostId = ""; - this.osName = System.getProperty("os.name"); - this.osVersion = System.getProperty("os.version"); - this.osArchitecture = System.getProperty("os.arch"); - this.systemModel = ""; - this.systemManufacturer = ""; - this.cpuManufacturer = ""; - this.serialNumber = ""; - this.physmem = "0"; - this.sockets = "0"; - this.cores = "0"; - this.virtcpus = "0"; - this.cpuname = ""; - this.clockrate = "0"; - } - - - /** - * Sets the hostname. - * @param hostname The hostname to set. - */ - public void setHostname(String hostname) { - this.hostname = hostname; - } - - /** - * Sets the OS name. - * @param osName The osName to set. - */ - public void setOsName(String osName) { - this.osName = osName; - } - - /** - * Sets the OS version. - * @param osVersion The osVersion to set. - */ - public void setOsVersion(String osVersion) { - this.osVersion = osVersion; - } - - /** - * Sets the OS architecture. - * @param osArchitecture The osArchitecture to set. - */ - public void setOsArchitecture(String osArchitecture) { - this.osArchitecture = osArchitecture; - } - - /** - * Sets the system model. - * @param systemModel The systemModel to set. - */ - public void setSystemModel(String systemModel) { - this.systemModel = systemModel; - } - - /** - * Sets the system manufacturer. - * @param systemManufacturer The systemManufacturer to set. - */ - public void setSystemManufacturer(String systemManufacturer) { - this.systemManufacturer = systemManufacturer; - } - - /** - * Sets the cpu manufacturer. - * @param cpuManufacturer The cpuManufacturer to set. - */ - public void setCpuManufacturer(String cpuManufacturer) { - this.cpuManufacturer = cpuManufacturer; - } - - /** - * Sets the serial number. - * @param serialNumber The serialNumber to set. - */ - public void setSerialNumber(String serialNumber) { - this.serialNumber = serialNumber; - } - - /** - * Sets the physmem - * @param physmem The physmem to set. - */ - public void setPhysMem(String physmem) { - if (physmem.length() == 0) - physmem = "0"; - this.physmem = physmem; - } - - /** - * Sets the sockets - * @param sockets The sockets to set. - */ - public void setSockets(String sockets) { - if (sockets.length() == 0) - sockets = "0"; - this.sockets = sockets; - } - - /** - * Sets the cores - * @param cores The cores to set. - */ - public void setCores(String cores) { - if (cores.length() == 0) - cores ="0"; - this.cores = cores; - } - - /** - * Sets the virtcpus - * @param virtcpus The virtcpus to set. - */ - public void setVirtCpus(String virtcpus) { - if (virtcpus.length() == 0) - virtcpus = "0"; - this.virtcpus = virtcpus; - } - - /** - * Sets the cpuname - * @param cpuname The cpuname to set. - */ - public void setCpuName(String cpuname) { - this.cpuname = cpuname; - } - - /** - * Sets the clockrate - * @param clockrate The clockrate to set. - */ - public void setClockRate(String clockrate) { - if (clockrate.length() == 0) - this.clockrate = "0"; - else - { - Float f = Float.parseFloat(clockrate); - Integer nClockrate = f.intValue(); - this.clockrate = nClockrate.toString(); - } - } - - /** - * Sets the hostid. Truncates to a max length of 16 chars. - * @param hostId The hostid to set. - */ - public void setHostId(String hostId) { - if (hostId == null || hostId.equals("null")) { - hostId = ""; - } - if (hostId.length() > 16) { - hostId = hostId.substring(0,16); - } - this.hostId = hostId; - } - - /** - * Returns the hostname. - * @return The hostname. - */ - public String getHostname() { - return hostname; - } - - /** - * Returns the osName. - * @return The osName. - */ - public String getOsName() { - return osName; - } - - /** - * Returns the osVersion. - * @return The osVersion. - */ - public String getOsVersion() { - return osVersion; - } - - /** - * Returns the osArchitecture. - * @return The osArchitecture. - */ - public String getOsArchitecture() { - return osArchitecture; - } - - /** - * Returns the systemModel. - * @return The systemModel. - */ - public String getSystemModel() { - return systemModel; - } - - /** - * Returns the systemManufacturer. - * @return The systemManufacturer. - */ - public String getSystemManufacturer() { - return systemManufacturer; - } - - /** - * Returns the serialNumber. - * @return The serialNumber. - */ - public String getSerialNumber() { - return serialNumber; - } - - public String getPhysMem() { - return physmem; - } - - public String getSockets() { - return sockets; - } - - public String getCores() { - return cores; - } - - public String getVirtCpus() { - return virtcpus; - } - - public String getCpuName() { - return cpuname; - } - - public String getClockRate() { - return clockrate; - } - - /** - * Returns the hostId. - * @return The hostId. - */ - public String getHostId() { - return hostId; - } - - /** - * Returns the cpuManufacturer. - * @return The cpuManufacturer. - */ - public String getCpuManufacturer() { - return cpuManufacturer; - } - - protected String getCommandOutput(String... command) { - StringBuilder sb = new StringBuilder(); - BufferedReader br = null; - Process p = null; - try { - ProcessBuilder pb = new ProcessBuilder(command); - p = pb.start(); - p.waitFor(); - - if (p.exitValue() == 0) { - br = new BufferedReader(new InputStreamReader(p.getInputStream())); - String line = null; - while ((line = br.readLine()) != null) { - line = line.trim(); - if (line.length() > 0) { - if (sb.length() > 0) { - sb.append("\n"); - } - sb.append(line); - } - } - } - return sb.toString(); - } catch (InterruptedException ie) { - // in case the command hangs - if (p != null) { - p.destroy(); - } - return ""; - } catch (Exception e) { - // ignore exception - return ""; - } finally { - if (p != null) { - try { - p.getErrorStream().close(); - } catch (IOException e) { - // ignore - } - try { - p.getInputStream().close(); - } catch (IOException e) { - // ignore - } - try { - p.getOutputStream().close(); - } catch (IOException e) { - // ignore - } - p = null; - } - if (br != null) { - try { - br.close(); - } catch (IOException e) { - // ignore - } - } - } - } - - protected String getFileContent(String filename) { - File f = new File(filename); - if (!f.exists()) { - return ""; - } - - StringBuilder sb = new StringBuilder(); - BufferedReader br = null; - try { - br = new BufferedReader(new FileReader(f)); - String line = null; - while ((line = br.readLine()) != null) { - line = line.trim(); - if (line.length() > 0) { - if (sb.length() > 0) { - sb.append("\n"); - } - sb.append(line); - } - } - return sb.toString(); - } catch (Exception e) { - // ignore exception - return ""; - } finally { - if (br != null) { - try { - br.close(); - } catch (IOException e) { - // ignore - } - } - } - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/UnauthorizedAccessException.java b/desktop/source/registration/com/sun/star/servicetag/UnauthorizedAccessException.java deleted file mode 100755 index 898fb614c267..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/UnauthorizedAccessException.java +++ /dev/null @@ -1,55 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -/** - * Thrown if the user is not authorized to - * {@link Registry#updateServiceTag update} or - * {@link Registry#removeServiceTag remove} - * a service tag from a {@link Registry}. - */ -public class UnauthorizedAccessException extends RuntimeException { - - /** - * Constructs an <code>UnauthorizedAccessException</code> object - * without detail message. - */ - public UnauthorizedAccessException() { - } - - - /** - * Constructs an <code>UnauthorizedAccessException</code> object - * with the specified detail message. - * - * @param msg the detail message. - */ - public UnauthorizedAccessException(String msg) { - super(msg); - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/Util.java b/desktop/source/registration/com/sun/star/servicetag/Util.java deleted file mode 100755 index 1f54775e7d3c..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/Util.java +++ /dev/null @@ -1,293 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -import java.io.*; -import java.util.Date; -import java.text.SimpleDateFormat; -import java.text.ParseException; -import java.util.TimeZone; -import java.util.UUID; -import java.lang.reflect.Field; -import java.lang.reflect.Method; - -// Utility class for com.sun.servicetag package -class Util { - private static boolean verbose = (System.getProperty("servicetag.verbose") != null); - private static String jrepath = null; - - // for debugging and tracing - static boolean isVerbose() { - return verbose; - } - - /** - * Gets the pathname of JRE in the running platform - * This can be a JDK or JRE. - */ - static synchronized String getJrePath() { - if (jrepath == null) { - // Determine the JRE path by checking the existence of - // <HOME>/jre/lib and <HOME>/lib. - String javaHome = System.getProperty("java.home"); - jrepath = javaHome + File.separator + "jre"; - File f = new File(jrepath, "lib"); - if (!f.exists()) { - // java.home usually points to the JRE path - jrepath = javaHome; - } - } - return jrepath; - } - - /** - * Tests if the running platform is a JDK. - */ - static boolean isJdk() { - // <HOME>/jre exists which implies it's a JDK - return getJrePath().endsWith(File.separator + "jre"); - } - - /** - * Generates the URN string of "urn:st" namespace - */ - static String generateURN() { - return "urn:st:" + UUID.randomUUID().toString(); - } - - static int getIntValue(String value) { - try { - return Integer.parseInt(value); - } catch (NumberFormatException e) { - throw new IllegalArgumentException("\"" + value + "\"" + - " expected to be an integer"); - } - } - - /** - * Formats the Date into a timestamp string in YYYY-MM-dd HH:mm:ss GMT. - * @param timestamp Date - * @return a string representation of the timestamp - * in the YYYY-MM-dd HH:mm:ss GMT format. - */ - static String formatTimestamp(Date timestamp) { - if (timestamp == null) { - return "[No timestamp]"; - } - SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z"); - df.setTimeZone(TimeZone.getTimeZone("GMT")); - return df.format(timestamp); - } - - /** - * Parses a timestamp string in YYYY-MM-dd HH:mm:ss GMT format. - * @param timestamp Timestamp in the YYYY-MM-dd HH:mm:ss GMT format. - * @return Date - */ - static Date parseTimestamp(String timestamp) { - SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z"); - df.setTimeZone(TimeZone.getTimeZone("GMT")); - try { - return df.parse(timestamp); - } catch (ParseException e) { - // should not reach here - e.printStackTrace(); - return new Date(); - } - } - - static String commandOutput(Process p) throws IOException { - Reader r = null; - Reader err = null; - try { - r = new InputStreamReader(p.getInputStream()); - err = new InputStreamReader(p.getErrorStream()); - String output = commandOutput(r); - String errorMsg = commandOutput(err); - p.waitFor(); - return output + errorMsg.trim(); - } catch (InterruptedException e) { - if (isVerbose()) { - e.printStackTrace(); - } - return e.getMessage(); - } finally { - if (r != null) { - r.close(); - } - if (err != null) { - err.close(); - } - } - } - - static String commandOutput(Reader r) throws IOException { - StringBuilder sb = new StringBuilder(); - int c; - while ((c = r.read()) > 0) { - if (c != '\r') { - sb.append((char) c); - } - } - return sb.toString(); - } - - static int getJdkVersion() { - parseVersion(); - return jdkVersion; - } - - static int getUpdateVersion() { - parseVersion(); - return jdkUpdate; - } - - private static int jdkVersion = 0; - private static int jdkUpdate = 0; - private static synchronized void parseVersion() { - if (jdkVersion > 0) { - return; - } - - // parse java.runtime.version - // valid format of the version string is: - // n.n.n[_uu[c]][-<identifer>]-bxx - String cs = System.getProperty("java.runtime.version"); - if (cs.length() >= 5 && - Character.isDigit(cs.charAt(0)) && cs.charAt(1) == '.' && - Character.isDigit(cs.charAt(2)) && cs.charAt(3) == '.' && - Character.isDigit(cs.charAt(4))) { - jdkVersion = Character.digit(cs.charAt(2), 10); - cs = cs.substring(5, cs.length()); - if (cs.charAt(0) == '_' && cs.length() >= 3 && - Character.isDigit(cs.charAt(1)) && - Character.isDigit(cs.charAt(2))) { - int nextChar = 3; - try { - String uu = cs.substring(1, 3); - jdkUpdate = Integer.valueOf(uu).intValue(); - } catch (NumberFormatException e) { - // not conforming to the naming convention - return; - } - } - } else { - throw new InternalError("Invalid java.runtime.version" + cs); - } - } - - /** - * Returns this java string as a null-terminated byte array - */ - private static byte[] stringToByteArray(String str) { - return (str + "\u0000").getBytes(); - } - - /** - * Converts a null-terminated byte array to java string - */ - private static String byteArrayToString(byte[] array) { - return new String(array, 0, array.length -1); - } - - /** - * Gets the stclient path using a well known location from - * the Windows platform Registry, otherwise it will return null. - */ - static File getWindowsStClientFile() { - File out = null; - String regKey = "software\\microsoft\\windows\\currentversion\\app paths\\stclient.exe"; - String keyName = "" ; // use the default key - String path = getRegistryKey(regKey, keyName); - - if (path != null && (new File(path)).exists()) { - out = new File(path); - } - if (isVerbose()) { - System.out.println("stclient=" + out); - } - return out; - } - - /** - * This uses reflection to access a private java windows registry - * interface, any changes to that Class must be appropriately adjusted. - * Returns a null if unsuccessful. - */ - private static String getRegistryKey(String regKey, String keyName) { - String out = null; - try { - Class<?> clazz = Class.forName("java.util.prefs.WindowsPreferences"); - - // Get the registry methods - Method winRegOpenKeyM = clazz.getDeclaredMethod("WindowsRegOpenKey", - int.class, byte[].class, int.class); - winRegOpenKeyM.setAccessible(true); - - Method winRegCloseKeyM = clazz.getDeclaredMethod("WindowsRegCloseKey", - int.class); - winRegCloseKeyM.setAccessible(true); - - Method winRegQueryValueM = clazz.getDeclaredMethod("WindowsRegQueryValueEx", - int.class, byte[].class); - winRegQueryValueM.setAccessible(true); - - // Get all the constants we need - int HKLM = getValueFromStaticField("HKEY_LOCAL_MACHINE", clazz); - int KEY_READ = getValueFromStaticField("KEY_READ", clazz); - int ERROR_CODE = getValueFromStaticField("ERROR_CODE", clazz); - int NATIVE_HANDLE = getValueFromStaticField("NATIVE_HANDLE", clazz); - int ERROR_SUCCESS = getValueFromStaticField("ERROR_SUCCESS", clazz); - - // Convert keys - byte[] reg = stringToByteArray(regKey); - byte[] key = stringToByteArray(keyName); - - // Open the registry - int[] result = (int[]) winRegOpenKeyM.invoke(null, HKLM, reg, KEY_READ); - - if (result[ERROR_CODE] == ERROR_SUCCESS) { - byte[] stvalue = (byte[]) winRegQueryValueM.invoke(null, - result[NATIVE_HANDLE], key); - out = byteArrayToString(stvalue); - winRegCloseKeyM.invoke(null, result[NATIVE_HANDLE]); - } - } catch (Exception ex) { - if (isVerbose()) { - ex.printStackTrace(); - } - } - return out; - } - - private static int getValueFromStaticField(String fldName, Class<?> klass) throws Exception { - Field f = klass.getDeclaredField(fldName); - f.setAccessible(true); - return f.getInt(null); - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/WindowsSystemEnvironment.java b/desktop/source/registration/com/sun/star/servicetag/WindowsSystemEnvironment.java deleted file mode 100755 index 3aa799e16d5e..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/WindowsSystemEnvironment.java +++ /dev/null @@ -1,232 +0,0 @@ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.sun.star.servicetag; - -// The Service Tags team maintains the latest version of the implementation -// for system environment data collection. JDK will include a copy of -// the most recent released version for a JDK release. We rename -// the package to com.sun.servicetag so that the Sun Connection -// product always uses the latest version from the com.sun.scn.servicetags -// package. JDK and users of the com.sun.servicetag API -// (e.g. NetBeans and SunStudio) will use the version in JDK. - -import java.io.*; -import java.util.ArrayList; -import java.util.List; -import java.util.HashSet; -import java.util.Set; - -/** - * Windows implementation of the SystemEnvironment class. - */ -class WindowsSystemEnvironment extends SystemEnvironment { - WindowsSystemEnvironment() { - super(); - - // run a call to make sure things are initialized - // ignore the first call result as the system may - // give inconsistent data on the first invocation ever - getWmicResult("computersystem", "get", "model"); - - setSystemModel(getWmicResult("computersystem", "get", "model")); - setSystemManufacturer(getWmicResult("computersystem", "get", "manufacturer")); - setSerialNumber(getWmicResult("bios", "get", "serialnumber")); - - String cpuMfr = getWmicResult("cpu", "get", "manufacturer"); - // this isn't as good an option, but if we couldn't get anything - // from wmic, try the processor_identifier - if (cpuMfr.length() == 0) { - String procId = System.getenv("processor_identifer"); - if (procId != null) { - String[] s = procId.split(","); - cpuMfr = s[s.length - 1].trim(); - } - } - setCpuManufacturer(cpuMfr); - - setSockets(getWindowsSockets()); - setCores(getWindowsCores()); - setVirtCpus(getWindowsVirtCpus()); - setPhysMem(getWindowsPhysMem()); - setCpuName(getWmicResult("cpu", "get", "Name")); - setClockRate(getWmicResult("cpu", "get", "MaxClockSpeed")); - - // try to remove the temp file that gets created from running wmic cmds - try { - // look in the current working directory - File f = new File("TempWmicBatchFile.bat"); - if (f.exists()) { - f.delete(); - } - } catch (Exception e) { - // ignore the exception - } - } - - private String getWindowsVirtCpus() { - String res = getWmicResult("cpu", "get", "NumberOfLogicalProcessors"); - if (res == null || res.equals("")) { - res = "1"; - } - return res; - } - - private String getWindowsCores() { - String res = getWmicResult("cpu", "get", "NumberOfCores"); - if (res == null || res.equals("")) { - res = "1"; - } - return res; - } - - private String getWindowsSockets() { - String res = getFullWmicResult("cpu", "get", "DeviceID"); - Set<String> set = new HashSet<String>(); - for (String line : res.split("\n")) { - line = line.trim(); - if (line.equals("")) { - continue; - } - set.add(line); - } - if (set.size() == 0) { - return "1"; - } - return "" + set.size(); - } - - private String getWindowsPhysMem() { - String mem = getWmicResult("computersystem", "get", "TotalPhysicalMemory"); - long l = Long.parseLong(mem); - return "" + ((long) (l / (1024*1024))); - } - - - /** - * This method invokes wmic outside of the normal environment - * collection routines. - * - * An initial call to wmic can be costly in terms of time. - * - * <code> - * Details of why the first call is costly can be found at: - * - * http://support.microsoft.com/kb/290216/en-us - * - * "When you run the Wmic.exe utility for the first time, the utility - * compiles its .mof files into the repository. To save time during - * Windows installation, this operation takes place as necessary." - * </code> - */ - private String getWmicResult(String alias, String verb, String property) { - String res = ""; - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder("cmd", "/C", "WMIC", alias, verb, property); - Process p = pb.start(); - // need this for executing windows commands (at least - // needed for executing wmic command) - BufferedWriter bw = new BufferedWriter( - new OutputStreamWriter(p.getOutputStream())); - bw.write(13); - bw.flush(); - bw.close(); - - p.waitFor(); - if (p.exitValue() == 0) { - in = new BufferedReader(new InputStreamReader(p.getInputStream())); - String line = null; - while ((line = in.readLine()) != null) { - line = line.trim(); - if (line.length() == 0) { - continue; - } - res = line; - } - // return the *last* line read - return res; - } - - } catch (Exception e) { - // ignore the exception - } finally { - if (in != null) { - try { - in.close(); - } catch (IOException e) { - // ignore - } - } - } - return res.trim(); - } - - private String getFullWmicResult(String alias, String verb, String property) { - String res = ""; - BufferedReader in = null; - try { - ProcessBuilder pb = new ProcessBuilder("cmd", "/C", "WMIC", alias, verb, property); - Process p = pb.start(); - // need this for executing windows commands (at least - // needed for executing wmic command) - BufferedWriter bw = new BufferedWriter( - new OutputStreamWriter(p.getOutputStream())); - bw.write(13); - bw.flush(); - bw.close(); - - p.waitFor(); - if (p.exitValue() == 0) { - in = new BufferedReader(new InputStreamReader(p.getInputStream())); - String line = null; - while ((line = in.readLine()) != null) { - line = line.trim(); - if (line.length() == 0) { - continue; - } - if (line.toLowerCase().indexOf(property.toLowerCase()) != -1) { - continue; - } - res += line + "\n"; - } - } - - } catch (Exception e) { - // ignore the exception - } finally { - if (in != null) { - try { - in.close(); - } catch (IOException e) { - // ignore - } - } - } - return res; - } -} diff --git a/desktop/source/registration/com/sun/star/servicetag/makefile.mk b/desktop/source/registration/com/sun/star/servicetag/makefile.mk deleted file mode 100755 index 784964652950..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/makefile.mk +++ /dev/null @@ -1,79 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJNAME = setup_native -PRJ = ..$/..$/..$/..$/..$/.. -TARGET = servicetag -PACKAGE = com$/sun$/star$/servicetag - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -.IF "$(ENABLE_SVCTAGS)" == "YES" - -JARFILES = jurt.jar unoil.jar ridl.jar -JAVAFILES = \ - BrowserSupport.java \ - Installer.java \ - LinuxSystemEnvironment.java \ - RegistrationData.java \ - RegistrationDocument.java \ - Registry.java \ - ServiceTag.java \ - SolarisServiceTag.java \ - SolarisSystemEnvironment.java \ - SunConnection.java \ - SysnetRegistryHelper.java \ - SystemEnvironment.java \ - UnauthorizedAccessException.java \ - Util.java \ - WindowsSystemEnvironment.java - -JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class) - -JARTARGET = $(TARGET).jar -JARCOMPRESS = TRUE -JARCLASSDIRS = $(PACKAGE) - -JAVARES= $(CLASSDIR)$/$(PACKAGE)$/resources$/product_registration.xsd - -.ENDIF # "$(ENABLE_SVCTAGS)" == "YES" - -# --- Targets ------------------------------------------------------ - - -.INCLUDE : target.mk - -.IF "$(ENABLE_SVCTAGS)" == "YES" -ALLTAR: $(JAVARES) - -$(JAVARES) : $$(@:d:d:f)$/$$(@:f) - $(MKDIRHIER) $(@:d) - $(COPY) $< $@ - -.ENDIF # "$(ENABLE_SVCTAGS)" == "YES" diff --git a/desktop/source/registration/com/sun/star/servicetag/resources/product_registration.xsd b/desktop/source/registration/com/sun/star/servicetag/resources/product_registration.xsd deleted file mode 100755 index 6681a563a01e..000000000000 --- a/desktop/source/registration/com/sun/star/servicetag/resources/product_registration.xsd +++ /dev/null @@ -1,366 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - -<xs:element name="registration_data"> - <xs:complexType> - <xs:sequence> - <xs:element name="environment" - minOccurs="1" - maxOccurs="1"> - <xs:complexType> - <xs:sequence> - <xs:element ref="hostname" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="hostId" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="osName" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="osVersion" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="osArchitecture" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="systemModel" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="systemManufacturer" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="cpuManufacturer" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="serialNumber" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="physmem" - minOccurs='0' - maxOccurs='1'/> - <xs:element name="cpuinfo" - minOccurs='0' - maxOccurs='1'> - <xs:complexType> - <xs:sequence> - <xs:element ref="sockets" - minOccurs='0' - maxOccurs='1'/> - <xs:element ref="cores" - minOccurs='0' - maxOccurs='1'/> - <xs:element ref="virtcpus" - minOccurs='0' - maxOccurs='1'/> - <xs:element ref="name" - minOccurs='0' - maxOccurs='1'/> - <xs:element ref="clockrate" - minOccurs='0' - maxOccurs='1'/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="registry" - minOccurs="1" - maxOccurs="1"> - <xs:complexType> - <xs:sequence> - <xs:element name="service_tag" - minOccurs="0" - maxOccurs="1024"> - <xs:complexType> - <xs:sequence> - <xs:element ref="instance_urn" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_name" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_version" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_urn" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_parent_urn" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_parent" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_defined_inst_id" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="product_vendor" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="platform_arch" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="timestamp" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="container" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="source" - minOccurs='1' - maxOccurs='1'/> - <xs:element ref="installer_uid" - minOccurs='1' - maxOccurs='1'/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="urn" - type="xs:string" - use="required"/> - <xs:attribute name="version" - type="xs:string" - use="required"/> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="version" - type="xs:string" - use="required"/> - </xs:complexType> -</xs:element> - - <!-- definition of simple elements --> - <xs:element name="hostname"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="1"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="hostId"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="16"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="osName"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="1"/> - <xs:maxLength value="256"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="osVersion"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="50"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="osArchitecture"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="256"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="systemModel"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="50"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="systemManufacturer"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="50"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="cpuManufacturer"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="50"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="serialNumber"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="256"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="instance_urn"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="1"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_name"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_version"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="63"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_urn"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="1"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_parent_urn"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_parent"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_defined_inst_id"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="255"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="product_vendor"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="63"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="platform_arch"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="0"/> - <xs:maxLength value="63"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="timestamp"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="24"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="container"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="63"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="source"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="63"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="installer_uid"> - <xs:simpleType> - <xs:restriction base="xs:integer"> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="physmem"> - <xs:simpleType> - <xs:restriction base="xs:integer"/> - </xs:simpleType> - </xs:element> - - <xs:element name="sockets"> - <xs:simpleType> - <xs:restriction base="xs:integer"/> - </xs:simpleType> - </xs:element> - - <xs:element name="cores"> - <xs:simpleType> - <xs:restriction base="xs:integer"/> - </xs:simpleType> - </xs:element> - - <xs:element name="virtcpus"> - <xs:simpleType> - <xs:restriction base="xs:integer"/> - </xs:simpleType> - </xs:element> - - <xs:element name="name"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:maxLength value="128"/> - </xs:restriction> - </xs:simpleType> - </xs:element> - - <xs:element name="clockrate"> - <xs:simpleType> - <xs:restriction base="xs:integer"/> - </xs:simpleType> - </xs:element> - -</xs:schema> diff --git a/desktop/source/so_comp/evaluation.cxx b/desktop/source/so_comp/evaluation.cxx deleted file mode 100644 index 8890d26462ec..000000000000 --- a/desktop/source/so_comp/evaluation.cxx +++ /dev/null @@ -1,209 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include "evaluation.hxx" -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/registry/XRegistryKey.hpp> -#include <com/sun/star/util/Date.hpp> -#include <rtl/ustrbuf.hxx> -#include <uno/environment.h> -#include <cppuhelper/factory.hxx> -#include <unotools/configmgr.hxx> -#include <vcl/msgbox.hxx> -#include <tools/resmgr.hxx> -#include <tools/resid.hxx> -#include "../app/desktop.hrc" - - -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::registry; - -using ::rtl::OUString; - -namespace desktop { - -static SOEvaluation* pSOEval=0; - -const char* SOEvaluation::interfaces[] = -{ - "com.sun.star.beans.XExactName", - "com.sun.star.beans.XMaterialHolder", - "com.sun.star.lang.XComponent", - "com.sun.star.lang.XServiceInfo", - NULL, -}; - -const char* SOEvaluation::implementationName = "com.sun.star.comp.desktop.Evaluation"; -const char* SOEvaluation::serviceName = "com.sun.star.office.Evaluation"; - -OUString SOEvaluation::GetImplementationName() -{ - return OUString::createFromAscii(implementationName); -} - -Sequence< OUString > SOEvaluation::GetSupportedServiceNames() -{ - sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *)) - 1; - Sequence< OUString > aResult( nSize ); - - for( sal_Int32 i = 0; i < nSize; i++ ) - aResult[i] = OUString::createFromAscii( interfaces[i] ); - return aResult; -} - -Reference< XInterface > SAL_CALL SOEvaluation::CreateInstance( - const Reference< XMultiServiceFactory >& rSMgr ) -{ - static osl::Mutex aMutex; - if ( pSOEval == 0 ) - { - osl::MutexGuard guard( aMutex ); - if ( pSOEval == 0 ) - return (XComponent*) ( new SOEvaluation( rSMgr ) ); - } - return (XComponent*)0; -} - -SOEvaluation::SOEvaluation( const Reference< XMultiServiceFactory >& xFactory ) : - m_aListeners( m_aMutex ), - m_xServiceManager( xFactory ) -{ -} - -SOEvaluation::~SOEvaluation() -{ -} - -// XComponent -void SAL_CALL SOEvaluation::dispose() throw ( RuntimeException ) -{ - EventObject aObject; - aObject.Source = (XComponent*)this; - m_aListeners.disposeAndClear( aObject ); -} - -void SAL_CALL SOEvaluation::addEventListener( const Reference< XEventListener > & aListener) throw ( RuntimeException ) -{ - m_aListeners.addInterface( aListener ); -} - -void SAL_CALL SOEvaluation::removeEventListener( const Reference< XEventListener > & aListener ) throw ( RuntimeException ) -{ - m_aListeners.removeInterface( aListener ); -} - -// XExactName -rtl::OUString SAL_CALL SOEvaluation::getExactName( const rtl::OUString& rApproximateName ) throw ( RuntimeException ) -{ - // get the tabreg service for an evaluation version - // without this service office shouldn't run at all - OUString aTitle = rApproximateName; - OUString aEval; - sal_Bool bExpired = sal_True; - Reference < XMaterialHolder > xHolder( m_xServiceManager->createInstance( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.tab.tabreg" ) ) ), UNO_QUERY ); - if ( xHolder.is() ) - { - // get a sequence of strings for the defined locales - // a registered version doesn't provide data - bExpired = sal_False; - Any aData = xHolder->getMaterial(); - Sequence < NamedValue > aSeq; - if ( aData >>= aSeq ) - { - // this is an evaluation version, because it provides "material" - bExpired = sal_True; - for (int i=0; i<aSeq.getLength(); i++ ) - { - NamedValue& rValue = aSeq[i]; - if ( rValue.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("expired")) ) - rValue.Value >>= bExpired; - else if (rValue.Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("title")) ) - rValue.Value >>= aEval; - } - // append eval string to title - aTitle += OUString(RTL_CONSTASCII_USTRINGPARAM(" ")) + aEval; - if ( bExpired ) - throw RuntimeException(); - } - } - - return aTitle; -} - -// XMaterialHolder -Any SAL_CALL SOEvaluation::getMaterial() throw( RuntimeException ) -{ - // Time bomb implementation. Return empty Any to do nothing or - // provide a com::sun::star::util::Date with the time bomb date. - Any a; - - // change here to force recompile 00002 -#ifdef TIMEBOMB - // Code for extracting/providing time bomb date! - int nDay = TIMEBOMB % 100; - int nMonth = ( TIMEBOMB % 10000 ) / 100; - int nYear = TIMEBOMB / 10000; - com::sun::star::util::Date aDate( nDay, nMonth, nYear ); - a <<= aDate; -#endif - return a; -} - -// XServiceInfo -::rtl::OUString SAL_CALL SOEvaluation::getImplementationName() -throw ( RuntimeException ) -{ - return SOEvaluation::GetImplementationName(); -} - -sal_Bool SAL_CALL SOEvaluation::supportsService( const ::rtl::OUString& rServiceName ) -throw ( RuntimeException ) -{ - sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *))-1; - - for( sal_Int32 i = 0; i < nSize; i++ ) - if ( rServiceName.equalsAscii( interfaces[i] )) - return sal_True; - return sal_False; -} - -Sequence< ::rtl::OUString > SAL_CALL SOEvaluation::getSupportedServiceNames() -throw ( RuntimeException ) -{ - return SOEvaluation::GetSupportedServiceNames(); -} - -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/so_comp/evaluation.hxx b/desktop/source/so_comp/evaluation.hxx deleted file mode 100644 index aff94c3ac6f4..000000000000 --- a/desktop/source/so_comp/evaluation.hxx +++ /dev/null @@ -1,95 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -/* makefile.mk changed 20030409, LO */ - -#ifndef _SOCOMP_EVALUATION_HXX_ -#define _SOCOMP_EVALUATION_HXX_ - -#include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/Exception.hpp> -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/lang/XEventListener.hpp> -#include <com/sun/star/beans/XExactName.hpp> -#include <com/sun/star/beans/XMaterialHolder.hpp> -#include <cppuhelper/implbase4.hxx> -#include <cppuhelper/interfacecontainer.h> - -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <osl/mutex.hxx> - -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; - -namespace desktop { - -class SOEvaluation : public ::cppu::WeakImplHelper4< XExactName, XMaterialHolder, XComponent, XServiceInfo > -{ - ::osl::Mutex m_aMutex; - ::cppu::OInterfaceContainerHelper m_aListeners; - Reference< XMultiServiceFactory > m_xServiceManager; - -public: - SOEvaluation( const Reference < XMultiServiceFactory >& xFactory ); - virtual ~SOEvaluation(); - - static Reference< XSingleServiceFactory > GetSOEvaluationFactory( Reference< XMultiServiceFactory > & xSMgr ); - static ::rtl::OUString GetImplementationName(); - static Sequence< rtl::OUString > GetSupportedServiceNames(); - - // XComponent - virtual void SAL_CALL dispose() throw ( RuntimeException ); - virtual void SAL_CALL addEventListener( const Reference< XEventListener > & aListener) throw ( RuntimeException ); - virtual void SAL_CALL removeEventListener(const Reference< XEventListener > & aListener) throw ( RuntimeException ); - - // XExactName - virtual rtl::OUString SAL_CALL getExactName( const rtl::OUString& rApproximateName ) throw ( RuntimeException ); - - // XMaterialHolder - virtual Any SAL_CALL getMaterial() throw ( RuntimeException ); - - // XServiceInfo - virtual ::rtl::OUString SAL_CALL getImplementationName() throw ( RuntimeException ); - virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& rServiceName ) throw ( RuntimeException ); - virtual Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw ( RuntimeException ); - - static const char* interfaces[]; - static const char* implementationName; - static const char* serviceName; - static Reference<XInterface> SAL_CALL CreateInstance( - const Reference< XMultiServiceFactory >&); - - - -}; -} -#endif // _SOCOMP_EVALUATION_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/so_comp/makefile.mk b/desktop/source/so_comp/makefile.mk deleted file mode 100755 index 4d8d479b9658..000000000000 --- a/desktop/source/so_comp/makefile.mk +++ /dev/null @@ -1,79 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=desktop -TARGET=socomp -LIBTARGET=NO - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -SLOFILES = $(SLO)$/evaluation.obj \ - $(SLO)$/oemjob.obj \ - $(SLO)$/services.obj - -SHL1DEPN= makefile.mk -SHL1OBJS= $(SLOFILES) - - -SHL1TARGET= $(TARGET) -SHL1IMPLIB= i$(TARGET) - -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF=$(MISC)$/$(SHL1TARGET).def -DEF1NAME=$(SHL1TARGET) - -SHL1STDLIBS= \ - $(FWELIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(SVTOOLLIB) \ - $(COMPHELPERLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/socomp.component - -$(MISC)/socomp.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - socomp.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt socomp.component diff --git a/desktop/source/so_comp/oemjob.cxx b/desktop/source/so_comp/oemjob.cxx deleted file mode 100644 index bdb45e5eb0a7..000000000000 --- a/desktop/source/so_comp/oemjob.cxx +++ /dev/null @@ -1,250 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include "oemjob.hxx" -#include <rtl/bootstrap.hxx> -#include <rtl/ustrbuf.hxx> -#include <osl/file.hxx> -#include <unotools/bootstrap.hxx> -#include <tools/config.hxx> -#include <com/sun/star/frame/XDesktop.hpp> -#include <com/sun/star/frame/XFrame.hpp> -#include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/util/XCloseable.hpp> -#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> -#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> -#include <com/sun/star/beans/NamedValue.hpp> - -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::ui::dialogs; -using namespace ::com::sun::star::frame; -using namespace ::com::sun::star::util; - -using ::rtl::OUString; -using ::rtl::OUStringBuffer; -using ::rtl::Bootstrap; - -namespace desktop{ - -char const OEM_PRELOAD_SECTION[] = "Bootstrap"; -char const OEM_PRELOAD[] = "Preload"; -char const STR_TRUE[] = "1"; -char const STR_FALSE[] = "0"; - -const char* OEMPreloadJob::interfaces[] = -{ - "com.sun.star.task.XJob", - NULL, -}; -const char* OEMPreloadJob::implementationName = "com.sun.star.comp.desktop.OEMPreloadJob"; -const char* OEMPreloadJob::serviceName = "com.sun.star.office.OEMPreloadJob"; - -OUString OEMPreloadJob::GetImplementationName() -{ - return OUString::createFromAscii(implementationName); -} - -Sequence< OUString > OEMPreloadJob::GetSupportedServiceNames() -{ - sal_Int32 nSize = (sizeof( interfaces ) / sizeof( const char *)) - 1; - Sequence< OUString > aResult( nSize ); - - for( sal_Int32 i = 0; i < nSize; i++ ) - aResult[i] = OUString::createFromAscii( interfaces[i] ); - return aResult; -} - -Reference< XInterface > SAL_CALL OEMPreloadJob::CreateInstance( - const Reference< XMultiServiceFactory >& rSMgr ) -{ - static osl::Mutex aMutex; - osl::MutexGuard guard( aMutex ); - return (XComponent*) ( new OEMPreloadJob( rSMgr ) ); -} - -OEMPreloadJob::OEMPreloadJob( const Reference< XMultiServiceFactory >& xFactory ) : - m_aListeners( m_aMutex ), - m_xServiceManager( xFactory ) -{ -} - -OEMPreloadJob::~OEMPreloadJob() -{ -} - -// XComponent -void SAL_CALL OEMPreloadJob::dispose() throw ( RuntimeException ) -{ - EventObject aObject; - aObject.Source = (XComponent*)this; - m_aListeners.disposeAndClear( aObject ); -} - -void SAL_CALL OEMPreloadJob::addEventListener( const Reference< XEventListener > & aListener) throw ( RuntimeException ) -{ - m_aListeners.addInterface( aListener ); -} - -void SAL_CALL OEMPreloadJob::removeEventListener( const Reference< XEventListener > & aListener ) throw ( RuntimeException ) -{ - m_aListeners.removeInterface( aListener ); -} - -// XServiceInfo -::rtl::OUString SAL_CALL OEMPreloadJob::getImplementationName() -throw ( RuntimeException ) -{ - return OEMPreloadJob::GetImplementationName(); -} - -sal_Bool SAL_CALL OEMPreloadJob::supportsService( const ::rtl::OUString& rServiceName ) -throw ( RuntimeException ) -{ - sal_Int32 nSize = sizeof( interfaces ) / sizeof( const char *); - - for( sal_Int32 i = 0; i < nSize; i++ ) - if ( rServiceName.equalsAscii( interfaces[i] )) - return sal_True; - return sal_False; -} - -Sequence< ::rtl::OUString > SAL_CALL OEMPreloadJob::getSupportedServiceNames() -throw ( RuntimeException ) -{ - return OEMPreloadJob::GetSupportedServiceNames(); -} - -// XJob -Any SAL_CALL OEMPreloadJob::execute(const Sequence<NamedValue>&) -throw ( RuntimeException ) -{ - sal_Bool bCont = sal_False; - // are we an OEM version at all? - if (checkOEMPreloadFlag()) - { - // create OEM preload service dialog - Reference <XExecutableDialog> xDialog( m_xServiceManager->createInstance( - OUString(RTL_CONSTASCII_USTRINGPARAM("org.openoffice.comp.preload.OEMPreloadWizard"))), - UNO_QUERY ); - if ( xDialog.is() ){ - // execute OEM preload dialog and check return value - if ( xDialog->execute() == ExecutableDialogResults::OK ) { - // user accepted. - // make sure the job does not get called again. - bCont = sal_True; - disableOEMPreloadFlag(); - } else { - // user declined... - // terminate. - bCont = sal_False; - } - } - } else { - // don't try again - bCont = sal_True; - } - Any r; - r <<= bCont; - return r; -} - -static sal_Bool existsURL( OUString const& _sURL ) -{ - using namespace osl; - DirectoryItem aDirItem; - - if (_sURL.getLength() != 0) - return ( DirectoryItem::get( _sURL, aDirItem ) == DirectoryItem::E_None ); - - return sal_False; -} - -// locate soffice.ini/.rc file -static OUString locateIniFile() -{ - OUString aUserDataPath; - OUString aSofficeIniFileURL; - - // Retrieve the default file URL for the soffice.ini/rc - Bootstrap().getIniName( aSofficeIniFileURL ); - - if ( utl::Bootstrap::locateUserData( aUserDataPath ) == utl::Bootstrap::PATH_EXISTS ) - { - const char CONFIG_DIR[] = "/config"; - - sal_Int32 nIndex = aSofficeIniFileURL.lastIndexOf( '/'); - if ( nIndex > 0 ) - { - OUString aUserSofficeIniFileURL; - OUStringBuffer aBuffer( aUserDataPath ); - aBuffer.appendAscii( CONFIG_DIR ); - aBuffer.append( aSofficeIniFileURL.copy( nIndex )); - aUserSofficeIniFileURL = aBuffer.makeStringAndClear(); - - if ( existsURL( aUserSofficeIniFileURL )) - return aUserSofficeIniFileURL; - } - } - // Fallback try to use the soffice.ini/rc from program folder - return aSofficeIniFileURL; -} - -// check whether the OEMPreload flag was set in soffice.ini/.rc -sal_Bool OEMPreloadJob::checkOEMPreloadFlag() -{ - OUString aSofficeIniFileURL; - aSofficeIniFileURL = locateIniFile(); - Config aConfig(aSofficeIniFileURL); - aConfig.SetGroup( OEM_PRELOAD_SECTION ); - ByteString sResult = aConfig.ReadKey( OEM_PRELOAD ); - if ( sResult == STR_TRUE ) - return sal_True; - else - return sal_False; -} - -void OEMPreloadJob::disableOEMPreloadFlag() -{ - OUString aSofficeIniFileURL = locateIniFile(); - if ( aSofficeIniFileURL.getLength() > 0 ) - { - Config aConfig(aSofficeIniFileURL); - aConfig.SetGroup( OEM_PRELOAD_SECTION ); - aConfig.WriteKey( OEM_PRELOAD, STR_FALSE ); - aConfig.Flush(); - } -} - -} // namespace desktop - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/so_comp/oemjob.hxx b/desktop/source/so_comp/oemjob.hxx deleted file mode 100644 index 140ee0e9af10..000000000000 --- a/desktop/source/so_comp/oemjob.hxx +++ /dev/null @@ -1,95 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef _SOCOMP_OEMJOB_HXX_ -#define _SOCOMP_OEMJOB_HXX_ - -#include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/Exception.hpp> -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/task/XJob.hpp> -#include <cppuhelper/implbase3.hxx> -#include <cppuhelper/interfacecontainer.h> - -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <osl/mutex.hxx> - -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::task; - -namespace desktop{ - -class OEMPreloadJob : public ::cppu::WeakImplHelper3< XJob, XComponent, XServiceInfo > -{ - -private: - ::osl::Mutex m_aMutex; - ::cppu::OInterfaceContainerHelper m_aListeners; - Reference< XMultiServiceFactory > m_xServiceManager; - - sal_Bool checkOEMPreloadFlag(); - void disableOEMPreloadFlag(); - -public: - OEMPreloadJob( const Reference < XMultiServiceFactory >& xFactory ); - virtual ~OEMPreloadJob(); - - static ::rtl::OUString GetImplementationName(); - static Sequence< rtl::OUString > GetSupportedServiceNames(); - - - // XComponent - virtual void SAL_CALL dispose() throw ( RuntimeException ); - virtual void SAL_CALL addEventListener( const Reference< XEventListener > & aListener) throw ( RuntimeException ); - virtual void SAL_CALL removeEventListener(const Reference< XEventListener > & aListener) throw ( RuntimeException ); - - // XServiceInfo - virtual ::rtl::OUString SAL_CALL getImplementationName() throw ( RuntimeException ); - virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& rServiceName ) throw ( RuntimeException ); - virtual Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw ( RuntimeException ); - - //XJob - virtual Any SAL_CALL execute(const Sequence<NamedValue>& args)throw ( RuntimeException ); - - - static const char* interfaces[]; - static const char* implementationName; - static const char* serviceName; - static Reference<XInterface> SAL_CALL CreateInstance( - const Reference< XMultiServiceFactory >&); - - -}; -} - -#endif // _SOCOMP_OEMJOB_HXX_ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/so_comp/services.cxx b/desktop/source/so_comp/services.cxx deleted file mode 100644 index 014df23af2b6..000000000000 --- a/desktop/source/so_comp/services.cxx +++ /dev/null @@ -1,135 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_desktop.hxx" - -#include "evaluation.hxx" -#include <com/sun/star/beans/NamedValue.hpp> -#include <com/sun/star/registry/XRegistryKey.hpp> -#include <com/sun/star/util/Date.hpp> -#include <uno/environment.h> -#include <cppuhelper/factory.hxx> -#include <unotools/configmgr.hxx> - -#include "oemjob.hxx" -#include "evaluation.hxx" - -#include <string.h> - -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::registry; -using namespace ::desktop; - -using ::rtl::OUString; - -static const char* pServices[] = -{ - SOEvaluation::serviceName, - OEMPreloadJob::serviceName, - NULL -}; - -static const char* pImplementations[] = -{ - SOEvaluation::implementationName, - OEMPreloadJob::implementationName, - NULL -}; - -typedef Reference<XInterface>(* fProvider)(const Reference<XMultiServiceFactory>&); - -static const fProvider pInstanceProviders[] = -{ - SOEvaluation::CreateInstance, - OEMPreloadJob::CreateInstance, - NULL -}; - -static const char** pSupportedServices[] = -{ - SOEvaluation::interfaces, - OEMPreloadJob::interfaces, - NULL -}; - -static Sequence<OUString> -getSupportedServiceNames(int p) { - const char **names = pSupportedServices[p]; - Sequence<OUString> aSeq; - for(int i = 0; names[i] != NULL; i++) { - aSeq.realloc(i+1); - aSeq[i] = OUString::createFromAscii(names[i]); - } - return aSeq; -} - -extern "C" -{ -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char** ppEnvironmentTypeName, - uno_Environment**) -{ - *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; -} - -SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( - const sal_Char* pImplementationName, - void* pServiceManager, - void*) -{ - // Set default return value for this operation - if it failed. - if ( pImplementationName && pServiceManager ) - { - Reference< XSingleServiceFactory > xFactory; - Reference< XMultiServiceFactory > xServiceManager( - reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ; - - // search implementation - for (int i = 0; (pImplementations[i]!=NULL); i++) { - if ( strcmp(pImplementations[i], pImplementationName ) == 0 ) { - // found implementation - xFactory = Reference<XSingleServiceFactory>(cppu::createSingleFactory( - xServiceManager, OUString::createFromAscii(pImplementationName), - pInstanceProviders[i], getSupportedServiceNames(i))); - if ( xFactory.is() ) { - // Factory is valid - service was found. - xFactory->acquire(); - return xFactory.get(); - } - } - } // for() - } - // Return with result of this operation. - return NULL; -} -} // extern "C" - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/so_comp/socomp.component b/desktop/source/so_comp/socomp.component deleted file mode 100755 index a53035223c39..000000000000 --- a/desktop/source/so_comp/socomp.component +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!--********************************************************************** -* -* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -* -* Copyright 2000, 2010 Oracle and/or its affiliates. -* -* OpenOffice.org - a multi-platform office productivity suite -* -* This file is part of OpenOffice.org. -* -* OpenOffice.org is free software: you can redistribute it and/or modify -* it under the terms of the GNU Lesser General Public License version 3 -* only, as published by the Free Software Foundation. -* -* OpenOffice.org is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Lesser General Public License version 3 for more details -* (a copy is included in the LICENSE file that accompanied this code). -* -* You should have received a copy of the GNU Lesser General Public License -* version 3 along with OpenOffice.org. If not, see -* <http://www.openoffice.org/license.html> -* for a copy of the LGPLv3 License. -* -**********************************************************************--> - -<component loader="com.sun.star.loader.SharedLibrary" - xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.comp.desktop.Evaluation"> - <service name="com.sun.star.office.Evaluation"/> - </implementation> - <implementation name="com.sun.star.comp.desktop.OEMPreloadJob"> - <service name="com.sun.star.office.OEMPreloadJob"/> - </implementation> -</component> diff --git a/desktop/source/splash/services_spl.cxx b/desktop/source/splash/services_spl.cxx index e01f96655e81..a2f9bd232123 100644 --- a/desktop/source/splash/services_spl.cxx +++ b/desktop/source/splash/services_spl.cxx @@ -84,13 +84,6 @@ getSupportedServiceNames(int p) { extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char** ppEnvironmentTypeName, - uno_Environment**) -{ - *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; -} - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplementationName, void* pServiceManager, diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx index 3d3001897859..6507cdb0d7f7 100644 --- a/desktop/test/deployment/active/active_native.cxx +++ b/desktop/test/deployment/active/active_native.cxx @@ -284,12 +284,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( pImplName, pServiceManager, pRegistryKey, services); } -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - char const ** ppEnvTypeName, uno_Environment **) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - extern "C" sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void * pRegistryKey) { diff --git a/desktop/test/deployment/boxt/boxt.cxx b/desktop/test/deployment/boxt/boxt.cxx index f96103acea90..b67625d588f0 100644 --- a/desktop/test/deployment/boxt/boxt.cxx +++ b/desktop/test/deployment/boxt/boxt.cxx @@ -175,12 +175,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( pImplName, pServiceManager, pRegistryKey, services); } -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - char const ** ppEnvTypeName, uno_Environment **) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - extern "C" sal_Bool SAL_CALL component_writeInfo( void * pServiceManager, void * pRegistryKey) { diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx index 5eb809d11695..939e8208f57f 100644 --- a/desktop/test/deployment/passive/passive_native.cxx +++ b/desktop/test/deployment/passive/passive_native.cxx @@ -281,9 +281,3 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( return cppu::component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, services); } - -extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - char const ** ppEnvTypeName, uno_Environment **) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} diff --git a/desktop/unx/source/makefile.mk b/desktop/unx/source/makefile.mk index 2dea54a014b2..7864dd8ad58b 100755 --- a/desktop/unx/source/makefile.mk +++ b/desktop/unx/source/makefile.mk @@ -42,6 +42,9 @@ dummy: CFLAGS+=-DENABLE_QUICKSTART_LIBPNG CFLAGS+=$(LIBPNG_CFLAGS) .ENDIF +.IF "$(USE_XINERAMA)"=="YES" +CFLAGS+=-DUSE_XINERAMA +.ENDIF STDLIB= @@ -61,6 +64,9 @@ APP1STDLIBS = $(PTHREAD_LIBS) $(X11LINK_DYNAMIC) $(SALLIB) .IF "$(ENABLE_QUICKSTART_LIBPNG)"=="TRUE" APP1STDLIBS += $(LIBPNG_LIBS) .ENDIF +.IF "$(USE_XINERAMA)"=="YES" +APP1STDLIBS += -lXinerama +.ENDIF .IF "$(OS)"=="SOLARIS" APP1STDLIBS+= -lsocket .ENDIF diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 6bcb10ef149d..76ef3eb1f138 100755 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -32,6 +32,10 @@ #include <X11/Xatom.h> #include <X11/Xutil.h> +#ifdef USE_XINERAMA +#include <X11/extensions/Xinerama.h> +#endif + #define USE_LIBPNG #include "osl/endian.h" @@ -144,6 +148,7 @@ int splash_load_bmp( const char *filename ) width = png_get_image_width( png_ptr, info_ptr ); height = png_get_image_height( png_ptr, info_ptr ); + fclose( file ); return 1; } #else @@ -510,6 +515,25 @@ int splash_create_window( int argc, char** argv ) int display_width = DisplayWidth( display, screen ); int display_height = DisplayHeight( display, screen ); +#ifdef USE_XINERAMA + int n_xinerama_screens = 1; + XineramaScreenInfo* p_screens = XineramaQueryScreens( display, &n_xinerama_screens ); + if( p_screens ) + { + int i = 0; + for( ; i < n_xinerama_screens; i++ ) + { + if ( p_screens[i].screen_number == screen ) + { + display_width = p_screens[i].width; + display_height = p_screens[i].height; + break; + } + } + XFree( p_screens ); + } +#endif + win = XCreateSimpleWindow( display, root_win, ( display_width - width ) / 2, ( display_height - height ) / 2, width, height, 0, @@ -609,6 +633,7 @@ void splash_close_window() { if (display) XCloseDisplay( display ); + display = NULL; #ifdef USE_LIBPNG png_destroy_read_struct( &png_ptr, &info_ptr, NULL ); #else diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index 9ff95533e6b1..85e2e2822c64 100755 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -39,6 +39,7 @@ #include <stdio.h> #include <libgen.h> #include <string.h> +#include <errno.h> #include <osl/nlsupport.h> #include <osl/process.h> @@ -679,8 +680,11 @@ read_percent( ChildInfo *info, int *pPercent ) /* read data */ nRead = read( child_info_get_status_fd (info), pBuffer + nNotProcessed, BUFFER_LEN - nNotProcessed ); - if ( nRead < 0 ) - return sal_False; + if ( nRead < 0 ) { + if (errno == EINTR) + return ProgressContinue; + return ProgressExit; + } nRead += nNotProcessed; pBuffer[nRead] = '\0'; @@ -866,6 +870,10 @@ exec_javaldx (Args *args) if( err != osl_Process_E_None) { fprintf (stderr, "Warning: failed to launch javaldx - java may not fuction correctly\n"); + if (javaldx) + osl_freeProcessHandle(javaldx); + if (fileOut) + osl_closeFile(fileOut); return; } else { char *chomp; @@ -876,6 +884,10 @@ exec_javaldx (Args *args) if (bytes_read <= 0) { fprintf (stderr, "Warning: failed to read path from javaldx\n"); + if (javaldx) + osl_freeProcessHandle(javaldx); + if (fileOut) + osl_closeFile(fileOut); return; } newpath[bytes_read] = '\0'; @@ -889,7 +901,10 @@ exec_javaldx (Args *args) #endif extend_library_path (newpath); - osl_freeProcessHandle(javaldx); + if (javaldx) + osl_freeProcessHandle(javaldx); + if (fileOut) + osl_closeFile(fileOut); } SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv ) diff --git a/desktop/unx/splash/exports.map b/desktop/unx/splash/exports.map index 218f0536d7e2..c4de86635ae8 100755 --- a/desktop/unx/splash/exports.map +++ b/desktop/unx/splash/exports.map @@ -1,7 +1,6 @@ UDK_3_0_0 { global: GetVersionInfo; - component_getImplementationEnvironment; component_getFactory; local: diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx index ca2b2099be63..88d6906bfdea 100644 --- a/desktop/unx/splash/unxsplash.cxx +++ b/desktop/unx/splash/unxsplash.cxx @@ -182,10 +182,6 @@ uno::Sequence< OUString > SAL_CALL UnxSplash_getSupportedServiceNames() throw() extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, - uno_Environment ** ) -{ *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, void* pServiceManager, void* pRegistryKey ) { return ::cppu::component_getFactoryHelper( pImplName, pServiceManager, diff --git a/desktop/util/ooverinfo.rc b/desktop/util/ooverinfo.rc index be7469563968..d434bc4fc662 100755..100644 --- a/desktop/util/ooverinfo.rc +++ b/desktop/util/ooverinfo.rc @@ -35,10 +35,10 @@ // ----------------------------------------------------------------------- VS_VERSION_INFO versioninfo - fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT - productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT - fileflagsmask 0x3F - fileflags + FILEVERSION VERSION, SUBVERSION, VERVARIANT, VER_COUNT + PRODUCTVERSION VERSION, SUBVERSION, VERVARIANT, VER_COUNT + FILEFLAGSMASK 0x3F + FILEFLAGS #if defined(DEBUG) VS_FF_DEBUG | #endif @@ -46,67 +46,67 @@ VS_VERSION_INFO versioninfo VS_FF_PRERELEASE | #endif 0 - fileos VOS_NT_WINDOWS32 - filetype VFT_APP + FILEOS VOS_NT_WINDOWS32 + FILETYPE VFT_APP { - block "StringFileInfo" + BLOCK "StringFileInfo" { - block "040904E4" + BLOCK "040904E4" { // International StringTable - value "CompanyName", "The Document Foundation\0" - value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" - value "FileVersion", PPS(VER_LEVEL) "\0" - value "ProductVersion", PPS(VER_LEVEL) "\0" - value "OriginalFilename", "SOFFICE.EXE\0" - value "InternalName", "SOFFICE\0" - value "LegalCopyright", S_CRIGHT " Oracle, Inc.\0" + VALUE "CompanyName", "The Document Foundation\0" + VALUE "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" + VALUE "FileVersion", PPS(VER_LEVEL) "\0" + VALUE "ProductVersion", PPS(VER_LEVEL) "\0" + VALUE "OriginalFilename", "SOFFICE.EXE\0" + VALUE "InternalName", "SOFFICE\0" + VALUE "LegalCopyright", S_CRIGHT " Oracle, Inc.\0" } } - block "VarFileInfo" + BLOCK "VarFileInfo" { - value "Translation", 0x0409, 1252 + VALUE "Translation", 0x0409, 1252 } } -2 ICON "icons\\oasis-text.ico" -3 ICON "icons\\oasis-text-template.ico" -4 ICON "icons\\oasis-spreadsheet.ico" -5 ICON "icons\\oasis-spreadsheet-template.ico" -6 ICON "icons\\oasis-drawing.ico" -7 ICON "icons\\oasis-drawing-template.ico" -8 ICON "icons\\oasis-presentation.ico" -9 ICON "icons\\oasis-presentation-template.ico" -10 ICON "icons\\oasis-presentation-template.ico" -11 ICON "icons\\oasis-master-document.ico" -12 ICON "icons\\oasis-web-template.ico" -13 ICON "icons\\oasis-empty-document.ico" -14 ICON "icons\\oasis-database.ico" -15 ICON "icons\\oasis-formula.ico" -16 ICON "icons\\oasis-web-template.ico" -17 ICON "icons\\empty-document.ico" -18 ICON "icons\\empty-document.ico" -19 ICON "icons\\ooo3_open.ico" -20 ICON "icons\\empty-document.ico" -21 ICON "icons\\ooo3_writer_app.ico" -22 ICON "icons\\ooo3_calc_app.ico" -23 ICON "icons\\ooo3_draw_app.ico" -24 ICON "icons\\ooo3_impress_app.ico" -25 ICON "icons\\ooo3_math_app.ico" -26 ICON "icons\\ooo3_base_app.ico" -27 ICON "icons\\oasis-empty-document.ico" -28 ICON "icons\\text.ico" -29 ICON "icons\\text-template.ico" -30 ICON "icons\\spreadsheet.ico" -31 ICON "icons\\spreadsheet-template.ico" -32 ICON "icons\\drawing.ico" -33 ICON "icons\\drawing-template.ico" -34 ICON "icons\\presentation.ico" -35 ICON "icons\\presentation-template.ico" -36 ICON "icons\\master-document.ico" -37 ICON "icons\\empty-document.ico" -38 ICON "icons\\database.ico" -39 ICON "icons\\formula.ico" -40 ICON "icons\\oxt-extension.ico" +2 ICON "icons/oasis-text.ico" +3 ICON "icons/oasis-text-template.ico" +4 ICON "icons/oasis-spreadsheet.ico" +5 ICON "icons/oasis-spreadsheet-template.ico" +6 ICON "icons/oasis-drawing.ico" +7 ICON "icons/oasis-drawing-template.ico" +8 ICON "icons/oasis-presentation.ico" +9 ICON "icons/oasis-presentation-template.ico" +10 ICON "icons/oasis-presentation-template.ico" +11 ICON "icons/oasis-master-document.ico" +12 ICON "icons/oasis-web-template.ico" +13 ICON "icons/oasis-empty-document.ico" +14 ICON "icons/oasis-database.ico" +15 ICON "icons/oasis-formula.ico" +16 ICON "icons/oasis-web-template.ico" +17 ICON "icons/empty-document.ico" +18 ICON "icons/empty-document.ico" +19 ICON "icons/ooo3_open.ico" +20 ICON "icons/empty-document.ico" +21 ICON "icons/ooo3_writer_app.ico" +22 ICON "icons/ooo3_calc_app.ico" +23 ICON "icons/ooo3_draw_app.ico" +24 ICON "icons/ooo3_impress_app.ico" +25 ICON "icons/ooo3_math_app.ico" +26 ICON "icons/ooo3_base_app.ico" +27 ICON "icons/oasis-empty-document.ico" +28 ICON "icons/text.ico" +29 ICON "icons/text-template.ico" +30 ICON "icons/spreadsheet.ico" +31 ICON "icons/spreadsheet-template.ico" +32 ICON "icons/drawing.ico" +33 ICON "icons/drawing-template.ico" +34 ICON "icons/presentation.ico" +35 ICON "icons/presentation-template.ico" +36 ICON "icons/master-document.ico" +37 ICON "icons/empty-document.ico" +38 ICON "icons/database.ico" +39 ICON "icons/formula.ico" +40 ICON "icons/oxt-extension.ico" diff --git a/desktop/util/verinfo.rc b/desktop/util/verinfo.rc index f24dff55169e..4c01f6b6b237 100644 --- a/desktop/util/verinfo.rc +++ b/desktop/util/verinfo.rc @@ -36,14 +36,14 @@ VS_VERSION_INFO versioninfo #ifndef SUBVERSION - fileversion VERSION, 0, VERVARIANT, VER_COUNT - productversion VERSION, 0, VERVARIANT, VER_COUNT + FILEVERSION VERSION, 0, VERVARIANT, VER_COUNT + PRODUCTVERSION VERSION, 0, VERVARIANT, VER_COUNT #else - fileversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT - productversion VERSION, SUBVERSION, VERVARIANT, VER_COUNT + FILEVERSION VERSION, SUBVERSION, VERVARIANT, VER_COUNT + PRODUCTVERSION VERSION, SUBVERSION, VERVARIANT, VER_COUNT #endif - fileflagsmask 0x3F - fileflags + FILEFLAGSMASK 0x3F + FILEFLAGS #if defined(DEBUG) VS_FF_DEBUG | #endif @@ -51,66 +51,66 @@ VS_VERSION_INFO versioninfo VS_FF_PRERELEASE | #endif 0 - fileos VOS_NT_WINDOWS32 - filetype VFT_APP + FILEOS VOS_NT_WINDOWS32 + FILETYPE VFT_APP { - block "StringFileInfo" + BLOCK "StringFileInfo" { - block "040904E4" + BLOCK "040904E4" { // International StringTable - value "CompanyName", "The Document Foundation\0" - value "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" - value "FileVersion", PPS(VER_LEVEL) "\0" - value "ProductVersion", PPS(VER_LEVEL) "\0" - value "OriginalFilename", "SOFFICE.EXE\0" - value "InternalName", "SOFFICE\0" - value "LegalCopyright", S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0" + VALUE "CompanyName", "The Document Foundation\0" + VALUE "FileDescription", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\0" + VALUE "FileVersion", PPS(VER_LEVEL) "\0" + VALUE "ProductVersion", PPS(VER_LEVEL) "\0" + VALUE "OriginalFilename", "SOFFICE.EXE\0" + VALUE "InternalName", "SOFFICE\0" + VALUE "LegalCopyright", S_CRIGHT " Oracle and/or its affiliates. All rights reserved.\0" } } - block "VarFileInfo" + BLOCK "VarFileInfo" { - value "Translation", 0x0409, 1252 + VALUE "Translation", 0x0409, 1252 } } -2 ICON "icons\\oasis-text.ico" -3 ICON "icons\\oasis-text-template.ico" -4 ICON "icons\\oasis-spreadsheet.ico" -5 ICON "icons\\oasis-spreadsheet-template.ico" -6 ICON "icons\\oasis-drawing.ico" -7 ICON "icons\\oasis-drawing-template.ico" -8 ICON "icons\\oasis-presentation.ico" -9 ICON "icons\\oasis-presentation-template.ico" -10 ICON "icons\\oasis-presentation-template.ico" -11 ICON "icons\\oasis-master-document.ico" -12 ICON "icons\\oasis-web-template.ico" -13 ICON "icons\\oasis-empty-document.ico" -14 ICON "icons\\oasis-database.ico" -15 ICON "icons\\oasis-formula.ico" -16 ICON "icons\\oasis-web-template.ico" -17 ICON "icons\\empty-document.ico" -18 ICON "icons\\empty-document.ico" -19 ICON "icons\\so9_main_app.ico" -20 ICON "icons\\empty-document.ico" -21 ICON "icons\\so9_writer_app.ico" -22 ICON "icons\\so9_calc_app.ico" -23 ICON "icons\\so9_draw_app.ico" -24 ICON "icons\\so9_impress_app.ico" -25 ICON "icons\\so9_math_app.ico" -26 ICON "icons\\so9_base_app.ico" -27 ICON "icons\\oasis-empty-document.ico" -28 ICON "icons\\text.ico" -29 ICON "icons\\text-template.ico" -30 ICON "icons\\spreadsheet.ico" -31 ICON "icons\\spreadsheet-template.ico" -32 ICON "icons\\drawing.ico" -33 ICON "icons\\drawing-template.ico" -34 ICON "icons\\presentation.ico" -35 ICON "icons\\presentation-template.ico" -36 ICON "icons\\master-document.ico" -37 ICON "icons\\empty-document.ico" -38 ICON "icons\\database.ico" -39 ICON "icons\\formula.ico" -40 ICON "icons\\oxt-extension.ico" +2 ICON "icons/oasis-text.ico" +3 ICON "icons/oasis-text-template.ico" +4 ICON "icons/oasis-spreadsheet.ico" +5 ICON "icons/oasis-spreadsheet-template.ico" +6 ICON "icons/oasis-drawing.ico" +7 ICON "icons/oasis-drawing-template.ico" +8 ICON "icons/oasis-presentation.ico" +9 ICON "icons/oasis-presentation-template.ico" +10 ICON "icons/oasis-presentation-template.ico" +11 ICON "icons/oasis-master-document.ico" +12 ICON "icons/oasis-web-template.ico" +13 ICON "icons/oasis-empty-document.ico" +14 ICON "icons/oasis-database.ico" +15 ICON "icons/oasis-formula.ico" +16 ICON "icons/oasis-web-template.ico" +17 ICON "icons/empty-document.ico" +18 ICON "icons/empty-document.ico" +19 ICON "icons/so9_main_app.ico" +20 ICON "icons/empty-document.ico" +21 ICON "icons/so9_writer_app.ico" +22 ICON "icons/so9_calc_app.ico" +23 ICON "icons/so9_draw_app.ico" +24 ICON "icons/so9_impress_app.ico" +25 ICON "icons/so9_math_app.ico" +26 ICON "icons/so9_base_app.ico" +27 ICON "icons/oasis-empty-document.ico" +28 ICON "icons/text.ico" +29 ICON "icons/text-template.ico" +30 ICON "icons/spreadsheet.ico" +31 ICON "icons/spreadsheet-template.ico" +32 ICON "icons/drawing.ico" +33 ICON "icons/drawing-template.ico" +34 ICON "icons/presentation.ico" +35 ICON "icons/presentation-template.ico" +36 ICON "icons/master-document.ico" +37 ICON "icons/empty-document.ico" +38 ICON "icons/database.ico" +39 ICON "icons/formula.ico" +40 ICON "icons/oxt-extension.ico" diff --git a/desktop/win32/source/setup/setup.cpp b/desktop/win32/source/setup/setup.cpp index 52746837646c..e84a0a697592 100644 --- a/desktop/win32/source/setup/setup.cpp +++ b/desktop/win32/source/setup/setup.cpp @@ -88,7 +88,7 @@ #define RUNTIME_X64_NAME TEXT( "redist\\vcredist_x64.exe" ) #define RUNTIME_X86_NAME TEXT( "redist\\vcredist_x86.exe" ) #define PRODUCTCODE_X86 TEXT( "{1F1C2DFC-2D24-3E06-BCB8-725134ADF989}" ) -#define PRODUCTCODE_X64 TEXT( "{4B6C7001-C7D6-3710-913E-5BC23FCE91E6}" ) +#define PRODUCTCODE_X64 TEXT( "{350AA351-21FA-3270-8B7A-835434E766AD}" ) #define MSIAPI_DllGetVersion "DllGetVersion" #define ADVAPI32API_CheckTokenMembership "CheckTokenMembership" diff --git a/drawinglayer/Library_drawinglayer.mk b/drawinglayer/Library_drawinglayer.mk index 52937783b1ef..87639435450f 100644 --- a/drawinglayer/Library_drawinglayer.mk +++ b/drawinglayer/Library_drawinglayer.mk @@ -35,13 +35,17 @@ $(eval $(call gb_Library_set_include,drawinglayer,\ $$(INCLUDE) \ -I$(realpath $(SRCDIR)/drawinglayer/inc/pch) \ -I$(OUTDIR)/inc \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_defs,drawinglayer,\ -DDRAWINGLAYER_DLLIMPLEMENTATION \ )) +$(eval $(call gb_Library_add_api,drawinglayer,\ + offapi \ + udkapi \ +)) + $(eval $(call gb_Library_add_linked_libs,drawinglayer,\ avmedia \ basegfx \ diff --git a/drawinglayer/prj/build.lst b/drawinglayer/prj/build.lst index 73993b99e5ee..9f9697ba062f 100644 --- a/drawinglayer/prj/build.lst +++ b/drawinglayer/prj/build.lst @@ -1,4 +1,4 @@ -dl drawinglayer : sal vcl basegfx offuh cppuhelper cppu svtools avmedia canvas cppcanvas NULL +dl drawinglayer : sal vcl basegfx offapi cppuhelper cppu svtools avmedia canvas cppcanvas NULL dl drawinglayer usr1 - all dl_mkout NULL dl drawinglayer\prj nmake - all dl_prj NULL diff --git a/editeng/CppunitTest_editeng_borderline.mk b/editeng/CppunitTest_editeng_borderline.mk index 6a8e8472766b..3a3a1882b502 100755 --- a/editeng/CppunitTest_editeng_borderline.mk +++ b/editeng/CppunitTest_editeng_borderline.mk @@ -57,8 +57,12 @@ $(eval $(call gb_CppunitTest_add_linked_libs,editeng_borderline, \ $(eval $(call gb_CppunitTest_set_include,editeng_borderline,\ $$(INCLUDE) \ - -I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc \ )) +$(eval $(call gb_CppunitTest_add_api,editeng_borderline,\ + offapi \ + udkapi \ +)) + # vim: set noet sw=4 ts=4: diff --git a/editeng/Library_editeng.mk b/editeng/Library_editeng.mk index f5444d378ec6..2aeec99449a4 100755 --- a/editeng/Library_editeng.mk +++ b/editeng/Library_editeng.mk @@ -35,7 +35,6 @@ $(eval $(call gb_Library_set_include,editeng,\ $$(INCLUDE) \ -I$(realpath $(SRCDIR)/editeng/inc/pch) \ -I$(realpath $(SRCDIR)/editeng/inc) \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_defs,editeng,\ @@ -48,6 +47,11 @@ $(eval $(call gb_Library_add_defs,editeng,\ )) endif +$(eval $(call gb_Library_add_api,editeng,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Library_add_exception_objects,editeng,\ editeng/inc/pch/precompiled_editeng \ editeng/source/accessibility/AccessibleComponentBase \ diff --git a/editeng/inc/editeng/brshitem.hxx b/editeng/inc/editeng/brshitem.hxx index 32726d8de515..b3c314002999 100644 --- a/editeng/inc/editeng/brshitem.hxx +++ b/editeng/inc/editeng/brshitem.hxx @@ -116,7 +116,6 @@ public: SvxGraphicPosition GetGraphicPos() const { return eGraphicPos; } - void PurgeGraphic() const; void PurgeMedium() const; const Graphic* GetGraphic() const; @@ -134,7 +133,6 @@ public: static SvxGraphicPosition WallpaperStyle2GraphicPos( WallpaperStyle eStyle ); static WallpaperStyle GraphicPos2WallpaperStyle( SvxGraphicPosition ePos ); - CntWallpaperItem* CreateCntWallpaperItem() const; }; #endif // #ifndef _SVX_BRSHITEM_HXX diff --git a/editeng/inc/editeng/unonrule.hxx b/editeng/inc/editeng/unonrule.hxx index 34d3c99f719f..5a60957698bd 100644 --- a/editeng/inc/editeng/unonrule.hxx +++ b/editeng/inc/editeng/unonrule.hxx @@ -43,7 +43,6 @@ EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > SvxCreateNumRule( const SvxNumRule* pRule ) throw(); EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > SvxCreateNumRule() throw(); const SvxNumRule& SvxGetNumRule( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > xRule ) throw( ::com::sun::star::lang::IllegalArgumentException ); -bool SvxGetNumRule( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > xRule, SvxNumRule& rNumRule ); EDITENG_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XAnyCompare > SvxCreateNumRuleCompare() throw(); class SvxUnoNumberingRules : public ::cppu::WeakAggImplHelper5< com::sun::star::container::XIndexReplace, com::sun::star::ucb::XAnyCompare, diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 9a785af062ca..7f314ea3cc16 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -153,7 +153,9 @@ namespace accessibility pStateSet->AddState( AccessibleStateType::ENABLED ); pStateSet->AddState( AccessibleStateType::SENSITIVE ); } - catch( const uno::Exception& ) {} + catch (const uno::Exception&) + { + } } AccessibleEditableTextPara::~AccessibleEditableTextPara() @@ -170,7 +172,9 @@ namespace accessibility OSL_TRACE( "AccessibleEditableTextPara revoked ID: %d\n", mnNotifierClientId ); #endif } - catch( const uno::Exception& ) {} + catch (const uno::Exception&) + { + } } } @@ -315,13 +319,17 @@ namespace accessibility aOldDesc <<= getAccessibleDescription(); aOldName <<= getAccessibleName(); } - catch( const uno::Exception& ) {} // optional behaviour + catch (const uno::Exception&) // optional behaviour + { + } // index and therefore description changed FireEvent( AccessibleEventId::DESCRIPTION_CHANGED, uno::makeAny( getAccessibleDescription() ), aOldDesc ); FireEvent( AccessibleEventId::NAME_CHANGED, uno::makeAny( getAccessibleName() ), aOldName ); } } - catch( const uno::Exception& ) {} // optional behaviour + catch (const uno::Exception&) // optional behaviour + { + } } sal_Int32 AccessibleEditableTextPara::GetParagraphIndex() const SAL_THROW((uno::RuntimeException)) @@ -355,7 +363,9 @@ namespace accessibility OSL_TRACE( "Disposed ID: %d\n", nClientId ); #endif } - catch( const uno::Exception& ) {} + catch (const uno::Exception&) + { + } } } @@ -385,7 +395,9 @@ namespace accessibility { TextChanged(); } - catch( const uno::RuntimeException& ) {} + catch (const uno::RuntimeException&) + { + } } ESelection AccessibleEditableTextPara::MakeSelection( sal_Int32 nStartEEIndex, sal_Int32 nEndEEIndex ) @@ -1363,7 +1375,7 @@ namespace accessibility else return -1; } - catch( const lang::IndexOutOfBoundsException& ) + catch (const lang::IndexOutOfBoundsException&) { // #103927# Don't throw for invalid nIndex values return -1; @@ -1437,7 +1449,7 @@ namespace accessibility SvxEditViewForwarder& rCacheVF = GetEditViewForwarder( sal_True ); return rCacheVF.SetSelection( MakeSelection(nStartIndex, nEndIndex) ); } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1650,7 +1662,7 @@ namespace accessibility return aRetVal; } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1681,7 +1693,7 @@ namespace accessibility return rCacheVF.Cut(); } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1711,7 +1723,7 @@ namespace accessibility return rCacheVF.Paste(); } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1744,7 +1756,7 @@ namespace accessibility return bRet; } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1779,7 +1791,7 @@ namespace accessibility return bRet; } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1814,7 +1826,7 @@ namespace accessibility return bRet; } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1861,7 +1873,7 @@ namespace accessibility { aPropSet.setPropertyValue(pPropArray->Name, pPropArray->Value); } - catch( const uno::Exception& ) + catch (const uno::Exception&) { OSL_FAIL("AccessibleEditableTextPara::setAttributes exception in setPropertyValue"); } @@ -1874,7 +1886,7 @@ namespace accessibility return sal_True; } - catch( const uno::RuntimeException& ) + catch (const uno::RuntimeException&) { return sal_False; } @@ -1937,7 +1949,7 @@ namespace accessibility { aProp = xPropSetInfo->getPropertyByName( pRequestedAttributes[i] ); } - catch (beans::UnknownPropertyException &) + catch (const beans::UnknownPropertyException&) { continue; } @@ -2036,7 +2048,7 @@ namespace accessibility { aProp = xPropSetInfo->getPropertyByName( pRequestedAttributes[i] ); } - catch (beans::UnknownPropertyException &) + catch (const beans::UnknownPropertyException&) { continue; } @@ -2199,7 +2211,7 @@ namespace accessibility aResult.SegmentStart = nStart; aResult.SegmentEnd = nEnd; } - catch (lang::IndexOutOfBoundsException) + catch (const lang::IndexOutOfBoundsException&) { // this is not the exception that should be raised in this function ... DBG_ASSERT( 0, "unexpected exception" ); @@ -2222,7 +2234,7 @@ namespace accessibility { aResult = getTextAtLineNumber( getNumberOfLineWithCaret() ); } - catch (lang::IndexOutOfBoundsException &) + catch (const lang::IndexOutOfBoundsException&) { // this one needs to be catched since this interface does not allow for it. } @@ -2239,7 +2251,7 @@ namespace accessibility { nRes = getLineNumberAtIndex( getCaretPosition() ); } - catch (lang::IndexOutOfBoundsException &) + catch (const lang::IndexOutOfBoundsException&) { // this one needs to be catched since this interface does not allow for it. } diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx index 5286318f53eb..ac7eb920f61e 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -65,238 +65,234 @@ #include <editdoc.hxx> #include <editdbg.hxx> +#include <rtl/strbuf.hxx> + #if defined( DBG_UTIL ) || ( OSL_DEBUG_LEVEL > 1 ) -ByteString DbgOutItem( const SfxItemPool& rPool, const SfxPoolItem& rItem ) +rtl::OString DbgOutItem(const SfxItemPool& rPool, const SfxPoolItem& rItem) { - ByteString aDebStr; + rtl::OStringBuffer aDebStr; switch ( rItem.Which() ) { case EE_PARA_WRITINGDIR: - aDebStr += "WritingDir="; - aDebStr += ByteString::CreateFromInt32( ((SvxFrameDirectionItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("WritingDir=")); + aDebStr.append(static_cast<sal_Int32>(((SvxFrameDirectionItem&)rItem).GetValue())); break; case EE_PARA_OUTLLRSPACE: case EE_PARA_LRSPACE: - aDebStr += "FI="; - aDebStr += ByteString::CreateFromInt32( ((SvxLRSpaceItem&)rItem).GetTxtFirstLineOfst() ); - aDebStr += ", LI="; - aDebStr += ByteString::CreateFromInt32( ((SvxLRSpaceItem&)rItem).GetTxtLeft() ); - aDebStr += ", RI="; - aDebStr += ByteString::CreateFromInt32( ((SvxLRSpaceItem&)rItem).GetRight() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FI=")); + aDebStr.append(static_cast<sal_Int32>(((SvxLRSpaceItem&)rItem).GetTxtFirstLineOfst())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", LI=")); + aDebStr.append(static_cast<sal_Int32>(((SvxLRSpaceItem&)rItem).GetTxtLeft())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", RI=")); + aDebStr.append(static_cast<sal_Int32>(((SvxLRSpaceItem&)rItem).GetRight())); break; case EE_PARA_NUMBULLET: - { - aDebStr += "NumItem "; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("NumItem ")); for ( sal_uInt16 nLevel = 0; nLevel < 3; nLevel++ ) { - aDebStr += "Level"; - aDebStr += ByteString::CreateFromInt32( nLevel ); - aDebStr += "="; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Level")); + aDebStr.append(static_cast<sal_Int32>(nLevel)); + aDebStr.append('='); const SvxNumberFormat* pFmt = ((const SvxNumBulletItem&)rItem).GetNumRule()->Get( nLevel ); if ( pFmt ) { - aDebStr += "("; - aDebStr += ByteString::CreateFromInt32( pFmt->GetFirstLineOffset() ); - aDebStr += ","; - aDebStr += ByteString::CreateFromInt32( pFmt->GetAbsLSpace() ); - aDebStr += ","; + aDebStr.append('('); + aDebStr.append(static_cast<sal_Int32>(pFmt->GetFirstLineOffset())); + aDebStr.append(','); + aDebStr.append(static_cast<sal_Int32>(pFmt->GetAbsLSpace())); + aDebStr.append(','); if ( pFmt->GetNumberingType() == SVX_NUM_BITMAP ) - { - aDebStr += "Bitmap"; - } + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Bitmap")); else if( pFmt->GetNumberingType() != SVX_NUM_CHAR_SPECIAL ) - { - aDebStr += "Number"; - } + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Number")); else { - aDebStr += "Char=["; - aDebStr += ByteString::CreateFromInt32( pFmt->GetBulletChar() ); - aDebStr += "]"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Char=[")); + aDebStr.append(static_cast<sal_Int32>(pFmt->GetBulletChar())); + aDebStr.append(']'); } - aDebStr += ") "; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(") ")); } } - } break; case EE_PARA_BULLETSTATE: - aDebStr += "ShowBullet="; - aDebStr += ByteString::CreateFromInt32( ((SfxBoolItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("ShowBullet=")); + aDebStr.append(static_cast<sal_Int32>(((SfxBoolItem&)rItem).GetValue())); break; case EE_PARA_HYPHENATE: - aDebStr += "Hyphenate="; - aDebStr += ByteString::CreateFromInt32( ((SfxBoolItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Hyphenate=")); + aDebStr.append(static_cast<sal_Int32>(((SfxBoolItem&)rItem).GetValue())); break; case EE_PARA_OUTLLEVEL: - aDebStr += "Level="; - aDebStr += ByteString::CreateFromInt32( ((SfxInt16Item&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Level=")); + aDebStr.append(static_cast<sal_Int32>(((SfxInt16Item&)rItem).GetValue())); break; case EE_PARA_ULSPACE: - aDebStr += "SB="; - aDebStr += ByteString::CreateFromInt32( ((SvxULSpaceItem&)rItem).GetUpper() ); - aDebStr += ", SA="; - aDebStr += ByteString::CreateFromInt32( ((SvxULSpaceItem&)rItem).GetLower() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("SB=")); + aDebStr.append(static_cast<sal_Int32>(((SvxULSpaceItem&)rItem).GetUpper())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", SA=")); + aDebStr.append(static_cast<sal_Int32>(((SvxULSpaceItem&)rItem).GetLower())); break; case EE_PARA_SBL: - aDebStr += "SBL="; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("SBL=")); if ( ((SvxLineSpacingItem&)rItem).GetLineSpaceRule() == SVX_LINE_SPACE_MIN ) { - aDebStr += "Min: "; - aDebStr += ByteString::CreateFromInt32( ((SvxLineSpacingItem&)rItem).GetInterLineSpace() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Min: ")); + aDebStr.append(static_cast<sal_Int32>(((SvxLineSpacingItem&)rItem).GetInterLineSpace())); } else if ( ((SvxLineSpacingItem&)rItem).GetInterLineSpaceRule() == SVX_INTER_LINE_SPACE_PROP ) { - aDebStr += "Prop: "; - aDebStr += ByteString::CreateFromInt32( (sal_uLong)((SvxLineSpacingItem&)rItem).GetPropLineSpace() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Prop: ")); + aDebStr.append(static_cast<sal_Int32>(((SvxLineSpacingItem&)rItem).GetPropLineSpace())); } else - aDebStr += "Unsupported Type!"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Unsupported Type!")); break; case EE_PARA_JUST: - aDebStr += "SvxAdust="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxAdjustItem&)rItem).GetAdjust() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("SvxAdust=")); + aDebStr.append(static_cast<sal_Int32>(((SvxAdjustItem&)rItem).GetAdjust())); break; case EE_PARA_TABS: { - aDebStr += "Tabs: "; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Tabs: ")); const SvxTabStopItem& rTabs = (const SvxTabStopItem&) rItem; - aDebStr += ByteString::CreateFromInt32( rTabs.Count() ); + aDebStr.append(static_cast<sal_Int32>(rTabs.Count())); if ( rTabs.Count() ) { - aDebStr += "( "; - for ( sal_uInt16 i = 0; i < rTabs.Count(); i++ ) + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("( ")); + for (sal_uInt16 i = 0; i < rTabs.Count(); ++i) { const SvxTabStop& rTab = rTabs[i]; - aDebStr += ByteString::CreateFromInt32( rTab.GetTabPos() ); - aDebStr += " "; + aDebStr.append(static_cast<sal_Int32>(rTab.GetTabPos())); + aDebStr.append(' '); } - aDebStr += ")"; + aDebStr.append(')'); } } break; case EE_CHAR_LANGUAGE: case EE_CHAR_LANGUAGE_CJK: case EE_CHAR_LANGUAGE_CTL: - aDebStr += "Language="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxLanguageItem&)rItem).GetLanguage() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Language=")); + aDebStr.append(static_cast<sal_Int32>(((SvxLanguageItem&)rItem).GetLanguage())); break; case EE_CHAR_COLOR: { - aDebStr += "Color= "; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Color= ")); Color aColor( ((SvxColorItem&)rItem).GetValue() ); - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)aColor.GetRed() ); - aDebStr += ", "; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)aColor.GetGreen() ); - aDebStr += ", "; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)aColor.GetBlue() ); + aDebStr.append(static_cast<sal_Int32>(aColor.GetRed())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", ")); + aDebStr.append(static_cast<sal_Int32>(aColor.GetGreen())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", ")); + aDebStr.append(static_cast<sal_Int32>(aColor.GetBlue())); } break; case EE_CHAR_FONTINFO: case EE_CHAR_FONTINFO_CJK: case EE_CHAR_FONTINFO_CTL: { - aDebStr += "Font="; - aDebStr += ByteString( ((SvxFontItem&)rItem).GetFamilyName(), RTL_TEXTENCODING_ASCII_US ); - aDebStr += " (CharSet: "; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxFontItem&)rItem).GetCharSet() ); - aDebStr += ')'; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Font=")); + aDebStr.append(rtl::OUStringToOString(((SvxFontItem&)rItem).GetFamilyName(), RTL_TEXTENCODING_ASCII_US)); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(" (CharSet: ")); + aDebStr.append(static_cast<sal_Int32>(((SvxFontItem&)rItem).GetCharSet())); + aDebStr.append(')'); } break; case EE_CHAR_FONTHEIGHT: case EE_CHAR_FONTHEIGHT_CJK: case EE_CHAR_FONTHEIGHT_CTL: { - aDebStr += "Groesse="; - aDebStr += ByteString::CreateFromInt32( ((SvxFontHeightItem&)rItem).GetHeight() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Groesse=")); + aDebStr.append(static_cast<sal_Int32>(((SvxFontHeightItem&)rItem).GetHeight())); Size aSz( 0, ((SvxFontHeightItem&)rItem).GetHeight() ); SfxMapUnit eUnit = rPool.GetMetric( rItem.Which() ); MapMode aItemMapMode( (MapUnit) eUnit ); MapMode aPntMap( MAP_POINT ); aSz = OutputDevice::LogicToLogic( aSz, aItemMapMode, aPntMap ); - aDebStr += " Points="; - aDebStr += ByteString::CreateFromInt32( aSz.Height() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(" Points=")); + aDebStr.append(static_cast<sal_Int32>(aSz.Height())); } break; case EE_CHAR_FONTWIDTH: { - aDebStr += "Breite="; - aDebStr += ByteString::CreateFromInt32( ((SvxCharScaleWidthItem&)rItem).GetValue() ); - aDebStr += "%"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Breite=")); + aDebStr.append(static_cast<sal_Int32>(((SvxCharScaleWidthItem&)rItem).GetValue())); + aDebStr.append('%'); } break; case EE_CHAR_WEIGHT: case EE_CHAR_WEIGHT_CJK: case EE_CHAR_WEIGHT_CTL: - aDebStr += "FontWeight="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxWeightItem&)rItem).GetWeight() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontWeight=")); + aDebStr.append(static_cast<sal_Int32>(((SvxWeightItem&)rItem).GetWeight())); break; case EE_CHAR_UNDERLINE: - aDebStr += "FontUnderline="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxUnderlineItem&)rItem).GetLineStyle() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontUnderline=")); + aDebStr.append(static_cast<sal_Int32>(((SvxUnderlineItem&)rItem).GetLineStyle())); break; case EE_CHAR_OVERLINE: - aDebStr += "FontOverline="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxOverlineItem&)rItem).GetLineStyle() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontOverline=")); + aDebStr.append(static_cast<sal_Int32>(((SvxOverlineItem&)rItem).GetLineStyle())); break; case EE_CHAR_EMPHASISMARK: - aDebStr += "FontUnderline="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxEmphasisMarkItem&)rItem).GetEmphasisMark() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontUnderline=")); + aDebStr.append(static_cast<sal_Int32>(((SvxEmphasisMarkItem&)rItem).GetEmphasisMark())); break; case EE_CHAR_RELIEF: - aDebStr += "FontRelief="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxCharReliefItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontRelief=")); + aDebStr.append(static_cast<sal_Int32>(((SvxCharReliefItem&)rItem).GetValue())); break; case EE_CHAR_STRIKEOUT: - aDebStr += "FontStrikeout="; - aDebStr +=ByteString::CreateFromInt32( (sal_uInt16)((SvxCrossedOutItem&)rItem).GetStrikeout() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontStrikeout=")); + aDebStr.append(static_cast<sal_Int32>(((SvxCrossedOutItem&)rItem).GetStrikeout())); break; case EE_CHAR_ITALIC: case EE_CHAR_ITALIC_CJK: case EE_CHAR_ITALIC_CTL: - aDebStr += "FontPosture="; - aDebStr +=ByteString::CreateFromInt32( (sal_uInt16)((SvxPostureItem&)rItem).GetPosture() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontPosture=")); + aDebStr.append(static_cast<sal_Int32>(((SvxPostureItem&)rItem).GetPosture())); break; case EE_CHAR_OUTLINE: - aDebStr += "FontOutline="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxContourItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontOutline=")); + aDebStr.append(static_cast<sal_Int32>(((SvxContourItem&)rItem).GetValue())); break; case EE_CHAR_SHADOW: - aDebStr += "FontShadowed="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxShadowedItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("FontShadowed=")); + aDebStr.append(static_cast<sal_Int32>(((SvxShadowedItem&)rItem).GetValue())); break; case EE_CHAR_ESCAPEMENT: - aDebStr += "Escape="; - aDebStr += ByteString::CreateFromInt32( (short)((SvxEscapementItem&)rItem).GetEsc() ); - aDebStr += ", "; - aDebStr += ByteString::CreateFromInt32( (short)((SvxEscapementItem&)rItem).GetProp() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Escape=")); + aDebStr.append(static_cast<sal_Int32>(((SvxEscapementItem&)rItem).GetEsc())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(", ")); + aDebStr.append(static_cast<sal_Int32>(((SvxEscapementItem&)rItem).GetProp())); break; case EE_CHAR_PAIRKERNING: - aDebStr += "PairKerning="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxAutoKernItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("PairKerning=")); + aDebStr.append(static_cast<sal_Int32>(((SvxAutoKernItem&)rItem).GetValue())); break; case EE_CHAR_KERNING: { - aDebStr += "Kerning="; - aDebStr += ByteString::CreateFromInt32( (short)((SvxKerningItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("Kerning=")); + aDebStr.append(static_cast<sal_Int32>(((SvxKerningItem&)rItem).GetValue())); Size aSz( 0, (short)((SvxKerningItem&)rItem).GetValue() ); SfxMapUnit eUnit = rPool.GetMetric( rItem.Which() ); MapMode aItemMapMode( (MapUnit) eUnit ); MapMode aPntMap( MAP_POINT ); aSz = OutputDevice::LogicToLogic( aSz, aItemMapMode, aPntMap ); - aDebStr += " Points="; - aDebStr += ByteString::CreateFromInt32( aSz.Height() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM(" Points=")); + aDebStr.append(static_cast<sal_Int32>(aSz.Height())); } break; case EE_CHAR_WLM: - aDebStr += "WordLineMode="; - aDebStr += ByteString::CreateFromInt32( (sal_uInt16)((SvxWordLineModeItem&)rItem).GetValue() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("WordLineMode=")); + aDebStr.append(static_cast<sal_Int32>(((SvxWordLineModeItem&)rItem).GetValue())); break; case EE_CHAR_XMLATTRIBS: - aDebStr += "XMLAttribs=..."; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("XMLAttribs=...")); break; } - return aDebStr; + return aDebStr.makeStringAndClear(); } void DbgOutItemSet( FILE* fp, const SfxItemSet& rSet, sal_Bool bSearchInParent, sal_Bool bShowALL ) @@ -356,18 +352,18 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) for ( z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ ) { EditCharAttrib* pAttr = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( z ); - ByteString aCharAttribs; - aCharAttribs += "\nA"; - aCharAttribs += ByteString::CreateFromInt32( nPortion ); - aCharAttribs += ": "; - aCharAttribs += ByteString::CreateFromInt32( pAttr->GetItem()->Which() ); - aCharAttribs += '\t'; - aCharAttribs += ByteString::CreateFromInt32( pAttr->GetStart() ); - aCharAttribs += '\t'; - aCharAttribs += ByteString::CreateFromInt32( pAttr->GetEnd() ); + rtl::OStringBuffer aCharAttribs; + aCharAttribs.append(RTL_CONSTASCII_STRINGPARAM("\nA")); + aCharAttribs.append(static_cast<sal_Int32>(nPortion)); + aCharAttribs.append(RTL_CONSTASCII_STRINGPARAM(": ")); + aCharAttribs.append(static_cast<sal_Int32>(pAttr->GetItem()->Which())); + aCharAttribs.append('\t'); + aCharAttribs.append(static_cast<sal_Int32>(pAttr->GetStart())); + aCharAttribs.append('\t'); + aCharAttribs.append(static_cast<sal_Int32>(pAttr->GetEnd())); if ( pAttr->IsEmpty() ) bZeroAttr = sal_True; - fprintf( fp, "%s => ", aCharAttribs.GetBuffer() ); + fprintf(fp, "%s => ", aCharAttribs.getStr()); ByteString aDebStr = DbgOutItem( rPool, *pAttr->GetItem() ); fprintf( fp, "%s", aDebStr.GetBuffer() ); @@ -376,38 +372,39 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) fprintf( fp, "\nNULL-Attribute!" ); sal_uInt16 nTextPortions = pPPortion->GetTextPortions().Count(); - ByteString aPortionStr("\nText portions: #"); - aPortionStr += ByteString::CreateFromInt32( nTextPortions ); - aPortionStr += " \nA"; - aPortionStr += ByteString::CreateFromInt32( nPortion ); - aPortionStr += ": Paragraph Length = "; - aPortionStr += ByteString::CreateFromInt32( pPPortion->GetNode()->Len() ); - aPortionStr += "\nA"; - aPortionStr += ByteString::CreateFromInt32( nPortion ); - aPortionStr += ": "; + rtl::OStringBuffer aPortionStr( + RTL_CONSTASCII_STRINGPARAM("\nText portions: #")); + aPortionStr.append(static_cast<sal_Int32>(nTextPortions)); + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM(" \nA")); + aPortionStr.append(static_cast<sal_Int32>(nPortion)); + aPortionStr.append( + RTL_CONSTASCII_STRINGPARAM(": Paragraph Length = ")); + aPortionStr.append(static_cast<sal_Int32>(pPPortion->GetNode()->Len())); + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM("\nA")); + aPortionStr.append(static_cast<sal_Int32>(nPortion)); + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM(": ")); sal_uLong n = 0; for ( z = 0; z < nTextPortions; z++ ) { TextPortion* pPortion = pPPortion->GetTextPortions().GetObject( z ); - aPortionStr += " "; - aPortionStr += ByteString::CreateFromInt32( pPortion->GetLen() ); - aPortionStr += "("; - aPortionStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); - aPortionStr += ")"; - aPortionStr += "["; - aPortionStr += ByteString::CreateFromInt32( (sal_uInt16)pPortion->GetKind() ); - aPortionStr += "]"; - aPortionStr += ";"; + aPortionStr.append(' '); + aPortionStr.append(static_cast<sal_Int32>(pPortion->GetLen())); + aPortionStr.append('('); + aPortionStr.append(static_cast<sal_Int32>(pPortion->GetSize().Width())); + aPortionStr.append(')'); + aPortionStr.append('['); + aPortionStr.append(static_cast<sal_Int32>(pPortion->GetKind())); + aPortionStr.append(']'); + aPortionStr.append(';'); n += pPortion->GetLen(); } - aPortionStr += "\nA"; - aPortionStr += ByteString::CreateFromInt32( nPortion ); - aPortionStr += ": Total length: "; - aPortionStr += ByteString::CreateFromInt32( n ); + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM("\nA")); + aPortionStr.append(static_cast<sal_Int32>(nPortion)); + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM(": Total length: ")); + aPortionStr.append(static_cast<sal_Int32>(n)); if ( pPPortion->GetNode()->Len() != n ) - aPortionStr += " => Error !!!"; - fprintf( fp, "%s", aPortionStr.GetBuffer() ); - + aPortionStr.append(RTL_CONSTASCII_STRINGPARAM(" => Error !!!")); + fprintf(fp, "%s", aPortionStr.getStr()); fprintf( fp, "\n\nLines:" ); // First the content ... @@ -490,66 +487,66 @@ void EditDbg::ShowEditEngineData( EditEngine* pEE, sal_Bool bInfoBox ) InfoBox(0, String( RTL_CONSTASCII_USTRINGPARAM( "D:\\DEBUG.LOG !" ) ) ).Execute(); } -ByteString EditDbg::GetPortionInfo( ParaPortion* pPPortion ) +rtl::OString EditDbg::GetPortionInfo( ParaPortion* pPPortion ) { sal_uInt16 z; - ByteString aDebStr( "Paragraph Length = " ); - aDebStr += ByteString::CreateFromInt32( pPPortion->GetNode()->Len() ); + rtl::OStringBuffer aDebStr(RTL_CONSTASCII_STRINGPARAM("Paragraph Length = ")); + aDebStr.append(static_cast<sal_Int32>(pPPortion->GetNode()->Len())); - aDebStr += "\nCharacter attribute:"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\nCharacter attribute:")); for ( z = 0; z < pPPortion->GetNode()->GetCharAttribs().Count(); z++ ) { EditCharAttrib* pAttr = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( z ); - aDebStr += "\n "; - aDebStr += ByteString::CreateFromInt32( pAttr->GetItem()->Which() ); - aDebStr += '\t'; - aDebStr += ByteString::CreateFromInt32( pAttr->GetStart() ); - aDebStr += '\t'; - aDebStr += ByteString::CreateFromInt32( pAttr->GetEnd() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\n ")); + aDebStr.append(static_cast<sal_Int32>(pAttr->GetItem()->Which())); + aDebStr.append('\t'); + aDebStr.append(static_cast<sal_Int32>(pAttr->GetStart())); + aDebStr.append('\t'); + aDebStr.append(static_cast<sal_Int32>(pAttr->GetEnd())); } - aDebStr += "\nText portions:"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\nText portions:")); sal_uInt16 n = 0; for ( z = 0; z < pPPortion->GetTextPortions().Count(); z++ ) { TextPortion* pPortion = pPPortion->GetTextPortions().GetObject( z ); - aDebStr += " "; - aDebStr += ByteString::CreateFromInt32( pPortion->GetLen() ); - aDebStr += "("; - aDebStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); - aDebStr += ")"; - aDebStr += ";"; + aDebStr.append(' '); + aDebStr.append(static_cast<sal_Int32>(pPortion->GetLen())); + aDebStr.append('('); + aDebStr.append(static_cast<sal_Int32>(pPortion->GetSize().Width())); + aDebStr.append(')'); + aDebStr.append(';'); n = n + pPortion->GetLen(); } - aDebStr += "\nTotal length: "; - aDebStr += ByteString::CreateFromInt32( n ); - aDebStr += "\nSorted after Start:"; + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\nTotal length: ")); + aDebStr.append(static_cast<sal_Int32>(n)); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\nSorted after Start:")); for ( sal_uInt16 x = 0; x < pPPortion->GetNode()->GetCharAttribs().Count(); x++ ) { EditCharAttrib* pCurAttrib = pPPortion->GetNode()->GetCharAttribs().GetAttribs().GetObject( x ); - aDebStr += "\nStart: "; - aDebStr += ByteString::CreateFromInt32( pCurAttrib->GetStart() ); - aDebStr += "\tEnd: "; - aDebStr += ByteString::CreateFromInt32( pCurAttrib->GetEnd() ); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\nStart: ")); + aDebStr.append(static_cast<sal_Int32>(pCurAttrib->GetStart())); + aDebStr.append(RTL_CONSTASCII_STRINGPARAM("\tEnd: ")); + aDebStr.append(static_cast<sal_Int32>(pCurAttrib->GetEnd())); } - return aDebStr; + return aDebStr.makeStringAndClear(); } -ByteString EditDbg::GetTextPortionInfo( TextPortionList& rPortions ) +rtl::OString EditDbg::GetTextPortionInfo(TextPortionList& rPortions) { - ByteString aDebStr; - for ( sal_uInt16 z = 0; z < rPortions.Count(); z++ ) + rtl::OStringBuffer aDebStr; + for (sal_uInt16 z = 0; z < rPortions.Count(); ++z) { TextPortion* pPortion = rPortions.GetObject( z ); - aDebStr += " "; - aDebStr += ByteString::CreateFromInt32( pPortion->GetLen() ); - aDebStr += "("; - aDebStr += ByteString::CreateFromInt32( pPortion->GetSize().Width() ); - aDebStr += ")"; - aDebStr += ";"; + aDebStr.append(' '); + aDebStr.append(static_cast<sal_Int32>(pPortion->GetLen())); + aDebStr.append('('); + aDebStr.append(static_cast<sal_Int32>(pPortion->GetSize().Width())); + aDebStr.append(')'); + aDebStr.append(';'); } - return aDebStr; + return aDebStr.makeStringAndClear(); } void EditDbg::ShowPortionData( ParaPortion* pPortion ) diff --git a/editeng/source/editeng/editdbg.hxx b/editeng/source/editeng/editdbg.hxx index e8e2e1f6385c..79c1f6634888 100644 --- a/editeng/source/editeng/editdbg.hxx +++ b/editeng/source/editeng/editdbg.hxx @@ -41,7 +41,7 @@ class SfxItemSet; class SfxItemPool; class SfxPoolItem; -ByteString DbgOutItem( const SfxItemPool& rPool, const SfxPoolItem& rItem ); +rtl::OString DbgOutItem(const SfxItemPool& rPool, const SfxPoolItem& rItem); void DbgOutItemSet( FILE* fp, const SfxItemSet& rSet, sal_Bool bSearchInParent, sal_Bool bShowALL ); class EditDbg @@ -49,8 +49,8 @@ class EditDbg public: static void ShowEditEngineData( EditEngine* pEditEngine, sal_Bool bInfoBox = sal_True ); static void ShowPortionData( ParaPortion* pPortion ); - static ByteString GetPortionInfo( ParaPortion* pPPortion ); - static ByteString GetTextPortionInfo( TextPortionList& rPortions ); + static rtl::OString GetPortionInfo( ParaPortion* pPPortion ); + static rtl::OString GetTextPortionInfo(TextPortionList& rPortions); static ByteString GetUndoDebStr( EditUndoList* pUndoList ); }; diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index ccb61a837c49..fa75702b3d25 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -59,87 +59,6 @@ DBG_NAME( XEditAttribute ) //-------------------------------------------------------------- -sal_Bool lcl_CreateBulletItem( const SvxNumBulletItem& rNumBullet, sal_uInt16 nLevel, SvxBulletItem& rBullet ) -{ - const SvxNumberFormat* pFmt = rNumBullet.GetNumRule()->Get( nLevel ); - if ( pFmt ) - { - rBullet.SetWidth( (-pFmt->GetFirstLineOffset()) + pFmt->GetCharTextDistance() ); - rBullet.SetSymbol( pFmt->GetBulletChar() ); - rBullet.SetPrevText( pFmt->GetPrefix() ); - rBullet.SetFollowText( pFmt->GetSuffix() ); - rBullet.SetStart( pFmt->GetStart() ); - rBullet.SetScale( pFmt->GetBulletRelSize() ); - - Font aBulletFont( rBullet.GetFont() ); - if ( pFmt->GetBulletFont() ) - aBulletFont = *pFmt->GetBulletFont(); - aBulletFont.SetColor( pFmt->GetBulletColor() ); - rBullet.SetFont( aBulletFont ); - - if ( pFmt->GetBrush() && pFmt->GetBrush()->GetGraphic() ) - { - Bitmap aBmp( pFmt->GetBrush()->GetGraphic()->GetBitmap() ); - aBmp.SetPrefSize( pFmt->GetGraphicSize() ); - aBmp.SetPrefMapMode( MAP_100TH_MM ); - rBullet.SetBitmap( aBmp ); - } - - switch ( pFmt->GetNumberingType() ) - { - case SVX_NUM_CHARS_UPPER_LETTER: - case SVX_NUM_CHARS_UPPER_LETTER_N: - rBullet.SetStyle( BS_ABC_BIG ); - break; - case SVX_NUM_CHARS_LOWER_LETTER: - case SVX_NUM_CHARS_LOWER_LETTER_N: - rBullet.SetStyle( BS_ABC_SMALL ); - break; - case SVX_NUM_ROMAN_UPPER: - rBullet.SetStyle( BS_ROMAN_BIG ); - break; - case SVX_NUM_ROMAN_LOWER: - rBullet.SetStyle( BS_ROMAN_SMALL ); - break; - case SVX_NUM_ARABIC: - rBullet.SetStyle( BS_123 ); - break; - case SVX_NUM_NUMBER_NONE: - rBullet.SetStyle( BS_NONE ); - break; - case SVX_NUM_CHAR_SPECIAL: - rBullet.SetStyle( BS_BULLET ); - break; - case SVX_NUM_PAGEDESC: - OSL_FAIL( "Unknown: SVX_NUM_PAGEDESC" ); - rBullet.SetStyle( BS_BULLET ); - break; - case SVX_NUM_BITMAP: - rBullet.SetStyle( BS_BMP ); - break; - default: - OSL_FAIL( "Unknown NumType" ); - } - - switch ( pFmt->GetNumAdjust() ) - { - case SVX_ADJUST_LEFT: - rBullet.SetJustification( BJ_VCENTER|BJ_HLEFT ); - break; - case SVX_ADJUST_RIGHT: - rBullet.SetJustification( BJ_VCENTER|BJ_HRIGHT ); - break; - case SVX_ADJUST_CENTER: - rBullet.SetJustification( BJ_VCENTER|BJ_HCENTER ); - break; - default: - OSL_FAIL( "Unknown or invalid NumAdjust" ); - } - } - return pFmt ? sal_True : sal_False; -} - - XEditAttribute* MakeXEditAttribute( SfxItemPool& rPool, const SfxPoolItem& rItem, sal_uInt16 nStart, sal_uInt16 nEnd ) { // Create thw new attribute in the pool diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 9f00bea57bca..272d0bef7b5d 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -980,13 +980,17 @@ void ImpEditEngine::WriteItemAsRTF( const SfxPoolItem& rItem, SvStream& rOutput, } // SWG: if ( nEsc ) - rOutput << "{\\*\\updnprop" << ByteString::CreateFromInt32( nProp100 ).GetBuffer() << '}'; + { + rOutput << "{\\*\\updnprop" << rtl::OString::valueOf( + static_cast<sal_Int32>(nProp100)).getStr() << '}'; + } long nUpDown = nFontHeight * Abs( nEsc ) / 100; - ByteString aUpDown = ByteString::CreateFromInt32( nUpDown ); + rtl::OString aUpDown = rtl::OString::valueOf( + static_cast<sal_Int32>(nUpDown)); if ( nEsc < 0 ) - rOutput << OOO_STRING_SVTOOLS_RTF_DN << aUpDown.GetBuffer(); + rOutput << OOO_STRING_SVTOOLS_RTF_DN << aUpDown.getStr(); else if ( nEsc > 0 ) - rOutput << OOO_STRING_SVTOOLS_RTF_UP << aUpDown.GetBuffer(); + rOutput << OOO_STRING_SVTOOLS_RTF_UP << aUpDown.getStr(); } break; } diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 2e2b439878a7..4b711dc523bb 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -3849,19 +3849,6 @@ SvStream& SvxBrushItem::Store( SvStream& rStream , sal_uInt16 /*nItemVersion*/ ) } // ----------------------------------------------------------------------- -// cast away const, since const is to be understood as a logical const -// if GetGraphic() is called, the item should take care of getting a linked -// graphic. -// ----------------------------------------------------------------------- - -void SvxBrushItem::PurgeGraphic() const -{ - PurgeMedium(); - DELETEZ( pImpl->pGraphicObject ); - ((SvxBrushItem*)this)->bLoadAgain = sal_True; -} - -// ----------------------------------------------------------------------- void SvxBrushItem::PurgeMedium() const { @@ -4076,25 +4063,6 @@ SvxBrushItem::SvxBrushItem( const CntWallpaperItem& rItem, sal_uInt16 _nWhich ) } } -CntWallpaperItem* SvxBrushItem::CreateCntWallpaperItem() const -{ - CntWallpaperItem* pItem = new CntWallpaperItem( 0 ); - pItem->SetColor( aColor.GetColor() ); - pItem->SetStyle( (sal_uInt16)GraphicPos2WallpaperStyle( GetGraphicPos() ) ); - sal_Bool bLink = (pStrLink != 0); - if( bLink ) - { - String aURL = *pStrLink; - pItem->SetBitmapURL( aURL ); - } - if( pImpl->pGraphicObject ) - { - DBG_ERRORFILE( "Don't know what to do with a graphic" ); - } - - return pItem; -} - #ifdef _MSC_VER #pragma optimize ( "", on ) #endif diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index fc582280c364..9ca85c76cc68 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -109,7 +109,6 @@ static const sal_Char static const sal_Char sImplWordChars[] = "-'"; void EncryptBlockName_Imp( String& rName ); -void DecryptBlockName_Imp( String& rName ); // FileVersions Number for the Substitution-/Exception list separately @@ -143,35 +142,6 @@ inline int IsUpperLetter( sal_Int32 nCharType ) 0 == ( ::com::sun::star::i18n::KCharacterType::LOWER & nCharType); } -bool lcl_IsUnsupportedUnicodeChar( CharClass& rCC, const String& rTxt, - xub_StrLen nStt, xub_StrLen nEnd ) -{ - for( ; nStt < nEnd; ++nStt ) - { - short nScript = rCC.getScript( rTxt, nStt ); - switch( nScript ) - { - case ::com::sun::star::i18n::UnicodeScript_kCJKRadicalsSupplement: - case ::com::sun::star::i18n::UnicodeScript_kHangulJamo: - case ::com::sun::star::i18n::UnicodeScript_kCJKSymbolPunctuation: - case ::com::sun::star::i18n::UnicodeScript_kHiragana: - case ::com::sun::star::i18n::UnicodeScript_kKatakana: - case ::com::sun::star::i18n::UnicodeScript_kHangulCompatibilityJamo: - case ::com::sun::star::i18n::UnicodeScript_kEnclosedCJKLetterMonth: - case ::com::sun::star::i18n::UnicodeScript_kCJKCompatibility: - case ::com::sun::star::i18n::UnicodeScript_k_CJKUnifiedIdeographsExtensionA: - case ::com::sun::star::i18n::UnicodeScript_kCJKUnifiedIdeograph: - case ::com::sun::star::i18n::UnicodeScript_kHangulSyllable: - case ::com::sun::star::i18n::UnicodeScript_kCJKCompatibilityIdeograph: - case ::com::sun::star::i18n::UnicodeScript_kHalfwidthFullwidthForm: - return true; - default: ; //do nothing - } - - } - return false; -} - sal_Bool lcl_IsSymbolChar( CharClass& rCC, const String& rTxt, xub_StrLen nStt, xub_StrLen nEnd ) { @@ -1766,25 +1736,6 @@ void GeneratePackageName ( const String& rShort, String& rPackageName ) } } -void DecryptBlockName_Imp( String& rName ) -{ - if( '#' == rName.GetChar( 0 ) ) - { - rName.Erase( 0, 1 ); - sal_Unicode* pName = rName.GetBufferAccess(); - xub_StrLen nLen, nPos; - for ( nLen = rName.Len(), nPos = 0; nPos < nLen; ++nPos, ++pName ) - switch( *pName ) - { - case 0x01: *pName = '!'; break; - case 0x0A: *pName = ':'; break; - case 0x0C: *pName = '\\'; break; - case 0x0E: *pName = '.'; break; - case 0x0F: *pName = '/'; break; - } - } -} - const SvxAutocorrWord* lcl_SearchWordsInList( SvxAutoCorrectLanguageListsPtr pList, const String& rTxt, xub_StrLen& rStt, xub_StrLen nEndPos, SvxAutoCorrDoc& ) diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 86b93a2eef19..ce01a1f3d955 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -76,25 +76,6 @@ static const sal_uInt16 nDefBulletWidth = 700; static const sal_uInt16 pDefBulletIndents[nDefStyles]= { 1400, 800, 800 }; static const sal_uInt16 pDefBulletWidths[nDefStyles] = { 1000, 850, 700 }; -sal_uInt16 lcl_ImplGetDefBulletWidth( sal_Int16 nDepth ) -{ - return ( nDepth < nDefStyles ) ? pDefBulletWidths[nDepth] : nDefBulletWidth; -} - -sal_uInt16 lcl_ImplGetDefBulletIndent( sal_Int16 nDepth ) -{ - sal_uInt16 nI = 0; - - if( nDepth >= 0 ) - { - for ( sal_Int16 n = 0; n <= nDepth; n++ ) - nI = nI + - ( ( n < nDefStyles ) ? pDefBulletIndents[n] : nDefBulletIndent ); - } - return nI; -} - - // ---------------------------------------------------------------------- // Outliner // ---------------------------------------------------------------------- diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 8861b6ca125a..d3915e770d21 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -499,44 +499,6 @@ const SvxNumRule& SvxGetNumRule( Reference< XIndexReplace > xRule ) throw( Illeg return pRule->getNumRule(); } -bool SvxGetNumRule( Reference< XIndexReplace > xRule, SvxNumRule& rNumRule ) -{ - SvxUnoNumberingRules* pRule = SvxUnoNumberingRules::getImplementation( xRule ); - if( pRule ) - { - rNumRule = pRule->getNumRule(); - } - else if( xRule.is() ) - { - try - { - pRule = new SvxUnoNumberingRules( rNumRule ); - - Reference< XIndexReplace > xDestRule( pRule ); - - const sal_Int32 nCount = min( xRule->getCount(), xDestRule->getCount() ); - sal_Int32 nLevel; - for( nLevel = 0; nLevel < nCount; nLevel++ ) - { - xDestRule->replaceByIndex( nLevel, xRule->getByIndex( nLevel ) ); - } - - rNumRule = pRule->getNumRule(); - } - catch( Exception& ) - { - return false; - } - } - else - { - return false; - } - - return true; -} - -/////////////////////////////////////////////////////////////////////// com::sun::star::uno::Reference< com::sun::star::container::XIndexReplace > SvxCreateNumRule( const SvxNumRule* pRule ) throw() { DBG_ASSERT( pRule, "No default SvxNumRule!" ); diff --git a/editeng/util/editeng.dxp b/editeng/util/editeng.dxp index f0e1c69934bc..70033078921a 100755 --- a/editeng/util/editeng.dxp +++ b/editeng/util/editeng.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/embeddedobj/prj/build.lst b/embeddedobj/prj/build.lst index b1219f0cdf53..af0d8e1f79df 100644 --- a/embeddedobj/prj/build.lst +++ b/embeddedobj/prj/build.lst @@ -1,4 +1,4 @@ -eo embeddedobj : offuh sal cppu cppuhelper comphelper tools unotools LIBXSLT:libxslt NULL +eo embeddedobj : offapi sal cppu cppuhelper comphelper tools unotools LIBXSLT:libxslt NULL eo embeddedobj usr1 - all eo_mkout NULL eo embeddedobj\inc nmake - all eo_inc NULL eo embeddedobj\source\commonembedding nmake - all eo_commonembed eo_inc NULL diff --git a/embeddedobj/source/commonembedding/register.cxx b/embeddedobj/source/commonembedding/register.cxx index 8f9bd4ba8d63..6c1355362e81 100644 --- a/embeddedobj/source/commonembedding/register.cxx +++ b/embeddedobj/source/commonembedding/register.cxx @@ -42,11 +42,6 @@ using namespace ::com::sun::star; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = 0; diff --git a/embeddedobj/source/msole/exports.dxp b/embeddedobj/source/msole/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/embeddedobj/source/msole/exports.dxp +++ b/embeddedobj/source/msole/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/embeddedobj/source/msole/oleregister.cxx b/embeddedobj/source/msole/oleregister.cxx index a058aca598e4..3a5fdc66953c 100644 --- a/embeddedobj/source/msole/oleregister.cxx +++ b/embeddedobj/source/msole/oleregister.cxx @@ -42,11 +42,6 @@ using namespace ::com::sun::star; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = 0; diff --git a/embeddedobj/test/MainThreadExecutor/exports.dxp b/embeddedobj/test/MainThreadExecutor/exports.dxp index 9630d7e06768..51703a04666a 100755 --- a/embeddedobj/test/MainThreadExecutor/exports.dxp +++ b/embeddedobj/test/MainThreadExecutor/exports.dxp @@ -1,3 +1,2 @@ -component_getImplementationEnvironment component_writeInfo component_getFactory diff --git a/embeddedobj/test/MainThreadExecutor/register.cxx b/embeddedobj/test/MainThreadExecutor/register.cxx index 04f5890da39f..d823b2ff980a 100644 --- a/embeddedobj/test/MainThreadExecutor/register.cxx +++ b/embeddedobj/test/MainThreadExecutor/register.cxx @@ -41,11 +41,6 @@ using namespace ::com::sun::star; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { void * pRet = 0; diff --git a/embeddedobj/test/mtexecutor/exports.dxp b/embeddedobj/test/mtexecutor/exports.dxp index 9630d7e06768..51703a04666a 100755 --- a/embeddedobj/test/mtexecutor/exports.dxp +++ b/embeddedobj/test/mtexecutor/exports.dxp @@ -1,3 +1,2 @@ -component_getImplementationEnvironment component_writeInfo component_getFactory diff --git a/embeddedobj/test/mtexecutor/mteregister.cxx b/embeddedobj/test/mtexecutor/mteregister.cxx index 95416cd186e8..42f44fd0766e 100644 --- a/embeddedobj/test/mtexecutor/mteregister.cxx +++ b/embeddedobj/test/mtexecutor/mteregister.cxx @@ -42,11 +42,6 @@ using namespace ::com::sun::star; extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { void * pRet = 0; diff --git a/embeddedobj/util/exports.dxp b/embeddedobj/util/exports.dxp index f0e1c69934bc..70033078921a 100755 --- a/embeddedobj/util/exports.dxp +++ b/embeddedobj/util/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index d6423528021e..95d352fbf04e 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -821,13 +821,6 @@ void EventAttacherImpl::removeListener extern "C" { -//================================================================================================== -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} -//================================================================================================== SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * ) { diff --git a/fileaccess/Library_fileacc.mk b/fileaccess/Library_fileacc.mk index b6694e6453ad..6fb3bcb7a2d5 100644 --- a/fileaccess/Library_fileacc.mk +++ b/fileaccess/Library_fileacc.mk @@ -30,10 +30,14 @@ $(eval $(call gb_Library_Library,fileacc)) $(eval $(call gb_Library_set_include,fileacc,\ $$(INCLUDE) \ - -I$(OUTDIR)/inc/offuh \ -I$(OUTDIR)/inc \ )) +$(eval $(call gb_Library_add_api,fileacc,\ + offapi \ + udkapi \ +)) + $(eval $(call gb_Library_add_linked_libs,fileacc,\ cppu \ cppuhelper \ diff --git a/fileaccess/prj/build.lst b/fileaccess/prj/build.lst index a37869840f49..8ec9888a16c0 100644 --- a/fileaccess/prj/build.lst +++ b/fileaccess/prj/build.lst @@ -1,2 +1,2 @@ -fa fileaccess : unotools rdbmaker tools ucbhelper LIBXSLT:libxslt NULL +fa fileaccess : unotools DESKTOP:rdbmaker tools ucbhelper LIBXSLT:libxslt NULL fa fileaccess\prj nmake - all fa_prj NULL diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx index 1644c2724bbe..a19d90938c33 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -865,14 +865,7 @@ Sequence< rtl::OUString > FileAccess_getSupportedServiceNames() extern "C" { -//================================================================================================== -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} -//================================================================================================== -SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( +SAL_DLLPUBLIC_EXPORT void * SAL_CALL fileacc_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = 0; diff --git a/fileaccess/source/fileacc.component b/fileaccess/source/fileacc.component index 3f14d4053216..f580c4b2eee1 100755 --- a/fileaccess/source/fileacc.component +++ b/fileaccess/source/fileacc.component @@ -26,7 +26,7 @@ * **********************************************************************--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="fileacc" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="com.sun.star.comp.ucb.SimpleFileAccess"> <service name="com.sun.star.ucb.SimpleFileAccess"/> diff --git a/formula/Library_for.mk b/formula/Library_for.mk index 0477baf0c65e..14cf9e971464 100644 --- a/formula/Library_for.mk +++ b/formula/Library_for.mk @@ -38,13 +38,17 @@ $(eval $(call gb_Library_set_include,for,\ -I$(realpath $(SRCDIR)/formula/inc/pch) \ -I$(realpath $(SRCDIR)/formula/source/core/inc) \ -I$(OUTDIR)/inc \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_defs,for,\ -DFORMULA_DLLIMPLEMENTATION \ )) +$(eval $(call gb_Library_add_api,for,\ + offapi \ + udkapi \ +)) + $(eval $(call gb_Library_add_linked_libs,for,\ comphelper \ cppu \ diff --git a/formula/Library_forui.mk b/formula/Library_forui.mk index 5b849f97c4e4..8c7c6a9897ea 100644 --- a/formula/Library_forui.mk +++ b/formula/Library_forui.mk @@ -35,13 +35,17 @@ $(eval $(call gb_Library_set_include,forui,\ -I$(realpath $(SRCDIR)/formula/inc/pch) \ -I$(realpath $(SRCDIR)/formula/source/ui/inc) \ -I$(OUTDIR)/inc \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_defs,forui,\ -DFORMULA_DLLIMPLEMENTATION \ )) +$(eval $(call gb_Library_add_api,forui,\ + offapi \ + udkapi \ +)) + $(eval $(call gb_Library_add_linked_libs,forui,\ cppu \ cppuhelper \ diff --git a/formula/inc/formula/token.hxx b/formula/inc/formula/token.hxx index bc6cfc2c2793..ccbc4abb77f6 100644 --- a/formula/inc/formula/token.hxx +++ b/formula/inc/formula/token.hxx @@ -302,14 +302,16 @@ class FORMULA_DLLPUBLIC FormulaIndexToken : public FormulaToken { private: sal_uInt16 nIndex; + bool mbGlobal; public: - FormulaIndexToken( OpCode e, sal_uInt16 n ) : - FormulaToken( svIndex, e ), nIndex( n ) {} + FormulaIndexToken( OpCode e, sal_uInt16 n, bool bGlobal = true ) : + FormulaToken( svIndex, e ), nIndex( n ), mbGlobal( bGlobal ) {} FormulaIndexToken( const FormulaIndexToken& r ) : - FormulaToken( r ), nIndex( r.nIndex ) {} + FormulaToken( r ), nIndex( r.nIndex ), mbGlobal( r.mbGlobal ) {} virtual FormulaToken* Clone() const { return new FormulaIndexToken(*this); } - virtual sal_uInt16 GetIndex() const; + virtual sal_uInt16 GetIndex() const; + virtual sal_uInt8 GetByte() const; virtual void SetIndex( sal_uInt16 n ); virtual bool operator==( const FormulaToken& rToken ) const; }; diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 5ac4aba165ab..8fd651225676 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -40,6 +40,7 @@ #include <com/sun/star/sheet/FormulaOpCodeMapEntry.hpp> #include <com/sun/star/sheet/FormulaMapGroup.hpp> #include <com/sun/star/sheet/FormulaMapGroupSpecialOffset.hpp> +#include <rtl/strbuf.hxx> #include <stdio.h> // ============================================================================= @@ -492,9 +493,11 @@ void FormulaCompiler::OpCodeMap::putOpCode( const String & rStr, const OpCode eO DBG_ASSERT( (mpTable[eOp].Len() == 0) || (mpTable[eOp] == rStr) || (eOp == ocCurrency) || (eOp == ocSep) || (eOp == ocArrayColSep) || (eOp == ocArrayRowSep), - ByteString( "OpCodeMap::putOpCode: reusing OpCode "). - Append( ByteString::CreateFromInt32( sal_Int32( eOp))).Append( " ("). - Append( ByteString( rStr, RTL_TEXTENCODING_ASCII_US)).Append( ')').GetBuffer()); + rtl::OStringBuffer( + RTL_CONSTASCII_STRINGPARAM("OpCodeMap::putOpCode: reusing OpCode ")). + append(sal_Int32(eOp)).append(RTL_CONSTASCII_STRINGPARAM(" (")). + append(rtl::OUStringToOString(rStr, RTL_TEXTENCODING_ASCII_US)). + append(')').getStr()); mpTable[eOp] = rStr; mpHashMap->insert( OpCodeHashMap::value_type( rStr, eOp)); } diff --git a/formula/source/core/api/services.cxx b/formula/source/core/api/services.cxx index fb782e927f03..9741cdcccdeb 100644 --- a/formula/source/core/api/services.cxx +++ b/formula/source/core/api/services.cxx @@ -59,13 +59,6 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( return cppu::component_getFactoryHelper( implName, serviceManager, registryKey, entries); } - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - char const ** envTypeName, uno_Environment **) -{ - *envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - } // extern "C" /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index de9258d4c8ea..703c5d6bb6b2 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -303,7 +303,7 @@ bool FormulaTokenArray::AddFormulaToken(const sheet::FormulaToken& _aToken,Exter { // long is svIndex, used for name / database area, or "byte" for spaces sal_Int32 nValue = _aToken.Data.get<sal_Int32>(); - if ( eOpCode == ocName || eOpCode == ocDBArea ) + if ( eOpCode == ocDBArea ) AddToken( formula::FormulaIndexToken( eOpCode, static_cast<sal_uInt16>(nValue) ) ); else if ( eOpCode == ocSpaces ) AddToken( formula::FormulaByteToken( ocSpaces, static_cast<sal_uInt8>(nValue) ) ); @@ -1347,6 +1347,7 @@ bool FormulaStringOpToken::operator==( const FormulaToken& r ) const } sal_uInt16 FormulaIndexToken::GetIndex() const { return nIndex; } +sal_uInt8 FormulaIndexToken::GetByte() const {return static_cast<sal_uInt8>(mbGlobal); } void FormulaIndexToken::SetIndex( sal_uInt16 n ) { nIndex = n; } bool FormulaIndexToken::operator==( const FormulaToken& r ) const { diff --git a/formula/source/core/resource/core_resource.cxx b/formula/source/core/resource/core_resource.cxx index 62b2bc02e357..5223879ee5f6 100644 --- a/formula/source/core/resource/core_resource.cxx +++ b/formula/source/core/resource/core_resource.cxx @@ -1,4 +1,3 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -56,9 +55,7 @@ namespace formula ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale(); - ByteString sFileName("for"); - - m_pImpl = ResMgr::CreateResMgr(sFileName.GetBuffer(), aLocale); + m_pImpl = ResMgr::CreateResMgr("for", aLocale); } //------------------------------------------------------------------ diff --git a/fpicker/prj/build.lst b/fpicker/prj/build.lst index 6b8fb2d9b21c..07d4d4db2cab 100644 --- a/fpicker/prj/build.lst +++ b/fpicker/prj/build.lst @@ -1,4 +1,4 @@ -fp fpicker : LIBXSLT:libxslt TRANSLATIONS:translations rdbmaker svtools NULL +fp fpicker : LIBXSLT:libxslt TRANSLATIONS:translations DESKTOP:rdbmaker svtools NULL fp fpicker\inc nmake - all fp_inc NULL fp fpicker\source\generic nmake - all fp_generic fp_inc NULL fp fpicker\source\office nmake - all fp_office fp_inc NULL diff --git a/fpicker/source/aqua/FPentry.cxx b/fpicker/source/aqua/FPentry.cxx index 405f201d1058..a1dac9a21cd4 100644 --- a/fpicker/source/aqua/FPentry.cxx +++ b/fpicker/source/aqua/FPentry.cxx @@ -59,27 +59,9 @@ static Reference< XInterface > SAL_CALL createFolderInstance( *new SalAquaFolderPicker( rServiceManager ) ); } -//------------------------------------------------ -// the three uno functions that will be exported -//------------------------------------------------ - extern "C" { -//------------------------------------------------ -// component_getImplementationEnvironment -//------------------------------------------------ - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//------------------------------------------------ -// -//------------------------------------------------ - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) { diff --git a/fpicker/source/generic/fpicker.cxx b/fpicker/source/generic/fpicker.cxx index f25fbdb062e1..bb3828791331 100644 --- a/fpicker/source/generic/fpicker.cxx +++ b/fpicker/source/generic/fpicker.cxx @@ -228,12 +228,6 @@ static cppu::ImplementationEntry g_entries[] = */ extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment ( - const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory ( const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey) { diff --git a/fpicker/source/odma/exports.map b/fpicker/source/odma/exports.map index f4ed78b9e970..7c6d93f87852 100644 --- a/fpicker/source/odma/exports.map +++ b/fpicker/source/odma/exports.map @@ -1,6 +1,5 @@ UDK_3_0_0 { global: - component_getImplementationEnvironment; component_writeInfo; component_getFactory; local: diff --git a/fpicker/source/odma/fps_odma.cxx b/fpicker/source/odma/fps_odma.cxx index 6d7642ca0674..e30197c2d641 100644 --- a/fpicker/source/odma/fps_odma.cxx +++ b/fpicker/source/odma/fps_odma.cxx @@ -56,12 +56,6 @@ static cppu::ImplementationEntry g_entries[] = extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment ( - const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo ( void * pServiceManager, void * pRegistryKey) { diff --git a/fpicker/source/office/fps_office.cxx b/fpicker/source/office/fps_office.cxx index 55e4f9afd574..8237b47640c6 100644 --- a/fpicker/source/office/fps_office.cxx +++ b/fpicker/source/office/fps_office.cxx @@ -55,12 +55,6 @@ static cppu::ImplementationEntry g_entries[] = extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplementationName, void * pServiceManager, void * pRegistryKey) { diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index b98b68beedb7..81298c5a1dcd 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -515,7 +515,7 @@ SvtFileDialog::~SvtFileDialog() { // save window state SvtViewOptions aDlgOpt( E_DIALOG, _pImp->_aIniKey ); - aDlgOpt.SetWindowState( String( GetWindowState(), osl_getThreadTextEncoding() ) ); + aDlgOpt.SetWindowState(::rtl::OStringToOUString(GetWindowState(), osl_getThreadTextEncoding())); String sUserData = _pFileView->GetConfigString(); aDlgOpt.SetUserItem( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "UserData" )), makeAny( ::rtl::OUString( sUserData ) ) ); @@ -2449,7 +2449,7 @@ void SvtFileDialog::InitSize() if ( aDlgOpt.Exists() ) { - SetWindowState( ByteString( String( aDlgOpt.GetWindowState() ), osl_getThreadTextEncoding() ) ); + SetWindowState(rtl::OUStringToOString(aDlgOpt.GetWindowState(), osl_getThreadTextEncoding())); Any aUserData = aDlgOpt.GetUserItem( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "UserData" ) )); ::rtl::OUString sCfgStr; diff --git a/fpicker/source/unx/gnome/FPentry.cxx b/fpicker/source/unx/gnome/FPentry.cxx index c4dd0ecfd815..0ea7fb4bd8c2 100644 --- a/fpicker/source/unx/gnome/FPentry.cxx +++ b/fpicker/source/unx/gnome/FPentry.cxx @@ -81,27 +81,9 @@ static Reference< XInterface > SAL_CALL createFolderInstance( new SalGtkFolderPicker( rServiceManager ) ) ); } -//------------------------------------------------ -// the three uno functions that will be exported -//------------------------------------------------ - extern "C" { -//------------------------------------------------ -// component_getImplementationEnvironment -//------------------------------------------------ - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//------------------------------------------------ -// -//------------------------------------------------ - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* /*pRegistryKey*/ ) { diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx index 2034763528ec..9f8fefdfd156 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx @@ -283,8 +283,8 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference<lang::XMultiServiceFact gtk_container_add (GTK_CONTAINER (m_pFilterExpander), scrolled_window); gtk_widget_show (scrolled_window); - ByteString sExpand(getenv("SAL_EXPANDFPICKER")); - sal_Int32 nExpand = sExpand.ToInt32(); + rtl::OString sExpand(getenv("SAL_EXPANDFPICKER")); + sal_Int32 nExpand = sExpand.toInt32(); switch (nExpand) { default: diff --git a/fpicker/source/unx/kde4/KDE4FPEntry.cxx b/fpicker/source/unx/kde4/KDE4FPEntry.cxx index 2dbf9997f320..1543645a0fcd 100644 --- a/fpicker/source/unx/kde4/KDE4FPEntry.cxx +++ b/fpicker/source/unx/kde4/KDE4FPEntry.cxx @@ -48,14 +48,8 @@ static Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiS return Reference< XInterface >(static_cast< XFilePicker* >( new KDE4FilePicker( serviceManager ) ) ); } -// the three uno functions that will be exported extern "C" { - SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** ) - { - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; - } - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* ) { void* pRet = 0; diff --git a/fpicker/source/unx/kde_unx/UnxFPentry.cxx b/fpicker/source/unx/kde_unx/UnxFPentry.cxx index bd25db73e8ed..5533ab7c163d 100644 --- a/fpicker/source/unx/kde_unx/UnxFPentry.cxx +++ b/fpicker/source/unx/kde_unx/UnxFPentry.cxx @@ -53,26 +53,9 @@ static Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiS static_cast< XFilePicker* >( new UnxFilePicker( rServiceManager ) ) ); } -////////////////////////////////////////////////////////////////////////// -// the three uno functions that will be exported -////////////////////////////////////////////////////////////////////////// - extern "C" { -////////////////////////////////////////////////////////////////////////// -// component_getImplementationEnvironment -////////////////////////////////////////////////////////////////////////// - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -////////////////////////////////////////////////////////////////////////// -// -////////////////////////////////////////////////////////////////////////// - sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey ) { sal_Bool bRetVal = sal_True; diff --git a/fpicker/source/win32/filepicker/FPServiceInfo.hxx b/fpicker/source/win32/filepicker/FPServiceInfo.hxx index 33a27f683494..658c78a50106 100644 --- a/fpicker/source/win32/filepicker/FPServiceInfo.hxx +++ b/fpicker/source/win32/filepicker/FPServiceInfo.hxx @@ -37,31 +37,22 @@ // the service name is a description of a set of // interfaces (is the same as component categories in COM) -#define TMPL95_FILEOPEN_READONLY_VERSION_BOX_ID 1000 #define TMPL2000_FILEOPEN_READONLY_VERSION_BOX_ID 1001 -#define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_ID 2000 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_ID 2001 -#define TMPL95_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3000 #define TMPL2000_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID 3001 -#define TMPL95_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4000 #define TMPL2000_FILESAVE_AUTOEXT_PASSWORD_BOX_ID 4001 -#define TMPL95_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5000 #define TMPL2000_AUTOEXT_PASSWORD_FILTEROPTION_BOX 5001 -#define TMPL95_PLAY_PUSHBUTTON 6000 #define TMPL2000_PLAY_PUSHBUTTON 6001 -#define TMPL95_AUTOEXT_SELECTION_BOX 7000 #define TMPL2000_AUTOEXT_SELECTION_BOX 7001 -#define TMPL95_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8000 #define TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID 8001 -#define TMPL95_FILESAVE_AUTOEXT 9000 #define TMPL2000_FILESAVE_AUTOEXT 9001 // the service names diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx index b18f24d3f57b..79509b3cb54c 100644 --- a/fpicker/source/win32/filepicker/FPentry.cxx +++ b/fpicker/source/win32/filepicker/FPentry.cxx @@ -38,9 +38,11 @@ #include "FilePicker.hxx" #include "FPServiceInfo.hxx" +#ifdef _MSC_VER #pragma warning (disable:4917) +#endif #include "VistaFilePicker.hxx" -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" #include <stdio.h> //----------------------------------------------- @@ -64,6 +66,8 @@ static Reference< XInterface > SAL_CALL createInstance( const Reference< XMultiServiceFactory >& rServiceManager ) { Reference< XInterface > xDlg; + +#ifdef __IFileDialog_INTERFACE_DEFINED__ bool bVistaOrNewer = IsWindowsVistaOrNewer(); if (bVistaOrNewer) @@ -74,6 +78,7 @@ static Reference< XInterface > SAL_CALL createInstance( new ::fpicker::win32::vista::VistaFilePicker( rServiceManager ) ) ); } else +#endif { OSL_TRACE("use normal system file picker ..."); xDlg.set( @@ -84,27 +89,9 @@ static Reference< XInterface > SAL_CALL createInstance( return xDlg; } -//------------------------------------------------ -// the three uno functions that will be exported -//------------------------------------------------ - extern "C" { -//------------------------------------------------ -// component_getImplementationEnvironment -//------------------------------------------------ - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//------------------------------------------------ -// -//------------------------------------------------ - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char* pImplName, uno_Interface* pSrvManager, uno_Interface* ) { diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.cxx b/fpicker/source/win32/filepicker/FileOpenDlg.cxx index ab1f396ad34e..cb1c446ed5b0 100644 --- a/fpicker/source/win32/filepicker/FileOpenDlg.cxx +++ b/fpicker/source/win32/filepicker/FileOpenDlg.cxx @@ -102,18 +102,8 @@ CFileOpenDialog::CFileOpenDialog( m_pfnBaseDlgProc(0) { // initialize the OPENFILENAME struct - if (IsWindows2000Platform() || IsWindowsME()) - { - ZeroMemory(&m_ofn, sizeof(m_ofn)); - m_ofn.lStructSize = sizeof(m_ofn); - } - else // OSVER < Win2000 - { - // the size of the OPENFILENAME structure is different - // under windows < win2000 - ZeroMemory(&m_ofn, _OPENFILENAME_SIZE_VERSION_400); - m_ofn.lStructSize = _OPENFILENAME_SIZE_VERSION_400; - } + ZeroMemory(&m_ofn, sizeof(m_ofn)); + m_ofn.lStructSize = sizeof(m_ofn); // 0x02000000 for #97681, sfx will make the entry into // the recent document list diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx index 360061978bae..179bd53dc83a 100644 --- a/fpicker/source/win32/filepicker/FilePicker.cxx +++ b/fpicker/source/win32/filepicker/FilePicker.cxx @@ -38,11 +38,11 @@ #include <cppuhelper/interfacecontainer.h> #include <osl/diagnose.h> -#include "filepicker.hxx" +#include "FilePicker.hxx" #include "WinFileOpenImpl.hxx" #include "FPServiceInfo.hxx" -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include "filepickereventnotification.hxx" @@ -646,7 +646,6 @@ void SAL_CALL CFilePicker::initialize(const uno::Sequence<uno::Any>& aArguments) sal_Bool bFileOpenDialog = sal_True; sal_uInt32 winResTemplateId = 0; - sal_Bool bIsWin2000 = IsWindows2000Platform(); switch ( templateId ) { @@ -660,70 +659,43 @@ void SAL_CALL CFilePicker::initialize(const uno::Sequence<uno::Any>& aArguments) case FILESAVE_AUTOEXTENSION_PASSWORD: bFileOpenDialog = sal_False; - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILESAVE_AUTOEXT_PASSWORD_BOX_ID; - else - winResTemplateId = TMPL95_FILESAVE_AUTOEXT_PASSWORD_BOX_ID; + winResTemplateId = TMPL2000_FILESAVE_AUTOEXT_PASSWORD_BOX_ID; break; case FILESAVE_AUTOEXTENSION_PASSWORD_FILTEROPTIONS: bFileOpenDialog = sal_False; - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_AUTOEXT_PASSWORD_FILTEROPTION_BOX; - else - winResTemplateId = TMPL95_AUTOEXT_PASSWORD_FILTEROPTION_BOX; + winResTemplateId = TMPL2000_AUTOEXT_PASSWORD_FILTEROPTION_BOX; break; case FILESAVE_AUTOEXTENSION_SELECTION: bFileOpenDialog = sal_False; - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_AUTOEXT_SELECTION_BOX; - else - winResTemplateId = TMPL95_AUTOEXT_SELECTION_BOX; + winResTemplateId = TMPL2000_AUTOEXT_SELECTION_BOX; break; case FILESAVE_AUTOEXTENSION_TEMPLATE: bFileOpenDialog = sal_False; - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID; - else - winResTemplateId = TMPL95_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID; + winResTemplateId = TMPL2000_FILEOPEN_AUTOEXT_TEMPLATE_BOX_ID; break; case FILEOPEN_LINK_PREVIEW_IMAGE_TEMPLATE: - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_ID; - else - winResTemplateId = TMPL95_FILEOPEN_LINK_PREVIEW_BOX_ID; + winResTemplateId = TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_ID; break; case FILEOPEN_PLAY: - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_PLAY_PUSHBUTTON; - else - winResTemplateId = TMPL95_PLAY_PUSHBUTTON; + winResTemplateId = TMPL2000_PLAY_PUSHBUTTON; break; case FILEOPEN_READONLY_VERSION: - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILEOPEN_READONLY_VERSION_BOX_ID; - else - winResTemplateId = TMPL95_FILEOPEN_READONLY_VERSION_BOX_ID; + winResTemplateId = TMPL2000_FILEOPEN_READONLY_VERSION_BOX_ID; break; case FILEOPEN_LINK_PREVIEW: - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID; - else - winResTemplateId = TMPL95_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID; + winResTemplateId = TMPL2000_FILEOPEN_LINK_PREVIEW_BOX_SIMPLE_ID; break; case FILESAVE_AUTOEXTENSION: bFileOpenDialog = sal_False; - if ( bIsWin2000 ) - winResTemplateId = TMPL2000_FILESAVE_AUTOEXT; - else - winResTemplateId = TMPL95_FILESAVE_AUTOEXT; + winResTemplateId = TMPL2000_FILESAVE_AUTOEXT; break; default: diff --git a/fpicker/source/win32/filepicker/Fps.rc b/fpicker/source/win32/filepicker/Fps.rc index ad08ad06698e..8dde22ef5073 100644 --- a/fpicker/source/win32/filepicker/Fps.rc +++ b/fpicker/source/win32/filepicker/Fps.rc @@ -52,66 +52,30 @@ END // Dialog // -1000 DIALOG DISCARDABLE 0, 0, 200, 37 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Mit Schreibschutz ffnen",103,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, - 52,24,148,10 - COMBOBOX 107,52,8,148,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "Version:",207,0,10,52,11 - LTEXT "",1119,0,0,200,8 -END - 1001 DIALOG DISCARDABLE 0, 0, 338, 67 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" BEGIN - CONTROL "Mit Schreibschutz ffnen",103,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, + CONTROL "Mit Schreibschutz \366ffnen",103,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 130,51,161,14 COMBOBOX 107,130,35,164,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Version:",207,68,37,56,11 LTEXT "",1119,0,0,336,35 END -2000 DIALOG DISCARDABLE 0, 0, 210, 53 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Vorschau",105,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, - 52,40,157,10 - CONTROL "Als Link einfgen",104,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, - 52,28,157,10 - COMBOBOX 109,52,12,156,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "Bildvorlage:",209,4,14,48,10 - LTEXT "",1119,0,0,210,12 -END - 2001 DIALOG DISCARDABLE 0, 0, 280, 72 STYLE DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" BEGIN CONTROL "Vorschau",105,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 130,58,144,16 - CONTROL "Als Link einfgen",104,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, + CONTROL "Als Link einf\374gen",104,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 130,45,144,14 COMBOBOX 109,130,28,164,62,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP LTEXT "Bildvorlage:",209,67,30,47,11 LTEXT "",1119,0,0,281,28 END -3000 DIALOG DISCARDABLE 0, 0, 208, 49 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Automatische Dateinamenserweiterung",100,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,52,36,156,10 - COMBOBOX 108,52,20,156,52,CBS_DROPDOWNLIST | WS_VSCROLL | - WS_TABSTOP - LTEXT "Vorlagen:",208,4,22,47,11 - LTEXT "",1119,0,0,208,20 -END - 3001 DIALOG DISCARDABLE 0, 0, 296, 72 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -124,17 +88,6 @@ BEGIN LTEXT "",1119,0,0,293,41 END -4000 DIALOG DISCARDABLE 0, 0, 196, 41 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Mit Kennwort speichern",101,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,52,28,141,10 - CONTROL "Automatische Dateinamenserweiterung",100,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,52,16,141,10 - LTEXT "",1119,0,0,195,16 -END - 4001 DIALOG DISCARDABLE 0, 0, 278, 67 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -146,19 +99,6 @@ BEGIN LTEXT "",1119,0,0,277,38 END -5000 DIALOG DISCARDABLE 0, 0, 192, 57 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Filtereinstellungen bearbeiten",102,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,52,44,140,10 - CONTROL "Mit Kennwort speichern",101,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,52,32,140,10 - CONTROL "Automatische Dateinamenserweiterung",100,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,52,20,140,10 - LTEXT "",1119,0,0,192,20 -END - 5001 DIALOG DISCARDABLE 0, 0, 278, 79 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -172,14 +112,6 @@ BEGIN LTEXT "",1119,0,0,277,38 END -6000 DIALOG DISCARDABLE 0, 0, 212, 25 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - LTEXT "",1119,0,0,212,8,NOT WS_VISIBLE - PUSHBUTTON "Abspielen",106,156,8,50,15 -END - 6001 DIALOG DISCARDABLE 0, 0, 366, 40 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -188,17 +120,6 @@ BEGIN PUSHBUTTON "Abspielen",106,316,18,50,14 END -7000 DIALOG DISCARDABLE 0, 0, 196, 45 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Selektion",110,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,52, - 32,143,10 - CONTROL "Automatische Dateinamenserweiterung",100,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,52,20,143,10 - LTEXT "",1119,0,0,195,20 -END - 7001 DIALOG DISCARDABLE 0, 0, 278, 65 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -210,37 +131,17 @@ BEGIN LTEXT "",1119,0,0,277,38 END -8000 DIALOG DISCARDABLE 0, 0, 152, 41 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Vorschau",105,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,0, - 28,150,10 - CONTROL "Als Link einfgen",104,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,0,16,152,10 - LTEXT "",1119,0,0,149,16 -END - 8001 DIALOG DISCARDABLE 0, 0, 278, 65 STYLE DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" BEGIN CONTROL "Vorschau",105,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,130, 51,144,16 - CONTROL "Als Link einfgen",104,"Button",BS_AUTOCHECKBOX | + CONTROL "Als Link einf\374gen",104,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,130,38,144,14 LTEXT "",1119,0,0,277,38 END -9000 DIALOG DISCARDABLE 0, 0, 196, 29 -STYLE DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS -FONT 8, "Andale Sans UI" -BEGIN - CONTROL "Automatische Dateinamenserweiterung",100,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,0,16,196,10 - LTEXT "",1119,0,0,196,16 -END - 9001 DIALOG DISCARDABLE 0, 0, 278, 54 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS FONT 8, "MS Shell Dlg" @@ -259,13 +160,6 @@ END #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO DISCARDABLE BEGIN - 1000, DIALOG - BEGIN - VERTGUIDE, 5 - VERTGUIDE, 54 - BOTTOMMARGIN, 34 - END - 1001, DIALOG BEGIN RIGHTMARGIN, 336 @@ -274,20 +168,6 @@ BEGIN HORZGUIDE, 37 END - 2000, DIALOG - BEGIN - RIGHTMARGIN, 209 - VERTGUIDE, 61 - HORZGUIDE, 25 - END - - 3000, DIALOG - BEGIN - VERTGUIDE, 51 - BOTTOMMARGIN, 48 - HORZGUIDE, 38 - END - 3001, DIALOG BEGIN RIGHTMARGIN, 294 @@ -295,14 +175,6 @@ BEGIN HORZGUIDE, 41 END - 4000, DIALOG - BEGIN - RIGHTMARGIN, 194 - VERTGUIDE, 54 - BOTTOMMARGIN, 37 - HORZGUIDE, 34 - END - 4001, DIALOG BEGIN RIGHTMARGIN, 277 @@ -310,13 +182,6 @@ BEGIN HORZGUIDE, 52 END - 5000, DIALOG - BEGIN - VERTGUIDE, 61 - BOTTOMMARGIN, 56 - HORZGUIDE, 25 - END - 5001, DIALOG BEGIN RIGHTMARGIN, 277 @@ -324,12 +189,6 @@ BEGIN HORZGUIDE, 52 END - 6000, DIALOG - BEGIN - RIGHTMARGIN, 59 - BOTTOMMARGIN, 20 - END - 6001, DIALOG BEGIN RIGHTMARGIN, 361 @@ -337,12 +196,6 @@ BEGIN HORZGUIDE, 20 END - 7000, DIALOG - BEGIN - VERTGUIDE, 54 - HORZGUIDE, 34 - END - 7001, DIALOG BEGIN RIGHTMARGIN, 277 @@ -350,18 +203,6 @@ BEGIN HORZGUIDE, 52 END - 8000, DIALOG - BEGIN - RIGHTMARGIN, 151 - VERTGUIDE, 61 - BOTTOMMARGIN, 37 - END - - 9000, DIALOG - BEGIN - BOTTOMMARGIN, 25 - END - 9001, DIALOG BEGIN RIGHTMARGIN, 277 @@ -377,47 +218,25 @@ END // Dialog Info // -1000 DLGINIT -BEGIN - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000" - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000" - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000" - 0 -END - 1001 DLGINIT BEGIN - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000" - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000" - 107, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000" - 0 -END - -3000 DLGINIT -BEGIN - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000" - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000" - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000" + 107, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000", + 107, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000", + 107, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000", 0 END 3001 DLGINIT BEGIN - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000" - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000" - 108, 0x403, 15, 0 -0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000" + 108, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3520, 0x322e, "\000", + 108, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3420, 0x302e, "\000", + 108, 0x403, 15, 0, +0x7453, 0x7261, 0x7257, 0x7469, 0x7265, 0x3320, 0x302e, "\000", 0 END diff --git a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx index 2414a6ff1229..47909d7953c9 100644 --- a/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx +++ b/fpicker/source/win32/filepicker/IVistaFilePickerInternalNotify.hxx @@ -75,6 +75,6 @@ class IVistaFilePickerInternalNotify #undef css -#endif FPICKER_WIN32_VISTA_FILEPICKER_INTERNALNOTIFY_HXX +#endif // FPICKER_WIN32_VISTA_FILEPICKER_INTERNALNOTIFY_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx index edb40f2e099b..2a1072af64e6 100644 --- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx @@ -38,8 +38,12 @@ #endif #include "VistaFilePicker.hxx" + +// Without IFileDialog we can't do much +#ifdef __IFileDialog_INTERFACE_DEFINED__ + #include "WinFileOpenImpl.hxx" -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" #include "shared.hxx" #include <com/sun/star/lang/DisposedException.hpp> @@ -715,4 +719,6 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL VistaFilePicker::getSupportedServ } // namespace win32 } // namespace fpicker +#endif // __IFileDialog_INTERFACE_DEFINED__ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx index a0aa8ad0b8cf..b05b5d52e36d 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.cxx @@ -30,6 +30,10 @@ #include "precompiled_fpicker.hxx" #include "VistaFilePickerEventHandler.hxx" + +// Without IFileDialog we can't do much +#ifdef __IFileDialog_INTERFACE_DEFINED__ + #include "asyncrequests.hxx" #include <com/sun/star/lang/XMultiServiceFactory.hpp> @@ -461,4 +465,6 @@ void VistaFilePickerEventHandler::impl_sendEvent( EEventType eEventType, } // namespace win32 } // namespace fpicker +#endif // __IFileDialog_INTERFACE_DEFINED__ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx index 85eed3ca39e0..d86755fa5a9a 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerEventHandler.hxx @@ -37,6 +37,11 @@ #pragma warning( disable : 4917 ) #endif +#include <shobjidl.h> + +// Without IFileDialog we can't do this +#ifdef __IFileDialog_INTERFACE_DEFINED__ + #include "comptr.hxx" #include "vistatypes.h" #include "IVistaFilePickerInternalNotify.hxx" @@ -48,8 +53,6 @@ #include <cppuhelper/interfacecontainer.h> #include <osl/interlck.h> -#include <shobjidl.h> - //----------------------------------------------------------------------------- // namespace //----------------------------------------------------------------------------- @@ -223,6 +226,8 @@ class VistaFilePickerEventHandler : public ::cppu::BaseMutex #undef css +#endif // __IFileDialog_INTERFACE_DEFINED__ + #endif // FPICKER_WIN32_VISTA_FILEPICKER_EVENTHANDLER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx index 8538282a44b0..0e0a3ff8e322 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx @@ -32,6 +32,9 @@ #include "VistaFilePickerImpl.hxx" +// Without IFileDialog we can't do much +#ifdef __IFileDialog_INTERFACE_DEFINED__ + #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/ControlActions.hpp> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp> @@ -42,9 +45,9 @@ #ifdef __MINGW32__ #include <limits.h> #endif -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" -#include <Shlguid.h> +#include <shlguid.h> inline bool is_current_process_window(HWND hwnd) { @@ -1266,4 +1269,6 @@ bool VistaFilePickerImpl::onFileTypeChanged( UINT /*nTypeIndex*/ ) } // namespace win32 } // namespace fpicker +#endif // __IFileDialog_INTERFACE_DEFINED__ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx index 14bf9fd8bfe0..78e7ecdf6c8b 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx @@ -38,13 +38,25 @@ #endif #include "platform_vista.h" + +#if defined _MSC_VER +#pragma warning(push, 1) +#endif +#include <shobjidl.h> +#if defined _MSC_VER +#pragma warning(pop) +#endif + +// Without IFileDialog we can't do this +#ifdef __IFileDialog_INTERFACE_DEFINED__ + #include "asyncrequests.hxx" #include "comptr.hxx" #include "vistatypes.h" #include "FilterContainer.hxx" #include "VistaFilePickerEventHandler.hxx" #include "IVistaFilePickerInternalNotify.hxx" -#include "..\misc\resourceprovider.hxx" +#include "../misc/resourceprovider.hxx" #include <com/sun/star/uno/Sequence.hxx> @@ -55,14 +67,6 @@ #include <osl/conditn.hxx> #include <rtl/ustring.hxx> -#if defined _MSC_VER -#pragma warning(push, 1) -#endif -#include <shobjidl.h> -#if defined _MSC_VER -#pragma warning(pop) -#endif - //----------------------------------------------------------------------------- // namespace //----------------------------------------------------------------------------- @@ -361,6 +365,8 @@ class VistaFilePickerImpl : private ::cppu::BaseMutex #undef css +#endif // __IFileDialog_INTERFACE_DEFINED__ + #endif // FPICKER_WIN32_VISTA_FILEPICKERIMPL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx index 6d8423910949..0bbfb4d851e7 100644 --- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx +++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx @@ -42,10 +42,10 @@ #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/FilePreviewImageFormats.hpp> -#include <com/sun/star/ui/dialogs/ListBoxControlActions.hpp> -#include "..\misc\WinImplHelper.hxx" +#include <com/sun/star/ui/dialogs/ListboxControlActions.hpp> +#include "../misc/WinImplHelper.hxx" -#include "filepicker.hxx" +#include "FilePicker.hxx" #include "controlaccess.hxx" #include <rtl/ustrbuf.hxx> #include <rtl/string.hxx> @@ -715,8 +715,8 @@ void CWinFileOpenImpl::EnlargeStdControlLabels() const RECT rcOkButton; GetWindowRect(hOkButton, &rcOkButton); - const int MAX_GAP = IsWindows98() ? 5 : 10; - const int OFFSET = IsWindows98() ? 10 : 0; + const int MAX_GAP = 10; + const int OFFSET = 0; RECT rcFileNameBox; GetWindowRect(hFileNameBox, &rcFileNameBox); @@ -1007,8 +1007,7 @@ void SAL_CALL CWinFileOpenImpl::InitialSetDefaultName() // of an edit field for the file name edit field // the control id of this box is cmb13 and not // edt1 as before so we must use this id - if (IsWindows2000Platform()) - edt1Id = cmb13; + edt1Id = cmb13; HWND hwndEdt1 = GetDlgItem(m_hwndFileOpenDlg, edt1Id); SetWindowText(hwndEdt1, reinterpret_cast<LPCTSTR>(m_defaultName.getStr())); diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx b/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx index 0c58f88c0a74..c5501fbd5e94 100644 --- a/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx +++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.hxx @@ -43,7 +43,7 @@ #include "helppopupwindow.hxx" #include "customcontrol.hxx" #include "customcontrolfactory.hxx" -#include "..\misc\resourceprovider.hxx" +#include "../misc/resourceprovider.hxx" #include <utility> #include <memory> diff --git a/fpicker/source/win32/filepicker/controlaccess.cxx b/fpicker/source/win32/filepicker/controlaccess.cxx index d41eacd60145..5a5b36acf8a2 100644 --- a/fpicker/source/win32/filepicker/controlaccess.cxx +++ b/fpicker/source/win32/filepicker/controlaccess.cxx @@ -37,7 +37,7 @@ #include <sal/macros.h> #include <osl/diagnose.h> #include "controlaccess.hxx" -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" //------------------------------------------------------------ // we are using a table based algorithm to dispatch control diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx index ce8d26ac655d..aec50c531894 100644 --- a/fpicker/source/win32/filepicker/filepickerstate.cxx +++ b/fpicker/source/win32/filepicker/filepickerstate.cxx @@ -37,7 +37,7 @@ #include "controlaccess.hxx" #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <com/sun/star/ui/dialogs/CommonFilePickerElementIds.hpp> -#include <com/sun/star/ui/dialogs/ListBoxControlActions.hpp> +#include <com/sun/star/ui/dialogs/ListboxControlActions.hpp> #include <com/sun/star/ui/dialogs/ControlActions.hpp> #include "controlcommandrequest.hxx" #include "controlcommandresult.hxx" @@ -47,7 +47,7 @@ #include "FileOpenDlg.hxx" #include <memory> -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" //--------------------------------------------- // //--------------------------------------------- diff --git a/fpicker/source/win32/filepicker/makefile.mk b/fpicker/source/win32/filepicker/makefile.mk index bfe5bee1da01..32ecc8618dcd 100644 --- a/fpicker/source/win32/filepicker/makefile.mk +++ b/fpicker/source/win32/filepicker/makefile.mk @@ -45,7 +45,7 @@ CDEFS+=-U_WIN32_WINNT -D_WIN32_WINNT=0x0600 # --- Resources ---------------------------------------------------- .IF "$(GUI)" == "WNT" -RCFILES=fps.rc +RCFILES=Fps.rc .ENDIF # --- Files -------------------------------------------------------- diff --git a/fpicker/source/win32/filepicker/platform_vista.h b/fpicker/source/win32/filepicker/platform_vista.h index a17f817163cd..03d552f118ec 100644 --- a/fpicker/source/win32/filepicker/platform_vista.h +++ b/fpicker/source/win32/filepicker/platform_vista.h @@ -48,6 +48,7 @@ #pragma warning(pop) #endif +#ifdef _MSC_VER #if defined _M_IX86 #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") #elif defined _M_IA64 @@ -57,6 +58,7 @@ #else #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #endif +#endif #endif diff --git a/fpicker/source/win32/filepicker/previewadapter.cxx b/fpicker/source/win32/filepicker/previewadapter.cxx index 994a8ee6538e..51eb8b599860 100644 --- a/fpicker/source/win32/filepicker/previewadapter.cxx +++ b/fpicker/source/win32/filepicker/previewadapter.cxx @@ -403,146 +403,6 @@ HWND SAL_CALL CPreviewAdapterImpl::findFileListbox() const //############################################################## -//----------------------------------------- -// Special implementation for Win98 -// because: -// -//----------------------------------------- - -class CWin98PreviewAdapterImpl : public CPreviewAdapterImpl -{ -public: - CWin98PreviewAdapterImpl(HINSTANCE instance); - - virtual void SAL_CALL notifyParentWindowPosChanged(); - -protected: - virtual void SAL_CALL rearrangeLayout(); - - bool isValidToolbarDimension() const; - -private: - sal_Bool m_PreviewActive; - int m_ToolbarPosX; - int m_ToolbarPosY; - int m_ToolbarWidth; - int m_ToolbarHeight; -}; - -//-------------------------------------------- -// -//-------------------------------------------- - -CWin98PreviewAdapterImpl::CWin98PreviewAdapterImpl(HINSTANCE instance) : - CPreviewAdapterImpl(instance), - m_PreviewActive(sal_False), - m_ToolbarPosX(0), - m_ToolbarPosY(0), - m_ToolbarWidth(0), - m_ToolbarHeight(0) -{ -} - -//-------------------------------------------- -// -//-------------------------------------------- - -void SAL_CALL CWin98PreviewAdapterImpl::notifyParentWindowPosChanged() -{ - try - { - // the reason for this condition is - // Windows 98 - // Under Windows 98 the message WM_SHOWWINDOW - // will be sent only the first time the - // GetOpenFileName function is called within - // the same process - // so we must use another message to initialize - // the preview window - if (IsWindow(m_FileDialog) && !m_PreviewActive) - { - initializeActivePreview(); - m_PreviewActive = sal_True; - rearrangeLayout(); - } - - if (IsWindow(m_FileDialog) && !isValidToolbarDimension()) - { - RECT rcStc1; - GetWindowRect(GetDlgItem(m_FileDialog,stc1),&rcStc1); - - RECT rcCmb2; - GetWindowRect(GetDlgItem(m_FileDialog,cmb2),&rcCmb2); - - // Assumption: - // the toolbar position is only valid - // if the left edge is greater or equal - // than the right edge of the drives listbox - // the stc1 static text is invisible at runtime - // but will be used as reference for the position - // and dimension of the toolbar - if (rcStc1.left >= rcCmb2.right) - { - // important: save the upper left corner in - // client coordinates - POINT pt = {rcStc1.left,rcStc1.top}; - ScreenToClient(m_FileDialog,&pt); - - m_ToolbarPosX = pt.x; - m_ToolbarPosY = pt.y; - m_ToolbarWidth = rcStc1.right - rcStc1.left; - m_ToolbarHeight = rcStc1.bottom - rcStc1.top; - } - } - } - catch(std::runtime_error&) - { - } -} - -//-------------------------------------------- -// -//-------------------------------------------- - -void SAL_CALL CWin98PreviewAdapterImpl::rearrangeLayout() -{ - CPreviewAdapterImpl::rearrangeLayout(); - - // fix the position of the upper toolbar - // because the FileDialog moves all windows - // that are to the right of the FileListbox - // so if we have changed the size of the - // FileListbox we would run into trouble else - if (isValidToolbarDimension()) - { - HWND hwndTlb = FindWindowEx( - m_FileDialog,NULL,TEXT("ToolbarWindow32"),NULL); - - SetWindowPos(hwndTlb, - HWND_TOP, - m_ToolbarPosX, - m_ToolbarPosY, - m_ToolbarWidth, - m_ToolbarHeight, - SWP_NOACTIVATE); - } -} - -//-------------------------------------------- -// -//-------------------------------------------- - -bool CWin98PreviewAdapterImpl::isValidToolbarDimension() const -{ - return (m_ToolbarPosX > 0 && - m_ToolbarPosY > 0 && - m_ToolbarWidth > 0 && - m_ToolbarHeight > 0); -} - -//############################################################## - - //-------------------------------------------- // Implementation for Windows 95/NT/ME/2000/XP // because: @@ -595,10 +455,7 @@ void SAL_CALL CWin95NTPreviewAdapterImpl::notifyParentShow(sal_Bool bShow) CPreviewAdapter::CPreviewAdapter(HINSTANCE instance) { - if (!IsWindows98()) - m_pImpl.reset(new CWin95NTPreviewAdapterImpl(instance)); - else - m_pImpl.reset(new CWin98PreviewAdapterImpl(instance)); + m_pImpl.reset(new CWin95NTPreviewAdapterImpl(instance)); } //------------------------------- diff --git a/fpicker/source/win32/filepicker/workbench/makefile.mk b/fpicker/source/win32/filepicker/workbench/makefile.mk index 926e2c22a0ed..80ef330c0163 100644 --- a/fpicker/source/win32/filepicker/workbench/makefile.mk +++ b/fpicker/source/win32/filepicker/workbench/makefile.mk @@ -36,7 +36,9 @@ TARGETTYPE=CUI .INCLUDE : settings.mk +.IF "$(COM)" == "MSC" CFLAGS+=-GR -GX +.ENDIF # --- Files -------------------------------------------------------- diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx index 5483b7d78ee9..3757ce478032 100644 --- a/fpicker/source/win32/folderpicker/FolderPicker.cxx +++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx @@ -34,7 +34,7 @@ //------------------------------------------------------------------------ #include <osl/diagnose.h> -#include "folderpicker.hxx" +#include "FolderPicker.hxx" #include <com/sun/star/lang/DisposedException.hpp> #include "WinFOPImpl.hxx" diff --git a/fpicker/source/win32/folderpicker/Fopentry.cxx b/fpicker/source/win32/folderpicker/Fopentry.cxx index ce9b292084d5..c50686f058de 100644 --- a/fpicker/source/win32/folderpicker/Fopentry.cxx +++ b/fpicker/source/win32/folderpicker/Fopentry.cxx @@ -36,7 +36,7 @@ #include <com/sun/star/container/XSet.hpp> #include <osl/diagnose.h> -#include "folderpicker.hxx" +#include "FolderPicker.hxx" #include "FOPServiceInfo.hxx" #include "WinFOPImpl.hxx" @@ -67,24 +67,10 @@ namespace } } -//----------------------------------------------------------------------- -// the 3 important functions which will be exported -//----------------------------------------------------------------------- - extern "C" { //---------------------------------------------------------------------- -// component_getImplementationEnvironment -//---------------------------------------------------------------------- - -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -//---------------------------------------------------------------------- // component_getFactory // returns a factory to create XFilePicker-Services //---------------------------------------------------------------------- diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index 8204b51cd930..9f466a5f4af9 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -34,7 +34,7 @@ #include "MtaFop.hxx" #include <wchar.h> #include <process.h> -#include "..\misc\resourceprovider.hxx" +#include "../misc/resourceprovider.hxx" #include <systools/win32/comtools.hxx> diff --git a/fpicker/source/win32/folderpicker/MtaFop.hxx b/fpicker/source/win32/folderpicker/MtaFop.hxx index 36e4648b05bd..ea06a96b3e2d 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.hxx +++ b/fpicker/source/win32/folderpicker/MtaFop.hxx @@ -46,7 +46,7 @@ #if defined _MSC_VER #pragma warning(pop) #endif -#include "..\misc\WinImplHelper.hxx" +#include "../misc/WinImplHelper.hxx" //---------------------------------------------------------------- // a simple helper class used to provide a buffer for different diff --git a/fpicker/source/win32/folderpicker/makefile.mk b/fpicker/source/win32/folderpicker/makefile.mk index f42ff9685c3c..68c0e5c8ce70 100644 --- a/fpicker/source/win32/folderpicker/makefile.mk +++ b/fpicker/source/win32/folderpicker/makefile.mk @@ -38,11 +38,13 @@ COMP1TYPELIST=$(TARGET) # --- Files -------------------------------------------------------- # enable rtti +.IF "$(COM)" == "MSC" CFLAGS+=-GR +.ENDIF -SLOFILES=$(SLO)$/fopentry.obj\ - $(SLO)$/folderpicker.obj\ - $(SLO)$/WinFopImpl.obj\ +SLOFILES=$(SLO)$/Fopentry.obj\ + $(SLO)$/FolderPicker.obj\ + $(SLO)$/WinFOPImpl.obj\ $(SLO)$/MtaFop.obj # --- Targets ------------------------------------------------------ diff --git a/fpicker/source/win32/folderpicker/workbench/makefile.mk b/fpicker/source/win32/folderpicker/workbench/makefile.mk index 666751f2779d..8429e2dd4cfe 100644 --- a/fpicker/source/win32/folderpicker/workbench/makefile.mk +++ b/fpicker/source/win32/folderpicker/workbench/makefile.mk @@ -36,7 +36,9 @@ TARGETTYPE= CUI .INCLUDE : settings.mk +.IF "$(COM)" == "MSC" CFLAGS+=-GR -EHa +.ENDIF # --- Files -------------------------------------------------------- diff --git a/fpicker/source/win32/misc/WinImplHelper.cxx b/fpicker/source/win32/misc/WinImplHelper.cxx index 301a5bc9e6bc..d51f29b17a49 100644 --- a/fpicker/source/win32/misc/WinImplHelper.cxx +++ b/fpicker/source/win32/misc/WinImplHelper.cxx @@ -73,25 +73,6 @@ const sal_Unicode AMPERSAND_SIGN = L'&'; // Windows ME VER_PLATFORM_WIN32_WINDOWS 4 90 //------------------------------------------------------------ -bool SAL_CALL IsWindowsVersion(unsigned int PlatformId, unsigned int MajorVersion, int MinorVersion = -1) -{ - OSVERSIONINFO osvi; - osvi.dwOSVersionInfoSize = sizeof(osvi); - - if(!GetVersionEx(&osvi)) - return false; - - bool bRet = (PlatformId == osvi.dwPlatformId) && - (MajorVersion == osvi.dwMajorVersion); - - if (MinorVersion > -1) - bRet = bRet && - (sal::static_int_cast< unsigned int >(MinorVersion) == - osvi.dwMinorVersion); - - return bRet; -} - //------------------------------------------------------------ // determine if we are running under Vista or newer OS //------------------------------------------------------------ @@ -115,81 +96,6 @@ bool SAL_CALL IsWindowsVistaOrNewer() } //------------------------------------------------------------ -// determine if we are running under Windows 7 -//------------------------------------------------------------ - -bool SAL_CALL IsWindows7() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 6, 1); -} - -//------------------------------------------------------------ -// determine if we are running under Windows Vista -//------------------------------------------------------------ - -bool SAL_CALL IsWindowsVista() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 6, 0); -} - -//------------------------------------------------------------ -// determine if we are running under Windows XP -//------------------------------------------------------------ - -bool SAL_CALL IsWindowsXP() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 5, 1); -} - -//------------------------------------------------------------ -// determine if we are running under Windows 2000 -//------------------------------------------------------------ - -bool SAL_CALL IsWindows2000() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 5, 0); -} - -//------------------------------------------------------------ -// -//------------------------------------------------------------ - -bool SAL_CALL IsWindows98() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_WINDOWS, 4, 10); -} - -//------------------------------------------------------------ -// -//------------------------------------------------------------ - -bool SAL_CALL IsWindowsME() -{ - return IsWindowsVersion(VER_PLATFORM_WIN32_WINDOWS, 4, 90); -} - -//------------------------------------------------------------ -// -//------------------------------------------------------------ - -bool SAL_CALL IsWindows2000Platform() -{ - // POST: return true if we are at least on Windows 2000 - - // WRONG!: return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 5); - - OSVERSIONINFO osvi; - ZeroMemory(&osvi, sizeof(osvi)); - osvi.dwOSVersionInfoSize = sizeof(osvi); - GetVersionEx(&osvi); - if ( osvi.dwMajorVersion >= 5 ) - { - return true; - } - return false; -} - -//------------------------------------------------------------ // //------------------------------------------------------------ diff --git a/fpicker/source/win32/misc/WinImplHelper.hxx b/fpicker/source/win32/misc/WinImplHelper.hxx index 03cefe901124..da0e1a0ac542 100644 --- a/fpicker/source/win32/misc/WinImplHelper.hxx +++ b/fpicker/source/win32/misc/WinImplHelper.hxx @@ -52,18 +52,6 @@ //------------------------------------------------------------------------ bool SAL_CALL IsWindowsVistaOrNewer(); -bool SAL_CALL IsWindows7(); -bool SAL_CALL IsWindowsVista(); -bool SAL_CALL IsWindows2000(); -bool SAL_CALL IsWindowsXP(); -bool SAL_CALL IsWindows98(); -bool SAL_CALL IsWindowsME(); - -// returns true if the platform is -// Windows 2000 or above -bool SAL_CALL IsWindows2000Platform(); - -#define IsWin2000 IsWindows2000 // set actions void SAL_CALL ListboxAddItem( diff --git a/fpicker/util/exports.dxp b/fpicker/util/exports.dxp index f0e1c69934bc..70033078921a 100644 --- a/fpicker/util/exports.dxp +++ b/fpicker/util/exports.dxp @@ -1,2 +1 @@ -component_getImplementationEnvironment component_getFactory diff --git a/fpicker/util/makefile.mk b/fpicker/util/makefile.mk index 39fb31837731..7d42971c25ef 100644 --- a/fpicker/util/makefile.mk +++ b/fpicker/util/makefile.mk @@ -58,9 +58,13 @@ SHL1STDLIBS= $(COMMON_LIBS) \ $(OLEAUT32LIB)\ $(COMDLG32LIB)\ $(KERNEL32LIB)\ - $(UUIDLIB)\ + $(UUIDLIB) + +.IF "$(COM)" == "MSC" +SHL1STDLIBS+=\ Delayimp.lib\ /DELAYLOAD:shell32.dll +.ENDIF SHL1DEPN= SHL1IMPLIB=i$(SHL1TARGET) diff --git a/framework/Library_fwe.mk b/framework/Library_fwe.mk index 51179c4523a8..9a71be9ef554 100644 --- a/framework/Library_fwe.mk +++ b/framework/Library_fwe.mk @@ -34,13 +34,17 @@ $(eval $(call gb_Library_set_include,fwe,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_defs,fwe,\ -DFWE_DLLIMPLEMENTATION\ )) +$(eval $(call gb_Library_add_api,fwe,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Library_add_linked_libs,fwe,\ comphelper \ cppu \ diff --git a/framework/Library_fwi.mk b/framework/Library_fwi.mk index 748bee52c022..105d5a265784 100644 --- a/framework/Library_fwi.mk +++ b/framework/Library_fwi.mk @@ -33,6 +33,11 @@ $(eval $(call gb_Library_add_defs,fwi,\ -DFWI_DLLIMPLEMENTATION \ )) +$(eval $(call gb_Library_add_api,fwi,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Library_set_include,fwi,\ -I$(realpath $(SRCDIR)/framework/inc/pch) \ -I$(realpath $(SRCDIR)/framework/source/inc) \ @@ -40,7 +45,6 @@ $(eval $(call gb_Library_set_include,fwi,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_linked_libs,fwi,\ diff --git a/framework/Library_fwk.mk b/framework/Library_fwk.mk index f999b751b43b..804048c16d1d 100644 --- a/framework/Library_fwk.mk +++ b/framework/Library_fwk.mk @@ -38,7 +38,11 @@ $(eval $(call gb_Library_set_include,fwk,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwk,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwk,\ diff --git a/framework/Library_fwl.mk b/framework/Library_fwl.mk index 8c925653dc63..dd1d79eccc64 100644 --- a/framework/Library_fwl.mk +++ b/framework/Library_fwl.mk @@ -36,7 +36,11 @@ $(eval $(call gb_Library_set_include,fwl,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwl,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwl,\ diff --git a/framework/Library_fwm.mk b/framework/Library_fwm.mk index d540079c0f51..063c78e8fa00 100644 --- a/framework/Library_fwm.mk +++ b/framework/Library_fwm.mk @@ -36,7 +36,11 @@ $(eval $(call gb_Library_set_include,fwm,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwm,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwm,\ diff --git a/framework/Library_lomenubar.mk b/framework/Library_lomenubar.mk index e8fe7c6ffb28..dd3848ef3fb8 100644 --- a/framework/Library_lomenubar.mk +++ b/framework/Library_lomenubar.mk @@ -33,10 +33,14 @@ $(eval $(call gb_Library_set_componentfile,lomenubar,framework/util/lomenubar)) $(eval $(call gb_Library_set_include,lomenubar,\ $$(INCLUDE) \ - -I$(OUTDIR)/inc/offuh \ $(shell pkg-config --cflags-only-I dbusmenu-gtk-0.4) \ )) +$(eval $(call gb_Library_add_api,lomenubar,\ + offapi \ + udkapi \ +)) + $(eval $(call gb_Library_set_ldflags,lomenubar,\ $$(LDFLAGS) \ $(shell pkg-config --libs dbusmenu-gtk-0.4) \ diff --git a/framework/inc/macros/generic.hxx b/framework/inc/macros/generic.hxx index b74225603b41..01169a32adaa 100644 --- a/framework/inc/macros/generic.hxx +++ b/framework/inc/macros/generic.hxx @@ -53,11 +53,9 @@ ________________________________________________________________________________ /*_________________________________________________________________________________________________________________ U2B( SUNICODEVALUE ) B2U( SASCIIVALUE ) - U2B_ENC( SUNICODEVALUE, AENCODING ) - B2U_ENC( SASCIIVALUE, AENCODING ) Use it to convert unicode strings to ascii values and reverse ... - We use UTF8 as default textencoding. If you will change this use U2B_ENC and B2U_ENC! + We use UTF8 as default textencoding. _________________________________________________________________________________________________________________*/ #define U2B( SUNICODEVALUE ) \ @@ -66,16 +64,6 @@ ________________________________________________________________________________ #define B2U( SASCIIVALUE ) \ ::rtl::OStringToOUString( SASCIIVALUE, RTL_TEXTENCODING_UTF8 ) -#define U2B_ENC( SUNICODEVALUE, AENCODING ) \ - ::rtl::OUStringToOString( SUNICODEVALUE, AENCODING ) - -#define B2U_ENC( SASCIIVALUE, AENCODING ) \ - ::rtl::OStringToOUString( SASCIIVALUE, AENCODING ) - -//***************************************************************************************************************** -// end of file -//***************************************************************************************************************** - #endif // #ifndef __FRAMEWORK_MACROS_GENERIC_HXX_ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/macros/registration.hxx b/framework/inc/macros/registration.hxx index 74ab29d2c4bf..94815f726b75 100644 --- a/framework/inc/macros/registration.hxx +++ b/framework/inc/macros/registration.hxx @@ -57,7 +57,6 @@ Please use follow public macros only! IFFACTORY( CLASS ) => use it as parameter for COMPONENT_GETFACTORY( IFFACTORIES ) - COMPONENTGETIMPLEMENTATIONENVIRONMENT => use it to define exported function component_getImplementationEnvironment() COMPONENTGETFACTORY( IFFACTORIES ) => use it to define exported function component_getFactory() _________________________________________________________________________________________________________________*/ @@ -79,17 +78,6 @@ ________________________________________________________________________________ //***************************************************************************************************************** // public -// define helper to get information about service environment -//***************************************************************************************************************** -#define COMPONENTGETIMPLEMENTATIONENVIRONMENT \ - extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( const sal_Char** ppEnvironmentTypeName , \ - uno_Environment** ) \ - { \ - *ppEnvironmentTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ; \ - } - -//***************************************************************************************************************** -// public // define method to instanciate new services //***************************************************************************************************************** #define COMPONENTGETFACTORY( IFFACTORIES ) \ diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx index ab8ba13fc970..501189ea91be 100644 --- a/framework/inc/uielement/uielement.hxx +++ b/framework/inc/uielement/uielement.hxx @@ -42,6 +42,8 @@ #include <com/sun/star/ui/XUIElement.hpp> #include <com/sun/star/ui/DockingArea.hpp> +#include <com/sun/star/awt/Point.hpp> +#include <com/sun/star/awt/Size.hpp> //_________________________________________________________________________________________________________________ // other includes @@ -59,24 +61,24 @@ namespace framework struct DockedData { - DockedData() : m_aPos( LONG_MAX, LONG_MAX ), + DockedData() : m_aPos( SAL_MAX_INT32, SAL_MAX_INT32 ), m_nDockedArea( ::com::sun::star::ui::DockingArea_DOCKINGAREA_TOP ), m_bLocked( false ) {} - Point m_aPos; - Size m_aSize; + com::sun::star::awt::Point m_aPos; + com::sun::star::awt::Size m_aSize; sal_Int16 m_nDockedArea; bool m_bLocked; }; struct FloatingData { - FloatingData() : m_aPos( LONG_MAX, LONG_MAX ), + FloatingData() : m_aPos( SAL_MAX_INT32, SAL_MAX_INT32 ), m_nLines( 1 ), m_bIsHorizontal( true ) {} - Point m_aPos; - Size m_aSize; + com::sun::star::awt::Point m_aPos; + com::sun::star::awt::Size m_aSize; sal_Int16 m_nLines; bool m_bIsHorizontal; }; diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx index baaf086e4702..bae9efb23419 100644 --- a/framework/source/fwe/classes/addonmenu.cxx +++ b/framework/source/fwe/classes/addonmenu.cxx @@ -66,7 +66,6 @@ using namespace ::com::sun::star::beans; // Please look at sfx2/inc/sfxsids.hrc the values are defined there. Due to build dependencies // we cannot include the header file. const sal_uInt16 SID_HELPMENU = (SID_SFX_START + 410); -const sal_uInt16 SID_ONLINE_REGISTRATION = (SID_SFX_START + 1537); namespace framework { @@ -213,40 +212,21 @@ void AddonMenuManager::MergeAddonHelpMenu( const Reference< XFrame >& rFrame, Me if ( pHelpMenu ) { - static const char REFERENCECOMMAND_AFTER[] = ".uno:OnlineRegistrationDlg"; static const char REFERENCECOMMAND_BEFORE[] = ".uno:About"; // Add-Ons help menu items should be inserted after the "registration" menu item - bool bAddAfter = true; sal_uInt16 nItemCount = pHelpMenu->GetItemCount(); - sal_uInt16 nRegPos = pHelpMenu->GetItemPos( SID_ONLINE_REGISTRATION ); - sal_uInt16 nInsPos = nRegPos; sal_uInt16 nInsSepAfterPos = MENU_APPEND; sal_uInt16 nUniqueMenuId = ADDONMENU_ITEMID_START; AddonsOptions aOptions; - if ( nRegPos == USHRT_MAX ) - { - // try to detect the online registration dialog menu item with the command URL - sal_uInt16 nId = FindMenuId( pHelpMenu, String::CreateFromAscii( REFERENCECOMMAND_AFTER )); - nRegPos = pHelpMenu->GetItemPos( nId ); - nInsPos = nRegPos; - } - - if ( nRegPos == USHRT_MAX ) - { - // second try: - // try to detect the about menu item with the command URL - sal_uInt16 nId = FindMenuId( pHelpMenu, String::CreateFromAscii( REFERENCECOMMAND_BEFORE )); - nRegPos = pHelpMenu->GetItemPos( nId ); - nInsPos = nRegPos; - bAddAfter = false; - } + // try to detect the about menu item with the command URL + sal_uInt16 nId = FindMenuId( pHelpMenu, String::CreateFromAscii( REFERENCECOMMAND_BEFORE )); + sal_uInt16 nInsPos = pHelpMenu->GetItemPos( nId ); Sequence< Sequence< PropertyValue > > aAddonSubMenu; const Sequence< Sequence< PropertyValue > >& rAddonHelpMenuEntries = aOptions.GetAddonsHelpMenu(); - nInsPos = bAddAfter ? AddonMenuManager::GetNextPos( nInsPos ) : nInsPos; if ( nInsPos < nItemCount && pHelpMenu->GetItemType( nInsPos ) != MENUITEM_SEPARATOR ) nInsSepAfterPos = nInsPos; @@ -261,10 +241,7 @@ void AddonMenuManager::MergeAddonHelpMenu( const Reference< XFrame >& rFrame, Me if ( pHelpMenu->GetItemType( nInsSepAfterPos ) != MENUITEM_SEPARATOR ) pHelpMenu->InsertSeparator( nInsSepAfterPos ); } - if ( nRegPos < MENU_APPEND ) - pHelpMenu->InsertSeparator( nRegPos+1 ); - else - pHelpMenu->InsertSeparator( nItemCount ); + pHelpMenu->InsertSeparator( nItemCount ); } } } diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index fadd3cae0545..25c7f921bbd9 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -163,8 +163,9 @@ void FrameListAnalyzer::impl_analyze() ::rtl::OUString sModule = xModuleMgr->identify(m_xReferenceFrame); m_bReferenceIsBacking = (sModule.equals(SERVICENAME_STARTMODULE)); } - catch(const css::uno::Exception&) - {} + catch (const css::uno::Exception&) + { + } } // check, if the reference frame includes the help module. @@ -237,8 +238,9 @@ void FrameListAnalyzer::impl_analyze() continue; } } - catch(const css::uno::Exception&) - {} + catch (const css::uno::Exception&) + { + } } // ------------------------------------------------- @@ -285,7 +287,7 @@ void FrameListAnalyzer::impl_analyze() } } } - catch(css::lang::IndexOutOfBoundsException) + catch (const css::lang::IndexOutOfBoundsException&) { // stop copying if index seams to be wrong. // This interface can't realy guarantee its count for multithreaded diff --git a/framework/source/fwe/helper/actiontriggerhelper.cxx b/framework/source/fwe/helper/actiontriggerhelper.cxx index 44518a3458b9..9ce2884da366 100644 --- a/framework/source/fwe/helper/actiontriggerhelper.cxx +++ b/framework/source/fwe/helper/actiontriggerhelper.cxx @@ -67,7 +67,7 @@ sal_Bool IsSeparator( Reference< XPropertySet > xPropertySet ) { return xServiceInfo->supportsService( OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICENAME_ACTIONTRIGGERSEPARATOR )) ); } - catch ( Exception& ) + catch (const Exception&) { } @@ -95,7 +95,7 @@ void GetMenuItemAttributes( Reference< XPropertySet > xActionTriggerPropertySet, a = xActionTriggerPropertySet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "SubContainer" )) ); a >>= xSubContainer; } - catch ( Exception& ) + catch (const Exception&) { } @@ -105,7 +105,7 @@ void GetMenuItemAttributes( Reference< XPropertySet > xActionTriggerPropertySet, a = xActionTriggerPropertySet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "HelpURL" )) ); a >>= aHelpURL; } - catch ( Exception& ) + catch (const Exception&) { } } @@ -234,15 +234,15 @@ void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, Reference< XIndexC } } } - catch ( IndexOutOfBoundsException ) + catch (const IndexOutOfBoundsException&) { return; } - catch ( WrappedTargetException ) + catch (const WrappedTargetException&) { return; } - catch ( RuntimeException ) + catch (const RuntimeException&) { return; } @@ -295,7 +295,7 @@ Reference< XPropertySet > CreateActionTrigger( sal_uInt16 nItemId, const Menu* p xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Image" )), a ); } } - catch ( Exception& ) + catch (const Exception&) { } } @@ -369,7 +369,7 @@ void FillActionTriggerContainerWithMenu( const Menu* pMenu, Reference< XIndexCon } } } - catch ( Exception& ) + catch (const Exception&) { } } diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index a1db0de3ec5d..23d18b82a544 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -609,12 +609,11 @@ void TitleHelper::impl_appendModuleName (::rtl::OUStringBuffer& sTitle) #ifdef DBG_UTIL void TitleHelper::impl_appendDebugVersion (::rtl::OUStringBuffer& sTitle) { - ::rtl::OUString sDefault ; - ::rtl::OUString sVersion = ::utl::Bootstrap::getBuildIdData( sDefault ); - - sTitle.appendAscii (" [" ); - sTitle.append (sVersion); - sTitle.appendAscii ("]" ); + ::rtl::OUString sDefault(RTL_CONSTASCII_USTRINGPARAM("development")); + ::rtl::OUString sVersion = ::utl::Bootstrap::getProductSource(sDefault); + sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM(" [")); + sTitle.append(sVersion); + sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM("]")); } #else void TitleHelper::impl_appendDebugVersion (::rtl::OUStringBuffer&) diff --git a/framework/source/fwi/helper/networkdomain.cxx b/framework/source/fwi/helper/networkdomain.cxx index fb4bc20f5077..132241212d62 100644 --- a/framework/source/fwi/helper/networkdomain.cxx +++ b/framework/source/fwi/helper/networkdomain.cxx @@ -47,84 +47,17 @@ namespace framework #pragma warning(pop) #endif -//_________________________________________________________________________________________________________________ -// Win NT, Win 2000, Win XP -//_________________________________________________________________________________________________________________ - static DWORD WINAPI GetUserDomainW_NT( LPWSTR lpBuffer, DWORD nSize ) { return GetEnvironmentVariable( TEXT("USERDOMAIN"), lpBuffer, nSize ); } -//_________________________________________________________________________________________________________________ -// Win 9x,Win ME -//_________________________________________________________________________________________________________________ - -static DWORD WINAPI GetUserDomainW_WINDOWS( LPWSTR lpBuffer, DWORD nSize ) -{ - HKEY hkeyLogon; - HKEY hkeyWorkgroup; - DWORD dwResult = 0; - - - if ( ERROR_SUCCESS == RegOpenKeyEx( - HKEY_LOCAL_MACHINE, - TEXT("Network\\Logon"), - 0, KEY_READ, &hkeyLogon ) ) - { - DWORD dwLogon = 0; - DWORD dwLogonSize = sizeof(dwLogon); - RegQueryValueEx( hkeyLogon, TEXT("LMLogon"), 0, NULL, (LPBYTE)&dwLogon, &dwLogonSize ); - RegCloseKey( hkeyLogon ); - - if ( dwLogon ) - { - HKEY hkeyNetworkProvider; - - if ( ERROR_SUCCESS == RegOpenKeyEx( - HKEY_LOCAL_MACHINE, - TEXT("SYSTEM\\CurrentControlSet\\Services\\MSNP32\\NetworkProvider"), - 0, KEY_READ, &hkeyNetworkProvider ) ) - { - DWORD dwBufferSize = nSize; - LONG lResult = RegQueryValueEx( hkeyNetworkProvider, TEXT("AuthenticatingAgent"), 0, NULL, (LPBYTE)lpBuffer, &dwBufferSize ); - - if ( ERROR_SUCCESS == lResult || ERROR_MORE_DATA == lResult ) - dwResult = dwBufferSize / sizeof(TCHAR); - - RegCloseKey( hkeyNetworkProvider ); - } - } - } - else if ( ERROR_SUCCESS == RegOpenKeyEx( - HKEY_LOCAL_MACHINE, - TEXT("SYSTEM\\CurrentControlSet\\Services\\VxD\\VNETSUP"), - 0, KEY_READ, &hkeyWorkgroup ) ) - { - DWORD dwBufferSize = nSize; - LONG lResult = RegQueryValueEx( hkeyWorkgroup, TEXT("Workgroup"), 0, NULL, (LPBYTE)lpBuffer, &dwBufferSize ); - - if ( ERROR_SUCCESS == lResult || ERROR_MORE_DATA == lResult ) - dwResult = dwBufferSize / sizeof(TCHAR); - - RegCloseKey( hkeyWorkgroup ); - } - - - return dwResult; -} - static rtl::OUString GetUserDomain() { sal_Unicode aBuffer[256]; - - long nVersion = GetVersion(); DWORD nResult; - if ( nVersion < 0 ) - nResult = GetUserDomainW_WINDOWS( reinterpret_cast<LPWSTR>(aBuffer), sizeof( aBuffer ) ); - else - nResult = GetUserDomainW_NT( reinterpret_cast<LPWSTR>(aBuffer), sizeof( aBuffer ) ); + nResult = GetUserDomainW_NT( reinterpret_cast<LPWSTR>(aBuffer), sizeof( aBuffer ) ); if ( nResult > 0 ) return rtl::OUString( aBuffer ); diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx index 7deeaa09168f..d85e00375adb 100644 --- a/framework/source/helper/persistentwindowstate.cxx +++ b/framework/source/helper/persistentwindowstate.cxx @@ -297,7 +297,7 @@ void PersistentWindowState::implst_setWindowStateOnConfig(const css::uno::Refere { sal_uLong nMask = WINDOWSTATE_MASK_ALL; nMask &= ~(WINDOWSTATE_MASK_MINIMIZED); - sWindowState = B2U_ENC( + sWindowState = rtl::OStringToOUString( ((SystemWindow*)pWindow)->GetWindowState(nMask), RTL_TEXTENCODING_UTF8); } @@ -341,7 +341,7 @@ void PersistentWindowState::implst_setWindowStateOnWindow(const css::uno::Refere ::rtl::OUString sOldWindowState = ::rtl::OStringToOUString( pSystemWindow->GetWindowState(), RTL_TEXTENCODING_ASCII_US ); if ( sOldWindowState != sWindowState ) - pSystemWindow->SetWindowState(U2B_ENC(sWindowState,RTL_TEXTENCODING_UTF8)); + pSystemWindow->SetWindowState(rtl::OUStringToOString(sWindowState,RTL_TEXTENCODING_UTF8)); // <- SOLAR SAFE ------------------------ } diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index faecdaea9105..752f5fe898b4 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -72,7 +72,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind if (!xWindow.is()) return ::rtl::OUString(); - ByteString sWindowState; + rtl::OString sWindowState; // SOLAR SAFE -> ---------------------------- { SolarMutexGuard aSolarGuard; @@ -88,7 +88,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind } // <- SOLAR SAFE ---------------------------- - return B2U_ENC(sWindowState,RTL_TEXTENCODING_UTF8); + return rtl::OStringToOUString(sWindowState,RTL_TEXTENCODING_UTF8); } //----------------------------------------------- @@ -116,7 +116,7 @@ static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWind ) ) { - ((SystemWindow*)pWindow)->SetWindowState(U2B_ENC(sWindowState,RTL_TEXTENCODING_UTF8)); + ((SystemWindow*)pWindow)->SetWindowState(OUStringToOString(sWindowState,RTL_TEXTENCODING_UTF8)); } // <- SOLAR SAFE ---------------------------- diff --git a/framework/source/layoutmanager/helpers.cxx b/framework/source/layoutmanager/helpers.cxx index 1f00f77d2e55..9cf6a202d9ad 100644 --- a/framework/source/layoutmanager/helpers.cxx +++ b/framework/source/layoutmanager/helpers.cxx @@ -57,24 +57,19 @@ using namespace com::sun::star; namespace framework { -bool hasEmptySize( const:: Size& aSize ) +bool hasEmptySize( const ::com::sun::star::awt::Size& rSize ) { - return ( aSize.Width() == 0 ) && ( aSize.Height() == 0 ); + return ( rSize.Width == 0 ) && ( rSize.Height == 0 ); } -bool hasDefaultPosValue( const ::Point& aPos ) +bool hasDefaultPosValue( const ::com::sun::star::awt::Point& rPos ) { - return (( aPos.X() == SAL_MAX_INT32 ) || ( aPos.Y() == SAL_MAX_INT32 )); + return (( rPos.X == SAL_MAX_INT32 ) || ( rPos.Y == SAL_MAX_INT32 )); } -bool isDefaultPos( const ::com::sun::star::awt::Point& aPos ) +bool isDefaultPos( const ::com::sun::star::awt::Point& rPos ) { - return (( aPos.X == SAL_MAX_INT32 ) && ( aPos.Y == SAL_MAX_INT32 )); -} - -bool isDefaultPos( const ::Point& aPos ) -{ - return (( aPos.X() == SAL_MAX_INT32 ) && ( aPos.Y() == SAL_MAX_INT32 )); + return (( rPos.X == SAL_MAX_INT32 ) && ( rPos.Y == SAL_MAX_INT32 )); } bool isReverseOrderDockingArea( const sal_Int32 nDockArea ) diff --git a/framework/source/layoutmanager/helpers.hxx b/framework/source/layoutmanager/helpers.hxx index 704fb7ac4d8d..bfa4b045fcca 100644 --- a/framework/source/layoutmanager/helpers.hxx +++ b/framework/source/layoutmanager/helpers.hxx @@ -61,10 +61,9 @@ namespace framework { -bool hasEmptySize( const:: Size& aSize ); -bool hasDefaultPosValue( const ::Point& aPos ); -bool isDefaultPos( const ::com::sun::star::awt::Point& aPos ); -bool isDefaultPos( const ::Point& aPos ); +bool hasEmptySize( const ::com::sun::star::awt::Size& rSize ); +bool hasDefaultPosValue( const ::com::sun::star::awt::Point& rPos ); +bool isDefaultPos( const ::com::sun::star::awt::Point& rPos ); bool isToolboxHorizontalAligned( ToolBox* pToolBox ); bool isReverseOrderDockingArea( const sal_Int32 nDockArea ); bool isHorizontalDockingArea( const sal_Int32 nDockArea ); diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index a7bc56cbd954..c69ae4187dcf 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -93,6 +93,8 @@ #include <rtl/instance.hxx> #include <unotools/cmdoptions.hxx> +#include <rtl/strbuf.hxx> + #include <algorithm> #include <boost/bind.hpp> @@ -221,8 +223,12 @@ void LayoutManager::impl_clearUpMenuBar() { xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "XMenuBar" ))) >>= xMenuBar; } - catch ( beans::UnknownPropertyException ) {} - catch ( lang::WrappedTargetException ) {} + catch (const beans::UnknownPropertyException&) + { + } + catch (const lang::WrappedTargetException&) + { + } } VCLXMenu* pAwtMenuBar = VCLXMenu::GetImplementation( xMenuBar ); @@ -310,7 +316,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) // Remove listener to old module ui configuration manager xModuleCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } try @@ -320,7 +328,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) if ( xModuleCfgMgr.is() ) xModuleCfgMgr->addConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } try { @@ -328,8 +338,12 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) if ( xPersistentWindowStateSupplier.is() ) xPersistentWindowStateSupplier->getByName( aModuleIdentifier ) >>= xPersistentWindowState; } - catch ( NoSuchElementException& ) {} - catch ( WrappedTargetException& ) {} + catch (const NoSuchElementException&) + { + } + catch (const WrappedTargetException&) + { + } } xModel = impl_getModelFromFrame( xFrame ); @@ -345,7 +359,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) // Remove listener to old ui configuration manager xDocCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } try @@ -354,7 +370,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) if ( xDocCfgMgr.is() ) xDocCfgMgr->addConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } } } @@ -368,7 +386,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) xModuleCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } if ( xDocCfgMgr.is() ) @@ -378,7 +398,9 @@ void LayoutManager::implts_reset( sal_Bool bAttached ) xDocCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } // Release references to our configuration managers as we currently don't have @@ -550,28 +572,19 @@ sal_Bool LayoutManager::implts_readWindowStateData( const rtl::OUString& aName, { awt::Point aPoint; if ( aWindowState[n].Value >>= aPoint ) - { - rElementData.m_aDockedData.m_aPos.X() = aPoint.X; - rElementData.m_aDockedData.m_aPos.Y() = aPoint.Y; - } + rElementData.m_aDockedData.m_aPos = aPoint; } else if ( aWindowState[n].Name == m_aPropPos ) { awt::Point aPoint; if ( aWindowState[n].Value >>= aPoint ) - { - rElementData.m_aFloatingData.m_aPos.X() = aPoint.X; - rElementData.m_aFloatingData.m_aPos.Y() = aPoint.Y; - } + rElementData.m_aFloatingData.m_aPos = aPoint; } else if ( aWindowState[n].Name == m_aPropSize ) { awt::Size aSize; if ( aWindowState[n].Value >>= aSize ) - { - rElementData.m_aFloatingData.m_aSize.Width() = aSize.Width; - rElementData.m_aFloatingData.m_aSize.Height() = aSize.Height; - } + rElementData.m_aFloatingData.m_aSize = aSize; } else if ( aWindowState[n].Name == m_aPropUIName ) aWindowState[n].Value >>= rElementData.m_aUIName; @@ -636,7 +649,9 @@ sal_Bool LayoutManager::implts_readWindowStateData( const rtl::OUString& aName, return sal_True; } - catch ( NoSuchElementException& ) {} + catch (const NoSuchElementException&) + { + } } return sal_False; @@ -660,12 +675,14 @@ void LayoutManager::implts_writeWindowStateData( const rtl::OUString& aName, con // Check persistent flag of the user interface element xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Persistent" ))) >>= bPersistent; } - catch ( beans::UnknownPropertyException ) + catch (const beans::UnknownPropertyException&) { // Non-configurable elements should at least store their dimension/position bPersistent = sal_True; } - catch ( lang::WrappedTargetException ) {} + catch (const lang::WrappedTargetException&) + { + } } if ( bPersistent && xPersistentWindowState.is() ) @@ -682,22 +699,14 @@ void LayoutManager::implts_writeWindowStateData( const rtl::OUString& aName, con aWindowState[2].Name = m_aPropDockingArea; aWindowState[2].Value = makeAny( static_cast< DockingArea >( rElementData.m_aDockedData.m_nDockedArea ) ); - awt::Point aPos; - aPos.X = rElementData.m_aDockedData.m_aPos.X(); - aPos.Y = rElementData.m_aDockedData.m_aPos.Y(); aWindowState[3].Name = m_aPropDockPos; - aWindowState[3].Value <<= aPos; + aWindowState[3].Value <<= rElementData.m_aDockedData.m_aPos; - aPos.X = rElementData.m_aFloatingData.m_aPos.X(); - aPos.Y = rElementData.m_aFloatingData.m_aPos.Y(); aWindowState[4].Name = m_aPropPos; - aWindowState[4].Value <<= aPos; + aWindowState[4].Value <<= rElementData.m_aFloatingData.m_aPos; - awt::Size aSize; - aSize.Width = rElementData.m_aFloatingData.m_aSize.Width(); - aSize.Height = rElementData.m_aFloatingData.m_aSize.Height(); aWindowState[5].Name = m_aPropSize; - aWindowState[5].Value <<= aSize; + aWindowState[5].Value <<= rElementData.m_aFloatingData.m_aSize; aWindowState[6].Name = m_aPropUIName; aWindowState[6].Value = makeAny( rElementData.m_aUIName ); aWindowState[7].Name = m_aPropLocked; @@ -714,7 +723,9 @@ void LayoutManager::implts_writeWindowStateData( const rtl::OUString& aName, con xInsert->insertByName( aName, makeAny( aWindowState )); } } - catch ( Exception& ) {} + catch (const Exception&) + { + } } // Reset flag @@ -752,8 +763,12 @@ Reference< XUIElement > LayoutManager::implts_createElement( const rtl::OUString { xUIElement = m_xUIElementFactoryManager->createUIElement( aName, aPropSeq ); } - catch ( NoSuchElementException& ) {} - catch ( IllegalArgumentException& ) {} + catch (const NoSuchElementException&) + { + } + catch (const IllegalArgumentException&) + { + } return xUIElement; } @@ -1412,8 +1427,13 @@ void LayoutManager::implts_reparentChildWindows() { xStatusBarWindow = Reference< awt::XWindow >( aStatusBarElement.m_xUIElement->getRealInterface(), UNO_QUERY ); } - catch ( RuntimeException& ) { throw; } - catch ( Exception& ) {} + catch (const RuntimeException&) + { + throw; + } + catch (const Exception&) + { + } } if ( xStatusBarWindow.is() ) @@ -1499,7 +1519,7 @@ throw (RuntimeException) } else if ( aElementType.equalsIgnoreAsciiCaseAscii( "menubar" ) && aElementName.equalsIgnoreAsciiCaseAscii( "menubar" )) { - // PB 2004-12-15 #i38743# don't create a menubar if frame isn't top + // #i38743# don't create a menubar if frame isn't top if ( !bInPlaceMenu && !m_xMenuBar.is() && implts_isFrameOrWindowTop( xFrame )) { m_xMenuBar = implts_createElement( aName ); @@ -1519,8 +1539,12 @@ throw (RuntimeException) { xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "XMenuBar" ))) >>= xMenuBar; } - catch ( beans::UnknownPropertyException ) {} - catch ( lang::WrappedTargetException ) {} + catch (const beans::UnknownPropertyException&) + { + } + catch (const lang::WrappedTargetException&) + { + } } if ( xMenuBar.is() ) @@ -2274,11 +2298,11 @@ throw (RuntimeException) RTL_LOGFILE_TRACE1( "framework (cd100003) ::LayoutManager::lock lockCount=%d", nLockCount ); #ifdef DBG_UTIL - ByteString aStr("LayoutManager::lock "); - aStr += ByteString::CreateFromInt32((long)this); - aStr += " - "; - aStr += ByteString::CreateFromInt32(nLockCount); - OSL_TRACE( aStr.GetBuffer() ); + rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM("LayoutManager::lock ")); + aStr.append(reinterpret_cast<sal_Int64>(this)); + aStr.append(RTL_CONSTASCII_STRINGPARAM(" - ")); + aStr.append(nLockCount); + OSL_TRACE(aStr.getStr()); #endif Any a( nLockCount ); @@ -2296,11 +2320,11 @@ throw (RuntimeException) RTL_LOGFILE_TRACE1( "framework (cd100003) ::LayoutManager::unlock lockCount=%d", nLockCount ); #ifdef DBG_UTIL - ByteString aStr("LayoutManager::unlock "); - aStr += ByteString::CreateFromInt32((long)this); - aStr += " - "; - aStr += ByteString::CreateFromInt32(nLockCount); - OSL_TRACE( aStr.GetBuffer() ); + rtl::OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM("LayoutManager::unlock ")); + aStr.append(reinterpret_cast<sal_Int64>(this)); + aStr.append(RTL_CONSTASCII_STRINGPARAM(" - ")); + aStr.append(nLockCount); + OSL_TRACE(aStr.getStr()); #endif // conform to documentation: unlock with lock count == 0 means force a layout @@ -2917,7 +2941,9 @@ throw( RuntimeException ) xModuleCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } if ( m_xDocCfgMgr.is() ) @@ -2928,7 +2954,9 @@ throw( RuntimeException ) xDocCfgMgr->removeConfigurationListener( Reference< XUIConfigurationListener >( static_cast< OWeakObject* >( this ), UNO_QUERY )); } - catch ( Exception& ) {} + catch (const Exception&) + { + } } m_xDocCfgMgr.clear(); diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index dafaa415ed37..2b8625834f65 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -324,10 +324,10 @@ Rectangle ToolbarLayoutManager::implts_calcDockingArea() { if ( isHorizontalDockingArea( pConstIter->m_aDockedData.m_nDockedArea )) { - if ( pConstIter->m_aDockedData.m_aPos.Y() > nCurrPos ) + if ( pConstIter->m_aDockedData.m_aPos.Y > nCurrPos ) { ++nCurrRowColumn; - nCurrPos = pConstIter->m_aDockedData.m_aPos.Y(); + nCurrPos = pConstIter->m_aDockedData.m_aPos.Y; aRowColumnSizes[nCurrDockingArea].push_back( 0 ); } @@ -336,10 +336,10 @@ Rectangle ToolbarLayoutManager::implts_calcDockingArea() } else { - if ( pConstIter->m_aDockedData.m_aPos.X() > nCurrPos ) + if ( pConstIter->m_aDockedData.m_aPos.X > nCurrPos ) { ++nCurrRowColumn; - nCurrPos = pConstIter->m_aDockedData.m_aPos.X(); + nCurrPos = pConstIter->m_aDockedData.m_aPos.X; aRowColumnSizes[nCurrDockingArea].push_back( 0 ); } @@ -506,7 +506,9 @@ bool ToolbarLayoutManager::destroyToolbar( const ::rtl::OUString& rResourceURL ) xWindow->removeWindowListener( uno::Reference< awt::XWindowListener >( static_cast< OWeakObject * >( this ), uno::UNO_QUERY )); } - catch( uno::Exception& ) {} + catch (const uno::Exception&) + { + } try { @@ -514,7 +516,9 @@ bool ToolbarLayoutManager::destroyToolbar( const ::rtl::OUString& rResourceURL ) xDockWindow->removeDockableWindowListener( uno::Reference< awt::XDockableWindowListener >( static_cast< OWeakObject * >( this ), uno::UNO_QUERY )); } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } else { @@ -708,7 +712,7 @@ bool ToolbarLayoutManager::dockToolbar( const ::rtl::OUString& rResourceURL, ui: aUIElement.m_aDockedData.m_nDockedArea = sal_Int16( eDockingArea ); if ( !isDefaultPos( aPos )) - aUIElement.m_aDockedData.m_aPos = ::Point( aPos.X, aPos.Y ); + aUIElement.m_aDockedData.m_aPos = aPos; if ( !xDockWindow->isFloating() ) { @@ -743,7 +747,7 @@ bool ToolbarLayoutManager::dockToolbar( const ::rtl::OUString& rResourceURL, ui: } ::Point aPixelPos; - ::Point aDockPos; + awt::Point aDockPos; implts_findNextDockingPos((ui::DockingArea)aUIElement.m_aDockedData.m_nDockedArea, aSize, aDockPos, aPixelPos ); aUIElement.m_aDockedData.m_aPos = aDockPos; } @@ -768,7 +772,9 @@ bool ToolbarLayoutManager::dockToolbar( const ::rtl::OUString& rResourceURL, ui: return true; } } - catch ( lang::DisposedException& ) {} + catch (const lang::DisposedException&) + { + } } return false; @@ -844,9 +850,17 @@ long ToolbarLayoutManager::childWindowEvent( VclSimpleEvent* pEvent ) const sal_uInt32 nCount = aListenerArray.size(); for ( sal_uInt32 i = 0; i < nCount; ++i ) { - try { aListenerArray[i]->functionExecute( aToolbarName, aCommand ); } - catch ( uno::RuntimeException& ) { throw; } - catch ( uno::Exception& ) {} + try + { + aListenerArray[i]->functionExecute( aToolbarName, aCommand ); + } + catch (const uno::RuntimeException&) + { + throw; + } + catch (const uno::Exception&) + { + } } } } @@ -1012,7 +1026,9 @@ void ToolbarLayoutManager::implts_createAddonsToolBars() if ( xWindow.is() ) xWindow->addWindowListener( uno::Reference< awt::XWindowListener >( static_cast< OWeakObject * >( this ), uno::UNO_QUERY )); } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } ::rtl::OUString aGenericAddonTitle = implts_generateGenericAddonToolbarTitle( i+1 ); @@ -1060,8 +1076,12 @@ void ToolbarLayoutManager::implts_createAddonsToolBars() } } } - catch ( container::NoSuchElementException& ) {} - catch ( lang::IllegalArgumentException& ) {} + catch (const container::NoSuchElementException&) + { + } + catch (const lang::IllegalArgumentException&) + { + } } } @@ -1158,8 +1178,13 @@ void ToolbarLayoutManager::implts_createNonContextSensitiveToolBars() /* SAFE AREA ----------------------------------------------------------------------------------------------- */ } } - catch ( uno::RuntimeException& ) { throw; } - catch ( uno::Exception& ) {} + catch (const uno::RuntimeException&) + { + throw; + } + catch (const uno::Exception&) + { + } if ( !aMakeVisibleToolbars.empty() ) ::std::for_each( aMakeVisibleToolbars.begin(), aMakeVisibleToolbars.end(),::boost::bind( &ToolbarLayoutManager::requestToolbar, this,_1 )); @@ -1233,8 +1258,13 @@ void ToolbarLayoutManager::implts_reparentToolbars() // possible that all elements have been disposed! xWindow = uno::Reference< awt::XWindow >( xUIElement->getRealInterface(), uno::UNO_QUERY ); } - catch ( uno::RuntimeException& ) { throw; } - catch ( uno::Exception& ) {} + catch (const uno::RuntimeException&) + { + throw; + } + catch (const uno::Exception&) + { + } Window* pWindow = VCLUnoHelper::GetWindow( xWindow ); if ( pWindow ) @@ -1306,7 +1336,9 @@ void ToolbarLayoutManager::implts_createToolBar( const ::rtl::OUString& aName, b static_cast< OWeakObject * >( this ), uno::UNO_QUERY )); xDockWindow->enableDocking( sal_True ); } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } /* SAFE AREA ----------------------------------------------------------------------------------------------- */ @@ -1378,8 +1410,12 @@ uno::Reference< ui::XUIElement > ToolbarLayoutManager::implts_createElement( con if ( xUIElementFactory.is() ) xUIElement = xUIElementFactory->createUIElement( aName, aPropSeq ); } - catch ( container::NoSuchElementException& ) {} - catch ( lang::IllegalArgumentException& ) {} + catch (const container::NoSuchElementException&) + { + } + catch (const lang::IllegalArgumentException&) + { + } implts_setToolbarCreation( false ); return xUIElement; @@ -1432,12 +1468,11 @@ void ToolbarLayoutManager::implts_setElementData( UIElement& rElement, const uno pWindow->SetText( rElement.m_aUIName ); } - ::Point aPos( rElement.m_aFloatingData.m_aPos.X(), - rElement.m_aFloatingData.m_aPos.Y() ); + awt::Point aPos(rElement.m_aFloatingData.m_aPos); bool bWriteData( false ); bool bUndefPos = hasDefaultPosValue( rElement.m_aFloatingData.m_aPos ); - bool bSetSize = ( rElement.m_aFloatingData.m_aSize.Width() != 0 && - rElement.m_aFloatingData.m_aSize.Height() != 0 ); + bool bSetSize = ( rElement.m_aFloatingData.m_aSize.Width != 0 && + rElement.m_aFloatingData.m_aSize.Height != 0 ); xDockWindow->setFloatingMode( sal_True ); if ( bUndefPos ) { @@ -1447,7 +1482,7 @@ void ToolbarLayoutManager::implts_setElementData( UIElement& rElement, const uno } if( bSetSize ) - xWindow->setOutputSize( AWTSize( rElement.m_aFloatingData.m_aSize ) ); + xWindow->setOutputSize(rElement.m_aFloatingData.m_aSize); else { if( pToolBox ) @@ -1467,7 +1502,7 @@ void ToolbarLayoutManager::implts_setElementData( UIElement& rElement, const uno // we resize the toolbar with the new (wrong) position. // To fix this problem we have to set the size BEFORE the // position. - xWindow->setPosSize( aPos.X(), aPos.Y(), 0, 0, awt::PosSize::POS ); + xWindow->setPosSize( aPos.X, aPos.Y, 0, 0, awt::PosSize::POS ); if ( bWriteData ) implts_writeWindowStateData( rElement ); @@ -1480,7 +1515,7 @@ void ToolbarLayoutManager::implts_setElementData( UIElement& rElement, const uno else { bool bSetSize( false ); - ::Point aDockPos; + awt::Point aDockPos; ::Point aPixelPos; ::Size aSize; @@ -1588,28 +1623,19 @@ sal_Bool ToolbarLayoutManager::implts_readWindowStateData( const rtl::OUString& { awt::Point aPoint; if ( aWindowState[n].Value >>= aPoint ) - { - rElementData.m_aDockedData.m_aPos.X() = aPoint.X; - rElementData.m_aDockedData.m_aPos.Y() = aPoint.Y; - } + rElementData.m_aDockedData.m_aPos = aPoint; } else if ( aWindowState[n].Name.equalsAscii( WINDOWSTATE_PROPERTY_POS )) { awt::Point aPoint; if ( aWindowState[n].Value >>= aPoint ) - { - rElementData.m_aFloatingData.m_aPos.X() = aPoint.X; - rElementData.m_aFloatingData.m_aPos.Y() = aPoint.Y; - } + rElementData.m_aFloatingData.m_aPos = aPoint; } else if ( aWindowState[n].Name.equalsAscii( WINDOWSTATE_PROPERTY_SIZE )) { awt::Size aSize; if ( aWindowState[n].Value >>= aSize ) - { - rElementData.m_aFloatingData.m_aSize.Width() = aSize.Width; - rElementData.m_aFloatingData.m_aSize.Height() = aSize.Height; - } + rElementData.m_aFloatingData.m_aSize = aSize; } else if ( aWindowState[n].Name.equalsAscii( WINDOWSTATE_PROPERTY_UINAME )) aWindowState[n].Value >>= rElementData.m_aUIName; @@ -1674,7 +1700,9 @@ sal_Bool ToolbarLayoutManager::implts_readWindowStateData( const rtl::OUString& return sal_True; } - catch ( container::NoSuchElementException& ) {} + catch (const container::NoSuchElementException&) + { + } } return sal_False; @@ -1696,11 +1724,13 @@ void ToolbarLayoutManager::implts_writeWindowStateData( const UIElement& rElemen // Check persistent flag of the user interface element xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Persistent" ))) >>= bPersistent; } - catch ( beans::UnknownPropertyException ) + catch (const beans::UnknownPropertyException&) { bPersistent = true; // Non-configurable elements should at least store their dimension/position } - catch ( lang::WrappedTargetException ) {} + catch (const lang::WrappedTargetException&) + { + } } if ( bPersistent && xPersistentWindowState.is() ) @@ -1716,22 +1746,16 @@ void ToolbarLayoutManager::implts_writeWindowStateData( const UIElement& rElemen aWindowState[2].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_DOCKINGAREA ); aWindowState[2].Value = uno::makeAny( static_cast< ui::DockingArea >( rElementData.m_aDockedData.m_nDockedArea ) ); - awt::Point aPos; - aPos.X = rElementData.m_aDockedData.m_aPos.X(); - aPos.Y = rElementData.m_aDockedData.m_aPos.Y(); + awt::Point aPos = rElementData.m_aDockedData.m_aPos; aWindowState[3].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_DOCKPOS ); aWindowState[3].Value <<= aPos; - aPos.X = rElementData.m_aFloatingData.m_aPos.X(); - aPos.Y = rElementData.m_aFloatingData.m_aPos.Y(); + aPos = rElementData.m_aFloatingData.m_aPos; aWindowState[4].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_POS ); aWindowState[4].Value <<= aPos; - awt::Size aSize; - aSize.Width = rElementData.m_aFloatingData.m_aSize.Width(); - aSize.Height = rElementData.m_aFloatingData.m_aSize.Height(); aWindowState[5].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_SIZE ); - aWindowState[5].Value <<= aSize; + aWindowState[5].Value <<= rElementData.m_aFloatingData.m_aSize; aWindowState[6].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_UINAME ); aWindowState[6].Value = uno::makeAny( rElementData.m_aUIName ); aWindowState[7].Name = ::rtl::OUString::createFromAscii( WINDOWSTATE_PROPERTY_LOCKED ); @@ -1749,7 +1773,9 @@ void ToolbarLayoutManager::implts_writeWindowStateData( const UIElement& rElemen xInsert->insertByName( aName, uno::makeAny( aWindowState )); } } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } // Reset flag @@ -1787,8 +1813,8 @@ void ToolbarLayoutManager::implts_writeNewWindowStateData( const rtl::OUString a rUIElement.m_bFloating = bFloating; if ( bFloating ) { - rUIElement.m_aFloatingData.m_aPos = ::Point( aPos.X, aPos.Y ); - rUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); + rUIElement.m_aFloatingData.m_aPos = awt::Point(aPos.X, aPos.Y); + rUIElement.m_aFloatingData.m_aSize = aSize; } } implts_writeWindowStateData( rUIElement ); @@ -1906,7 +1932,7 @@ void ToolbarLayoutManager::implts_setToolbar( const UIElement& rUIElement ) LAYOUT CODE PART FOR TOOLBARS ******************************************************************************/ -::Point ToolbarLayoutManager::implts_findNextCascadeFloatingPos() +awt::Point ToolbarLayoutManager::implts_findNextCascadeFloatingPos() { const sal_Int32 nHotZoneX = 50; const sal_Int32 nHotZoneY = 50; @@ -1919,8 +1945,8 @@ void ToolbarLayoutManager::implts_setToolbar( const UIElement& rUIElement ) uno::Reference< awt::XWindow > xLeftDockingWindow( m_xDockAreaWindows[ui::DockingArea_DOCKINGAREA_LEFT] ); aReadLock.unlock(); - ::Point aStartPos( nCascadeIndentX, nCascadeIndentY ); - ::Point aCurrPos( aStartPos ); + awt::Point aStartPos( nCascadeIndentX, nCascadeIndentY ); + awt::Point aCurrPos( aStartPos ); awt::Rectangle aRect; Window* pContainerWindow( 0 ); @@ -1929,15 +1955,15 @@ void ToolbarLayoutManager::implts_setToolbar( const UIElement& rUIElement ) SolarMutexGuard aGuard; pContainerWindow = VCLUnoHelper::GetWindow( xContainerWindow ); if ( pContainerWindow ) - aStartPos = pContainerWindow->OutputToScreenPixel( aStartPos ); + aStartPos = AWTPoint(pContainerWindow->OutputToScreenPixel(VCLPoint(aStartPos))); } // Determine size of top and left docking area awt::Rectangle aTopRect( xTopDockingWindow->getPosSize() ); awt::Rectangle aLeftRect( xLeftDockingWindow->getPosSize() ); - aStartPos.X() += aLeftRect.Width + nCascadeIndentX; - aStartPos.Y() += aTopRect.Height + nCascadeIndentY; + aStartPos.X += aLeftRect.Width + nCascadeIndentX; + aStartPos.Y += aTopRect.Height + nCascadeIndentY; aCurrPos = aStartPos; // Try to find a cascaded position for the new floating window @@ -1955,13 +1981,13 @@ void ToolbarLayoutManager::implts_setToolbar( const UIElement& rUIElement ) if ( pWindow && pWindow->IsVisible() ) { awt::Rectangle aFloatRect = xWindow->getPosSize(); - if ((( aFloatRect.X - nHotZoneX ) <= aCurrPos.X() ) && - ( aFloatRect.X >= aCurrPos.X() ) && - (( aFloatRect.Y - nHotZoneY ) <= aCurrPos.Y() ) && - ( aFloatRect.Y >= aCurrPos.Y() )) + if ((( aFloatRect.X - nHotZoneX ) <= aCurrPos.X ) && + ( aFloatRect.X >= aCurrPos.X ) && + (( aFloatRect.Y - nHotZoneY ) <= aCurrPos.Y ) && + ( aFloatRect.Y >= aCurrPos.Y )) { - aCurrPos.X() = aFloatRect.X + nCascadeIndentX; - aCurrPos.Y() = aFloatRect.Y + nCascadeIndentY; + aCurrPos.X = aFloatRect.X + nCascadeIndentX; + aCurrPos.Y = aFloatRect.Y + nCascadeIndentY; } } } @@ -2081,7 +2107,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD { if ( nCurrPos == -1 ) { - nCurrPos = rElement.m_aDockedData.m_aPos.Y(); + nCurrPos = rElement.m_aDockedData.m_aPos.Y; nLastPos = 0; SingleRowColumnWindowData aRowColumnWindowData; @@ -2090,7 +2116,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD } sal_Int32 nSpace( 0 ); - if ( rElement.m_aDockedData.m_aPos.Y() != nCurrPos ) + if ( rElement.m_aDockedData.m_aPos.Y != nCurrPos ) { if ( eDockingArea == ui::DockingArea_DOCKINGAREA_TOP ) nLastRowColPixelPos += rRowColumnsWindowData[nIndex].nStaticSize; @@ -2098,18 +2124,18 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD nLastRowColPixelPos -= rRowColumnsWindowData[nIndex].nStaticSize; ++nIndex; nLastPos = 0; - nCurrPos = rElement.m_aDockedData.m_aPos.Y(); + nCurrPos = rElement.m_aDockedData.m_aPos.Y; SingleRowColumnWindowData aRowColumnWindowData; aRowColumnWindowData.nRowColumn = nCurrPos; rRowColumnsWindowData.push_back( aRowColumnWindowData ); } // Calc space before an element and store it - nSpace = ( rElement.m_aDockedData.m_aPos.X() - nLastPos ); - if ( rElement.m_aDockedData.m_aPos.X() >= nLastPos ) + nSpace = ( rElement.m_aDockedData.m_aPos.X - nLastPos ); + if ( rElement.m_aDockedData.m_aPos.X >= nLastPos ) { rRowColumnsWindowData[nIndex].nSpace += nSpace; - nLastPos = rElement.m_aDockedData.m_aPos.X() + aPosSize.Width; + nLastPos = rElement.m_aDockedData.m_aPos.X + aPosSize.Width; } else { @@ -2121,8 +2147,8 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD rRowColumnsWindowData[nIndex].aRowColumnWindows.push_back( xWindow ); rRowColumnsWindowData[nIndex].aUIElementNames.push_back( rElement.m_aName ); rRowColumnsWindowData[nIndex].aRowColumnWindowSizes.push_back( - awt::Rectangle( rElement.m_aDockedData.m_aPos.X(), - rElement.m_aDockedData.m_aPos.Y(), + awt::Rectangle( rElement.m_aDockedData.m_aPos.X, + rElement.m_aDockedData.m_aPos.Y, aPosSize.Width, aPosSize.Height )); if ( rRowColumnsWindowData[nIndex].nStaticSize < aPosSize.Height ) @@ -2139,7 +2165,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD { if ( nCurrPos == -1 ) { - nCurrPos = rElement.m_aDockedData.m_aPos.X(); + nCurrPos = rElement.m_aDockedData.m_aPos.X; nLastPos = 0; SingleRowColumnWindowData aRowColumnWindowData; @@ -2148,7 +2174,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD } sal_Int32 nSpace( 0 ); - if ( rElement.m_aDockedData.m_aPos.X() != nCurrPos ) + if ( rElement.m_aDockedData.m_aPos.X != nCurrPos ) { if ( eDockingArea == ui::DockingArea_DOCKINGAREA_LEFT ) nLastRowColPixelPos += rRowColumnsWindowData[nIndex].nStaticSize; @@ -2156,18 +2182,18 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD nLastRowColPixelPos -= rRowColumnsWindowData[nIndex].nStaticSize; ++nIndex; nLastPos = 0; - nCurrPos = rElement.m_aDockedData.m_aPos.X(); + nCurrPos = rElement.m_aDockedData.m_aPos.X; SingleRowColumnWindowData aRowColumnWindowData; aRowColumnWindowData.nRowColumn = nCurrPos; rRowColumnsWindowData.push_back( aRowColumnWindowData ); } // Calc space before an element and store it - nSpace = ( rElement.m_aDockedData.m_aPos.Y() - nLastPos ); - if ( rElement.m_aDockedData.m_aPos.Y() > nLastPos ) + nSpace = ( rElement.m_aDockedData.m_aPos.Y - nLastPos ); + if ( rElement.m_aDockedData.m_aPos.Y > nLastPos ) { rRowColumnsWindowData[nIndex].nSpace += nSpace; - nLastPos = rElement.m_aDockedData.m_aPos.Y() + aPosSize.Height; + nLastPos = rElement.m_aDockedData.m_aPos.Y + aPosSize.Height; } else { @@ -2179,8 +2205,8 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfos( ui::DockingArea eD rRowColumnsWindowData[nIndex].aRowColumnWindows.push_back( xWindow ); rRowColumnsWindowData[nIndex].aUIElementNames.push_back( rElement.m_aName ); rRowColumnsWindowData[nIndex].aRowColumnWindowSizes.push_back( - awt::Rectangle( rElement.m_aDockedData.m_aPos.X(), - rElement.m_aDockedData.m_aPos.Y(), + awt::Rectangle( rElement.m_aDockedData.m_aPos.X, + rElement.m_aDockedData.m_aPos.Y, aPosSize.Width, aPosSize.Height )); if ( rRowColumnsWindowData[nIndex].nStaticSize < aPosSize.Width ) @@ -2213,7 +2239,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfoOnSingleRowCol( ui::D { if ( pIter->m_aDockedData.m_nDockedArea == eDockingArea ) { - bool bSameRowCol = bHorzDockArea ? ( pIter->m_aDockedData.m_aPos.Y() == nRowCol ) : ( pIter->m_aDockedData.m_aPos.X() == nRowCol ); + bool bSameRowCol = bHorzDockArea ? ( pIter->m_aDockedData.m_aPos.Y == nRowCol ) : ( pIter->m_aDockedData.m_aPos.X == nRowCol ); uno::Reference< ui::XUIElement > xUIElement( pIter->m_xUIElement ); if ( bSameRowCol && xUIElement.is() ) @@ -2260,19 +2286,19 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfoOnSingleRowCol( ui::D sal_Int32 nSpace; if ( isHorizontalDockingArea( eDockingArea )) { - nSpace = ( rElement.m_aDockedData.m_aPos.X() - nLastPos ); + nSpace = ( rElement.m_aDockedData.m_aPos.X - nLastPos ); // Calc space before an element and store it - if ( rElement.m_aDockedData.m_aPos.X() > nLastPos ) + if ( rElement.m_aDockedData.m_aPos.X > nLastPos ) rRowColumnWindowData.nSpace += nSpace; else nSpace = 0; - nLastPos = rElement.m_aDockedData.m_aPos.X() + aPosSize.Width; + nLastPos = rElement.m_aDockedData.m_aPos.X + aPosSize.Width; rRowColumnWindowData.aRowColumnWindowSizes.push_back( - awt::Rectangle( rElement.m_aDockedData.m_aPos.X(), rElement.m_aDockedData.m_aPos.Y(), + awt::Rectangle( rElement.m_aDockedData.m_aPos.X, rElement.m_aDockedData.m_aPos.Y, aPosSize.Width, aPosSize.Height )); if ( rRowColumnWindowData.nStaticSize < aPosSize.Height ) rRowColumnWindowData.nStaticSize = aPosSize.Height; @@ -2281,16 +2307,16 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfoOnSingleRowCol( ui::D else { // Calc space before an element and store it - nSpace = ( rElement.m_aDockedData.m_aPos.Y() - nLastPos ); - if ( rElement.m_aDockedData.m_aPos.Y() > nLastPos ) + nSpace = ( rElement.m_aDockedData.m_aPos.Y - nLastPos ); + if ( rElement.m_aDockedData.m_aPos.Y > nLastPos ) rRowColumnWindowData.nSpace += nSpace; else nSpace = 0; - nLastPos = rElement.m_aDockedData.m_aPos.Y() + aPosSize.Height; + nLastPos = rElement.m_aDockedData.m_aPos.Y + aPosSize.Height; rRowColumnWindowData.aRowColumnWindowSizes.push_back( - awt::Rectangle( rElement.m_aDockedData.m_aPos.X(), rElement.m_aDockedData.m_aPos.Y(), + awt::Rectangle( rElement.m_aDockedData.m_aPos.X, rElement.m_aDockedData.m_aPos.Y, aPosSize.Width, aPosSize.Height )); if ( rRowColumnWindowData.nStaticSize < aPosSize.Width ) rRowColumnWindowData.nStaticSize = aPosSize.Width; @@ -2413,7 +2439,7 @@ void ToolbarLayoutManager::implts_getDockingAreaElementInfoOnSingleRowCol( ui::D } } -void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingArea, const ::Size& aUIElementSize, ::Point& rVirtualPos, ::Point& rPixelPos ) +void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingArea, const ::Size& aUIElementSize, awt::Point& rVirtualPos, ::Point& rPixelPos ) { ReadGuard aReadLock( m_aLock ); uno::Reference< awt::XWindow > xDockingWindow( m_xDockAreaWindows[DockingArea] ); @@ -2476,7 +2502,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre { if ( rSpace >= nNeededSpace ) { - rVirtualPos = ::Point( nCurrPos, rRowColumnWindowData.nRowColumn ); + rVirtualPos = awt::Point( nCurrPos, rRowColumnWindowData.nRowColumn ); if ( DockingArea == ui::DockingArea_DOCKINGAREA_TOP ) rPixelPos = ::Point( nCurrPos, nPixelPos ); else @@ -2489,7 +2515,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre { if ( rSpace >= nNeededSpace ) { - rVirtualPos = ::Point( rRowColumnWindowData.nRowColumn, nCurrPos ); + rVirtualPos = awt::Point( rRowColumnWindowData.nRowColumn, nCurrPos ); if ( DockingArea == ui::DockingArea_DOCKINGAREA_LEFT ) rPixelPos = ::Point( nPixelPos, nTopDockingAreaSize + nCurrPos ); else @@ -2504,7 +2530,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre { if ( isHorizontalDockingArea( DockingArea )) { - rVirtualPos = ::Point( nCurrPos, rRowColumnWindowData.nRowColumn ); + rVirtualPos = awt::Point( nCurrPos, rRowColumnWindowData.nRowColumn ); if ( DockingArea == ui::DockingArea_DOCKINGAREA_TOP ) rPixelPos = ::Point( nCurrPos, nPixelPos ); else @@ -2513,7 +2539,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre } else { - rVirtualPos = ::Point( rRowColumnWindowData.nRowColumn, nCurrPos ); + rVirtualPos = awt::Point( rRowColumnWindowData.nRowColumn, nCurrPos ); if ( DockingArea == ui::DockingArea_DOCKINGAREA_LEFT ) rPixelPos = ::Point( nPixelPos, nTopDockingAreaSize + nCurrPos ); else @@ -2544,7 +2570,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre if ( isHorizontalDockingArea( DockingArea )) { - rVirtualPos = ::Point( 0, nNextFreeRowCol ); + rVirtualPos = awt::Point( 0, nNextFreeRowCol ); if ( DockingArea == ui::DockingArea_DOCKINGAREA_TOP ) rPixelPos = ::Point( 0, nFreeRowColPixelPos ); else @@ -2552,7 +2578,7 @@ void ToolbarLayoutManager::implts_findNextDockingPos( ui::DockingArea DockingAre } else { - rVirtualPos = ::Point( nNextFreeRowCol, 0 ); + rVirtualPos = awt::Point( nNextFreeRowCol, 0 ); rPixelPos = ::Point( aDockingWinSize.Width() - nFreeRowColPixelPos, 0 ); } } @@ -2822,6 +2848,7 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( // default docking operation, dock on the given row/column bool bOpOutsideOfDockingArea( !aDockingAreaRect.IsInside( rMousePos )); + std::vector< SingleRowColumnWindowData > aRowColumnsWindowData; rDockingOperation = DOCKOP_ON_COLROW; @@ -2900,8 +2927,8 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( aWindowRect = implts_determineFrontDockingRect( eDockedArea, nRowCol, aWindowRect,rUIElement.m_aName, aUIElementRect ); // Set virtual position - rUIElement.m_aDockedData.m_aPos.X() = aWindowRect.Left(); - rUIElement.m_aDockedData.m_aPos.Y() = nRowCol; + rUIElement.m_aDockedData.m_aPos.X = aWindowRect.Left(); + rUIElement.m_aDockedData.m_aPos.Y = nRowCol; } else { @@ -2917,8 +2944,8 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( // Set virtual position sal_Int32 nPosY = pDockingAreaWindow->ScreenToOutputPixel( pContainerWindow->OutputToScreenPixel( aWindowRect.TopLeft() )).Y(); - rUIElement.m_aDockedData.m_aPos.X() = nRowCol; - rUIElement.m_aDockedData.m_aPos.Y() = nPosY; + rUIElement.m_aDockedData.m_aPos.X = nRowCol; + rUIElement.m_aDockedData.m_aPos.Y = nPosY; } rTrackingRect = aWindowRect; @@ -2934,17 +2961,18 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( { aUIElementRect.SetPos( ::Point( aContainerWinSize.Width() - aTrackingRect.getWidth(), aWindowRect.Top() )); aUIElementRect.SetSize( ::Size( aTrackingRect.getWidth(), aWindowRect.getHeight() )); - rUIElement.m_aDockedData.m_aPos.X() = aUIElementRect.Left(); + rUIElement.m_aDockedData.m_aPos.X = aUIElementRect.Left(); + } else { aUIElementRect.SetPos( ::Point( aWindowRect.Right(), aWindowRect.Top() )); aUIElementRect.SetSize( ::Size( nSize, aWindowRect.getHeight() )); - rUIElement.m_aDockedData.m_aPos.X() = aWindowRect.Right(); + rUIElement.m_aDockedData.m_aPos.X = aWindowRect.Right(); } // Set virtual position - rUIElement.m_aDockedData.m_aPos.Y() = nRowCol; + rUIElement.m_aDockedData.m_aPos.Y = nRowCol; } else { @@ -2960,8 +2988,8 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( nPosY = pDockingAreaWindow->ScreenToOutputPixel( pContainerWindow->OutputToScreenPixel( aWindowRect.BottomRight() )).Y(); } - rUIElement.m_aDockedData.m_aPos.X() = nRowCol; - rUIElement.m_aDockedData.m_aPos.Y() = nPosY; + rUIElement.m_aDockedData.m_aPos.X = nRowCol; + rUIElement.m_aDockedData.m_aPos.Y = nPosY; } rTrackingRect = aUIElementRect; @@ -3022,9 +3050,9 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( } if ( bHorizontalDockArea ) - rUIElement.m_aDockedData.m_aPos.Y() = nRowCol; + rUIElement.m_aDockedData.m_aPos.Y = nRowCol; else - rUIElement.m_aDockedData.m_aPos.X() = nRowCol; + rUIElement.m_aDockedData.m_aPos.X = nRowCol; rTrackingRect.Move( nOffsetX, nOffsetY ); rTrackingRect.SetSize( aTrackingRect.GetSize() ); @@ -3057,24 +3085,24 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( if ( eDockedArea == ui::DockingArea_DOCKINGAREA_BOTTOM ) nPosY -= rTrackingRect.getHeight(); rTrackingRect.SetPos( Point( nPosX, nPosY )); - rUIElement.m_aDockedData.m_aPos.Y() = 0; + rUIElement.m_aDockedData.m_aPos.Y = 0; } else if ( rMousePos.Y() < ( aDockingAreaRect.Top() + ( nDockHeight / 2 ))) { rTrackingRect.SetPos( Point( nPosX, aDockingAreaRect.Top() - rTrackingRect.getHeight() )); if ( eDockedArea == ui::DockingArea_DOCKINGAREA_TOP ) - rUIElement.m_aDockedData.m_aPos.Y() = 0; + rUIElement.m_aDockedData.m_aPos.Y = 0; else - rUIElement.m_aDockedData.m_aPos.Y() = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; + rUIElement.m_aDockedData.m_aPos.Y = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; rDockingOperation = DOCKOP_BEFORE_COLROW; } else { rTrackingRect.SetPos( Point( nPosX, aDockingAreaRect.Bottom() )); if ( eDockedArea == ui::DockingArea_DOCKINGAREA_TOP ) - rUIElement.m_aDockedData.m_aPos.Y() = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; + rUIElement.m_aDockedData.m_aPos.Y = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; else - rUIElement.m_aDockedData.m_aPos.Y() = 0; + rUIElement.m_aDockedData.m_aPos.Y = 0; rDockingOperation = DOCKOP_AFTER_COLROW; } rTrackingRect.setWidth( nSize ); @@ -3084,7 +3112,7 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( nPosX = pDockingAreaWindow->ScreenToOutputPixel( pContainerWindow->OutputToScreenPixel( rTrackingRect.TopLeft() )).X(); } - rUIElement.m_aDockedData.m_aPos.X() = nPosX; + rUIElement.m_aDockedData.m_aPos.X = nPosX; } else { @@ -3103,24 +3131,24 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( if ( eDockedArea == ui::DockingArea_DOCKINGAREA_RIGHT ) nPosX -= rTrackingRect.getWidth(); rTrackingRect.SetPos( Point( nPosX, nPosY )); - rUIElement.m_aDockedData.m_aPos.X() = 0; + rUIElement.m_aDockedData.m_aPos.X = 0; } else if ( rMousePos.X() < ( aDockingAreaRect.Left() + ( nDockWidth / 2 ))) { rTrackingRect.SetPos( Point( aDockingAreaRect.Left() - rTrackingRect.getWidth(), nPosY )); if ( eDockedArea == ui::DockingArea_DOCKINGAREA_LEFT ) - rUIElement.m_aDockedData.m_aPos.X() = 0; + rUIElement.m_aDockedData.m_aPos.X = 0; else - rUIElement.m_aDockedData.m_aPos.X() = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; + rUIElement.m_aDockedData.m_aPos.X = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; rDockingOperation = DOCKOP_BEFORE_COLROW; } else { rTrackingRect.SetPos( Point( aDockingAreaRect.Right(), nPosY )); if ( eDockedArea == ui::DockingArea_DOCKINGAREA_LEFT ) - rUIElement.m_aDockedData.m_aPos.X() = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; + rUIElement.m_aDockedData.m_aPos.X = ( nMaxRowCol >= 0 ) ? nMaxRowCol+1 : 0; else - rUIElement.m_aDockedData.m_aPos.X() = 0; + rUIElement.m_aDockedData.m_aPos.X = 0; rDockingOperation = DOCKOP_AFTER_COLROW; } rTrackingRect.setHeight( nSize ); @@ -3130,7 +3158,7 @@ void ToolbarLayoutManager::implts_calcDockingPosSize( nPosY = pDockingAreaWindow->ScreenToOutputPixel( pContainerWindow->OutputToScreenPixel( rTrackingRect.TopLeft() )).Y(); } - rUIElement.m_aDockedData.m_aPos.Y() = nPosY; + rUIElement.m_aDockedData.m_aPos.Y = nPosY; } } } @@ -3187,6 +3215,7 @@ framework::ToolbarLayoutManager::DockingOperation ToolbarLayoutManager::implts_d aReadGuard.unlock(); bool bHorizontalDockArea( isHorizontalDockingArea( eDockingArea )); + sal_Int32 nTopDockingAreaSize( implts_getTopBottomDockingAreaSizes().Width() ); sal_Int32 nBottomDockingAreaSize( implts_getTopBottomDockingAreaSizes().Height() ); @@ -3212,8 +3241,8 @@ framework::ToolbarLayoutManager::DockingOperation ToolbarLayoutManager::implts_d aTrackingRect.setHeight( rRowColumnRect.getHeight() ); // Set virtual position - rUIElement.m_aDockedData.m_aPos.X() = nPosX; - rUIElement.m_aDockedData.m_aPos.Y() = nRowCol; + rUIElement.m_aDockedData.m_aPos.X = nPosX; + rUIElement.m_aDockedData.m_aPos.Y = nRowCol; } else { @@ -3248,8 +3277,8 @@ framework::ToolbarLayoutManager::DockingOperation ToolbarLayoutManager::implts_d } // Set virtual position - rUIElement.m_aDockedData.m_aPos.X() = nRowCol; - rUIElement.m_aDockedData.m_aPos.Y() = nDockPosY; + rUIElement.m_aDockedData.m_aPos.X = nRowCol; + rUIElement.m_aDockedData.m_aPos.Y = nDockPosY; } return aTrackingRect; @@ -3275,7 +3304,7 @@ void ToolbarLayoutManager::implts_renumberRowColumnData( aReadLock.unlock(); bool bHorzDockingArea( isHorizontalDockingArea( eDockingArea )); - sal_Int32 nRowCol( bHorzDockingArea ? rUIElement.m_aDockedData.m_aPos.Y() : rUIElement.m_aDockedData.m_aPos.X() ); + sal_Int32 nRowCol( bHorzDockingArea ? rUIElement.m_aDockedData.m_aPos.Y : rUIElement.m_aDockedData.m_aPos.X ); /* SAFE AREA ----------------------------------------------------------------------------------------------- */ WriteGuard aWriteLock( m_aLock ); @@ -3288,13 +3317,13 @@ void ToolbarLayoutManager::implts_renumberRowColumnData( if ( isDefaultPos( pIter->m_aDockedData.m_aPos )) continue; - sal_Int32 nWindowRowCol = ( bHorzDockingArea ) ? pIter->m_aDockedData.m_aPos.Y() : pIter->m_aDockedData.m_aPos.X(); + sal_Int32 nWindowRowCol = ( bHorzDockingArea ) ? pIter->m_aDockedData.m_aPos.Y : pIter->m_aDockedData.m_aPos.X; if ( nWindowRowCol >= nRowCol ) { if ( bHorzDockingArea ) - pIter->m_aDockedData.m_aPos.Y() += 1; + pIter->m_aDockedData.m_aPos.Y += 1; else - pIter->m_aDockedData.m_aPos.X() += 1; + pIter->m_aDockedData.m_aPos.X += 1; } } } @@ -3342,11 +3371,15 @@ void ToolbarLayoutManager::implts_renumberRowColumnData( xReplace->replaceByName( aWindowElements[i], makeAny( aPropValueSeq )); } } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } } } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } } @@ -3384,8 +3417,8 @@ throw( uno::RuntimeException ) bool bVisible = xWindow2->isVisible(); // update element data - aUIElement.m_aFloatingData.m_aPos = ::Point( aPos.X, aPos.Y ); - aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); + aUIElement.m_aFloatingData.m_aPos = awt::Point(aPos.X, aPos.Y); + aUIElement.m_aFloatingData.m_aSize = aSize; aUIElement.m_bVisible = bVisible; } @@ -3453,8 +3486,8 @@ throw (uno::RuntimeException) awt::Rectangle aPos = xWindow->getPosSize(); awt::Size aSize = xWindow->getOutputSize(); - aUIElement.m_aFloatingData.m_aPos = ::Point( aPos.X, aPos.Y ); - aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); + aUIElement.m_aFloatingData.m_aPos = awt::Point(aPos.X, aPos.Y); + aUIElement.m_aFloatingData.m_aSize = aSize; SolarMutexGuard aGuard; @@ -3492,6 +3525,8 @@ throw (uno::RuntimeException) uno::Reference< awt::XWindow > xBottomDockingWindow( m_xDockAreaWindows[ui::DockingArea_DOCKINGAREA_BOTTOM] ); uno::Reference< awt::XWindow2 > xContainerWindow( m_xContainerWindow ); UIElement aUIDockingElement( m_aDockUIElement ); + + DockingOperation eDockingOperation( DOCKOP_ON_COLROW ); bool bDockingInProgress( m_bDockingInProgress ); aReadLock.unlock(); @@ -3583,6 +3618,8 @@ throw (uno::RuntimeException) aTrackingRect.SetPos( aOutputPos ); ::Rectangle aNewDockingRect( aTrackingRect ); + + implts_calcDockingPosSize( aUIDockingElement, eDockingOperation, aNewDockingRect, aMousePos ); ::Point aScreenPos = pContainerWindow->OutputToScreenPixel( aNewDockingRect.TopLeft() ); @@ -3593,33 +3630,32 @@ throw (uno::RuntimeException) else if ( pToolBox && bDockingInProgress ) { bool bIsHorizontal = isToolboxHorizontalAligned( pToolBox ); - ::Size aFloatSize = aUIDockingElement.m_aFloatingData.m_aSize; - if ( aFloatSize.Width() > 0 && aFloatSize.Height() > 0 ) + awt::Size aFloatSize = aUIDockingElement.m_aFloatingData.m_aSize; + if ( aFloatSize.Width > 0 && aFloatSize.Height > 0 ) { - aUIDockingElement.m_aFloatingData.m_aPos = pContainerWindow->ScreenToOutputPixel( - ::Point( e.MousePos.X, e.MousePos.Y )); - aDockingData.TrackingRectangle.Height = aFloatSize.Height(); - aDockingData.TrackingRectangle.Width = aFloatSize.Width(); + aUIDockingElement.m_aFloatingData.m_aPos = AWTPoint(pContainerWindow->ScreenToOutputPixel(VCLPoint(e.MousePos))); + aDockingData.TrackingRectangle.Height = aFloatSize.Height; + aDockingData.TrackingRectangle.Width = aFloatSize.Width; } else { - aFloatSize = pToolBox->CalcWindowSizePixel(); + aFloatSize = AWTSize(pToolBox->CalcWindowSizePixel()); if ( !bIsHorizontal ) { // Floating toolbars are always horizontal aligned! We have to swap // width/height if we have a vertical aligned toolbar. - sal_Int32 nTemp = aFloatSize.Height(); - aFloatSize.Height() = aFloatSize.Width(); - aFloatSize.Width() = nTemp; + sal_Int32 nTemp = aFloatSize.Height; + aFloatSize.Height = aFloatSize.Width; + aFloatSize.Width = nTemp; } - aDockingData.TrackingRectangle.Height = aFloatSize.Height(); - aDockingData.TrackingRectangle.Width = aFloatSize.Width(); + aDockingData.TrackingRectangle.Height = aFloatSize.Height; + aDockingData.TrackingRectangle.Width = aFloatSize.Width; // For the first time we don't have any data about the floating size of a toolbar. // We calculate it and store it for later use. - aUIDockingElement.m_aFloatingData.m_aPos = pContainerWindow->ScreenToOutputPixel(::Point( e.MousePos.X, e.MousePos.Y )); - aUIDockingElement.m_aFloatingData.m_aSize = aFloatSize; + aUIDockingElement.m_aFloatingData.m_aPos = AWTPoint(pContainerWindow->ScreenToOutputPixel(VCLPoint(e.MousePos))); + aUIDockingElement.m_aFloatingData.m_aSize = aFloatSize; aUIDockingElement.m_aFloatingData.m_nLines = pToolBox->GetFloatingLines(); aUIDockingElement.m_aFloatingData.m_bIsHorizontal = isToolboxHorizontalAligned( pToolBox ); } @@ -3635,13 +3671,17 @@ throw (uno::RuntimeException) if ( !aDockingData.bFloating ) { m_aDockUIElement.m_aDockedData = aUIDockingElement.m_aDockedData; + + m_eDockOperation = eDockingOperation; } else m_aDockUIElement.m_aFloatingData = aUIDockingElement.m_aFloatingData; aWriteLock.unlock(); } - catch ( uno::Exception& ) {} + catch (const uno::Exception&) + { + } } return aDockingData; @@ -3670,7 +3710,7 @@ throw (uno::RuntimeException) uno::Reference< awt::XWindow > xWindow( aUIDockingElement.m_xUIElement->getRealInterface(), uno::UNO_QUERY ); rUIElement.m_aFloatingData = aUIDockingElement.m_aFloatingData; awt::Rectangle aTmpRect = xWindow->getPosSize(); - rUIElement.m_aFloatingData.m_aPos = ::Point( aTmpRect.X, aTmpRect.Y ); + rUIElement.m_aFloatingData.m_aPos = awt::Point(aTmpRect.X, aTmpRect.Y); // make changes also for our local data as we use it to make data persistent aUIDockingElement.m_aFloatingData = rUIElement.m_aFloatingData; } @@ -3768,8 +3808,8 @@ throw (uno::RuntimeException) if ( pWindow && pWindow->GetType() == WINDOW_TOOLBOX ) { ToolBox* pToolBox = static_cast< ToolBox *>( pWindow ); - aUIDockingElement.m_aFloatingData.m_aPos = pToolBox->GetPosPixel(); - aUIDockingElement.m_aFloatingData.m_aSize = pToolBox->GetOutputSizePixel(); + aUIDockingElement.m_aFloatingData.m_aPos = AWTPoint(pToolBox->GetPosPixel()); + aUIDockingElement.m_aFloatingData.m_aSize = AWTSize(pToolBox->GetOutputSizePixel()); aUIDockingElement.m_aFloatingData.m_nLines = pToolBox->GetFloatingLines(); aUIDockingElement.m_aFloatingData.m_bIsHorizontal = isToolboxHorizontalAligned( pToolBox ); } @@ -3841,15 +3881,15 @@ throw (uno::RuntimeException) if ( !bSetSize ) { if ( pToolBox ) - aUIDockingElement.m_aFloatingData.m_aSize = pToolBox->CalcFloatingWindowSizePixel(); + aUIDockingElement.m_aFloatingData.m_aSize = AWTSize(pToolBox->CalcFloatingWindowSizePixel()); else - aUIDockingElement.m_aFloatingData.m_aSize = pWindow->GetOutputSizePixel(); + aUIDockingElement.m_aFloatingData.m_aSize = AWTSize(pWindow->GetOutputSizePixel()); } - xWindow->setPosSize( aUIDockingElement.m_aFloatingData.m_aPos.X(), - aUIDockingElement.m_aFloatingData.m_aPos.Y(), + xWindow->setPosSize( aUIDockingElement.m_aFloatingData.m_aPos.X, + aUIDockingElement.m_aFloatingData.m_aPos.Y, 0, 0, awt::PosSize::POS ); - xWindow->setOutputSize( AWTSize( aUIDockingElement.m_aFloatingData.m_aSize ) ); + xWindow->setOutputSize(aUIDockingElement.m_aFloatingData.m_aSize); } else { @@ -3858,7 +3898,7 @@ throw (uno::RuntimeException) // Docking on its default position without a preset position - // we have to find a good place for it. ::Point aPixelPos; - ::Point aDockPos; + awt::Point aDockPos; ::Size aSize; { @@ -4004,9 +4044,15 @@ throw (uno::RuntimeException) if ( xPropSet.is() ) xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "UIName" ))) >>= aUIName; } - catch ( container::NoSuchElementException& ) {} - catch ( beans::UnknownPropertyException& ) {} - catch ( lang::WrappedTargetException& ) {} + catch (const container::NoSuchElementException&) + { + } + catch (const beans::UnknownPropertyException&) + { + } + catch (const lang::WrappedTargetException&) + { + } { SolarMutexGuard aGuard; @@ -4151,7 +4197,9 @@ bool ToolbarLayoutManager::floatToolbar( const ::rtl::OUString& rResourceURL ) return true; } } - catch ( lang::DisposedException& ) {} + catch (const lang::DisposedException&) + { + } } return false; @@ -4176,7 +4224,9 @@ bool ToolbarLayoutManager::lockToolbar( const ::rtl::OUString& rResourceURL ) return true; } } - catch ( lang::DisposedException& ) {} + catch (const lang::DisposedException&) + { + } } return false; @@ -4201,7 +4251,9 @@ bool ToolbarLayoutManager::unlockToolbar( const ::rtl::OUString& rResourceURL ) return true; } } - catch ( lang::DisposedException& ) {} + catch (const lang::DisposedException&) + { + } } return false; @@ -4262,11 +4314,7 @@ awt::Point ToolbarLayoutManager::getToolbarPos( const ::rtl::OUString& rResource aPos.Y = aRect.Y; } else - { - ::Point aVirtualPos = aUIElement.m_aDockedData.m_aPos; - aPos.X = aVirtualPos.X(); - aPos.Y = aVirtualPos.Y(); - } + aPos = aUIElement.m_aDockedData.m_aPos; } return aPos; @@ -4281,7 +4329,7 @@ void ToolbarLayoutManager::setToolbarSize( const ::rtl::OUString& rResourceURL, if ( xWindow.is() && xDockWindow.is() && xDockWindow->isFloating() ) { xWindow->setOutputSize( aSize ); - aUIElement.m_aFloatingData.m_aSize = ::Size( aSize.Width, aSize.Height ); + aUIElement.m_aFloatingData.m_aSize = aSize; implts_setToolbar( aUIElement ); implts_writeWindowStateData( aUIElement ); implts_sortUIElements(); @@ -4297,7 +4345,7 @@ void ToolbarLayoutManager::setToolbarPos( const ::rtl::OUString& rResourceURL, c if ( xWindow.is() && xDockWindow.is() && xDockWindow->isFloating() ) { xWindow->setPosSize( aPos.X, aPos.Y, 0, 0, awt::PosSize::POS ); - aUIElement.m_aFloatingData.m_aPos = ::Point( aPos.X, aPos.Y ); + aUIElement.m_aFloatingData.m_aPos = aPos; implts_setToolbar( aUIElement ); implts_writeWindowStateData( aUIElement ); implts_sortUIElements(); diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx index 440b333f4f34..0667d2e6592a 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx @@ -232,7 +232,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper3< ::com::sun::star::a // layout methods //--------------------------------------------------------------------------------------------------------- void implts_setDockingAreaWindowSizes( const ::com::sun::star::awt::Rectangle& rBorderSpace ); - ::Point implts_findNextCascadeFloatingPos(); + ::com::sun::star::awt::Point implts_findNextCascadeFloatingPos(); void implts_renumberRowColumnData( ::com::sun::star::ui::DockingArea eDockingArea, DockingOperation eDockingOperation, const UIElement& rUIElement ); void implts_calcWindowPosSizeOnSingleRowColumn( sal_Int32 nDockingArea, sal_Int32 nOffset, @@ -276,7 +276,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper3< ::com::sun::star::a void implts_getDockingAreaElementInfos( ::com::sun::star::ui::DockingArea DockingArea, std::vector< SingleRowColumnWindowData >& rRowColumnsWindowData ); void implts_getDockingAreaElementInfoOnSingleRowCol( ::com::sun::star::ui::DockingArea, sal_Int32 nRowCol, SingleRowColumnWindowData& rRowColumnWindowData ); - void implts_findNextDockingPos( ::com::sun::star::ui::DockingArea DockingArea, const ::Size& aUIElementSize, ::Point& rVirtualPos, ::Point& rPixelPos ); + void implts_findNextDockingPos( ::com::sun::star::ui::DockingArea DockingArea, const ::Size& aUIElementSize, ::com::sun::star::awt::Point& rVirtualPos, ::Point& rPixelPos ); void implts_setTrackingRect( ::com::sun::star::ui::DockingArea eDockingArea, const ::Point& rMousePos, ::Rectangle& rTrackingRect ); //--------------------------------------------------------------------------------------------------------- diff --git a/framework/source/layoutmanager/uielement.cxx b/framework/source/layoutmanager/uielement.cxx index ac3dd6bf1ac0..54833b9e0235 100644 --- a/framework/source/layoutmanager/uielement.cxx +++ b/framework/source/layoutmanager/uielement.cxx @@ -71,11 +71,11 @@ namespace framework { if ( m_bFloating ) { - bool bEqual = ( m_aFloatingData.m_aPos.Y() == aUIElement.m_aFloatingData.m_aPos.Y() ); + bool bEqual = ( m_aFloatingData.m_aPos.Y == aUIElement.m_aFloatingData.m_aPos.Y ); if ( bEqual ) - return ( m_aFloatingData.m_aPos.X() < aUIElement.m_aFloatingData.m_aPos.X() ); + return ( m_aFloatingData.m_aPos.X < aUIElement.m_aFloatingData.m_aPos.X ); else - return ( m_aFloatingData.m_aPos.Y() < aUIElement.m_aFloatingData.m_aPos.Y() ); + return ( m_aFloatingData.m_aPos.Y < aUIElement.m_aFloatingData.m_aPos.Y ); } else { @@ -88,11 +88,11 @@ namespace framework if ( m_aDockedData.m_nDockedArea == ui::DockingArea_DOCKINGAREA_TOP || m_aDockedData.m_nDockedArea == ui::DockingArea_DOCKINGAREA_BOTTOM ) { - if ( !( m_aDockedData.m_aPos.Y() == aUIElement.m_aDockedData.m_aPos.Y() ) ) - return ( m_aDockedData.m_aPos.Y() < aUIElement.m_aDockedData.m_aPos.Y() ); + if ( !( m_aDockedData.m_aPos.Y == aUIElement.m_aDockedData.m_aPos.Y ) ) + return ( m_aDockedData.m_aPos.Y < aUIElement.m_aDockedData.m_aPos.Y ); else { - bool bEqual = ( m_aDockedData.m_aPos.X() == aUIElement.m_aDockedData.m_aPos.X() ); + bool bEqual = ( m_aDockedData.m_aPos.X == aUIElement.m_aDockedData.m_aPos.X ); if ( bEqual ) { if ( m_bUserActive && !aUIElement.m_bUserActive ) @@ -103,16 +103,16 @@ namespace framework return sal_False; } else - return ( m_aDockedData.m_aPos.X() <= aUIElement.m_aDockedData.m_aPos.X() ); + return ( m_aDockedData.m_aPos.X <= aUIElement.m_aDockedData.m_aPos.X ); } } else { - if ( !( m_aDockedData.m_aPos.X() == aUIElement.m_aDockedData.m_aPos.X() ) ) - return ( m_aDockedData.m_aPos.X() < aUIElement.m_aDockedData.m_aPos.X() ); + if ( !( m_aDockedData.m_aPos.X == aUIElement.m_aDockedData.m_aPos.X ) ) + return ( m_aDockedData.m_aPos.X < aUIElement.m_aDockedData.m_aPos.X ); else { - bool bEqual = ( m_aDockedData.m_aPos.Y() == aUIElement.m_aDockedData.m_aPos.Y() ); + bool bEqual = ( m_aDockedData.m_aPos.Y == aUIElement.m_aDockedData.m_aPos.Y ); if ( bEqual ) { if ( m_bUserActive && !aUIElement.m_bUserActive ) @@ -123,7 +123,7 @@ namespace framework return sal_False; } else - return ( m_aDockedData.m_aPos.Y() <= aUIElement.m_aDockedData.m_aPos.Y() ); + return ( m_aDockedData.m_aPos.Y <= aUIElement.m_aDockedData.m_aPos.Y ); } } } diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index e4f73e58c16f..784f6f765d27 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -1794,7 +1794,7 @@ void LoadEnv::impl_applyPersistentWindowState(const css::uno::Reference< css::aw return; SystemWindow* pSystemWindow = (SystemWindow*)pWindowCheck; - pSystemWindow->SetWindowState(U2B_ENC(sWindowState,RTL_TEXTENCODING_UTF8)); + pSystemWindow->SetWindowState(rtl::OUStringToOString(sWindowState,RTL_TEXTENCODING_UTF8)); // <- SOLAR SAFE } } diff --git a/framework/source/lomenubar/FrameHelper.cxx b/framework/source/lomenubar/FrameHelper.cxx index 8153ad6fa9df..b31335102fc7 100644 --- a/framework/source/lomenubar/FrameHelper.cxx +++ b/framework/source/lomenubar/FrameHelper.cxx @@ -647,7 +647,7 @@ FrameHelper::getLabelFromCommandURL (OUString commandURL) { m_xUICommands->getByName (commandURL) >>= commandProps; } - catch (com::sun::star::container::NoSuchElementException e) + catch (const com::sun::star::container::NoSuchElementException&) { return label; } diff --git a/framework/source/lomenubar/exports.cxx b/framework/source/lomenubar/exports.cxx index bb4804e68fe5..db3e07bfff04 100644 --- a/framework/source/lomenubar/exports.cxx +++ b/framework/source/lomenubar/exports.cxx @@ -40,27 +40,9 @@ namespace css = ::com::sun::star; -static void writeInfo(const css::uno::Reference< css::registry::XRegistryKey >& xRegistryKey , - const char* pImplementationName, - const char* pServiceName ) -{ - ::rtl::OUStringBuffer sKey(256); - sKey.append (::rtl::OUString::createFromAscii(pImplementationName)); - sKey.appendAscii("/UNO/SERVICES/"); - sKey.append (::rtl::OUString::createFromAscii(pServiceName)); - - xRegistryKey->createKey(sKey.makeStringAndClear()); -} - extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(const sal_Char** ppEnvTypeName, - uno_Environment** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - -SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(const sal_Char* pImplName , +SAL_DLLPUBLIC_EXPORT void* SAL_CALL lomenubar_component_getFactory(const sal_Char* pImplName , void* pServiceManager, void* /*pRegistryKey*/ ) { diff --git a/framework/source/register/register3rdcomponents.cxx b/framework/source/register/register3rdcomponents.cxx index c4fa80798507..a045ea7cba0f 100644 --- a/framework/source/register/register3rdcomponents.cxx +++ b/framework/source/register/register3rdcomponents.cxx @@ -46,8 +46,6 @@ #include <service2.hxx> #endif - COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORIE( Service1 ) else IFFACTORIE( Service2 ) @@ -58,8 +56,6 @@ #include <dispatch/systemexec.hxx> #include <jobs/shelljob.hxx> -COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORY( ::framework::HelpOnStartup ) else IFFACTORY( ::framework::TabWinFactory ) else IFFACTORY( ::framework::SystemExec ) else diff --git a/framework/source/register/registerlogindialog.cxx b/framework/source/register/registerlogindialog.cxx index c0f54947e8e3..f9d7e0091960 100644 --- a/framework/source/register/registerlogindialog.cxx +++ b/framework/source/register/registerlogindialog.cxx @@ -47,8 +47,6 @@ #include <service2.hxx> #endif - COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORIE( Service1 ) else IFFACTORIE( Service2 ) @@ -57,8 +55,6 @@ #include <services/logindialog.hxx> -COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORY( ::framework::LoginDialog ) ) diff --git a/framework/source/register/registerservices.cxx b/framework/source/register/registerservices.cxx index a69f44a03f2d..54695d733e0c 100644 --- a/framework/source/register/registerservices.cxx +++ b/framework/source/register/registerservices.cxx @@ -44,8 +44,6 @@ #include <service2.hxx> #endif - COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORIE( Service1 ) else IFFACTORIE( Service2 ) @@ -91,8 +89,6 @@ #include <services/substitutepathvars.hxx> #include <services/pathsettings.hxx> -COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORY( ::framework::URLTransformer ) else IFFACTORY( ::framework::Desktop ) else IFFACTORY( ::framework::Frame ) else diff --git a/framework/source/register/registertemp.cxx b/framework/source/register/registertemp.cxx index 9680c2c288ff..b420fdfe02cd 100644 --- a/framework/source/register/registertemp.cxx +++ b/framework/source/register/registertemp.cxx @@ -46,8 +46,6 @@ #include <service2.hxx> #endif - COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORIE( Service1 ) else IFFACTORIE( Service2 ) @@ -76,8 +74,6 @@ #include <uielement/toolbarsmenucontroller.hxx> #include <uielement/popupmenucontroller.hxx> -COMPONENTGETIMPLEMENTATIONENVIRONMENT - COMPONENTGETFACTORY ( IFFACTORY( ::framework::MediaTypeDetectionHelper ) IFFACTORY( ::framework::MailToDispatcher ) else IFFACTORY( ::framework::ServiceHandler ) else diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 2f8819c7685c..3455daf1c787 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -2661,7 +2661,10 @@ void AutoRecovery::implts_openOneDoc(const ::rtl::OUString& sURL // put the filter name into the descriptor - we're not going to involve any type detection, so // the document might be lost without the FilterName property - lDescriptor[ ::comphelper::MediaDescriptor::PROP_FILTERNAME() ] <<= rInfo.RealFilter; + if ( (rInfo.DocumentState & AutoRecovery::E_TRY_LOAD_ORIGINAL) == AutoRecovery::E_TRY_LOAD_ORIGINAL) + lDescriptor[ ::comphelper::MediaDescriptor::PROP_FILTERNAME() ] <<= rInfo.RealFilter; + else + lDescriptor[ ::comphelper::MediaDescriptor::PROP_FILTERNAME() ] <<= rInfo.DefaultFilter; if ( sURL == rInfo.FactoryURL ) { diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 14f6dc954588..a475abd93ae3 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -185,7 +185,7 @@ BackingWindow::BackingWindow( Window* i_pParent ) : } } } - catch (Exception& ) + catch (const Exception&) { } @@ -905,25 +905,6 @@ IMPL_LINK( BackingWindow, ToolboxHdl, void*, EMPTYARG ) pNodePath = "/org.openoffice.Office.Common/Help/StartCenter"; pNode = "AddFeatureURL"; break; - case nItemId_Reg: - try - { - // create the Desktop component which can load components - Reference < lang::XMultiServiceFactory > xFactory = ::comphelper::getProcessServiceFactory(); - if( xFactory.is() ) - { - Reference< task::XJobExecutor > xProductRegistration( - xFactory->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.setup.ProductRegistration" ) ) ), - UNO_QUERY_THROW ); - - // tell it that the user wants to register - xProductRegistration->trigger( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RegistrationRequired" ) ) ); - } - } - catch( const Exception& ) - { - } - break; case nItemId_Info: pNodePath = "/org.openoffice.Office.Common/Help/StartCenter"; pNode = "InfoURL"; @@ -967,7 +948,7 @@ IMPL_LINK( BackingWindow, ToolboxHdl, void*, EMPTYARG ) } } } - catch (Exception& ) + catch (const Exception&) { } } @@ -1060,7 +1041,7 @@ static long implDispatchDelayed( void*, void* pArg ) { pDispatch->xDispatch->dispatch( pDispatch->aDispatchURL, pDispatch->aArgs ); } - catch( Exception ) + catch (const Exception&) { } @@ -1108,11 +1089,11 @@ void BackingWindow::dispatchURL( const rtl::OUString& i_rURL, delete pDisp; // event could not be posted for unknown reason, at least don't leak } } - catch ( com::sun::star::uno::RuntimeException& ) + catch (const com::sun::star::uno::RuntimeException&) { throw; } - catch ( com::sun::star::uno::Exception& ) + catch (const com::sun::star::uno::Exception&) { } } diff --git a/framework/source/services/backingwindow.hxx b/framework/source/services/backingwindow.hxx index 5eebccb80c5f..410862f51aaa 100644 --- a/framework/source/services/backingwindow.hxx +++ b/framework/source/services/backingwindow.hxx @@ -135,7 +135,6 @@ namespace framework std::vector< LoadRecentFile > maRecentFiles; static const int nItemId_Extensions = 1; - static const int nItemId_Reg = 2; static const int nItemId_Info = 3; static const int nItemId_TplRep = 4; static const int nShadowTop = 32; diff --git a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx index 59cb3b531e2b..efa4dfb901ae 100644 --- a/framework/source/uiconfiguration/moduleuicfgsupplier.cxx +++ b/framework/source/uiconfiguration/moduleuicfgsupplier.cxx @@ -122,12 +122,18 @@ ModuleUIConfigurationManagerSupplier::ModuleUIConfigurationManagerSupplier( cons , m_aListenerContainer( m_aLock.getShareableOslMutex() ) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "ModuleUIConfigurationManagerSupplier::ModuleUIConfigurationManagerSupplier" ); - // Retrieve known modules and insert them into our boost::unordered_map to speed-up access time. - Reference< XNameAccess > xNameAccess( m_xModuleMgr, UNO_QUERY ); - const Sequence< ::rtl::OUString > aNameSeq = xNameAccess->getElementNames(); - const ::rtl::OUString* pNameSeq = aNameSeq.getConstArray(); - for ( sal_Int32 n = 0; n < aNameSeq.getLength(); n++ ) - m_aModuleToModuleUICfgMgrMap.insert( ModuleToModuleCfgMgr::value_type( pNameSeq[n], Reference< XUIConfigurationManager >() )); + try + { + // Retrieve known modules and insert them into our boost::unordered_map to speed-up access time. + Reference< XNameAccess > xNameAccess( m_xModuleMgr, UNO_QUERY_THROW ); + const Sequence< ::rtl::OUString > aNameSeq = xNameAccess->getElementNames(); + const ::rtl::OUString* pNameSeq = aNameSeq.getConstArray(); + for ( sal_Int32 n = 0; n < aNameSeq.getLength(); n++ ) + m_aModuleToModuleUICfgMgrMap.insert( ModuleToModuleCfgMgr::value_type( pNameSeq[n], Reference< XUIConfigurationManager >() )); + } + catch(...) + { + } } ModuleUIConfigurationManagerSupplier::~ModuleUIConfigurationManagerSupplier() diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 3284067a5804..62ddc7338a68 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -782,7 +782,6 @@ void SAL_CALL MenuBarManager::disposing( const EventObject& Source ) throw ( Run void MenuBarManager::CheckAndAddMenuExtension( Menu* pMenu ) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "MenuBarManager::CheckAndAddMenuExtension" ); - static const char REFERENCECOMMAND_AFTER[] = ".uno:OnlineRegistrationDlg"; static const char REFERENCECOMMAND_BEFORE[] = ".uno:About"; // retrieve menu extension item @@ -793,24 +792,18 @@ void MenuBarManager::CheckAndAddMenuExtension( Menu* pMenu ) // remove all old window list entries from menu sal_uInt16 nNewItemId( 0 ); sal_uInt16 nInsertPos( MENU_APPEND ); - sal_uInt16 nAfterPos( MENU_APPEND ); sal_uInt16 nBeforePos( MENU_APPEND ); - String aCommandAfter( String::CreateFromAscii ( REFERENCECOMMAND_AFTER )); String aCommandBefore( String::CreateFromAscii ( REFERENCECOMMAND_BEFORE )); for ( sal_uInt16 n = 0; n < pMenu->GetItemCount(); n++ ) { sal_uInt16 nItemId = pMenu->GetItemId( n ); nNewItemId = std::max( nItemId, nNewItemId ); - if ( pMenu->GetItemCommand( nItemId ) == aCommandAfter ) - nAfterPos = n+1; - else if ( pMenu->GetItemCommand( nItemId ) == aCommandBefore ) + if ( pMenu->GetItemCommand( nItemId ) == aCommandBefore ) nBeforePos = n; } ++nNewItemId; - if ( nAfterPos != MENU_APPEND ) - nInsertPos = nAfterPos; - else if ( nBeforePos != MENU_APPEND ) + if ( nBeforePos != MENU_APPEND ) nInsertPos = nBeforePos; pMenu->InsertItem( nNewItemId, aMenuItem.aLabel, 0, nInsertPos ); diff --git a/framework/test/test.cxx b/framework/test/test.cxx deleted file mode 100644 index 08ace331836a..000000000000 --- a/framework/test/test.cxx +++ /dev/null @@ -1,1262 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ -#include <classes/servicemanager.hxx> -#include <classes/filtercache.hxx> -#include <macros/generic.hxx> -#include <macros/debug.hxx> -#include <services.h> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ -#include <com/sun/star/frame/XDesktop.hpp> -#include <com/sun/star/frame/XFrame.hpp> -#include <com/sun/star/awt/XWindow.hpp> -#include <com/sun/star/frame/XFrameLoader.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> -#include <com/sun/star/frame/XLoadEventListener.hpp> -#include <com/sun/star/frame/XDispatchProvider.hpp> -#include <com/sun/star/util/URL.hpp> -#include <com/sun/star/frame/FrameSearchFlag.hpp> -#include <com/sun/star/frame/XFrames.hpp> -#include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/frame/XComponentLoader.hpp> -#include <com/sun/star/frame/XTasksSupplier.hpp> -#include <com/sun/star/task/XStatusIndicatorFactory.hpp> -#include <com/sun/star/beans/XMultiPropertySet.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/mozilla/XPluginInstancePeer.hpp> -#include <com/sun/star/bridge/XInstanceProvider.hpp> -#include <com/sun/star/document/XTypeDetection.hpp> -#include <com/sun/star/container/XNameAccess.hpp> -#include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/container/XElementAccess.hpp> -#include <com/sun/star/frame/XConfigManager.hpp> - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <comphelper/processfactory.hxx> -#include <com/sun/star/uno/Reference.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> -#include <toolkit/helper/vclunohelper.hxx> -#include <svtools/unoiface.hxx> -#include <tools/urlobj.hxx> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> -#include <stdio.h> - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -#define APPLICATIONNAME "FrameWork - Testapplication" - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::rtl ; -using namespace ::comphelper ; -using namespace ::framework ; -using namespace ::cppu ; -using namespace ::com::sun::star::uno ; -using namespace ::com::sun::star::lang ; -using namespace ::com::sun::star::frame ; -using namespace ::com::sun::star::awt ; -using namespace ::com::sun::star::beans ; -using namespace ::com::sun::star::util ; -using namespace ::com::sun::star::task ; -using namespace ::com::sun::star::mozilla ; -using namespace ::com::sun::star::bridge ; -using namespace ::com::sun::star::document ; -using namespace ::com::sun::star::container ; - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -/*-***************************************************************************************************************/ -class TestApplication : public Application -{ - //************************************************************************************************************* - public: - - void Main(); - - //************************************************************************************************************* - private: - - #ifdef TEST_DESKTOP - void impl_testDesktop ( const Reference< XDesktop >& xDesktop ); - void impl_buildTree ( const Reference< XDesktop >& xDesktop ); - void impl_logTree ( const Reference< XDesktop >& xDesktop ); - - #endif - - #ifdef TEST_PLUGIN - void impl_testPlugIn ( const Reference< XDesktop >& xDesktop, const Reference< XMultiServiceFactory >& xFactory ); - #endif - - #ifdef TEST_LOGINDIALOG - void impl_testLoginDialog(); - #endif - - #ifdef TEST_FILTERCACHE - void impl_testFilterCache(); - #endif - - #ifdef TEST_TYPEDETECTION - void impl_testTypeDetection(); - #endif - - #ifdef TEST_FILTERREGISTRATION - void impl_testFilterRegistration(); - #endif - - #ifdef TEST_TREESEARCH - sal_Bool impl_testTreeSearch(); - #endif - - //************************************************************************************************************* - private: - - //************************************************************************************************************* - private: - - Reference< XMultiServiceFactory > m_xFactory; - -}; // class TestApplication - -//_________________________________________________________________________________________________________________ -// global variables -//_________________________________________________________________________________________________________________ - -TestApplication aTestApplication ; - -//_________________________________________________________________________________________________________________ -// main -//_________________________________________________________________________________________________________________ - -void TestApplication::Main() -{ - - /**-*********************************************************************************************************** - initialize program - **************************************************************************************************************/ - - // Init global servicemanager and set it. - ServiceManager aManager; - m_xFactory = aManager.getGlobalUNOServiceManager(); - setProcessServiceFactory( m_xFactory ); - - // Control sucess of operation. - LOG_ASSERT( !(m_xFactory.is() ==sal_False ), "TestApplication::Main()\nCan't create global service manager.\n\n" ) - LOG_ASSERT( !(getProcessServiceFactory()!=m_xFactory), "TestApplication::Main()\nGlobal servicemanager not set in UNOTOOLS.\n\n" ) - - /**-*********************************************************************************************************** - test area - **************************************************************************************************************/ - - sal_Bool bState = sal_True; - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_FILTERCACHE - impl_testFilterCache(); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_TYPEDETECTION - impl_testTypeDetection(); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_LOGINDIALOG - ResMgr* pRessourceManager = CREATEVERSIONRESMGR( lgd ); - Resource::SetResManager( pRessourceManager ); - impl_testLoginDialog(); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_DESKTOP - Reference< XDesktop > xDesktop( xGlobalServiceManager->createInstance( SERVICENAME_DESKTOP ), UNO_QUERY ); - impl_testDesktop( xDesktop ); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_PLUGIN - impl_testPlugIn( xDesktop, xGlobalServiceManager ); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_FILTERREGISTRATION - impl_testFilterRegistration(); - #endif - - //------------------------------------------------------------------------------------------------------------- - #ifdef TEST_TREESEARCH - bState = impl_testTreeSearch(); - #endif - - if( bState == sal_True ) - { - LOG_ERROR( "TestApplication::Main()", "Test successful ..." ) - } - else - { - LOG_ERROR( "TestApplication::Main()", "Test failed ..." ) - } -} - -//_________________________________________________________________________________________________________________ -// test method -//_________________________________________________________________________________________________________________ -#ifdef TEST_TYPEDETECTION -void TestApplication::impl_testTypeDetection() -{ - // We use a string buffer to log important informations and search results. - // Errors are shown directly by an assert! - OUStringBuffer sBuffer( 100000 ); - - // Create a new type detection service. - Reference< XTypeDetection > xTypeDetection( getProcessServiceFactory()->createInstance( SERVICENAME_TYPEDETECTION ), UNO_QUERY ); - LOG_ASSERT( !(xTypeDetection.is()==sal_False), "TestApplication::impl_testTypeDetection()\nCouldn't create the type detection service.\n" ); - - if( xTypeDetection.is() == sal_True ) - { - // a) Check his implementation and his supported interfaces first. - Reference< XInterface > xInterface ( xTypeDetection, UNO_QUERY ); - Reference< XTypeProvider > xTypeProvider ( xTypeDetection, UNO_QUERY ); - Reference< XServiceInfo > xServiceInfo ( xTypeDetection, UNO_QUERY ); - Reference< XNameAccess > xNameAccess ( xTypeDetection, UNO_QUERY ); - Reference< XElementAccess > xElementAccess ( xTypeDetection, UNO_QUERY ); - - LOG_ASSERT( !( xInterface.is() == sal_False || - xTypeProvider.is() == sal_False || - xServiceInfo.is() == sal_False || - xNameAccess.is() == sal_False || - xElementAccess.is() == sal_False ), "TestApplication::impl_testTypeDetection()\nMiss supported for searched interface!\n" ) - - // b) Check OneInstance mode of service. - Reference< XTypeDetection > xTypeDetection2( getProcessServiceFactory()->createInstance( SERVICENAME_TYPEDETECTION ), UNO_QUERY ); - LOG_ASSERT( !(xTypeDetection!=xTypeDetection2), "TestApplication::impl_testTypeDetection()\nService isn't \"OneInstance\" ...!\n" ) - xTypeDetection2 = Reference< XTypeDetection >(); - - // c) Check "XTypeDetection" ... flat by URL - // Define list of URLs for checking. - OUString pURLs[] = - { - DECLARE_ASCII("file://c|/temp/test.sdw" ), - DECLARE_ASCII("private:factory/scalc" ), - DECLARE_ASCII("file://c|/temp/test.txt" ), - DECLARE_ASCII("slot:5000" ), - }; - sal_uInt32 nCount = 4; - Sequence< OUString > seqURLs( pURLs, nCount ); - - Reference< XMultiServiceFactory > xFilterFactory( getProcessServiceFactory()->createInstance( SERVICENAME_FILTERFACTORY ), UNO_QUERY ); - Reference< XMultiServiceFactory > xLoaderFactory( getProcessServiceFactory()->createInstance( SERVICENAME_FRAMELOADERFACTORY), UNO_QUERY ); - LOG_ASSERT( !(xFilterFactory.is()==sal_False), "TestApplication::impl_testTypeDetection()\nCouldn't create filter factory!\n" ) - LOG_ASSERT( !(xLoaderFactory.is()==sal_False), "TestApplication::impl_testTypeDetection()\nCouldn't create loader factory!\n" ) - - // Step over these list. - for( sal_uInt32 nURL=0; nURL<nCount; ++nURL ) - { - // Try to get a type name for every URL from list and log search result. - OUString sTypeName = xTypeDetection->queryTypeByURL( seqURLs[nURL] ); - sBuffer.appendAscii ( "queryTypeByURL( \"" ); - sBuffer.append ( seqURLs[nURL] ); - sBuffer.appendAscii ( "\" ) returns type \"" ); - sBuffer.append ( sTypeName ); - sBuffer.appendAscii ( "\"\n" ); - // If a type was found - try to get a filter and a frame loader for it. - if( sTypeName.getLength() > 0 ) - { - Reference< XInterface > xFilter = xFilterFactory->createInstance( sTypeName ); - Reference< XInterface > xLoader = xLoaderFactory->createInstance( sTypeName ); - if( xFilter.is() == sal_False ) - { - sBuffer.appendAscii( "Couldn't find an filter.\n" ); - } - else - { - Reference< XPropertySet > xFilterProperties( xFilter, UNO_QUERY ); - LOG_ASSERT( !(xFilterProperties.is()==sal_False), "TestApplication::impl_testTypeDetection()\nFilter don't support XPropertySet!\n" ) - if( xFilterProperties.is() == sal_True ) - { - OUString sUIName; - xFilterProperties->getPropertyValue( DECLARE_ASCII("UIName") ) >>= sUIName; - sBuffer.appendAscii ( "Found filter \"" ); - sBuffer.append ( sUIName ); - sBuffer.appendAscii ( "\"\n" ); - } - - Reference< XPropertySet > xLoaderProperties( xLoader, UNO_QUERY ); - LOG_ASSERT( !(xLoaderProperties.is()==sal_False), "TestApplication::impl_testTypeDetection()\nLoader don't support XPropertySet!\n" ) - if( xLoaderProperties.is() == sal_True ) - { - OUString sUIName; - xLoaderProperties->getPropertyValue( DECLARE_ASCII("UIName") ) >>= sUIName; - sBuffer.appendAscii ( "Found loader \"" ); - sBuffer.append ( sUIName ); - sBuffer.appendAscii ( "\"\n" ); - } - } - } - } - } - - WRITE_LOGFILE( "testTypeDetection.log", U2B(sBuffer.makeStringAndClear()) ) -} -#endif - -//_________________________________________________________________________________________________________________ -// test method -//_________________________________________________________________________________________________________________ -#ifdef TEST_FILTERCACHE -void TestApplication::impl_testFilterCache() -{ - FilterCache aCache; - - OUStringBuffer sBuffer( 100000 ); - if( aCache.isValid() == sal_False ) - { - sBuffer.appendAscii( "Cache isn't valid!\n" ); - } - else - { - - // searchFirstType( URL, MediaType, ClipboardFormat, startEntry ) - TCheckedTypeIterator aIterator; - sBuffer.appendAscii( "search type for \"file://c|/temp/test.sdw\"; no media type; no clipboard format\n" ); - OUString sURL = DECLARE_ASCII("file://c|/temp/test.sdw"); - const OUString* pType = aCache.searchFirstType( &sURL, NULL, NULL, aIterator ); - while( pType != NULL ) - { - sBuffer.appendAscii ( "\tfound \"" ); - sBuffer.append ( *pType ); - sBuffer.appendAscii ( "\"\n" ); - pType = aCache.searchType( &sURL, NULL, NULL, aIterator ); - } - } - - WRITE_LOGFILE( "test_FilterCache.log", U2B(sBuffer.makeStringAndClear()) ) -} -#endif - -//_________________________________________________________________________________________________________________ -// test method -//_________________________________________________________________________________________________________________ -#ifdef TEST_LOGINDIALOG -void TestApplication::impl_testLoginDialog() -{ - // Get global servicemanager to create service "LoginDialog". - Reference< XMultiServiceFactory > xFactory = getProcessServiceFactory(); - LOG_ASSERT( !(xFactory.is()==sal_False), "TestApplication::impl_testLoginDialog()\nServicemanager not valid.\n" ) - // Create LoginDialog. - Reference< XDialog > xDialog( xFactory->createInstance( DECLARE_ASCII("com.sun.star.framework.LoginDialog") ), UNO_QUERY ); - LOG_ASSERT( !(xDialog.is()==sal_False), "TestApplication::impl_testLoginDialog()\nCould not create login dialog.\n" ) - // Check set/getTitle() - /* not implemented yet! */ -// LOG_ASSERT( !(xDialog->getTitle()!=sTitle), "TestApplication::impl_testLoginDialog()\nset/getTitle don't work correct.\n" ) - - UniString sInternalURL = DECLARE_ASCII("private:factory/scalc"); - UniString sExternalURL = OUString(); - - OString sOut = "internal: "; - sOut += OUStringToOString( sInternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\nexternal: "; - sOut += OUStringToOString( sExternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\n"; - LOG_ASSERT( sal_False, sOut ) - - INetURLObject::translateToExternal( sInternalURL, sExternalURL ); - sOut = "internal: "; - sOut += OUStringToOString( sInternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\nexternal: "; - sOut += OUStringToOString( sExternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\n"; - LOG_ASSERT( sal_False, sOut ) - - INetURLObject::translateToInternal( sExternalURL, sInternalURL ); - sOut = "internal: "; - sOut += OUStringToOString( sInternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\nexternal: "; - sOut += OUStringToOString( sExternalURL, RTL_TEXTENCODING_UTF8 ); - sOut += "\n"; - LOG_ASSERT( sal_False, sOut ) - - // Work with properties of dialog. - Reference< XPropertySet > xPropertySet( xDialog, UNO_QUERY ); - LOG_ASSERT( !(xPropertySet.is()==sal_False), "TestApplication::impl_testLoginDialog()\nCan't cast dialog to XPropertySet interface.\n" ) - Any aUserName ; - Any aPassword ; - Any aServer ; - Any aConnectionType ; - Any aPort ; - aUserName <<= DECLARE_ASCII("Andreas"); - aPassword <<= DECLARE_ASCII("Test"); - aServer <<= DECLARE_ASCII("www.yahoo.de:7777"); - aConnectionType <<= DECLARE_ASCII("Bla"); - sal_Int32 nPort = 8081; - aPort <<= nPort; - try - { - xPropertySet->setPropertyValue( DECLARE_ASCII("UserName" ), aUserName ); - xPropertySet->setPropertyValue( DECLARE_ASCII("Password" ), aPassword ); - xPropertySet->setPropertyValue( DECLARE_ASCII("Server" ), aServer ); - xPropertySet->setPropertyValue( DECLARE_ASCII("ConnectionType" ), aConnectionType ); - xPropertySet->setPropertyValue( DECLARE_ASCII("Compressed" ), aPort ); - } - catch( ::com::sun::star::beans::UnknownPropertyException& ) - { - LOG_ASSERT( sal_False, "UnkownPropertyException detected!\n" ) - } - catch( ::com::sun::star::beans::PropertyVetoException& ) - { - LOG_ASSERT( sal_False, "PropertyVetoException detected!\n" ) - } - catch( ::com::sun::star::lang::IllegalArgumentException& ) - { - LOG_ASSERT( sal_False, "IllegalArgumentException detected!\n" ) - } - catch( ::com::sun::star::lang::WrappedTargetException& ) - { - LOG_ASSERT( sal_False, "WrappedTargetException detected!\n" ) - } - catch( ::com::sun::star::uno::RuntimeException& ) - { - LOG_ASSERT( sal_False, "RuntimeException detected!\n" ) - } - - xDialog->execute(); - - OUString sUserName ; - OUString sPassword ; - OUString sServer ; - OUString sConnectionType ; - xPropertySet->getPropertyValue( DECLARE_ASCII("UserName" ) ) >>= sUserName ; - xPropertySet->getPropertyValue( DECLARE_ASCII("Password" ) ) >>= sPassword ; - xPropertySet->getPropertyValue( DECLARE_ASCII("Server" ) ) >>= sServer ; - xPropertySet->getPropertyValue( DECLARE_ASCII("ConnectionType" ) ) >>= sConnectionType ; - xPropertySet->getPropertyValue( sConnectionType ) >>= nPort ; - - LOG_ASSERT( sal_False, OUStringToOString( sUserName, RTL_TEXTENCODING_UTF8 ) ) - LOG_ASSERT( sal_False, OUStringToOString( sPassword, RTL_TEXTENCODING_UTF8 ) ) - LOG_ASSERT( sal_False, OUStringToOString( sServer , RTL_TEXTENCODING_UTF8 ) ) - LOG_ASSERT( sal_False, OUStringToOString( sConnectionType , RTL_TEXTENCODING_UTF8 ) ) - LOG_ASSERT( sal_False, OString::valueOf( (sal_Int32)nPort ) ) -} -#endif - -//_________________________________________________________________________________________________________________ -// test method -//_________________________________________________________________________________________________________________ -#ifdef TEST_PLUGIN -void TestApplication::impl_testPlugIn( const Reference< XDesktop >& xDesktop, const Reference< XMultiServiceFactory >& xFactory ) -{ - // create instance provider for creation of factories. - Reference< XInstanceProvider > xInstanceProvider( (OWeakObject*)(new OInstanceProvider( xFactory )), UNO_QUERY ); - LOG_ASSERT( !(xInstanceProvider.is()==sal_False), "TestApplication::impl_testPlugIn()\nCan't create new instance provider!\n" ) - - // try to get factory for create a plugin - Reference< XSingleServiceFactory > xPlugInFactory( xInstanceProvider->getInstance( INSTANCENAME_PLUGINFACTORY ), UNO_QUERY ); - LOG_ASSERT( !(xPlugInFactory.is()==sal_False), "TestApplication::impl_testPlugIn()\nCan't get PlugInFactory from instance provider!\n" ) - - // initialize parameter for creation of plugin - Reference< XPluginInstancePeer > xPlugInDLL =Reference< XPluginInstancePeer >(); - Sequence< Any > seqArguments(1); - seqArguments[0] <<= xPlugInDLL; - - // create plugin - Reference< XFrame > xPlugIn( xPlugInFactory->createInstanceWithArguments( seqArguments ), UNO_QUERY ); - LOG_ASSERT( !(xPlugIn.is()==sal_False), "TestApplication::impl_testPlugIn()\nFactory has created no valid plugin!\n" ) - - xPlugIn->setName( OUString(RTL_CONSTASCII_USTRINGPARAM("PlugIn")) ); - Reference< XFramesSupplier > xSupplier( xDesktop, UNO_QUERY ); - xPlugIn->setCreator( xSupplier ); -} -#endif - -//_________________________________________________________________________________________________________________ -// test method -//_________________________________________________________________________________________________________________ -#ifdef TEST_DESKTOP -#define LOGFILE_TARGETING "targeting.log" -void TestApplication::impl_testDesktop( const Reference< XDesktop >& xDesktop ) -{ - //------------------------------------------------------------------------------------------------------------- - // 1) Test cast to all supported interfaces of Desktop. - - Reference< XInterface > xDesktopInterface ( xDesktop, UNO_QUERY ); - Reference< XTypeProvider > xDesktopTypeProvider ( xDesktop, UNO_QUERY ); - Reference< XServiceInfo > xDesktopServiceInfo ( xDesktop, UNO_QUERY ); - Reference< XComponentLoader > xDesktopComponentLoader ( xDesktop, UNO_QUERY ); - Reference< XTasksSupplier > xDesktopTasksSupplier ( xDesktop, UNO_QUERY ); - Reference< XDispatchProvider > xDesktopDispatchProvider ( xDesktop, UNO_QUERY ); - Reference< XFramesSupplier > xDesktopFramesSupplier ( xDesktop, UNO_QUERY ); - Reference< XFrame > xDesktopFrame ( xDesktop, UNO_QUERY ); - Reference< XComponent > xDesktopComponent ( xDesktop, UNO_QUERY ); - Reference< XStatusIndicatorFactory > xDesktopStatusIndicatorFactory ( xDesktop, UNO_QUERY ); - Reference< XPropertySet > xDesktopPropertySet ( xDesktop, UNO_QUERY ); - Reference< XFastPropertySet > xDesktopFastPropertySet ( xDesktop, UNO_QUERY ); - Reference< XMultiPropertySet > xDesktopMultiPropertySet ( xDesktop, UNO_QUERY ); - - LOG_ASSERT( !(xDesktopInterface.is() ==sal_False), "TestApplication::impl_testDesktop()\nXInterface not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopTypeProvider.is() ==sal_False), "TestApplication::impl_testDesktop()\nXTypeProvider not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopServiceInfo.is() ==sal_False), "TestApplication::impl_testDesktop()\nXServiceInfo not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktop.is() ==sal_False), "TestApplication::impl_testDesktop()\nXDesktop not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopComponentLoader.is() ==sal_False), "TestApplication::impl_testDesktop()\nXComponentLoader not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopTasksSupplier.is() ==sal_False), "TestApplication::impl_testDesktop()\nXTasksSupplier not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopDispatchProvider.is() ==sal_False), "TestApplication::impl_testDesktop()\nXDispatchProvider not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopFramesSupplier.is() ==sal_False), "TestApplication::impl_testDesktop()\nXFramesSupplier not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopFrame.is() ==sal_False), "TestApplication::impl_testDesktop()\nXFrame not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopComponent.is() ==sal_False), "TestApplication::impl_testDesktop()\nXComponent not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopStatusIndicatorFactory.is() ==sal_False), "TestApplication::impl_testDesktop()\nXStatusIndicatorFactory not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopPropertySet.is() ==sal_False), "TestApplication::impl_testDesktop()\nXPropertySet not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopFastPropertySet.is() ==sal_False), "TestApplication::impl_testDesktop()\nXFastPropertySet not supported by Desktop.\n\n" ) - LOG_ASSERT( !(xDesktopMultiPropertySet.is() ==sal_False), "TestApplication::impl_testDesktop()\nXMultiPropertySet not supported by Desktop.\n\n" ) - - //------------------------------------------------------------------------------------------------------------- - // 2) Test set-/getName(). - - // 2a) Test default value "Desktop". - OUString sName( RTL_CONSTASCII_USTRINGPARAM("Desktop") ); - LOG_ASSERT( !(xDesktopFrame->getName()!=sName), "TestApplication::impl_testDesktop()\nDefault value of desktop name is invalid.\n\n" ) - - // 2b) Set name and try to get the same name. - sName = OUString( RTL_CONSTASCII_USTRINGPARAM("New Desktop") ); - xDesktopFrame->setName( sName ); - LOG_ASSERT( !(xDesktopFrame->getName()!=sName), "TestApplication::impl_testDesktop()\nSetting of name works not correct on desktop.\n\n" ) - - // Reset name do default! - // Its neccessary for follow operations. - sName = OUString( RTL_CONSTASCII_USTRINGPARAM("Desktop") ); - xDesktopFrame->setName( sName ); - - //------------------------------------------------------------------------------------------------------------- - // 3) Test findFrame(). - - // Build new example tree and log initial structure in file. - impl_buildTree ( xDesktop ); - impl_logTree ( xDesktop ); - - OUString sTargetFrameName; - sal_uInt32 nSearchFlags ; - Reference< XFrame > xSearchFrame ; - Reference< XFrame > xTask_4 ; - Reference< XFrame > xFrame_41 ; - Reference< XFrame > xFrame_411 ; - Reference< XFrame > xFrame_112 ; - Reference< XFrame > xFrame_1123 ; - Reference< XFrame > xFrame_11231 ; - Reference< XFrame > xFrame_11221 ; - - // 3a) Search for Desktop - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SELF for \"Desktop\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - sTargetFrameName = OUString(RTL_CONSTASCII_USTRINGPARAM("Desktop")); - nSearchFlags = FrameSearchFlag::SELF; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3a)-1 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with ALL for \"Desktop\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::ALL; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3a)-2 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with CHILDREN for \"Desktop\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::CHILDREN; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3a)-3 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SIBLINGS for \"Desktop\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::SIBLINGS; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3a)-4 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with AUTO for \"Desktop\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::AUTO; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3a)-5 invalid\n" ); - - // 3b) Search for Task_4 - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SELF for \"Task_4\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - sTargetFrameName = OUString(RTL_CONSTASCII_USTRINGPARAM("Task_4")); - nSearchFlags = FrameSearchFlag::SELF; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3b)-1 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SIBLINGS for \"Task_4\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::SIBLINGS; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3b)-2 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with CHILDREN for \"Task_4\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::CHILDREN; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3b)-3 invalid\n" ); - - xTask_4 = xSearchFrame; - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with ALL for \"Task_4\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::ALL; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3b)-4 invalid\n" ); - - // 3c) Search for Frame_41 - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SELF for \"Frame_41\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - sTargetFrameName = OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_41")); - nSearchFlags = FrameSearchFlag::SELF; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3c)-1 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SIBLINGS for \"Frame_41\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::SIBLINGS; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3c)-2 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with CHILDREN for \"Frame_41\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::CHILDREN; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3c)-3 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with ALL for \"Frame_41\" on Desktop\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::ALL; - xSearchFrame = xDesktopFrame->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3c)-4 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SELF for \"Frame_41\" on Task_4\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::SELF; - xSearchFrame = xTask_4->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3c)-5 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with SIBLINGS for \"Frame_41\" on Task_4\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::SIBLINGS; - xSearchFrame = xTask_4->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_True), "TestApplication::impl_testDesktop()\nSearch 3c)-6 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with CHILDREN for \"Frame_41\" on Task_4\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::CHILDREN; - xSearchFrame = xTask_4->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3c)-7 invalid\n" ); - - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, " Search with ALL for \"Frame_41\" on Task_4\n" ) - WRITE_LOGFILE( LOGFILE_TARGETING, "--------------------------------------------------------------------------------\n" ) - nSearchFlags = FrameSearchFlag::ALL; - xSearchFrame = xTask_4->findFrame(sTargetFrameName, nSearchFlags); - LOG_ASSERT( !(xSearchFrame.is()==sal_False), "TestApplication::impl_testDesktop()\nSearch 3c)-8 invalid\n" ); - - xFrame_41 = xSearchFrame; - - // 3d) Search for Frame_411 - // 3e) Search for Frame_112 - // 3f) Search for Frame_1123 - // 3g) Search for Frame_11231 - // 3h) Search for Frame_11221 -} - -//_________________________________________________________________________________________________________________ -// helper method to build a new binaer-tree with desktop as top-frame -//_________________________________________________________________________________________________________________ -void TestApplication::impl_buildTree( const Reference< XDesktop >& xDesktop ) -{ - // You can append and remove frames only on XFRames interface of desktop. - // But the desktop support this interface not directly! Use getFrames() instantly. - Reference< XFramesSupplier > xDesktopSupplier( xDesktop, UNO_QUERY ); - Reference< XFrames > xFrames = xDesktopSupplier->getFrames(); - LOG_ASSERT( !(xFrames.is()==sal_False), "TestApplication::impl_buildTree()\nCan't get framesaccess on desktop.\n\n" ) - - // Create some tasks and frames. - Reference< XMultiServiceFactory > xServiceManager( getProcessServiceFactory() ); - - Reference< XTask > xTask_1( xServiceManager->createInstance(SERVICENAME_TASK), UNO_QUERY ); - Reference< XTask > xTask_2( xServiceManager->createInstance(SERVICENAME_TASK), UNO_QUERY ); - Reference< XTask > xTask_3( xServiceManager->createInstance(SERVICENAME_TASK), UNO_QUERY ); - Reference< XTask > xTask_4( xServiceManager->createInstance(SERVICENAME_TASK), UNO_QUERY ); - Reference< XTask > xTask_5( xServiceManager->createInstance(SERVICENAME_TASK), UNO_QUERY ); - Reference< XFrame > xFrame_11( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_12( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_21( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_22( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_31( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_32( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_41( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_42( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_51( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_52( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_111( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_112( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_121( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_411( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_1121( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_1122( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_1123( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_4111( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_4112( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_4113( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_11221( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - Reference< XFrame > xFrame_11231( xServiceManager->createInstance(SERVICENAME_FRAME), UNO_QUERY ); - - // Initialize tasks and frames with names to support easy finding! - Reference< XFrame > xTaskFrame_1( xTask_1, UNO_QUERY ); - Reference< XFrame > xTaskFrame_2( xTask_2, UNO_QUERY ); - Reference< XFrame > xTaskFrame_3( xTask_3, UNO_QUERY ); - Reference< XFrame > xTaskFrame_4( xTask_4, UNO_QUERY ); - Reference< XFrame > xTaskFrame_5( xTask_5, UNO_QUERY ); - - xTaskFrame_1->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Task_1"))); - xTaskFrame_2->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Task_2"))); - xTaskFrame_3->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Task_3"))); - xTaskFrame_4->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Task_4"))); - xTaskFrame_5->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Task_5"))); - xFrame_11->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_11"))); - xFrame_12->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_12"))); - xFrame_21->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_21"))); - xFrame_22->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_22"))); - xFrame_31->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_31"))); - xFrame_32->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_32"))); - xFrame_41->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_41"))); - xFrame_42->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_42"))); - xFrame_51->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_51"))); - xFrame_52->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_52"))); - xFrame_111->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_111"))); - xFrame_112->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_112"))); - xFrame_121->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_121"))); - xFrame_411->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_411"))); - xFrame_1121->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_1121"))); - xFrame_1122->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_1122"))); - xFrame_1123->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_1123"))); - xFrame_4111->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_4111"))); - xFrame_4112->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_4112"))); - xFrame_4113->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_4113"))); - xFrame_11221->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_11221"))); - xFrame_11231->setName(OUString(RTL_CONSTASCII_USTRINGPARAM("Frame_11231"))); - - // Build tree. - // Append tasks as childs of desktop. - xFrames->append( xTaskFrame_1 ); - xFrames->append( xTaskFrame_2 ); - xFrames->append( xTaskFrame_3 ); - xFrames->append( xTaskFrame_4 ); - xFrames->append( xTaskFrame_5 ); - - // Append frames as childs of tasks. - Reference< XFramesSupplier > xTaskFramesSupplier_1( xTask_1, UNO_QUERY ); - Reference< XFramesSupplier > xTaskFramesSupplier_2( xTask_2, UNO_QUERY ); - Reference< XFramesSupplier > xTaskFramesSupplier_3( xTask_3, UNO_QUERY ); - Reference< XFramesSupplier > xTaskFramesSupplier_4( xTask_4, UNO_QUERY ); - Reference< XFramesSupplier > xTaskFramesSupplier_5( xTask_5, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_11( xFrame_11, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_12( xFrame_12, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_112( xFrame_112, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_1122( xFrame_1122, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_1123( xFrame_1123, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_41( xFrame_41, UNO_QUERY ); - Reference< XFramesSupplier > xFramesSupplier_411( xFrame_411, UNO_QUERY ); - - xFrames = xTaskFramesSupplier_1->getFrames(); - xFrames->append( xFrame_11 ); - xFrames->append( xFrame_12 ); - xFrames = xTaskFramesSupplier_2->getFrames(); - xFrames->append( xFrame_21 ); - xFrames->append( xFrame_22 ); - xFrames = xTaskFramesSupplier_3->getFrames(); - xFrames->append( xFrame_31 ); - xFrames->append( xFrame_32 ); - xFrames = xTaskFramesSupplier_4->getFrames(); - xFrames->append( xFrame_41 ); - xFrames->append( xFrame_42 ); - xFrames = xTaskFramesSupplier_5->getFrames(); - xFrames->append( xFrame_51 ); - xFrames->append( xFrame_52 ); - xFrames = xFramesSupplier_11->getFrames(); - xFrames->append( xFrame_111 ); - xFrames->append( xFrame_112 ); - xFrames = xFramesSupplier_12->getFrames(); - xFrames->append( xFrame_121 ); - xFrames = xFramesSupplier_112->getFrames(); - xFrames->append( xFrame_1121 ); - xFrames->append( xFrame_1122 ); - xFrames->append( xFrame_1123 ); - xFrames = xFramesSupplier_1122->getFrames(); - xFrames->append( xFrame_11221 ); - xFrames = xFramesSupplier_1123->getFrames(); - xFrames->append( xFrame_11231 ); - xFrames = xFramesSupplier_41->getFrames(); - xFrames->append( xFrame_411 ); - xFrames = xFramesSupplier_411->getFrames(); - xFrames->append( xFrame_4111 ); - xFrames->append( xFrame_4112 ); - xFrames->append( xFrame_4113 ); - - -// WRITE_LOGFILE( LOGFILENAME_TREE, "initiale Hierarchy:" ) - impl_logTree( xDesktop ); - -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xFrame_411->activate():" ) - xFrame_411->activate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_411->activate():" ) - impl_logTree( xDesktop ); -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xFrame_11231->activate():" ) - xFrame_11231->activate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_11231->activate():" ) - impl_logTree( xDesktop ); - -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xFrame_11221->activate():" ) - xFrame_11221->activate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_11221->activate():" ) - impl_logTree( xDesktop ); - - xFrame_112->deactivate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_112->deactivate():" ) - impl_logTree( xDesktop ); - -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xFrame_41->activate():" ) - xFrame_41->activate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_41->activate():" ) - impl_logTree( xDesktop ); - -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xTask_4->activate():" ) - xTask_4->activate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xTask_4->activate():" ) - impl_logTree( xDesktop ); - -// WRITE_LOGFILE( LOGFILENAME_EVENTS, "nach xFrame_1123->deactivate():" ) - xFrame_1123->deactivate(); -// WRITE_LOGFILE( LOGFILENAME_TREE, "nach xFrame_1123->deactivate():" ) - impl_logTree( xDesktop ); -} - -//_________________________________________________________________________________________________________________ -// helper method to log current tree state -//_________________________________________________________________________________________________________________ -void TestApplication::impl_logTree( const Reference< XDesktop >& xDesktop ) -{ -#ifdef ENABLE_SERVICEDEBUG - // Use special feature of Desktop-implementation. - // NEVER USE THIS IN RELEASE VERSIONS!!! - Reference< XSPECIALDEBUGINTERFACE > xDebug( xDesktop, UNO_QUERY ); - - // Get a "stream" of all names of frames in tree. - OUString sTreeNamesStream = xDebug->dumpVariable( DUMPVARIABLE_TREEINFO, 0 ); - // And write it to logfile. - OString sOutPut = OUStringToOString( sTreeNamesStream, RTL_TEXTENCODING_UTF8 ); -#endif -} -#endif // TEST_DESKTOP - -//_________________________________________________________________________________________________________________ -// test method for registration of new filters in configuration -//_________________________________________________________________________________________________________________ -#ifdef TEST_FILTERREGISTRATION -void TestApplication::impl_testFilterRegistration() -{ - Reference< XNameContainer > xContainer( m_xFactory->createInstance( SERVICENAME_FILTERFACTORY ), UNO_QUERY ); - LOG_ASSERT( !(xContainer.is()==sal_False), "TestApplication::impl_testFilterRegistration()\nCould not create FilterFactory-service or cast it to XNameContainer.\n" ) - if( xContainer.is() == sal_True ) - { - Sequence< PropertyValue > lProperties( 8 ); - - lProperties[0].Name = DECLARE_ASCII("Type" ); - lProperties[0].Value <<= DECLARE_ASCII("component_DB" ); - - lProperties[1].Name = DECLARE_ASCII("UIName" ); - lProperties[1].Value <<= DECLARE_ASCII("Ein neuer Filter-Eintrag"); - - lProperties[2].Name = DECLARE_ASCII("DocumentService" ); - lProperties[2].Value <<= DECLARE_ASCII("test.document.service" ); - - lProperties[3].Name = DECLARE_ASCII("FilterService" ); - lProperties[3].Value <<= DECLARE_ASCII("test.filter.service" ); - - lProperties[4].Name = DECLARE_ASCII("Flags" ); - lProperties[4].Value <<= (sal_Int32)100; - - Sequence< OUString > lTempData(1); - lTempData[0] = DECLARE_ASCII("meine UserData"); - lProperties[5].Name = DECLARE_ASCII("UserData" ); - lProperties[5].Value <<= lTempData; - - lProperties[6].Name = DECLARE_ASCII("FileFormatVersion" ); - lProperties[6].Value <<= (sal_Int32)1; - - lProperties[7].Name = DECLARE_ASCII("TemplateName" ); - lProperties[7].Value <<= DECLARE_ASCII("Mein Template Name" ); - - Any aProperties; - aProperties <<= lProperties; - xContainer->insertByName( DECLARE_ASCII("mein_eigener_neuer_Filter"), aProperties ); - - lProperties[0].Name = DECLARE_ASCII("Type" ); - lProperties[0].Value <<= DECLARE_ASCII("component_DB" ); - - lProperties[1].Name = DECLARE_ASCII("UIName" ); - lProperties[1].Value <<= DECLARE_ASCII("Ein neuer Filter-Eintrag 2"); - - lProperties[2].Name = DECLARE_ASCII("DocumentService" ); - lProperties[2].Value <<= DECLARE_ASCII("test.document.service 2" ); - - lProperties[3].Name = DECLARE_ASCII("FilterService" ); - lProperties[3].Value <<= DECLARE_ASCII("test.filter.service 2" ); - - lProperties[4].Name = DECLARE_ASCII("Flags" ); - lProperties[4].Value <<= (sal_Int32)200; - - lTempData[0] = DECLARE_ASCII("meine UserData 2"); - lProperties[5].Name = DECLARE_ASCII("UserData" ); - lProperties[5].Value <<= lTempData; - - lProperties[6].Name = DECLARE_ASCII("FileFormatVersion" ); - lProperties[6].Value <<= (sal_Int32)2; - - lProperties[7].Name = DECLARE_ASCII("TemplateName" ); - lProperties[7].Value <<= DECLARE_ASCII("Mein Template Name 2" ); - - aProperties <<= lProperties; - xContainer->insertByName( DECLARE_ASCII("mein_eigener_neuer_Filter_2"), aProperties ); - - xContainer->removeByName( DECLARE_ASCII("mein_eigener_neuer_Filter") ); - } -} -#endif - -//_________________________________________________________________________________________________________________ -// test method for search mechanism in our frame tree -//_________________________________________________________________________________________________________________ -#ifdef TEST_TREESEARCH -sal_Bool TestApplication::impl_testTreeSearch() -{ - // Build an example tree. - Reference< XFrame > xD ( m_xFactory->createInstance( SERVICENAME_DESKTOP ), UNO_QUERY ); - Reference< XFrame > xT1 ( m_xFactory->createInstance( SERVICENAME_TASK ), UNO_QUERY ); - Reference< XFrame > xT2 ( m_xFactory->createInstance( SERVICENAME_TASK ), UNO_QUERY ); - Reference< XFrame > xT3 ( m_xFactory->createInstance( SERVICENAME_TASK ), UNO_QUERY ); - Reference< XFrame > xF11 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF12 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF22 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF211 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF212 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF221 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF2111 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF2112 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF2121 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF2122 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF2211 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21111 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21112 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21121 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21122 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21211 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21212 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21221 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF21222 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - Reference< XFrame > xF22111 ( m_xFactory->createInstance( SERVICENAME_FRAME ), UNO_QUERY ); - - xD->setName ( DECLARE_ASCII("D" ) ); - xT1->setName ( DECLARE_ASCII("T1" ) ); - xT2->setName ( DECLARE_ASCII("T2" ) ); - xT3->setName ( DECLARE_ASCII("T3" ) ); - xF11->setName ( DECLARE_ASCII("F11" ) ); - xF12->setName ( DECLARE_ASCII("F12" ) ); - xF21->setName ( DECLARE_ASCII("F21" ) ); - xF22->setName ( DECLARE_ASCII("F22" ) ); - xF211->setName ( DECLARE_ASCII("F211" ) ); - xF212->setName ( DECLARE_ASCII("F212" ) ); - xF221->setName ( DECLARE_ASCII("F221" ) ); - xF2111->setName ( DECLARE_ASCII("F2111" ) ); - xF2112->setName ( DECLARE_ASCII("F2112" ) ); - xF2121->setName ( DECLARE_ASCII("F2121" ) ); - xF2122->setName ( DECLARE_ASCII("F2122" ) ); - xF2211->setName ( DECLARE_ASCII("F2211" ) ); - xF21111->setName( DECLARE_ASCII("F21111") ); - xF21112->setName( DECLARE_ASCII("F21112") ); - xF21121->setName( DECLARE_ASCII("F21121") ); - xF21122->setName( DECLARE_ASCII("F21122") ); - xF21211->setName( DECLARE_ASCII("F21211") ); - xF21212->setName( DECLARE_ASCII("F21212") ); - xF21221->setName( DECLARE_ASCII("F21221") ); - xF21222->setName( DECLARE_ASCII("F21222") ); - xF22111->setName( DECLARE_ASCII("F22111") ); - - Reference< XFramesSupplier > xSD ( xD , UNO_QUERY ); - Reference< XFramesSupplier > xST1 ( xT1 , UNO_QUERY ); - Reference< XFramesSupplier > xST2 ( xT2 , UNO_QUERY ); - Reference< XFramesSupplier > xST3 ( xT3 , UNO_QUERY ); - Reference< XFramesSupplier > xSF11 ( xF11 , UNO_QUERY ); - Reference< XFramesSupplier > xSF12 ( xF12 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21 ( xF21 , UNO_QUERY ); - Reference< XFramesSupplier > xSF22 ( xF22 , UNO_QUERY ); - Reference< XFramesSupplier > xSF211 ( xF211 , UNO_QUERY ); - Reference< XFramesSupplier > xSF212 ( xF212 , UNO_QUERY ); - Reference< XFramesSupplier > xSF221 ( xF221 , UNO_QUERY ); - Reference< XFramesSupplier > xSF2111 ( xF2111 , UNO_QUERY ); - Reference< XFramesSupplier > xSF2112 ( xF2112 , UNO_QUERY ); - Reference< XFramesSupplier > xSF2121 ( xF2121 , UNO_QUERY ); - Reference< XFramesSupplier > xSF2122 ( xF2122 , UNO_QUERY ); - Reference< XFramesSupplier > xSF2211 ( xF2211 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21111 ( xF21111 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21112 ( xF21112 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21121 ( xF21121 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21122 ( xF21122 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21211 ( xF21211 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21212 ( xF21212 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21221 ( xF21221 , UNO_QUERY ); - Reference< XFramesSupplier > xSF21222 ( xF21222 , UNO_QUERY ); - Reference< XFramesSupplier > xSF22111 ( xF22111 , UNO_QUERY ); - - xSD->getFrames()->append ( xT1 ); - xSD->getFrames()->append ( xT2 ); - xSD->getFrames()->append ( xT3 ); - xST1->getFrames()->append ( xF11 ); - xST1->getFrames()->append ( xF12 ); - xST2->getFrames()->append ( xF21 ); - xST2->getFrames()->append ( xF22 ); - xSF21->getFrames()->append ( xF211 ); - xSF21->getFrames()->append ( xF212 ); - xSF211->getFrames()->append ( xF2111 ); - xSF211->getFrames()->append ( xF2112 ); - xSF212->getFrames()->append ( xF2121 ); - xSF212->getFrames()->append ( xF2122 ); - xSF2111->getFrames()->append ( xF21111 ); - xSF2111->getFrames()->append ( xF21112 ); - xSF2112->getFrames()->append ( xF21121 ); - xSF2112->getFrames()->append ( xF21122 ); - xSF2121->getFrames()->append ( xF21211 ); - xSF2121->getFrames()->append ( xF21212 ); - xSF2122->getFrames()->append ( xF21221 ); - xSF2122->getFrames()->append ( xF21222 ); - xSF22->getFrames()->append ( xF221 ); - xSF221->getFrames()->append ( xF2211 ); - xSF2211->getFrames()->append ( xF22111 ); - - sal_Int32 nFlags = 0; - - // Test deep down search - nFlags = FrameSearchFlag::CHILDREN; - if ( - ( xD->findFrame( DECLARE_ASCII("T1" ), nFlags ) != xT1 ) || - ( xD->findFrame( DECLARE_ASCII("T2" ), nFlags ) != xT2 ) || - ( xD->findFrame( DECLARE_ASCII("T3" ), nFlags ) != xT3 ) || - ( xD->findFrame( DECLARE_ASCII("F11" ), nFlags ) != xF11 ) || - ( xD->findFrame( DECLARE_ASCII("F12" ), nFlags ) != xF12 ) || - ( xD->findFrame( DECLARE_ASCII("F21" ), nFlags ) != xF21 ) || - ( xD->findFrame( DECLARE_ASCII("F22" ), nFlags ) != xF22 ) || - ( xD->findFrame( DECLARE_ASCII("F211" ), nFlags ) != xF211 ) || - ( xD->findFrame( DECLARE_ASCII("F212" ), nFlags ) != xF212 ) || - ( xD->findFrame( DECLARE_ASCII("F2111" ), nFlags ) != xF2111 ) || - ( xD->findFrame( DECLARE_ASCII("F2112" ), nFlags ) != xF2112 ) || - ( xD->findFrame( DECLARE_ASCII("F2121" ), nFlags ) != xF2121 ) || - ( xD->findFrame( DECLARE_ASCII("F2122" ), nFlags ) != xF2122 ) || - ( xD->findFrame( DECLARE_ASCII("F21111" ), nFlags ) != xF21111 ) || - ( xD->findFrame( DECLARE_ASCII("F21112" ), nFlags ) != xF21112 ) || - ( xD->findFrame( DECLARE_ASCII("F21121" ), nFlags ) != xF21121 ) || - ( xD->findFrame( DECLARE_ASCII("F21122" ), nFlags ) != xF21122 ) || - ( xD->findFrame( DECLARE_ASCII("F21211" ), nFlags ) != xF21211 ) || - ( xD->findFrame( DECLARE_ASCII("F21212" ), nFlags ) != xF21212 ) || - ( xD->findFrame( DECLARE_ASCII("F21221" ), nFlags ) != xF21221 ) || - ( xD->findFrame( DECLARE_ASCII("F21222" ), nFlags ) != xF21222 ) || - ( xD->findFrame( DECLARE_ASCII("F221" ), nFlags ) != xF221 ) || - ( xD->findFrame( DECLARE_ASCII("F2211" ), nFlags ) != xF2211 ) || - ( xD->findFrame( DECLARE_ASCII("F22111" ), nFlags ) != xF22111 ) - ) - { - LOG_ERROR( "TestApplikation::impl_testTreeSearch()", "deep down search failed" ) - return sal_False; - } - - // Test flat down search - nFlags = FrameSearchFlag::CHILDREN | FrameSearchFlag::SIBLINGS; - if ( - ( xD->findFrame( DECLARE_ASCII("T1" ), nFlags ) != xT1 ) || - ( xD->findFrame( DECLARE_ASCII("T2" ), nFlags ) != xT2 ) || - ( xD->findFrame( DECLARE_ASCII("T3" ), nFlags ) != xT3 ) || - ( xD->findFrame( DECLARE_ASCII("F11" ), nFlags ) != xF11 ) || - ( xD->findFrame( DECLARE_ASCII("F12" ), nFlags ) != xF12 ) || - ( xD->findFrame( DECLARE_ASCII("F21" ), nFlags ) != xF21 ) || - ( xD->findFrame( DECLARE_ASCII("F22" ), nFlags ) != xF22 ) || - ( xD->findFrame( DECLARE_ASCII("F211" ), nFlags ) != xF211 ) || - ( xD->findFrame( DECLARE_ASCII("F212" ), nFlags ) != xF212 ) || - ( xD->findFrame( DECLARE_ASCII("F2111" ), nFlags ) != xF2111 ) || - ( xD->findFrame( DECLARE_ASCII("F2112" ), nFlags ) != xF2112 ) || - ( xD->findFrame( DECLARE_ASCII("F2121" ), nFlags ) != xF2121 ) || - ( xD->findFrame( DECLARE_ASCII("F2122" ), nFlags ) != xF2122 ) || - ( xD->findFrame( DECLARE_ASCII("F21111" ), nFlags ) != xF21111 ) || - ( xD->findFrame( DECLARE_ASCII("F21112" ), nFlags ) != xF21112 ) || - ( xD->findFrame( DECLARE_ASCII("F21121" ), nFlags ) != xF21121 ) || - ( xD->findFrame( DECLARE_ASCII("F21122" ), nFlags ) != xF21122 ) || - ( xD->findFrame( DECLARE_ASCII("F21211" ), nFlags ) != xF21211 ) || - ( xD->findFrame( DECLARE_ASCII("F21212" ), nFlags ) != xF21212 ) || - ( xD->findFrame( DECLARE_ASCII("F21221" ), nFlags ) != xF21221 ) || - ( xD->findFrame( DECLARE_ASCII("F21222" ), nFlags ) != xF21222 ) || - ( xD->findFrame( DECLARE_ASCII("F221" ), nFlags ) != xF221 ) || - ( xD->findFrame( DECLARE_ASCII("F2211" ), nFlags ) != xF2211 ) || - ( xD->findFrame( DECLARE_ASCII("F22111" ), nFlags ) != xF22111 ) - ) - { - LOG_ERROR( "TestApplikation::impl_testTreeSearch()", "flat down search failed" ) - return sal_False; - } - - // Test deep up search - // All targets must be found. Control search steps in log files! - nFlags = FrameSearchFlag::PARENT; - if ( - ( xF11->findFrame ( DECLARE_ASCII("T1"), nFlags ) != xT1 ) || // search for valid targets - ( xF12->findFrame ( DECLARE_ASCII("T1"), nFlags ) != xT1 ) || - ( xF21->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF22->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF211->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF212->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF221->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF2111->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF2121->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF2122->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF2211->findFrame ( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21111->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21112->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21121->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21122->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21211->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21212->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21221->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF21222->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF22111->findFrame( DECLARE_ASCII("T2"), nFlags ) != xT2 ) || - ( xF11->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || // search for existing but non valid targets - ( xF12->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF22->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF211->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF212->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF221->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF2111->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF2121->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF2122->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF2211->findFrame ( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21111->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21112->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21121->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21122->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21211->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21212->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21221->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF21222->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) || - ( xF22111->findFrame( DECLARE_ASCII("T3"), nFlags ).is() == sal_True ) - ) - { - LOG_ERROR( "TestApplikation::impl_testTreeSearch()", "deep up search failed" ) - return sal_False; - } - - // Test inside/outside tasks search - // No frames outside current task should be found if TASKS flag isnt set. - // Otherwise he must be found! - if ( - ( xF21211->findFrame( DECLARE_ASCII("F12" ), FrameSearchFlag::ALL ) == xF12 ) || - ( xF21211->findFrame( DECLARE_ASCII("F22111"), FrameSearchFlag::GLOBAL ) != xF22111 ) || - ( xF21211->findFrame( DECLARE_ASCII("T4" ), FrameSearchFlag::GLOBAL | FrameSearchFlag::CREATE ).is() == sal_False) - ) - { - LOG_ERROR( "TestApplikation::impl_testTreeSearch()", "inside/outside task search failed" ) - return sal_False; - } - - // Test SELF - // Use the desktop, one task and one frame node to do that. - // The desktop must ignore these question ... all other must return himself. - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII(""), FrameSearchFlag::SELF ) == xD ), "TestApplication::impl_testTreeSearch()", "SELF search for D failed\n" ) - LOG_ASSERT2( (xT1->findFrame ( DECLARE_ASCII(""), FrameSearchFlag::SELF ) != xT1 ), "TestApplication::impl_testTreeSearch()", "SELF search for T1 failed\n" ) - LOG_ASSERT2( (xF12->findFrame ( DECLARE_ASCII(""), FrameSearchFlag::SELF ) != xF12 ), "TestApplication::impl_testTreeSearch()", "SELF search for F12 failed\n" ) - - // Test special task search at desktop - // These search allow TASKS and CREATE flags only! - // We make no deep search - we work on direct children of desktop only. - // Supported for desktop only. - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("T1"), FrameSearchFlag::TASKS ) != xT1 ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T1 failed\n" ) - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("T2"), FrameSearchFlag::TASKS ) != xT2 ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T2 failed\n" ) - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("T3"), FrameSearchFlag::TASKS ) != xT3 ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T3 failed\n" ) - // Attention: T4 was created before! - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("T5"), FrameSearchFlag::TASKS ).is() == sal_True ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T5 failed\n" ) - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("T5"), FrameSearchFlag::TASKS | FrameSearchFlag::CREATE ).is() == sal_False ), "TestApplication::impl_testTreeSearch()", "special TASKS+CREATE search for T5 failed\n" ) - LOG_ASSERT2( (xD->findFrame ( DECLARE_ASCII("F12"), FrameSearchFlag::TASKS ).is() == sal_True ), "TestApplication::impl_testTreeSearch()", "special TASKS search for F12 failed\n" ) - LOG_ASSERT2( (xF12->findFrame ( DECLARE_ASCII("T1"), FrameSearchFlag::TASKS ).is() == sal_True ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T1 from F12 failed\n" ) - LOG_ASSERT2( (xF22111->findFrame( DECLARE_ASCII("T1"), FrameSearchFlag::TASKS ).is() == sal_True ), "TestApplication::impl_testTreeSearch()", "special TASKS search for T1 from F22111 failed\n" ) - - return sal_True; -} -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/test/test_componentenumeration.bas b/framework/test/test_componentenumeration.bas deleted file mode 100644 index 77b64bb96939..000000000000 --- a/framework/test/test_componentenumeration.bas +++ /dev/null @@ -1,78 +0,0 @@ -rem _______________________________________________________________________________________________________________________________________ -rem Test script for helper class "framework/helper/OComponentAccess and OComponentEnumeration. -rem These two classes are used for "framework/baeh_services/Desktop::getComponents()" only. -rem _______________________________________________________________________________________________________________________________________ - - -Sub Main - - rem ___________________________________________________________________________________________________________________________________ - rem Get all current components of the frame tree as an enumeration access object. - rem The return value must be a valid reference! - xComponentAccess = StarDesktop.Components - if( isNull(xComponentAccess) = TRUE ) then - msgbox "Error: Desktop return null reference as enumeration access to all tree components!" - exit Sub - endif - - rem ___________________________________________________________________________________________________________________________________ - rem Control service specification of helper class "framework/helper/OComponentAccess". - rem The follow output must occure: com.sun.star.lang.XTypeProvider - rem com.sun.star.container.XEnumerationAccess -> com.sun.star.container.XElementAccess - msgbox xComponentAccess.dbg_supportedInterfaces - - rem ___________________________________________________________________________________________________________________________________ - rem Test interface XElementAccess of helper OComponentAcces. - - rem Method hasElements() must return TRUE, because if you call this from the basic IDE at least one task must exist ... - rem the IDE by himself. Normaly two tasks exist - an empty writer document and a basic frame. - rem Attention: Not all tasks or frames must support a full implemented component! - if( xComponentAccess.hasElements <> TRUE ) then - msgbox "Error: xComponentAccess has no elements - but I can't believe it!" - exit Sub - endif - - rem Method getElementType() must return the cppu type of XComponent. - rem Otherwise something is wrong or implementation has changed. - if( xComponentAccess.getElementType.Name <> "com.sun.star.lang.XComponent" ) then - msgbox "Error: xComponentAccess return wrong type as element type! - Has implementation changed?" - exit Sub - endif - - rem ___________________________________________________________________________________________________________________________________ - rem Test interface XEnumerationAccess of helper OComponentAcces. - rem The return value must be a valid reference! - xComponentEnumeration = xComponentAccess.createEnumeration - if( isNull(xComponentEnumeration) = TRUE ) then - msgbox "Error: Could not create a component enumeration!" - exit Sub - endif - - rem ___________________________________________________________________________________________________________________________________ - rem Control service specification of helper class "framework/helper/OComponentEnumeration". - rem The follow output must occure: com.sun.star.lang.XTypeProvider - rem com.sun.star.lang.XEventListener - rem com.sun.star.container.XEnumeration - msgbox xComponentEnumeration.dbg_supportedInterfaces - - rem ___________________________________________________________________________________________________________________________________ - rem Test interface XEnumeration of helper OComponentEnumeration. - nElementCounter = 0 - while( xComponentEnumeration.hasMoreElements = TRUE ) - xElement = xComponentEnumeration.nextElement - if( isNull(xElement) = TRUE ) then - msgbox "Error: An empty component in enumeration detected! Whats wrong?" - exit Sub - endif - nElementCounter = nElementCounter + 1 - wend - if( nElementCounter < 1 ) then - msgbox "Warning: The enumeration was empty. I think it's wrong ... please check it again." - endif - msgbox "Info: An enumeration with " + nElementCounter + " element(s) was detected." - - rem ___________________________________________________________________________________________________________________________________ - rem If this point arrived our test was successful. - msgbox "Test of framework/helper/OComponentAccess & OComponentEnumeration was successful!" - -End Sub diff --git a/framework/test/test_documentproperties.bas b/framework/test/test_documentproperties.bas deleted file mode 100644 index 15e4f62a2967..000000000000 --- a/framework/test/test_documentproperties.bas +++ /dev/null @@ -1,1083 +0,0 @@ -Sub Main - ' Oeffnen der LOG-Datei - ' Es gibt 2 Moeglichgkeiten, diesen Test zu absolvieren. - ' 1) Ausgabe von Informationen in MessageBoxen - ' 2) Ausgabe von Informationen in einer LOG-Datei - ' - ' Die Methoden OpenLOG, CloseLOG, Message, ErrorMessage und InfoMessage beruecksichtigen das automatisch! - ' Zum Umschalten zwischen den beiden Zustaenden genuegt es, eine der folgenden - ' zwei Programmzeilen zu aktivieren ... - - 'bLOGOn = cOn - bLOGOn = cOff - - 'bShowErrorsOnly = cOn - bShowErrorsOnly = cOff - - OpenLOG ( cTestPath + "TestDocumentProperties.log" ) - InfoMessage ( "Test DocumentProperties ... [start]" ) - - ' Service besorgen - InfoMessage ( "Service besorgen ... [start]" ) - aDocumentProperties = createUnoService ( "com.sun.star.document.DocumentProperties" ) - - ' Erfolg abtesten - if ( isnull ( aDocumentProperties ) ) then - ErrorMessage ( "Service konnte nicht instanziiert werden!" ) - exit sub - else - InfoMessage ( "Service erfolgreich instanziiert ..." ) - InfoMessage ( "Service besorgen ... [ende]" ) - end if - - ' Unterstuetzte Schnittstellen, Methoden und Properties anzeigen - ' Achtung: Methoden und Properties koennen nicht angezeigt werden ... - ' neues Uno <-> Basic !? - msgbox aDocumentProperties.dbg_supportedInterfaces - 'msgbox aDocumentProperties.dbg_methods - 'msgbox aDocumentProperties.dbg_properties - - ' Testen des Services unter normalen Bedingungen (also wie vorgesehen) - bState = Test_NormalUse ( aDocumentProperties ) - ' Fehlerstatus abfragen - if ( bState = cError ) then - ErrorMessage ( "Der Service arbeitet unter normalen Bedingungen nicht korrekt!" ) - end if - - bState = Test_ErrorUse ( aDocumentProperties ) - ' Fehlerstatus abfragen - if ( bState = cError ) then - ErrorMessage ( "Der Service verhaelt sich in Fehlersituationen nicht korrekt!" ) - end if - - ' Schliessen der Error-Logdatei - InfoMessage ( "Test DocumentProperties ... [ende]" ) - CloseLOG -End Sub - -'***************************************************************************************************************** -' Testfunktionen -'***************************************************************************************************************** - -'---------------------------------------------------------------------------- -' Testmethode: Testet den Service unter normalen Bedingungen -' -' Returnwert cOK bedeutet, dass sich das Objekt normal verhaelt ... -' Returnwert cError bedeutet, dass sich das ein Fehler aufgetreten ist ... -'---------------------------------------------------------------------------- -Function Test_NormalUse ( aDocumentProperties ) as Boolean - - ' Zunaechst wird vom Erfolg des Test ausgegangen. - ' Sollte einer der Detail-Tests fehlschlagen, dann wird dieser Wert - ' zurueckgesetzt. Damit wird dann angezeigt, dass mindestens ein - ' Einzeltest nicht korrekt funktionierte. - - Test_NormalUse = cOK - - bState = Test_NormalUse_XPropertySet ( aDocumentProperties ) - if ( bState = cError ) then - Test_NormalUse = cError - end if - - bState = Test_NormalUse_XNameContainer ( aDocumentProperties ) - if ( bState = cError ) then - Test_NormalUse = cError - end if - - bState = Test_NormalUse_XPersist ( aDocumentProperties ) - if ( bState = cError ) then - Test_NormalUse = cError - end if - -End Function - -'---------------------------------------------------------------------------- -' Testmethode: Testet den Service unter Randbedingungen und provoziert Fehlerzustaende -' -' Returnwert cOK bedeutet, dass das Objekt damit keine Probleme hat ... -' Returnwert cError bedeutet, dass das Objekt noch nicht robust genug ist ... -'---------------------------------------------------------------------------- -Function Test_ErrorUse ( aDocumentProperties ) as Boolean - - Test_ErrorUse = cOK - -End Function - -'---------------------------------------------------------------------------- -' Testmethode: Testen des unterstuetzten Interfaces "XPropertySet" unter normalen Bedingungen -' -' Returnwert = cOK ; wenn der Test erfolgreich war -' Returnwert = cError ; wenn sich das Objekt nicht korrekt verhalten hat -'---------------------------------------------------------------------------- -Function Test_NormalUse_XPropertySet ( aDocumentProperties ) as Boolean - - ' Einschalten der Fehlerbehandlung, um Exceptions oder aehnliches abzufangen! - on Error goto Test_NormalUse_XPropertySet_Error - - InfoMessage ( "Test_NormalUse_XPropertySet ... [start]" ) - - ' 1) Test der Funktion "getPropertySetInfo()" - ' Da diese Funktion keine Parameter besitzt und zudem eine "get"-Methode - ' darstellt, wird sie durch Basic automatisch als "Property" behandelt! - ' Daher schreibt man nicht "getPropertySetInfo()" sondern nur "PropertySetInfo". - - ' Besorgen der Info - PropertySetInfo = aDocumentProperties.PropertySetInfo - ' Und abtesten auf Gueltigkeit - if ( isnull (PropertySetInfo) ) then - ErrorMessage ( "getPropertySetInfo() ... Error (Keine Info bestimmbar!)" ) - goto Test_NormalUse_XPropertySet_Error - end if - - ' Hier fehlt noch der Test der InfoStruktur! (Laesst sich unter Basic irgendwie NICHT testen!!!???) - ' ... - - InfoMessage ( "getPropertySetInfo() ... OK" ) - - ' 2) getPropertyValue() & setPropertyValue () - ' In diesem Service sind mehrere Properties bereits definiert und vorbelegt. - ' Zum Test werden repraesentativ einige davon verwendet. Naemlich je eine - ' der verschiedenen Datentypen! - ' Das sind im folgenden: OWString, sal_Bool, sal_Int16, sal_uInt16, sal_Int32, DateTime, Sequence< sal_Int8 > - ' Achtung! sal_uInt16 kann in Basic so nicht dargestellt werden. Daher wird ein normaler - ' Integer-Wert angenommen - Bedingung ist, das hier im Test der Wertebereich nicht - ' ueberschritten wird! - ' Es wird versucht den Standardwert dieser zu ermitteln und zu merken; - ' dann einen neuen Wert zu setzen; sowie diesen wiederum zu lesen und mit den - ' vorherigen Werten zu vergleichen! - - ' Zunaechst werden die Standardwerte dieser Properties besorgt ... - sDefaultValue_OWString$ = aDocumentProperties.getPropertyValue ( "Author" ) - bDefaultValue_sal_Bool = aDocumentProperties.getPropertyValue ( "AutoloadEnabled" ) - nDefaultValue_sal_Int16% = aDocumentProperties.getPropertyValue ( "EditingCycles" ) - nDefaultValue_sal_uInt16% = aDocumentProperties.getPropertyValue ( "Priority" ) - nDefaultValue_sal_Int32& = aDocumentProperties.getPropertyValue ( "EditingDuration" ) - aDefaultValue_DateTime = aDocumentProperties.getPropertyValue ( "ModifyDate" ) -' aDefaultValue_ByteSequence = aDocumentProperties.getPropertyValue ( "ExtraData" ) - aDefaultValue_ByteSequence = aDocumentProperties.ExtraData - - ' ... dann die Werte zur Kontrolle ausgeben. - ShowProperties ( aDocumentProperties ) - - InfoMessage ( "getPropertyValue() ... OK" ) - - ' Jetzt werden neue Werte vereinbart ... - ' Diese werden so gewaehlt, das sie garantiert von den Standardwerten verschieden sind! - ' Dazu werden die alten auf Wert abgefragt und entsprechend die neuen gesetzt. - sNewValue_OWString$ = sDefaultValue_OWString$ + "NeuerWert" - bNewValue_sal_Bool = not bDefaultValue_sal_Bool - nNewValue_sal_Int16% = nDefaultValue_sal_Int16% + 1 - if ( nDefaultValue_sal_uInt16% = 1 ) then - nNewValue_sal_uInt16% = 2 - else - nNewValue_sal_uInt16% = 1 - end if - nNewValue_sal_Int32& = nDefaultValue_sal_Int32& + 1 - - aNewValue_DateTime = aDefaultValue_DateTime - aNewValue_DateTime.HundredthSeconds = aDefaultValue_DateTime.HundredthSeconds + 1 - aNewValue_DateTime.Seconds = aDefaultValue_DateTime.Seconds + 1 - aNewValue_DateTime.Minutes = aDefaultValue_DateTime.Minutes + 1 - aNewValue_DateTime.Hours = aDefaultValue_DateTime.Hours + 1 - aNewValue_DateTime.Day = aDefaultValue_DateTime.Day + 1 - aNewValue_DateTime.Month = aDefaultValue_DateTime.Month + 1 - aNewValue_DateTime.Year = aDefaultValue_DateTime.Year + 1 - - aNewValue_ByteSequence = aDefaultValue_ByteSequence - nElementCount% = UBound ( aDefaultValue_ByteSequence ) -' for nCounter%=0 to nElementCount% step 1 -' aNewValue_ByteSequence(nCounter%) = ( aDefaultValue_ByteSequence(nCounter%) + 1 ) -' next nCounter% - - ' Anschliessend muessen diese neuen Werte gesetzt werden. - aDocumentProperties.setPropertyValue ( "Author" , sNewValue_OWString$ ) - aDocumentProperties.setPropertyValue ( "AutoloadEnabled", bNewValue_sal_Bool ) - aDocumentProperties.setPropertyValue ( "EditingCycles" , nNewValue_sal_Int16% ) - aDocumentProperties.setPropertyValue ( "Priority" , nNewValue_sal_uInt16% ) - aDocumentProperties.setPropertyValue ( "EditingDuration", nNewValue_sal_Int32& ) - aDocumentProperties.setPropertyValue ( "ModifyDate" , aNewValue_DateTime ) -' aDocumentProperties.setPropertyValue ( "ExtraData" , aNewValue_ByteSequence ) - aDocumentProperties.ExtraData = aNewValue_ByteSequence - - ' Dann lassen wir sie uns ausgeben, um sie mit den vorherigen vergleichen zu koennen. - ' (Das geht natuerlich nur, wenn "bLOGOn=cOn" ist - also eine LOG-Datei geschrieben wird!) - ShowProperties ( aDocumentProperties ) - - ' Nun werden die Properties wieder gelesen ... - sLastValue_OWString$ = aDocumentProperties.getPropertyValue ( "Author" ) - bLastValue_sal_Bool = aDocumentProperties.getPropertyValue ( "AutoloadEnabled" ) - nLastValue_sal_Int16% = aDocumentProperties.getPropertyValue ( "EditingCycles" ) - nLastValue_sal_uInt16% = aDocumentProperties.getPropertyValue ( "Priority" ) - nLastValue_sal_Int32& = aDocumentProperties.getPropertyValue ( "EditingDuration" ) - aLastValue_DateTime = aDocumentProperties.getPropertyValue ( "ModifyDate" ) - aLastValue_ByteSequence = aDocumentProperties.getPropertyValue ( "ExtraData" ) - - ' ... und mit den vorher als zu setzend bestimmte Werte vergleichen! - ' Es duerfen KEINE Unterschiede auftreten, da sonst "setPropertyValue()" nicht korrekt funktioniert hat! - - if ( CompareOWString ( sNewValue_OWString$, sLastValue_OWString$ ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [OWString fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareBool ( bNewValue_sal_Bool, bLastValue_sal_Bool ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [sal_Bool fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt16 ( nNewValue_sal_Int16%, nLastValue_sal_Int16% ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [sal_Int16 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt16 ( nNewValue_sal_uInt16%, nLastValue_sal_uInt16% ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [sal_uInt16 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt32 ( nNewValue_sal_Int32&, nLastValue_sal_Int32& ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [sal_Int32 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareDateTime ( aNewValue_DateTime, aLastValue_DateTime ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [DateTime fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareByteSequence ( aNewValue_ByteSequence, aLastValue_ByteSequence ) = cDifferent ) then - ErrorMessage ( "setPropertyValue() ... Fehler [ByteSequence fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - end if - - InfoMessage ( "setPropertyValue() ... OK" ) - - ' Nun wird noch mit den zuerst ermittelten Default-Werten verglichen! - ' Hier MUESSEN Unterschiede auftreten, da sonst "get-" UND "setPropertyValue()" nicht korrekt funktioniert haben! - - if ( CompareOWString ( sDefaultValue_OWString$, sLastValue_OWString$ ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [OWString fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareBool ( bDefaultValue_sal_Bool, bLastValue_sal_Bool ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [sal_Bool fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt16 ( nDefaultValue_sal_Int16%, nLastValue_sal_Int16% ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [sal_Int16 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt16 ( nDefaultValue_sal_uInt16%, nLastValue_sal_uInt16% ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [sal_uInt16 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareInt32 ( nDefaultValue_sal_Int32&, nLastValue_sal_Int32& ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [sal_Int32 fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error - elseif ( CompareDateTime ( aDefaultValue_DateTime, aLastValue_DateTime ) = cEqual ) then - ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [DateTime fehlerhaft]" ) - goto Test_NormalUse_XPropertySet_Error -' elseif ( CompareByteSequence ( aDefaultValue_ByteSequence, aLastValue_ByteSequence ) = cEqual ) then -' ErrorMessage ( "Zusammenspiel set & getPropertyValue() ... Fehler [ByteSequence fehlerhaft]" ) -' goto Test_NormalUse_XPropertySet_Error - end if - - InfoMessage ( "Zusammenspiel set & getPropertyValue() ... OK" ) - - ' Der Test war erfolgreich! Meldung ausgeben und zurueck zm Aufrufer. - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - InfoMessage ( "Test_NormalUse_XPropertySet ... [ende]" ) - ' Status setzen - Test_NormalUse_XPropertySet = cOK - ' Und Funktion beenden - Exit Function - -' Es ist ein unerwartete Fehler aufgetreten! (Exception ...) -' Meldung ausgeben und mit Fehler zurueckkehren. -Test_NormalUse_XPropertySet_Error: - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - ErrorMessage ( "Test_NormalUse_XPropertySet ... [Error]" ) - ' und Fehlerstatus setzen - Test_NormalUse_XPropertySet = cError - ' Abbruch der Funktion erzwingen! - Exit Function - -End Function - -'---------------------------------------------------------------------------- -' Testmethode: Testen des unterstuetzten Interfaces "XNameContainer" unter normalen Bedingungen -' -' Returnwert = cOK ; wenn sich das Objekt korrekt verhalten hat -' Returnwert = cError ; wenn das Objekt noch nicht robust genug ist -'---------------------------------------------------------------------------- -Function Test_NormalUse_XNameContainer ( aDocumentProperties ) as Boolean - - ' Einschalten der Fehlerbehandlung, um Exceptions oder aehnliches abzufangen! - on Error goto Test_NormalUse_XNameContainer_Error - - InfoMessage ( "Test_NormalUse_XNameContainer ... [start]" ) - - ' Da das Initialisieren im Konstruktor des Objektes und das Aufraeumen im Destruktor - ' automatisch geschieht und diese Methode pro Programmablauf nur einmal verwendet wird, - ' darf sich kein Element schon im NameContainer befinden! - ' Wenn doch, ist das ein Fehler! - if ( aDocumentProperties.hasElements () = TRUE ) then - ErrorMessage ( "Der NameConatiner sollte eigentlich leer sein, enthaelt initial aber schon Elemente!?" ) - goto Test_NormalUse_XNameContainer_Error - end if - - ' Zunaechst werden mehrere Elemente in den NameContainer eingefuegt. - sItemName_1$ = "Item 1" - sItemName_2$ = "Item 2" - sItemName_3$ = "Item 3" - sItemName_4$ = "Item 4" - sItemName_5$ = "Item 5" - - sFirstValue_1$ = "Value 1" - sFirstValue_2$ = "Value 2" - sFirstValue_3$ = "Value 3" - sFirstValue_4$ = "Value 4" - sFirstValue_5$ = "Value 5" - - aDocumentProperties.insertByName ( sItemName_1$, sFirstValue_1$ ) - aDocumentProperties.insertByName ( sItemName_2$, sFirstValue_2$ ) - aDocumentProperties.insertByName ( sItemName_3$, sFirstValue_3$ ) - aDocumentProperties.insertByName ( sItemName_4$, sFirstValue_4$ ) - aDocumentProperties.insertByName ( sItemName_5$, sFirstValue_5$ ) - - ' Zur Kontrolle die Werte ausgeben. (Nur wichtig, wenn geloggt wird!) - ' Dabei wird die Methode "getElementNames()" gleich implizit mitgetestet! - ShowNameContainer ( aDocumentProperties ) - - ' Aber auch die Anzahl kontrollieren. - ' (Hier wird eine eigene BASIC-Hilfsfunktion verwendet! keine Interface-Methode) - if ( getNameContainerCount ( aDocumentProperties ) <> 5 ) then - ErrorMessage ( "insertByName() ... Fehler (Der NameConatiner enthaelt nicht die eingefuegten 5 Elemente!)" ) - goto Test_NormalUse_XNameContainer_Error - end if - - ' Nun noch feststellen, ob die 5 denn auch tatsaechlich vorhanden sind. - if ( aDocumentProperties.hasByName ( sItemName_1$ ) = FALSE ) then - ErrorMessage ( "hasByName() ... Fehler [Element 1 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_2$ ) = FALSE ) then - ErrorMessage ( "hasByName() ... Fehler [Element 2 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_3$ ) = FALSE ) then - ErrorMessage ( "hasByName() ... Fehler [Element 3 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_4$ ) = FALSE ) then - ErrorMessage ( "hasByName() ... Fehler [Element 4 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_5$ ) = FALSE ) then - ErrorMessage ( "hasByName() ... Fehler [Element 5 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - end if - - ' Dann die Werte wieder auslesen. - sCompareValue_1$ = aDocumentProperties.getByName ( sItemName_1$ ) - sCompareValue_2$ = aDocumentProperties.getByName ( sItemName_2$ ) - sCompareValue_3$ = aDocumentProperties.getByName ( sItemName_3$ ) - sCompareValue_4$ = aDocumentProperties.getByName ( sItemName_4$ ) - sCompareValue_5$ = aDocumentProperties.getByName ( sItemName_5$ ) - - ' Zum Vergleich die Werte ausgeben. (Nur wichtig, wenn geloggt wird!) - ShowNameContainer ( aDocumentProperties ) - - ' Dann die Werte automatisch vergleichen! - if ( CompareOWString ( sFirstValue_1$, sCompareValue_1$ ) = cDifferent ) then - ErrorMessage ( "getByName() ... Fehler [Element 1 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sFirstValue_2$, sCompareValue_2$ ) = cDifferent ) then - ErrorMessage ( "getByName() ... Fehler [Element 2 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sFirstValue_3$, sCompareValue_3$ ) = cDifferent ) then - ErrorMessage ( "getByName() ... Fehler [Element 3 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sFirstValue_4$, sCompareValue_4$ ) = cDifferent ) then - ErrorMessage ( "getByName() ... Fehler [Element 4 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sFirstValue_5$, sCompareValue_5$ ) = cDifferent ) then - ErrorMessage ( "getByName() ... Fehler [Element 5 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - end if - - InfoMessage ( "getByName() ... OK" ) - - ' Jetzt wird versucht einige der Elemente in ihrem Wert zu veraendern. - sNewValue_1$ = "NewValue 1" - sNewValue_2$ = "NewValue 2" - sNewValue_3$ = "NewValue 3" - sNewValue_4$ = "NewValue 4" - sNewValue_5$ = "NewValue 5" - - aDocumentProperties.replaceByName ( sItemName_1$, sNewValue_1$ ) - aDocumentProperties.replaceByName ( sItemName_2$, sNewValue_2$ ) - aDocumentProperties.replaceByName ( sItemName_3$, sNewValue_3$ ) - aDocumentProperties.replaceByName ( sItemName_4$, sNewValue_4$ ) - aDocumentProperties.replaceByName ( sItemName_5$, sNewValue_5$ ) - - ' Zur Kontrolle die Werte ausgeben. (Nur wichtig, wenn geloggt wird!) - ShowNameContainer ( aDocumentProperties ) - - ' Dann die Werte wieder auslesen. - sCompareValue_1$ = aDocumentProperties.getByName ( sItemName_1$ ) - sCompareValue_2$ = aDocumentProperties.getByName ( sItemName_2$ ) - sCompareValue_3$ = aDocumentProperties.getByName ( sItemName_3$ ) - sCompareValue_4$ = aDocumentProperties.getByName ( sItemName_4$ ) - sCompareValue_5$ = aDocumentProperties.getByName ( sItemName_5$ ) - - ' Zum Vergleich die Werte ausgeben. (Nur wichtig, wenn geloggt wird!) - ShowNameContainer ( aDocumentProperties ) - - ' Dann die Werte automatisch vergleichen! - if ( CompareOWString ( sNewValue_1$, sCompareValue_1$ ) = cDifferent ) then - ErrorMessage ( "replaceByName() ... Fehler [Element 1 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sNewValue_2$, sCompareValue_2$ ) = cDifferent ) then - ErrorMessage ( "replaceByName() ... Fehler [Element 2 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sNewValue_3$, sCompareValue_3$ ) = cDifferent ) then - ErrorMessage ( "replaceByName() ... Fehler [Element 3 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sNewValue_4$, sCompareValue_4$ ) = cDifferent ) then - ErrorMessage ( "replaceByName() ... Fehler [Element 4 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( CompareOWString ( sNewValue_5$, sCompareValue_5$ ) = cDifferent ) then - ErrorMessage ( "replaceByName() ... Fehler [Element 5 fehlerhaft]" ) - goto Test_NormalUse_XNameContainer_Error - end if - - InfoMessage ( "replaceByName() ... OK" ) - - ' Hier sollen einige der 5 Eintraege geloescht werden. - aDocumentProperties.removeByName ( sItemName_1$ ) - aDocumentProperties.removeByName ( sItemName_3$ ) - - ' Dann wieder die Anzahl kontrollieren. - ' (Hier wird eine eigene BASIC-Hilfsfunktion verwendet! keine Interface-Methode) - if ( getNameContainerCount ( aDocumentProperties ) <> 3 ) then - ErrorMessage ( "removeByName() ... Fehler (Der NameConatiner enthaelt nicht die erwarteten 3 Elemente!)" ) - goto Test_NormalUse_XNameContainer_Error - end if - - ' Nun noch feststellen, ob die restlichen 3 denn auch tatsaechlich die richtigen sind. - if ( aDocumentProperties.hasByName ( sItemName_2$ ) = FALSE ) then - ErrorMessage ( "removeByName() ... Fehler [Element 2 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_4$ ) = FALSE ) then - ErrorMessage ( "removeByName() ... Fehler [Element 4 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - elseif ( aDocumentProperties.hasByName ( sItemName_5$ ) = FALSE ) then - ErrorMessage ( "removeByName() ... Fehler [Element 5 nicht vorhanden!?]" ) - goto Test_NormalUse_XNameContainer_Error - end if - - ' Zur Kontrolle die Werte nochmals ausgeben. (Nur wichtig, wenn geloggt wird!) - ShowNameContainer ( aDocumentProperties ) - - InfoMessage ( "removeByName() ... OK" ) - - ' Der Test war erfolgreich! Meldung ausgeben und zurueck zm Aufrufer. - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - InfoMessage ( "Test_NormalUse_XNameContainer ... [ende]" ) - ' Status setzen - Test_NormalUse_XNameContainer = cOK - ' Und Funktion beenden - Exit Function - -' Es ist ein unerwartete Fehler aufgetreten! (Exception ...) -' Meldung ausgeben und mit Fehler zurueckkehren. -Test_NormalUse_XNameContainer_Error: - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - ErrorMessage ( "Test_NormalUse_XNameContainer ... [Error]" ) - ' und Fehlerstatus setzen - Test_NormalUse_XNameContainer = cError - ' Abbruch der Funktion erzwingen! - Exit Function - -End Function - -'---------------------------------------------------------------------------- -' Testmethode: Testen des unterstuetzten Interfaces "XPersist" unter normalen Bedingungen -' -' Returnwert = cOK ; wenn der Test erfolgreich war -' Returnwert = cError ; wenn sich das Objekt nicht korrekt verhalten hat -'---------------------------------------------------------------------------- -Function Test_NormalUse_XPersist ( aDocumentProperties ) as Boolean - - ' Einschalten der Fehlerbehandlung, um Exceptions oder aehnliches abzufangen! - on Error goto Test_NormalUse_XPersist_Error - - InfoMessage ( "Test_NormalUse_XPersist ... [start]" ) - - ' Laden der Properties aus einer Datei - aDocumentProperties.read ( cTestPath + "TestDebug_in.sdw" ) - - ' Zur Kontrolle anzeigen - ShowProperties ( aDocumentProperties ) - - ' Speichern der Properties in einer neuen Datei - aDocumentProperties.write ( cTestPath + "TestDebug_Out.sdw" ) - aDocumentProperties.read ( cTestPath + "TestDebug_Out.sdw" ) - - ' Zur Kontrolle anzeigen - ShowProperties ( aDocumentProperties ) - - ' Der Test war erfolgreich! Meldung ausgeben und zurueck zm Aufrufer. - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - InfoMessage ( "Test_NormalUse_XPersist ... [ende]" ) - ' Status setzen - Test_NormalUse_XPersist = cOK - ' Und Funktion beenden - Exit Function - -' Es ist ein unerwartete Fehler aufgetreten! (Exception ...) -' Meldung ausgeben und mit Fehler zurueckkehren. -Test_NormalUse_XPersist_Error: - ' Ausschalten der Fehlerbehandlung - on Error goto 0 - ' Meldung ausgeben - ErrorMessage ( "Test_NormalUse_XPersist ... [Error]" ) - ' und Fehlerstatus setzen - Test_NormalUse_XPersist = cError - ' Abbruch der Funktion erzwingen! - Exit Function - -End Function - -'***************************************************************************************************************** -' Hilfsfunktionen und -methoden -'***************************************************************************************************************** - -'---------------------------------------------------------------------------- -' Hilfsmethode: Oeffnet die LOG-Datei. -'---------------------------------------------------------------------------- -Sub OpenLOG ( sFileName$ ) - if ( bLOGOn = cOn ) then - sLOGFileName$ = sFileName$ - nLOGFileHandle% = FreeFile - open sLOGFileName$ for output as nLOGFileHandle% - end if -End Sub - -'---------------------------------------------------------------------------- -' Hilfsmethode: Schliesst die LOG-Datei. -'---------------------------------------------------------------------------- -Sub CloseLOG - if ( bLOGOn = cOn ) then - close #nLOGFileHandle% - end if -End Sub - -'---------------------------------------------------------------------------- -' Hilfsmethode: Gibt einen Text in einer LOG-Datei aus. -'---------------------------------------------------------------------------- -Sub WriteLOG ( sMessage$ ) - if ( bLOGOn = cOn ) then - Write #nLOGFileHandle% sMessage$ - end if -End Sub - -'---------------------------------------------------------------------------- -' Hilfsmethode: Gibt eine MessageBox mit Fehlertext, Zeilennummer und Warnschild aus. -'---------------------------------------------------------------------------- -Sub ErrorMessage ( sMessage$ ) - ' Entweder in die LOG-Datei schreiben oder eine MessageBox anzeigen. - if ( bLOGOn = cOn ) then - WriteLOG ( sMessage$ ) - else - MsgBox ( sMessage$, 16 ) - end if -End Sub - -'---------------------------------------------------------------------------- -' Hilfsmethode: Gibt eine Hinweisbox aus. -'---------------------------------------------------------------------------- -Sub InfoMessage ( sMessage$ ) - ' Nur was anzeigen, wenn Nutzer es wuenscht! - if ( bShowErrorsOnly = cOff ) then - ' Ansonsten wird entweder in die LOG-Datei geschrieben oder eine MessageBox angezeigt. - if ( bLOGOn = cOn ) then - WriteLOG ( sMessage$ ) - else - MsgBox ( sMessage$, 64 ) - end if - end if -End Sub - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei OWString-Werte -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareOWString ( sOWString_1$, sOWString_2$ ) as Boolean - - if ( sOWString_1$ = sOWString_2$ ) then - CompareOWString = cEqual - else - CompareOWString = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei DateTime-Strukturen -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareDateTime ( aDateTime_1, aDateTime_2 ) as Boolean - - if ( aDateTime_1.Day = aDateTime_2.Day and aDateTime_1.Month = aDateTime_2.Month and aDateTime_1.Year = aDateTime_2.Year and aDateTime_1.Hours = aDateTime_1.Hours and aDateTime_1.Minutes = aDateTime_1.Minutes and aDateTime_1.Seconds = aDateTime_1.Seconds and aDateTime_1.HundredthSeconds = aDateTime_1.HundredthSeconds ) then - CompareDateTime = cEqual - else - CompareDateTime = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei ByteSequence's -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareByteSequence ( seqByteSequence_1, seqByteSequence_2 ) as Boolean - - ' Wenn beide leer sind, sind sie auch identisch ! - ' Dieser Test mit "IsArray" ist noetig, da bei einem leeren Array die - ' Funktion "UBound" einen Fehler produziert! - if ( IsArray ( seqByteSequence_1 ) = FALSE and IsArray ( seqByteSequence_2 ) = FALSE ) then - CompareByteSequence = cEqual - Exit Function - end if - - ' Wenn jedoch nur eine leer ist, dann sind sie nicht identisch. - if ( IsArray ( seqByteSequence_1 ) = FALSE ) or ( IsArray ( seqByteSequence_2 ) = FALSE ) then - CompareByteSequence = cDifferent - Exit Function - end if - - ' Besorgen der Anzahl der Elemente der Sequences - nElementCount_1% = UBound ( seqByteSequence_1 ) - nElementCount_2% = UBound ( seqByteSequence_2 ) - - ' Wenn diese Anzahl schon verschieden ist, dann ... - if ( nElementCount_1% <> nElementCount_2% ) then - ' ... sind die Sequences wohl verschieden. - CompareByteSequence = cDifferent - ' Die Element brauchen dann nicht mehr verglichen zu werden. - Exit Function - end if - - ' Ansonsten werden die Elemente einzeln miteinander verglichen. - for nCounter%=0 to nElementCount_1% step 1 - ' Wenn auch nur ein paar davon verschieden ist, dann ... - if ( nElementCount_1%(nCounter%) <> nElementCount_2%(nCounter%) ) then - ' ... kann der Vergleich abgebrochen werden! - CompareByteSequence = cDifferent - Exit Function - end if - next nCounter% - - ' Wenn man bis hier gekommen ist, dann sind die Sequences identisch. - CompareByteSequence = cEqual - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei Int16-Werte -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareInt16 ( nInt16_1%, nInt16_2% ) as Boolean - - if ( nInt16_1% = nInt16_2% ) then - CompareInt16 = cEqual - else - CompareInt16 = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei Int32-Werte -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareInt32 ( nInt32_1&, nInt32_2& ) as Boolean - - if ( nInt32_1& = nInt32_2& ) then - CompareInt32 = cEqual - else - CompareInt32 = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht zwei Bool-Werte -' -' Returnwert = cEqual ; wenn Werte identisch sind -' Returnwert = cDifferent ; wenn Werte verschieden sind -'---------------------------------------------------------------------------- -Function CompareBool ( bBool_1, bBool_2 ) as Boolean - - if ( bBool_1 = bBool_2 ) then - CompareBool = cEqual - else - CompareBool = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Vergleicht die Properties zweier Objekte um Unterschiede festzustellen. -' -' Returnwert = cEqual ; wenn Objekte von den Properties her identisch sind -' Returnwert = cDifferent ; wenn Objekte von den Properties her verschieden sind -'---------------------------------------------------------------------------- -Function CompareDocumentProperties ( aDocumentProperties_1, aDocumentProperties_2 ) as Boolean - - ' Besorgen der Werte und zwischenspeichern (bezogen auf Objekt 1) - sAuthor_1$ = aDocumentProperties_1.getPropertyValue ( "Author" ) - bAutoloadEnabled_1 = aDocumentProperties_1.getPropertyValue ( "AutoloadEnabled" ) - nAutoloadSecs_1% = aDocumentProperties_1.getPropertyValue ( "AutoloadSecs" ) - sAutoLoadURL_1$ = aDocumentProperties_1.getPropertyValue ( "AutoloadURL" ) - sBliendCopiesTo_1$ = aDocumentProperties_1.getPropertyValue ( "BlindCopiesTo" ) - sCopiesTo_1$ = aDocumentProperties_1.getPropertyValue ( "CopiesTo" ) - aCreationDate_1 = aDocumentProperties_1.getPropertyValue ( "CreationDate" ) - sDefaultTarget_1$ = aDocumentProperties_1.getPropertyValue ( "DefaultTarget" ) - sDescription_1$ = aDocumentProperties_1.getPropertyValue ( "Description" ) - nEditingCycles_1% = aDocumentProperties_1.getPropertyValue ( "EditingCycles" ) - nEditingDuration_1& = aDocumentProperties_1.getPropertyValue ( "EditingDuration" ) - seqExtraData_1 = aDocumentProperties_1.getPropertyValue ( "ExtraData" ) - sInReplyTo_1$ = aDocumentProperties_1.getPropertyValue ( "InReplyTo" ) - bIsEncrypted_1 = aDocumentProperties_1.getPropertyValue ( "IsEncrypted" ) - sKeywords_1$ = aDocumentProperties_1.getPropertyValue ( "Keywords" ) - sMIMEType_1$ = aDocumentProperties_1.getPropertyValue ( "MIMEType" ) - sModifiedBy_1$ = aDocumentProperties_1.getPropertyValue ( "ModifiedBy" ) - aModifyDate_1 = aDocumentProperties_1.getPropertyValue ( "ModifyDate" ) - sNewsgroups_1$ = aDocumentProperties_1.getPropertyValue ( "Newsgroups" ) - sOriginal_1$ = aDocumentProperties_1.getPropertyValue ( "Original" ) - bPortableGraphics_1 = aDocumentProperties_1.getPropertyValue ( "PortableGraphics" ) - aPrintDate_1 = aDocumentProperties_1.getPropertyValue ( "PrintDate" ) - sPrintedBy_1$ = aDocumentProperties_1.getPropertyValue ( "PrintedBy" ) - nPriority_1% = aDocumentProperties_1.getPropertyValue ( "Priority" ) - bQueryTemplate_1 = aDocumentProperties_1.getPropertyValue ( "QueryTemplate" ) - sRecipient_1$ = aDocumentProperties_1.getPropertyValue ( "Recipient" ) - sReferences_1$ = aDocumentProperties_1.getPropertyValue ( "References" ) - sReplyTo_1$ = aDocumentProperties_1.getPropertyValue ( "ReplyTo" ) - bSaveGraphicsCompressed_1 = aDocumentProperties_1.getPropertyValue ( "SaveGraphicsCompressed" ) - bSaveOriginalGraphics_1 = aDocumentProperties_1.getPropertyValue ( "SaveOriginalGraphics" ) - bSaveVersionOnClose_1 = aDocumentProperties_1.getPropertyValue ( "SaveVersionOnClose" ) - sTemplate_1$ = aDocumentProperties_1.getPropertyValue ( "Template" ) - bTemplateConfig_1 = aDocumentProperties_1.getPropertyValue ( "TemplateConfig" ) - aTemplateDate_1 = aDocumentProperties_1.getPropertyValue ( "TemplateDate" ) - sTemplateFileName_1$ = aDocumentProperties_1.getPropertyValue ( "TemplateFileName" ) - sTheme_1$ = aDocumentProperties_1.getPropertyValue ( "Theme" ) - sTitle_1$ = aDocumentProperties_1.getPropertyValue ( "Title" ) - bUserData_1 = aDocumentProperties_1.getPropertyValue ( "UserData" ) - - ' Besorgen der Werte und zwischenspeichern (bezogen auf Objekt 2) - sAuthor_2$ = aDocumentProperties_2.getPropertyValue ( "Author" ) - bAutoloadEnabled_2 = aDocumentProperties_2.getPropertyValue ( "AutoloadEnabled" ) - nAutoloadSecs_2% = aDocumentProperties_2.getPropertyValue ( "AutoloadSecs" ) - sAutoLoadURL_2$ = aDocumentProperties_2.getPropertyValue ( "AutoloadURL" ) - sBliendCopiesTo_2$ = aDocumentProperties_2.getPropertyValue ( "BlindCopiesTo" ) - sCopiesTo_2$ = aDocumentProperties_2.getPropertyValue ( "CopiesTo" ) - aCreationDate_2 = aDocumentProperties_2.getPropertyValue ( "CreationDate" ) - sDefaultTarget_2$ = aDocumentProperties_2.getPropertyValue ( "DefaultTarget" ) - sDescription_2$ = aDocumentProperties_2.getPropertyValue ( "Description" ) - nEditingCycles_2% = aDocumentProperties_2.getPropertyValue ( "EditingCycles" ) - nEditingDuration_2& = aDocumentProperties_2.getPropertyValue ( "EditingDuration" ) - seqExtraData_2 = aDocumentProperties_2.getPropertyValue ( "ExtraData" ) - sInReplyTo_2$ = aDocumentProperties_2.getPropertyValue ( "InReplyTo" ) - bIsEncrypted_2 = aDocumentProperties_2.getPropertyValue ( "IsEncrypted" ) - sKeywords_2$ = aDocumentProperties_2.getPropertyValue ( "Keywords" ) - sMIMEType_2$ = aDocumentProperties_2.getPropertyValue ( "MIMEType" ) - sModifiedBy_2$ = aDocumentProperties_2.getPropertyValue ( "ModifiedBy" ) - aModifyDate_2 = aDocumentProperties_2.getPropertyValue ( "ModifyDate" ) - sNewsgroups_2$ = aDocumentProperties_2.getPropertyValue ( "Newsgroups" ) - sOriginal_2$ = aDocumentProperties_2.getPropertyValue ( "Original" ) - bPortableGraphics_2 = aDocumentProperties_2.getPropertyValue ( "PortableGraphics" ) - aPrintDate_2 = aDocumentProperties_2.getPropertyValue ( "PrintDate" ) - sPrintedBy_2$ = aDocumentProperties_2.getPropertyValue ( "PrintedBy" ) - nPriority_2% = aDocumentProperties_2.getPropertyValue ( "Priority" ) - bQueryTemplate_2 = aDocumentProperties_2.getPropertyValue ( "QueryTemplate" ) - sRecipient_2$ = aDocumentProperties_2.getPropertyValue ( "Recipient" ) - sReferences_2$ = aDocumentProperties_2.getPropertyValue ( "References" ) - sReplyTo_2$ = aDocumentProperties_2.getPropertyValue ( "ReplyTo" ) - bSaveGraphicsCompressed_2 = aDocumentProperties_2.getPropertyValue ( "SaveGraphicsCompressed" ) - bSaveOriginalGraphics_2 = aDocumentProperties_2.getPropertyValue ( "SaveOriginalGraphics" ) - bSaveVersionOnClose_2 = aDocumentProperties_2.getPropertyValue ( "SaveVersionOnClose" ) - sTemplate_2$ = aDocumentProperties_2.getPropertyValue ( "Template" ) - bTemplateConfig_2 = aDocumentProperties_2.getPropertyValue ( "TemplateConfig" ) - aTemplateDate_2 = aDocumentProperties_2.getPropertyValue ( "TemplateDate" ) - sTemplateFileName_2$ = aDocumentProperties_2.getPropertyValue ( "TemplateFileName" ) - sTheme_2$ = aDocumentProperties_2.getPropertyValue ( "Theme" ) - sTitle_2$ = aDocumentProperties_2.getPropertyValue ( "Title" ) - bUserData_2 = aDocumentProperties_2.getPropertyValue ( "UserData" ) - - ' Als erwarteten Zielwert schon mal "Properties identisch" annehmen!!! - ' Fr den Fall, das nur eine diesen Anspruch nicht erfllt, wird der Wert einfach zurckgesetzt. - ' Von da bleibt der neue Wert bestehen und zeigt an, da sich mindestens eine Property gendert hat! - CompareDocumentProperties = cEqual - - ' Dann die Werte vergleichen - if ( CompareOWString ( sAuthor_1$, sAuthor_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bAutoloadEnabled_1, bAutoloadEnabled_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareInt16 ( nAutoloadSecs_1%, nAutoloadSecs_2% ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sAutoLoadURL_1$, sAutoLoadURL_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sBliendCopiesTo_1$, sBliendCopiesTo_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sCopiesTo_1$, sCopiesTo_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareDateTime ( aCreationDate_1, aCreationDate_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sDefaultTarget_1$, sDefaultTarget_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sDescription_1$, sDescription_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareInt16 ( nEditingCycles_1%, nEditingCycles_2% ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareInt32 ( nEditingDuration_1&, nEditingDuration_2& ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareByteSequence( seqExtraData_1, seqExtraData_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sInReplyTo_1$, sInReplyTo_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bIsEncrypted_1, bIsEncrypted_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sKeywords_1$, sKeywords_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sMIMEType_1$, sMIMEType_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sModifiedBy_1$, sModifiedBy_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareDateTime ( aModifyDate_1, aModifyDate_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sNewsgroups_1$, sNewsgroups_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sOriginal_1$, sOriginal_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bPortableGraphics_1, bPortableGraphics_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareDateTime ( aPrintDate_1, aPrintDate_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sPrintedBy_1$, sPrintedBy_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareInt16 ( nPriority_1%, nPriority_2% ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bQueryTemplate_1, bQueryTemplate_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sRecipient_1$, sRecipient_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sReferences_1$, sReferences_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sReplyTo_1$, sReplyTo_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bSaveGraphicsCompressed_1, bSaveGraphicsCompressed_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bSaveOriginalGraphics_1, bSaveOriginalGraphics_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bSaveVersionOnClose_1, bSaveVersionOnClose_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sTemplate_1$, sTemplate_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bTemplateConfig_1, bTemplateConfig_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareDateTime ( aTemplateDate_1, aTemplateDate_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sTemplateFileName_1$, sTemplateFileName_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sTheme_1$, sTheme_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareOWString ( sTitle_1$, sTitle_2$ ) = cDifferent ) then - CompareDocumentProperties = cDifferent - elseif ( CompareBool ( bUserData_1, bUserData_2 ) = cDifferent ) then - CompareDocumentProperties = cDifferent - end if - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Wandelt eine Struktur des Types DateTime in einen formatierten String um -'---------------------------------------------------------------------------- -Function DateTime2String ( aDateTime ) as String - - stempString$ = "" - stempString$ = stempString$ + aDateTime.Day + "." - stempString$ = stempString$ + aDateTime.Month + "." - stempString$ = stempString$ + aDateTime.Year + " - " - stempString$ = stempString$ + aDateTime.Hours + ":" - stempString$ = stempString$ + aDateTime.Minutes + ":" - stempString$ = stempString$ + aDateTime.Seconds + ":" - stempString$ = stempString$ + aDateTime.HundredthSeconds + " Uhr" - - DateTime2String = stempString$ - -End Function - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Wandelt eine Sequence von Bytes in einen formatierten String um -'---------------------------------------------------------------------------- -Function ByteSequence2String ( seqByteSequence ) as String - - nElementCount% = UBound ( seqByteSequence() ) - - if ( nElementCount% < 1 ) then - stempString$ = "leer" - else - stempString$ = "{" - for nCounter%=0 to nElementCount% step 1 - stempString$ = stempString$ + seqByteSequence(nCounter%) - next nCounter% - stempString$ = stempString$ + "}" - end if - - ByteSequence2String = stempString$ - -End Function - -'---------------------------------------------------------------------------- -' Hilfsmethode: Zeigt die aktuellen Werte ALLER Properties an -'---------------------------------------------------------------------------- -Sub ShowProperties ( aDocumentProperties ) - - ' Besorgen der Werte und zwischenspeichern - sAuthor$ = aDocumentProperties.getPropertyValue ( "Author" ) - bAutoloadEnabled = aDocumentProperties.getPropertyValue ( "AutoloadEnabled" ) - nAutoloadSecs% = aDocumentProperties.getPropertyValue ( "AutoloadSecs" ) - sAutoLoadURL$ = aDocumentProperties.getPropertyValue ( "AutoloadURL" ) - sBliendCopiesTo$ = aDocumentProperties.getPropertyValue ( "BlindCopiesTo" ) - sCopiesTo$ = aDocumentProperties.getPropertyValue ( "CopiesTo" ) - dCreationDate = aDocumentProperties.getPropertyValue ( "CreationDate" ) - sDefaultTarget$ = aDocumentProperties.getPropertyValue ( "DefaultTarget" ) - sDescription$ = aDocumentProperties.getPropertyValue ( "Description" ) - nEditingCycles% = aDocumentProperties.getPropertyValue ( "EditingCycles" ) - nEditingDuration& = aDocumentProperties.getPropertyValue ( "EditingDuration" ) - seqExtraData = aDocumentProperties.getPropertyValue ( "ExtraData" ) - sInReplyTo$ = aDocumentProperties.getPropertyValue ( "InReplyTo" ) - bIsEncrypted = aDocumentProperties.getPropertyValue ( "IsEncrypted" ) - sKeywords$ = aDocumentProperties.getPropertyValue ( "Keywords" ) - sMIMEType$ = aDocumentProperties.getPropertyValue ( "MIMEType" ) - sModifiedBy$ = aDocumentProperties.getPropertyValue ( "ModifiedBy" ) - dModifyDate = aDocumentProperties.getPropertyValue ( "ModifyDate" ) - sNewsgroups$ = aDocumentProperties.getPropertyValue ( "Newsgroups" ) - sOriginal$ = aDocumentProperties.getPropertyValue ( "Original" ) - bPortableGraphics = aDocumentProperties.getPropertyValue ( "PortableGraphics" ) - dPrintDate = aDocumentProperties.getPropertyValue ( "PrintDate" ) - sPrintedBy$ = aDocumentProperties.getPropertyValue ( "PrintedBy" ) - nPriority% = aDocumentProperties.getPropertyValue ( "Priority" ) - bQueryTemplate = aDocumentProperties.getPropertyValue ( "QueryTemplate" ) - sRecipient$ = aDocumentProperties.getPropertyValue ( "Recipient" ) - sReferences$ = aDocumentProperties.getPropertyValue ( "References" ) - sReplyTo$ = aDocumentProperties.getPropertyValue ( "ReplyTo" ) - bSaveGraphicsCompressed = aDocumentProperties.getPropertyValue ( "SaveGraphicsCompressed" ) - bSaveOriginalGraphics = aDocumentProperties.getPropertyValue ( "SaveOriginalGraphics" ) - bSaveVersionOnClose = aDocumentProperties.getPropertyValue ( "SaveVersionOnClose" ) - sTemplate$ = aDocumentProperties.getPropertyValue ( "Template" ) - bTemplateConfig = aDocumentProperties.getPropertyValue ( "TemplateConfig" ) - dTemplateDate = aDocumentProperties.getPropertyValue ( "TemplateDate" ) - sTemplateFileName$ = aDocumentProperties.getPropertyValue ( "TemplateFileName" ) - sTheme$ = aDocumentProperties.getPropertyValue ( "Theme" ) - sTitle$ = aDocumentProperties.getPropertyValue ( "Title" ) - bUserData = aDocumentProperties.getPropertyValue ( "UserData" ) - - ' Eine Zeichenkette zusammenbasteln, welche die Werte formatiert darstellt. - sOutLine$ = "[OWString]" + chr$(9) + "Author" + chr$(9) + "= {" + chr$(9) + sAuthor$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "AutoloadEnabled" + chr$(9) + "= {" + chr$(9) + bAutoloadEnabled + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Int16]" + chr$(9) + "AutoloadSecs" + chr$(9) + "= {" + chr$(9) + nAutoloadSecs% + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "AutoLoadURL" + chr$(9) + "= {" + chr$(9) + sAutoLoadURL$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "BliendCopiesTo" + chr$(9) + "= {" + chr$(9) + sBliendCopiesTo$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "CopiesTo" + chr$(9) + "= {" + chr$(9) + sCopiesTo$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[DateTime]" + chr$(9) + "CreationDate" + chr$(9) + "= {" + chr$(9) + DateTime2String(dCreationDate) + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "DefaultTarget" + chr$(9) + "= {" + chr$(9) + sDefaultTarget$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Description" + chr$(9) + "= {" + chr$(9) + sDescription$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Int16]" + chr$(9) + "EditingCycles" + chr$(9) + "= {" + chr$(9) + nEditingCycles% + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Int32]" + chr$(9) + "EditingDuration" + chr$(9) + "= {" + chr$(9) + nEditingDuration& + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[Sequence<Byte>]" + chr$(9) + "ExtraData" + chr$(9) + "= {" + chr$(9) + ByteSequence2String(seqExtraData) + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "InReplyTo" + chr$(9) + "= {" + chr$(9) + sInReplyTo$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "IsEncrypted" + chr$(9) + "= {" + chr$(9) + bIsEncrypted + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Keywords" + chr$(9) + "= {" + chr$(9) + sKeywords$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "MIMEType" + chr$(9) + "= {" + chr$(9) + sMIMEType$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "ModifiedBy" + chr$(9) + "= {" + chr$(9) + sModifiedBy$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[DateTime]" + chr$(9) + "ModifyDate" + chr$(9) + "= {" + chr$(9) + DateTime2String(dModifyDate) + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Newsgroups" + chr$(9) + "= {" + chr$(9) + sNewsgroups$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Original" + chr$(9) + "= {" + chr$(9) + sOriginal$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "PortableGraphics" + chr$(9) + "= {" + chr$(9) + bPortableGraphics + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[DateTime]" + chr$(9) + "PrintDate" + chr$(9) + "= {" + chr$(9) + DateTime2String(dPrintDate) + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "PrintedBy" + chr$(9) + "= {" + chr$(9) + sPrintedBy$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Int16]" + chr$(9) + "Priority" + chr$(9) + "= {" + chr$(9) + nPriority% + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "QueryTemplate" + chr$(9) + "= {" + chr$(9) + bQueryTemplate + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Recipient" + chr$(9) + "= {" + chr$(9) + sRecipient$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "References" + chr$(9) + "= {" + chr$(9) + sReferences$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "ReplyTo" + chr$(9) + "= {" + chr$(9) + sReplyTo$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "SaveGraphicsCompressed" + chr$(9) + "= {" + chr$(9) + bSaveGraphicsCompressed + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "SaveOriginalGraphics" + chr$(9) + "= {" + chr$(9) + bSaveOriginalGraphics + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "SaveVersionOnClose" + chr$(9) + "= {" + chr$(9) + bSaveVersionOnClose + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Template" + chr$(9) + "= {" + chr$(9) + sTemplate$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "TemplateConfig" + chr$(9) + "= {" + chr$(9) + bTemplateConfig + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[DateTime]" + chr$(9) + "TemplateDate" + chr$(9) + "= {" + chr$(9) + DateTime2String(dTemplateDate) + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "TemplateFileName" + chr$(9) + "= {" + chr$(9) + sTemplateFileName$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Theme" + chr$(9) + "= {" + chr$(9) + sTheme$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[OWString]" + chr$(9) + "Title" + chr$(9) + "= {" + chr$(9) + sTitle$ + "}" + chr$(13) - sOutLine$ = sOutLine$ + "[sal_Bool]" + chr$(9) + "UserData" + chr$(9) + "= {" + chr$(9) + bUserData + "}" - - ' Ausgabe der formatierten Zeichenkette - InfoMessage ( sOutLine$ ) -End Sub - -'---------------------------------------------------------------------------- -' Hilfsmethode: Zeigt die aktuellen Elemente des NameContainers an. -'---------------------------------------------------------------------------- -Sub ShowNameContainer ( aDocumentProperties ) - - if ( aDocumentProperties.hasElements () = FALSE ) then - InfoMessage ( "Keine Elemente im NameContainer enthalten." ) - Exit Sub - end if - - aNameField = aDocumentProperties.getElementNames () - if ( IsArray ( aNameField ) = FALSE ) then - ErrorMessage ( "getElementNames() .... Fehler (Es konnte keine Sequence bestimmt werden!)" ) - Exit Sub - end if - nElementCount% = UBound ( aNameField () ) - - stempString$ = "" - for nCounter%=0 to nElementCount% step 1 - stempString$ = "[" + nCounter% + "]" - stempString$ = stempString$ + chr$(9) + aNameField(nCounter%) - stempString$ = stempString$ + chr$(9) + "=" - stempString$ = stempString$ + chr$(9) + aDocumentProperties.getByName ( aNameField(nCounter%) ) - stempString$ = stempString$ + chr$(13) - next nCounter% - - InfoMessage ( stempString$ ) - -End Sub - -'---------------------------------------------------------------------------- -' Hilfsfunktion: Ermittelt die Anzahl der im NameContainer enthaltenen Elemente. -' -' Returnwert = Anzahl der Elemente -'---------------------------------------------------------------------------- -Function getNameContainerCount ( aDocumentProperties ) as Long - - if ( aDocumentProperties.hasElements () = FALSE ) then - getNameContainerCount = 0 - Exit Function - end if - - aNameField = aDocumentProperties.getElementNames () - nElementCount% = UBound ( aNameField () ) - - ' Da die Zaehlung bei 0 beginnt, und der ermittelte Wert die obere Grenze darstellt, - ' muss hier eine 1 draufgeschlagen werden. - getNameContainerCount = nElementCount% + 1 - -End Function
\ No newline at end of file diff --git a/framework/test/test_filterregistration.bas b/framework/test/test_filterregistration.bas deleted file mode 100644 index 831cbbab8914..000000000000 --- a/framework/test/test_filterregistration.bas +++ /dev/null @@ -1,95 +0,0 @@ -rem _______________________________________________________________________________________________________________________________________ -rem Test script for registering or changing filter of our configuration. -rem _______________________________________________________________________________________________________________________________________ - -Sub Main - Dim xFiterFactory as object - Dim sFilterName as string - - xFilterFactory = createUNOService("com.sun.star.document.FilterFactory") - - sFilterName = "MeinFilter_5" - -rem AddFilter ( xFilterFactory, sFilterName ) - ReadFilter ( xFilterFactory, sFilterName ) -rem QueryFilters ( xFilterFactory ) - - xFilterFactory.flush() - -End Sub - -rem ************************************************************************************************************* -Sub AddFilter( xFilterFactory, sFilterName ) - Dim lProperties(8) as new com.sun.star.beans.PropertyValue - Dim lUserData (1) as string - - lUserData(1) = "Userdata von TestFilter" - - lProperties(0).Name = "Type" - lProperties(0).Value = "bmp_MS_Windows" - - lProperties(1).Name = "UIName" - lProperties(1).Value = sFilterName - - lProperties(2).Name = "DocumentService" - lProperties(2).Value = "com.sun.star.text.TextDocument" - - lProperties(3).Name = "FilterService" - lProperties(3).Value = "com.sun.star.comp.framework.TestFilter" - - lProperties(4).Name = "Flags" - lProperties(4).Value = 256 - - lProperties(5).Name = "UserData" - lProperties(5).Value = lUserData() - - lProperties(6).Name = "FileFormatVersion" - lProperties(6).Value = 0 - - lProperties(7).Name = "TemplateName" - lProperties(7).Value = "" - - xFilterFactory.insertByName( sFilterName, lProperties() ) -End Sub - -rem ************************************************************************************************************* -Sub ReadFilter( xFilterFactory, sFilterName ) -rem Dim lFilters() as com.sun.star.beans.PropertyValue - Dim sOut as string - Dim nCount as integer - - lProperties = xFilterFactory.getByName( sFilterName ) - - sOut = "" - for nCount=0 to ubound(lProperties()) step 1 - sOut = sOut + lProperties(nCount).Name - sOut = sOut + " = " -rem Disable follow if statement to produce bug! -rem if( lProperties(nCount).Name <> "UserData" ) then - sOut = sOut + lProperties(nCount).Value -rem endif - sOut = sOut + chr(13) - next nCount - - msgbox sOut -End Sub - -rem ************************************************************************************************************* -Sub QueryFilters( xFilterFactory ) - Dim lFilters() as string - Dim sQuery as string - Dim sOut as string - Dim nCount as integer - - sQuery = "_filterquery_defaultfilter" -rem sQuery = "_filterquery_textdocument_withdefault" - - lFilters() = xFilterFactory.getByName( sQuery ) - - sOut = "" - for nCount=0 to ubound( lFilters() ) - sOut = sOut + lFilters(nCount) + chr(13) - next nCount - - msgbox sOut -End Sub diff --git a/framework/test/test_statusindicatorfactory.bas b/framework/test/test_statusindicatorfactory.bas deleted file mode 100644 index e82590fb7678..000000000000 --- a/framework/test/test_statusindicatorfactory.bas +++ /dev/null @@ -1,69 +0,0 @@ -Sub Main - - rem Get reference to current active frame. Most time this will be - rem the basic ide by himself. - xTestFrame = StarDesktop.ActiveFrame - - rem Create more then one indicator objects for this frame. - xIndicator1 = xTestFrame.createStatusIndicator() - xIndicator2 = xTestFrame.createStatusIndicator() - xIndicator3 = xTestFrame.createStatusIndicator() - - rem Check status of creation. No null references should be detected. - if( isNull(xIndicator1)=TRUE ) or ( isNull(xIndicator2)=TRUE ) or ( isNull(xIndicator3)=TRUE ) then - msgbox "Error: Could not create status indicators!" - exit Sub - endif - - rem Start working for indicator 1 and 2. - rem The window should NOT be shown! - xIndicator1.start( "Indicator 1:", 100 ) - xIndicator2.start( "Indicator 2:", 200 ) - msgbox "Indicator 1 and 2 was started ... the window should NOT be shown!" - - rem Start working for indicator 3. - rem The window should be shown! It's the most active one. - xIndicator3.start( "Indicator 3:", 300 ) - msgbox "Indicator 3 was started ... the window should be shown!" - - rem Set different values and texts for indicator 1 and 2. - rem These values are not visible. - xIndicator1.setValue( 25 ) - xIndicator2.setValue( 50 ) - - rem Work with indicator 3. - rem If working finished automaticly indicator 2 is reactivated. - i = 0 - while i<300 - xIndicator3.setText( "Indicator 3: Range=300 Value=" + i ) - xIndicator3.setValue( i ) - i = i+10 - wait( 1 ) - wend - - rem Delete indicator 2 before you deactivate number 3! - rem The next automaticly activated indicator will be the number 1. - xIndicator2.end - msgbox "Indicator 3 will be destroyed. Indicator 2 was deleted ... number 1 must reactivated automaticly!" - xIndicator3.end - - rem Work with indicator 1. - rem If working finished automaticly the window will be destroyed. - i = 25 - while i<100 - xIndicator1.setText( "Indicator 1: Range=100 Value=" + i ) - xIndicator1.setValue( i ) - i = i+10 - wait( 1 ) - wend - xIndicator1.setText( "Indicator 1: ... reset values to defaults" ) - wait( 1000 ) - xIndicator1.reset - xIndicator1.setText( "Indicator 1: ... set 50 % for progress" ) - wait( 1000 ) - xIndicator1.setValue( 50 ) - msgbox "Indicator 1 will be destroyed. Indicator window must destroyed automaticly!" - xIndicator1.end - - msgbox "Test for status indicator finished successful!" -End Sub diff --git a/framework/test/threadtest.cxx b/framework/test/threadtest.cxx deleted file mode 100644 index d7f15304d85f..000000000000 --- a/framework/test/threadtest.cxx +++ /dev/null @@ -1,732 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ -#include <macros/generic.hxx> -#include <macros/debug.hxx> -#include <threadhelp/resetableguard.hxx> -#include <threadhelp/transactionguard.hxx> - -#include <threadhelp/rwlockbase.hxx> - -#include <threadhelp/transactionbase.hxx> -#include <threadhelp/readguard.hxx> -#include <threadhelp/writeguard.hxx> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <rtl/random.h> -#include <osl/process.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> -#include <osl/time.h> - -#include <osl/interlock.h> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> -#include <stdio.h> - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -#define LOGFILE "threadtest.log" -#define STATISTICS_FILE "threadtest_statistic.csv" - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::rtl ; -using namespace ::osl ; -using namespace ::framework ; - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -/*---------------- Use follow defines to enable/disable some special features of this little test program! -------*/ - -#define ENABLE_LOG -//#define ENABLE_THREADDELAY -#define ENABLE_REQUESTCOUNT - -/*----------------------------------------------------------------------------------------------------------------*/ - -#ifdef ENABLE_LOG - #define LOG_SETA_START( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call setA( " ); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_SETA_END( NA, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish setA( " ); \ - else \ - sLog.append( " ] was refused at setA( "); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_GETA_START( NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call getA()\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_GETA_END( NRETURN, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish getA() with " ); \ - else \ - sLog.append( " ] was refused at getA() with " ); \ - sLog.append( NRETURN ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_WORKA_START( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call workA( " ); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_WORKA_END( NRETURN, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish workA() with " ); \ - else \ - sLog.append( " ] was refused at workA() with " ); \ - sLog.append( NRETURN ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_INITEXCEPTION( SMETHOD, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] get EInitException from \"" ); \ - sLog.append( SMETHOD ); \ - sLog.append( "\"\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_CLOSEEXCEPTION( SMETHOD, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] get ECloseException from \"" ); \ - sLog.append( SMETHOD ); \ - sLog.append( "\"\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_INIT( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] initialize me with " ); \ - sLog.append( NA ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_CLOSE( NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ResetableGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] close me\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } -#else - #define LOG_SETA_START( NA, NID ) - #define LOG_SETA_END( NA, EREASON, NID ) - #define LOG_GETA_START( NID ) - #define LOG_GETA_END( NRETURN, EREASON, NID ) - #define LOG_WORKA_START( NA, NID ) - #define LOG_WORKA_END( NRETURN, EREASON, NID ) - #define LOG_INITEXCEPTION( SMETHOD, NID ) - #define LOG_CLOSEEXCEPTION( SMETHOD, NID ) - #define LOG_INIT( NA, NID ) - #define LOG_CLOSE( NID ) -#endif - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -sal_uInt16 getRandomValue() -{ - // Get new random value for thread-sleep! - // See run() for further informations. - // Always calculate a new random number. - sal_uInt16 nValue; - rtlRandomPool aPool = rtl_random_createPool(); - rtl_random_getBytes ( aPool, &nValue, 2 ); - rtl_random_destroyPool ( aPool ); - return nValue; -} - -/*-************************************************************************************************************//** - @descr This class is used from different threads at the same time. - We start working after calling init() first(!) ... - and finish it by calling close(). It exist two methods for reading/writing an - internal variable "A". Another function workA() do both things at the same time. - All public methods log information in a file if DO_LOG is defined. - - @attention Our public base class FaiRWLockBase is a struct with a RWLock as member. - This member can be used by guards to safe access at internal variables - in interface methods. - Another baseclass is the TransactionBase. They support rejection of wrong calls at wrong time. - e.g. calls after closing object! -*//*-*************************************************************************************************************/ - -class ThreadSafeClass : private TransactionBase - , private FairRWLockBase -{ - public: - - ThreadSafeClass (); - ~ThreadSafeClass(); - - // This methods are used from differnt threads - // to test this class. - void init ( sal_Int32 nA , - sal_Int32 nThreadID ); - void close ( sal_Int32 nThreadID ); - void setA ( sal_Int32 nA , - sal_Int32 nThreadID ); - sal_Int32 getA ( sal_Int32 nThreadID ); - sal_Int32 workA ( sal_Int32 nA , - sal_Int32 nThreadID ); - - #ifdef ENABLE_REQUESTCOUNT - // This methods are used for statistics only! - sal_Int32 getReadCount () { return m_nReadCount; } - sal_Int32 getWriteCount() { return m_nWriteCount; } - #endif - - private: - - sal_Int32 m_nA ; /// test member fro reading/writing - - #ifdef ENABLE_LOG - ::osl::Mutex m_aLogMutex ; /// mutex to serialize writing log file! - #endif - - #ifdef ENABLE_REQUESTCOUNT - oslInterlockedCount m_nReadCount ; /// statistic variables to count read/write requests - oslInterlockedCount m_nWriteCount ; - #endif -}; - -//_________________________________________________________________________________________________________________ -ThreadSafeClass::ThreadSafeClass() - : TransactionBase ( ) - , FairRWLockBase ( ) - , m_nA ( 0 ) - #ifdef ENABLE_REQUESTCOUNT - , m_nReadCount ( 0 ) - , m_nWriteCount ( 0 ) - #endif -{ -} - -//_________________________________________________________________________________________________________________ -ThreadSafeClass::~ThreadSafeClass() -{ -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::init( sal_Int32 nA, sal_Int32 nThreadID ) -{ - // Set write lock for setting internal member AND - // protect changing of working mode! - WriteGuard aWriteLock( m_aLock ); - - LOG_INIT( nA, nThreadID ) - - // Look for multiple calls of this method first! - // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes. - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); - if( eReason == E_UNINITIALIZED ) - { - // OK, it must be the first call and we are synchronized with all other threads by using the write lock! - // Otherwise (e.g. if working mode == E_WORK) we get a exception and follow lines are never called. - - // We can set our member and change the working mode now. - m_nA = nA; - m_aTransactionManager.setWorkingMode( E_WORK ); - } -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::close( sal_Int32 nThreadID ) -{ - // Make it threadsafe. - // It must be an exclusiv access! => WriteLock! - WriteGuard aWriteLock( m_aLock ); - - LOG_CLOSE( nThreadID ) - - // We must look for multiple calls of this method. - // Try to register this method as a transaction. - // In combination with E_HARDEXCEPTIONS only working mode E_WORK pass this barrier. - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); - if( eReason == E_NOREASON ) - { - // Change working mode to BEFORECLOSE to enable rejection of normal interface calls - // and enable SOFTEXCEPTION mode for some impl- or helper methods! - // Attention: We must stop successful registered transaction first ... - // because setWorkingMode() blocks and wait for all current existing ones! - aTransaction.stop(); - m_aTransactionManager.setWorkingMode( E_BEFORECLOSE ); - - // Now we are alone ... - // All further calls to this object are rejected ... - // (not all ... some special ones can work by using E_SOFTEXCEPTIONS!) - - // Deinitialize all member and set working mode to E_CLOSE. - m_nA = 0; - m_aTransactionManager.setWorkingMode( E_CLOSE ); - } -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::setA( sal_Int32 nA, sal_Int32 nThreadID ) -{ - // Make it threadsafe. - WriteGuard aWriteLock( m_aLock ); - - LOG_SETA_START( nA, nThreadID ) - - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); - if( eReason == E_NOREASON ) - { - // This object is ready for working and we have full write access. - // We can work with our member. - m_nA = nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nWriteCount ); - #endif - } - LOG_SETA_END( nA, eReason, nThreadID ) -} - -//_________________________________________________________________________________________________________________ -sal_Int32 ThreadSafeClass::getA( sal_Int32 nThreadID ) -{ - // Make it threadsafe. - ReadGuard aReadLock( m_aLock ); - - LOG_GETA_START( nThreadID ) - - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - sal_Int32 nReturn = 0; - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); - if( eReason == E_NOREASON ) - { - // This object is ready for working and we have a read access. - // We can work with our member. - nReturn = m_nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nReadCount ); - #endif - } - - LOG_GETA_END( nReturn, eReason, nThreadID ) - return nReturn; -} - -//_________________________________________________________________________________________________________________ -sal_Int32 ThreadSafeClass::workA( sal_Int32 nA , - sal_Int32 nThreadID ) -{ - // This method test the downgrade-mechanism of used lock implementation! - // Make it threadsafe. - WriteGuard aWriteLock( m_aLock ); - - LOG_WORKA_START( nA, nThreadID ) - - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - sal_Int32 nReturn = 0; - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); - if( eReason == E_NOREASON ) - { - // We have write access to our member. - // Set new value. - m_nA = nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nWriteCount ); - #endif - - // Downgrade write access to read access and read the set value again. - // This call can't be rejected - but it can fail! - aWriteLock.downgrade(); - nReturn = m_nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nReadCount ); - #endif - } - - LOG_WORKA_END( nReturn, eReason, nThreadID ) - return nReturn; -} - -/*-****************************************************************************************************//** - @descr Every thread instance of these class lopp from 0 up to "nLoops". - He sleep for a random time and work with given test class "pClass" then. - We use random values for waiting for better results! - Otherwise all threads are sychron after first 2,3...5 calls - I think! -*//*-*****************************************************************************************************/ - -class TestThread : public osl::Thread -{ - public: - - TestThread( ThreadSafeClass* pClass , - sal_Int32 nLoops , - Condition* pListener , - sal_Bool bOwner = sal_False ); - - private: - - virtual void SAL_CALL run (); - virtual void SAL_CALL onTerminated (); - - private: - - ThreadSafeClass* m_pClass ; - sal_Int32 m_nLoops ; - sal_Int32 m_nThreadID ; - Condition* m_pListener ; - sal_Bool m_bOwner ; -}; - -//_________________________________________________________________________________________________________________ -TestThread::TestThread( ThreadSafeClass* pClass , - sal_Int32 nLoops , - Condition* pListener , - sal_Bool bOwner ) - : m_pClass ( pClass ) - , m_nLoops ( nLoops ) - , m_pListener ( pListener ) - , m_bOwner ( bOwner ) -{ -} - -//_________________________________________________________________________________________________________________ -void SAL_CALL TestThread::run() -{ - // Get ID of this thread. - // Is used for logging information ... - m_nThreadID = getCurrentIdentifier(); - - // If we are the owner of given pClass - // we must initialize ... and close - // it. See at the end of this method too. - if( m_bOwner == sal_True ) - { - m_pClass->init( 0, m_nThreadID ); - } - - #ifdef ENABLE_THREADDELAY - TimeValue nDelay ; - #endif - - sal_Int32 nA ; - - for( sal_Int32 nCount=0; nCount<m_nLoops; ++nCount ) - { - // Work with class. - // Use random to select called method. - nA = (sal_Int32)getRandomValue(); - if( nA % 5 == 0 ) - { - nA = m_pClass->workA( nA, m_nThreadID ); - } - else - if( nA % 3 == 0 ) - { - m_pClass->setA( nA, m_nThreadID ); - } - else - { - nA = m_pClass->getA( m_nThreadID ); - } - #ifdef ENABLE_THREADDELAY - // Sleep - use random value to do that too! - nDelay.Seconds = 0; - nDelay.Nanosec = getRandomValue(); - sleep( nDelay ); - #endif - } - - // Don't forget to "close" teset object if you are the owner! - if( m_bOwner == sal_True ) - { - m_pClass->close( m_nThreadID ); - } -} - -//_________________________________________________________________________________________________________________ -void SAL_CALL TestThread::onTerminated() -{ - // Destroy yourself if you finished. - // But don't forget to call listener before. - m_pListener->set(); - - m_pClass = NULL; - m_pListener = NULL; - - delete this; -} - -/*-****************************************************************************************************//** - @descr This is our test application. - We create one ThreadSafeClass object and a lot of threads - which use it at different times. -*//*-*****************************************************************************************************/ - -struct ThreadInfo -{ - Condition* pCondition ; - TestThread* pThread ; -}; - -class TestApplication : public Application -{ - public: - void Main ( ); - sal_Int32 measureTime ( sal_Int32 nThreadCount , - sal_Int32 nOwner , - sal_Int32 nLoops=0 ); -}; - -//_________________________________________________________________________________________________________________ -// definition -//_________________________________________________________________________________________________________________ - -TestApplication aApplication; - -//_________________________________________________________________________________________________________________ -// This function start "nThreadCount" threads to use same test class. -// You can specify the owner thread of this test class which start/stop it by using "nOwner". [1..nThreadcount]! -// If you specify "nLoops" different from 0 we use it as loop count for every started thread. -// Otherwise we work with random values. -sal_Int32 TestApplication::measureTime( sal_Int32 nThreadCount , - sal_Int32 nOwner , - sal_Int32 nLoops ) -{ - // This is the class which should be tested. - ThreadSafeClass aClass; - - // Create list of threads. - ThreadInfo* pThreads = new ThreadInfo[nThreadCount]; - sal_Int32 nLoopCount = nLoops ; - sal_Bool bOwner = sal_False ; - for( sal_Int32 nI=1; nI<=nThreadCount; ++nI ) - { - // If nLoops==0 => we must use random value; otherwise we must use given count ... - if( nLoops == 0 ) - { - nLoopCount = getRandomValue(); - } - // Search owner of class. - bOwner = sal_False; - if( nOwner == nI ) - { - bOwner = sal_True; - } - // initialize condition. - pThreads[nI].pCondition = new Condition; - // Initialize thread. - pThreads[nI].pThread = new TestThread( &aClass, nLoopCount, pThreads[nI].pCondition, bOwner ); - } - - // Start clock to get information about used time. - sal_uInt32 nStartTime ; - sal_uInt32 nEndTime ; - - nStartTime = osl_getGlobalTimer(); - - // Start threads ... - for( nI=1; nI<=nThreadCount; ++nI ) - { - pThreads[nI].pThread->create(); - } - - // Wait for threads ... - for( nI=1; nI<=nThreadCount; ++nI ) - { - pThreads[nI].pCondition->wait(); - delete pThreads[nI].pCondition; - pThreads[nI].pCondition = NULL; - } - - delete[] pThreads; - pThreads = NULL; - - nEndTime = osl_getGlobalTimer(); - - // Calc used time and return it. [ms] - return( nEndTime-nStartTime ); -} - -//_________________________________________________________________________________________________________________ -void TestApplication::Main() -{ - sal_Int32 nTestCount = 0; /// count of calling "measureTime()" - sal_Int32 nThreadCount = 0; /// count of used threads by "measure..." - sal_Int32 nLoops = 0; /// loop count for every thread - sal_Int32 nOwner = 0; /// number of owner thread - - // Parse command line. - // Attention: All parameter are required and must exist! - // syntax: "threadtest.exe <testcount> <threadcount> <loops> <owner>" - OUString sArgument ; - sal_Int32 nArgument ; - sal_Int32 nCount = osl_getCommandArgCount(); - - LOG_ASSERT2( nCount!=4 ,"TestApplication::Main()" , "Wrong argument line detected!") - - for( nArgument=0; nArgument<nCount; ++nArgument ) - { - osl_getCommandArg( nArgument, &sArgument.pData ); - if( nArgument== 0 ) nTestCount =sArgument.toInt32(); - if( nArgument== 1 ) nThreadCount=sArgument.toInt32(); - if( nArgument== 2 ) nLoops =sArgument.toInt32(); - if( nArgument== 3 ) nOwner =sArgument.toInt32(); - } - - // Start test. - OStringBuffer sBuf(256); - sal_Int32 nTime=0; - sBuf.append( "Nr.\tTime\tThreadCount\tLoops\tOwner\n" ); - for( sal_Int32 nI=1; nI<=nTestCount; ++nI ) - { - nTime = measureTime( nThreadCount, nOwner, nLoops ); - sBuf.append( nI ); - sBuf.append( "\t" ); - sBuf.append( nTime ); - sBuf.append( "\t" ); - sBuf.append( nThreadCount ); - sBuf.append( "\t" ); - sBuf.append( nLoops ); - sBuf.append( "\t" ); - sBuf.append( nOwner ); - sBuf.append( "\n" ); - } - - WRITE_LOGFILE( STATISTICS_FILE, sBuf.makeStringAndClear() ); - LOG_ERROR( "TApplication::Main()", "Test finish successful!" ) -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/test/threadtest/test.btm b/framework/test/threadtest/test.btm deleted file mode 100755 index 627c756893bf..000000000000 --- a/framework/test/threadtest/test.btm +++ /dev/null @@ -1,29 +0,0 @@ -@echo off -pushd - -rem TESTCOUNT = Anzahl von Test-Durchlaeufen -rem THREADCOUNT = Anzahl konk. Threads -rem LOOPS = Anzahl Durchlaeufe pro Test -rem OWNER = Numer des Threads, welcher Testklasse "besitzt" ... er muss diese initialisieren und deinitialisieren! - -echo "set test parameter ..." -set _TESTCOUNT=100 -set _THREADCOUNT=30 -set _LOOPS=50 -set _OWNER=10 - -cd bin - -echo "delete old log files ..." -*del .\threadtest_statistic.csv -*del .\threadtest.log - -echo "start test ..." -.\threadtest.exe %_TESTCOUNT% %_THREADCOUNT% %_LOOPS% %_OWNER% - -echo "show log files ..." -edit .\threadtest_statistic.csv -edit .\threadtest.log - -popd -echo on diff --git a/framework/test/threadtest/threadtest.cxx b/framework/test/threadtest/threadtest.cxx deleted file mode 100644 index 785ba77dcc29..000000000000 --- a/framework/test/threadtest/threadtest.cxx +++ /dev/null @@ -1,729 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ -#include <threadhelp/threadhelpbase.hxx> - -#include <threadhelp/transactionbase.hxx> -#include <threadhelp/resetableguard.hxx> -#include <threadhelp/readguard.hxx> -#include <threadhelp/writeguard.hxx> -#include <threadhelp/transactionguard.hxx> -#include <macros/generic.hxx> -#include <macros/debug.hxx> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <rtl/random.h> -#include <osl/process.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> -#include <osl/time.h> - -#include <osl/interlock.h> -#include <osl/thread.hxx> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> -#include <stdio.h> - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -#define LOGFILE "threadtest.log" -#define STATISTICS_FILE "threadtest_statistic.csv" - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::rtl ; -using namespace ::osl ; -using namespace ::vos ; -using namespace ::framework ; - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -/*---------------- Use follow defines to enable/disable some special features of this little test program! -------*/ - -#define ENABLE_LOG -//#define ENABLE_THREADDELAY -#define ENABLE_REQUESTCOUNT - -/*----------------------------------------------------------------------------------------------------------------*/ - -#ifdef ENABLE_LOG - #define LOG_SETA_START( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call setA( " ); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_SETA_END( NA, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish setA( " ); \ - else \ - sLog.append( " ] was refused at setA( "); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_GETA_START( NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call getA()\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_GETA_END( NRETURN, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish getA() with " ); \ - else \ - sLog.append( " ] was refused at getA() with " ); \ - sLog.append( NRETURN ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_WORKA_START( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] call workA( " ); \ - sLog.append( NA ); \ - sLog.append( " )\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_WORKA_END( NRETURN, EREASON, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - if( EREASON == E_NOREASON ) \ - sLog.append( " ] finish workA() with " ); \ - else \ - sLog.append( " ] was refused at workA() with " ); \ - sLog.append( NRETURN ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_INITEXCEPTION( SMETHOD, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] get EInitException from \"" ); \ - sLog.append( SMETHOD ); \ - sLog.append( "\"\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_CLOSEEXCEPTION( SMETHOD, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] get ECloseException from \"" ); \ - sLog.append( SMETHOD ); \ - sLog.append( "\"\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_INIT( NA, NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] initialize me with " ); \ - sLog.append( NA ); \ - sLog.append( "\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } - - #define LOG_CLOSE( NID ) \ - { \ - sal_uInt32 nTimeStamp = osl_getGlobalTimer(); \ - ::osl::MutexGuard aLogGuard( m_aLogMutex ); \ - OStringBuffer sLog(256); \ - sLog.append( (sal_Int32)nTimeStamp ); \ - sLog.append( ": Thread[ " ); \ - sLog.append( NID ); \ - sLog.append( " ] close me\n" ); \ - WRITE_LOGFILE( LOGFILE, sLog.makeStringAndClear() ) \ - } -#else - #define LOG_SETA_START( NA, NID ) - #define LOG_SETA_END( NA, EREASON, NID ) - #define LOG_GETA_START( NID ) - #define LOG_GETA_END( NRETURN, EREASON, NID ) - #define LOG_WORKA_START( NA, NID ) - #define LOG_WORKA_END( NRETURN, EREASON, NID ) - #define LOG_INITEXCEPTION( SMETHOD, NID ) - #define LOG_CLOSEEXCEPTION( SMETHOD, NID ) - #define LOG_INIT( NA, NID ) - #define LOG_CLOSE( NID ) -#endif - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -sal_uInt16 getRandomValue() -{ - // Get new random value for thread-sleep! - // See run() for further informations. - // Always calculate a new random number. - sal_uInt16 nValue; - rtlRandomPool aPool = rtl_random_createPool(); - rtl_random_getBytes ( aPool, &nValue, 2 ); - rtl_random_destroyPool ( aPool ); - return nValue; -} - -/*-************************************************************************************************************//** - @descr This class is used from different threads at the same time. - We start working after calling init() first(!) ... - and finish it by calling close(). It exist two methods for reading/writing an - internal variable "A". Another function workA() do both things at the same time. - All public methods log information in a file if DO_LOG is defined. - - @attention Our public base class FaiRWLockBase is a struct with a RWLock as member. - This member can be used by guards to safe access at internal variables - in interface methods. - Another baseclass is the TransactionBase. They support rejection of wrong calls at wrong time. - e.g. calls after closing object! -*//*-*************************************************************************************************************/ - -class ThreadSafeClass : private ThreadHelpBase - , private TransactionBase - -{ - public: - - ThreadSafeClass (); - ~ThreadSafeClass(); - - // This methods are used from differnt threads - // to test this class. - void init ( sal_Int32 nA , - sal_Int32 nThreadID ); - void close ( sal_Int32 nThreadID ); - void setA ( sal_Int32 nA , - sal_Int32 nThreadID ); - sal_Int32 getA ( sal_Int32 nThreadID ); - sal_Int32 workA ( sal_Int32 nA , - sal_Int32 nThreadID ); - - #ifdef ENABLE_REQUESTCOUNT - // This methods are used for statistics only! - sal_Int32 getReadCount () { return m_nReadCount; } - sal_Int32 getWriteCount() { return m_nWriteCount; } - #endif - - private: - - sal_Int32 m_nA ; /// test member fro reading/writing - - #ifdef ENABLE_LOG - ::osl::Mutex m_aLogMutex ; /// mutex to serialize writing log file! - #endif - - #ifdef ENABLE_REQUESTCOUNT - oslInterlockedCount m_nReadCount ; /// statistic variables to count read/write requests - oslInterlockedCount m_nWriteCount ; - #endif -}; - -//_________________________________________________________________________________________________________________ -ThreadSafeClass::ThreadSafeClass() - : ThreadHelpBase ( ) - , TransactionBase ( ) - , m_nA ( 0 ) - #ifdef ENABLE_REQUESTCOUNT - , m_nReadCount ( 0 ) - , m_nWriteCount ( 0 ) - #endif -{ -} - -//_________________________________________________________________________________________________________________ -ThreadSafeClass::~ThreadSafeClass() -{ -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::init( sal_Int32 nA, sal_Int32 nThreadID ) -{ - // Look for multiple calls of this method first! - // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes. - TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS ); - - // Set write lock for setting internal member AND - // protect changing of working mode! - WriteGuard aWriteLock( m_aLock ); - LOG_INIT( nA, nThreadID ) - - // OK, it must be the first call and we are synchronized with all other threads by using the write lock! - // Otherwise (e.g. if working mode == E_WORK) we get a exception and follow lines are never called. - - // We can set our member and change the working mode now. - m_nA = nA; - - aWriteLock.unlock(); - - m_aTransactionManager.setWorkingMode( E_WORK ); -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::close( sal_Int32 nThreadID ) -{ - // We must look for multiple calls of this method. - // Try to register this method as a transaction. - // In combination with E_HARDEXCEPTIONS only working mode E_WORK pass this barrier. - TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); - aTransaction.stop(); - - // Change working mode to BEFORECLOSE to enable rejection of normal interface calls - // and enable SOFTEXCEPTION mode for some impl- or helper methods! - // Attention: We must stop successful registered transaction first ... - // because setWorkingMode() blocks and wait for all current existing ones! - m_aTransactionManager.setWorkingMode( E_BEFORECLOSE ); - - // Make it threadsafe. - // It must be an exclusiv access! => WriteLock! - WriteGuard aWriteLock( m_aLock ); - - LOG_CLOSE( nThreadID ) - - // Now we are alone ... - // All further calls to this object are rejected ... - // (not all ... some special ones can work by using E_SOFTEXCEPTIONS!) - - // Deinitialize all member and set working mode to E_CLOSE. - m_nA = 0; - - aWriteLock.unlock(); - - m_aTransactionManager.setWorkingMode( E_CLOSE ); -} - -//_________________________________________________________________________________________________________________ -void ThreadSafeClass::setA( sal_Int32 nA, sal_Int32 nThreadID ) -{ - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, &eReason ); - if( eReason == E_NOREASON ) - { - // Make it threadsafe. - WriteGuard aWriteLock( m_aLock ); - - LOG_SETA_START( nA, nThreadID ) - - // This object is ready for working and we have full write access. - // We can work with our member. - m_nA = nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nWriteCount ); - #endif - LOG_SETA_END( nA, eReason, nThreadID ) - } -} - -//_________________________________________________________________________________________________________________ -sal_Int32 ThreadSafeClass::getA( sal_Int32 nThreadID ) -{ - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - sal_Int32 nReturn = 0; - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, &eReason ); - if( eReason == E_NOREASON ) - { - // Make it threadsafe. - ReadGuard aReadLock( m_aLock ); - - LOG_GETA_START( nThreadID ) - - // This object is ready for working and we have a read access. - // We can work with our member. - nReturn = m_nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nReadCount ); - #endif - LOG_GETA_END( nReturn, eReason, nThreadID ) - } - return nReturn; -} - -//_________________________________________________________________________________________________________________ -sal_Int32 ThreadSafeClass::workA( sal_Int32 nA , - sal_Int32 nThreadID ) -{ - // Register this method as a transaction to prevent code against wrong calls - // after close() or before init()! - sal_Int32 nReturn = 0; - ERejectReason eReason; - TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, &eReason ); - if( eReason == E_NOREASON ) - { - // This method test the downgrade-mechanism of used lock implementation! - // Make it threadsafe. - WriteGuard aWriteLock( m_aLock ); - - LOG_WORKA_START( nA, nThreadID ) - // We have write access to our member. - // Set new value. - m_nA = nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nWriteCount ); - #endif - - // Downgrade write access to read access and read the set value again. - // This call can't be rejected - but it can fail! - aWriteLock.downgrade(); - nReturn = m_nA; - #ifdef ENABLE_REQUESTCOUNT - osl_incrementInterlockedCount( &m_nReadCount ); - #endif - - LOG_WORKA_END( nReturn, eReason, nThreadID ) - } - return nReturn; -} - -/*-****************************************************************************************************//** - @descr Every thread instance of these class lopp from 0 up to "nLoops". - He sleep for a random time and work with given test class "pClass" then. - We use random values for waiting for better results! - Otherwise all threads are sychron after first 2,3...5 calls - I think! -*//*-*****************************************************************************************************/ - -class TestThread : public osl::Thread -{ - public: - - TestThread( ThreadSafeClass* pClass , - sal_Int32 nLoops , - Condition* pListener , - sal_Bool bOwner = sal_False ); - - private: - - virtual void SAL_CALL run (); - virtual void SAL_CALL onTerminated (); - - private: - - ThreadSafeClass* m_pClass ; - sal_Int32 m_nLoops ; - sal_Int32 m_nThreadID ; - Condition* m_pListener ; - sal_Bool m_bOwner ; -}; - -//_________________________________________________________________________________________________________________ -TestThread::TestThread( ThreadSafeClass* pClass , - sal_Int32 nLoops , - Condition* pListener , - sal_Bool bOwner ) - : m_pClass ( pClass ) - , m_nLoops ( nLoops ) - , m_pListener ( pListener ) - , m_bOwner ( bOwner ) -{ -} - -//_________________________________________________________________________________________________________________ -void SAL_CALL TestThread::run() -{ - // Get ID of this thread. - // Is used for logging information ... - m_nThreadID = getCurrentIdentifier(); - - // If we are the owner of given pClass - // we must initialize ... and close - // it. See at the end of this method too. - if( m_bOwner == sal_True ) - { - m_pClass->init( 0, m_nThreadID ); - } - - #ifdef ENABLE_THREADDELAY - TimeValue nDelay ; - #endif - - sal_Int32 nA ; - - for( sal_Int32 nCount=0; nCount<m_nLoops; ++nCount ) - { - // Work with class. - // Use random to select called method. - nA = (sal_Int32)getRandomValue(); - if( nA % 3 == 0 ) - { - m_pClass->setA( nA, m_nThreadID ); - } - else - { - nA = m_pClass->getA( m_nThreadID ); - } - #ifdef ENABLE_THREADDELAY - // Sleep - use random value to do that too! - nDelay.Seconds = 0; - nDelay.Nanosec = getRandomValue(); - sleep( nDelay ); - #endif - } - - // Don't forget to "close" teset object if you are the owner! - if( m_bOwner == sal_True ) - { - m_pClass->close( m_nThreadID ); - } -} - -//_________________________________________________________________________________________________________________ -void SAL_CALL TestThread::onTerminated() -{ - // Destroy yourself if you finished. - // But don't forget to call listener before. - m_pListener->set(); - - m_pClass = NULL; - m_pListener = NULL; - - delete this; -} - -/*-****************************************************************************************************//** - @descr This is our test application. - We create one ThreadSafeClass object and a lot of threads - which use it at different times. -*//*-*****************************************************************************************************/ - -struct ThreadInfo -{ - Condition* pCondition ; - TestThread* pThread ; -}; - -class TestApplication : public Application -{ - public: - void Main ( ); - sal_Int32 measureTime ( sal_Int32 nThreadCount , - sal_Int32 nOwner , - sal_Int32 nLoops=0 ); -}; - -//_________________________________________________________________________________________________________________ -// definition -//_________________________________________________________________________________________________________________ - -TestApplication aApplication; - -//_________________________________________________________________________________________________________________ -// This function start "nThreadCount" threads to use same test class. -// You can specify the owner thread of this test class which start/stop it by using "nOwner". [1..nThreadcount]! -// If you specify "nLoops" different from 0 we use it as loop count for every started thread. -// Otherwise we work with random values. -sal_Int32 TestApplication::measureTime( sal_Int32 nThreadCount , - sal_Int32 nOwner , - sal_Int32 nLoops ) -{ - // This is the class which should be tested. - ThreadSafeClass aClass; - - // Create list of threads. - ThreadInfo* pThreads = new ThreadInfo[nThreadCount]; - sal_Int32 nLoopCount = nLoops ; - sal_Bool bOwner = sal_False ; - for( sal_Int32 nI=0; nI<nThreadCount; ++nI ) - { - // If nLoops==0 => we must use random value; otherwise we must use given count ... - if( nLoops == 0 ) - { - nLoopCount = getRandomValue(); - } - // Search owner of class. - bOwner = sal_False; - if( nOwner == nI ) - { - bOwner = sal_True; - } - // initialize condition. - pThreads[nI].pCondition = new Condition; - // Initialize thread. - pThreads[nI].pThread = new TestThread( &aClass, nLoopCount, pThreads[nI].pCondition, bOwner ); - } - - // Start clock to get information about used time. - sal_uInt32 nStartTime ; - sal_uInt32 nEndTime ; - - nStartTime = osl_getGlobalTimer(); - - // Start threads ... - for( nI=0; nI<nThreadCount; ++nI ) - { - pThreads[nI].pThread->create(); - } - - // Wait for threads ... - for( nI=0; nI<nThreadCount; ++nI ) - { - pThreads[nI].pCondition->wait(); - delete pThreads[nI].pCondition; - pThreads[nI].pCondition = NULL; - pThreads[nI].pThread = NULL; - } - - delete[] pThreads; - pThreads = NULL; - - nEndTime = osl_getGlobalTimer(); - - // Calc used time and return it. [ms] - return( nEndTime-nStartTime ); -} - -//_________________________________________________________________________________________________________________ -void TestApplication::Main() -{ - sal_Int32 nTestCount = 0; /// count of calling "measureTime()" - sal_Int32 nThreadCount = 0; /// count of used threads by "measure..." - sal_Int32 nLoops = 0; /// loop count for every thread - sal_Int32 nOwner = 0; /// number of owner thread - - // Parse command line. - // Attention: All parameter are required and must exist! - // syntax: "threadtest.exe <testcount> <threadcount> <loops> <owner>" - OUString sArgument ; - sal_Int32 nArgument ; - sal_Int32 nCount = osl_getCommandArgCount(); - - LOG_ASSERT2( nCount!=4 ,"TestApplication::Main()" , "Wrong argument line detected!") - - for( nArgument=0; nArgument<nCount; ++nArgument ) - { - osl_getCommandArg( nArgument, &sArgument.pData ); - if( nArgument== 0 ) nTestCount =sArgument.toInt32(); - if( nArgument== 1 ) nThreadCount=sArgument.toInt32(); - if( nArgument== 2 ) nLoops =sArgument.toInt32(); - if( nArgument== 3 ) nOwner =sArgument.toInt32(); - } - - LOG_ASSERT2( nTestCount==0||nThreadCount==0||nLoops==0||nOwner==0,"TestApplication::Main()", "Wrong argument value detected!" ) - - // Start test. - OStringBuffer sBuf(256); - sal_Int32 nTime=0; - sBuf.append( "Nr.\tTime\tThreadCount\tLoops\tOwner\n" ); - for( sal_Int32 nI=1; nI<=nTestCount; ++nI ) - { - nTime = measureTime( nThreadCount, nOwner, nLoops ); - sBuf.append( nI ); - sBuf.append( "\t" ); - sBuf.append( nTime ); - sBuf.append( "\t" ); - sBuf.append( nThreadCount ); - sBuf.append( "\t" ); - sBuf.append( nLoops ); - sBuf.append( "\t" ); - sBuf.append( nOwner ); - sBuf.append( "\n" ); - } - - WRITE_LOGFILE( STATISTICS_FILE, sBuf.makeStringAndClear() ); - LOG_ERROR( "TApplication::Main()", "Test finish successful!" ) -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/test/typecfg/build.btm b/framework/test/typecfg/build.btm deleted file mode 100755 index f984a1146296..000000000000 --- a/framework/test/typecfg/build.btm +++ /dev/null @@ -1,26 +0,0 @@ -@echo off - -pushd - -rem Set flag to enable special mechanism of "FilterCache". -rem This works for windows only! ... this batch too :-) -set ENVCFLAGS=-DENABLE_GENERATEFILTERCACHE - -rem Touch header file ... -cd ..\..\inc\classes -attrib -r .\filtercache.hxx -touch .\filtercache.hxx - -rem ... and start new build of library. -cd ..\.. -call build debug=true - -rem Build command line tool too. -cd test\typecfg -call dmake debug=true - -rem Don't forget to disable build flag! -unset ENVCFLAGS - -popd -echo on diff --git a/framework/test/typecfg/cfgview.cxx b/framework/test/typecfg/cfgview.cxx deleted file mode 100644 index ca60ea1b2f7e..000000000000 --- a/framework/test/typecfg/cfgview.cxx +++ /dev/null @@ -1,1500 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ -#include <classes/servicemanager.hxx> -#include <classes/filtercache.hxx> -#include <macros/generic.hxx> -#include <macros/debug.hxx> -#include <services.h> -#include <filterflags.h> -#include <queries.h> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <comphelper/processfactory.hxx> -#include <osl/process.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> - -#include <boost/unordered_map.hpp> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> -#include <stdio.h> - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -#define RDBFILE DECLARE_ASCII("typecfg.rdb" ) -#define ARGUMENT_DIRNAME DECLARE_ASCII("-dir=" ) // argument for output directory -#define ARGUMENT_VERSION DECLARE_ASCII("-ver=" ) // argument for file version to read [1|2|3] -#define ARGUMENTLENGTH 5 // same length for all arguemnts make it easier to detect it :-) -#define ARGUMENTFOUND 0 // OUString::compareTo returns 0 if searched string match given one - -#define MENU_HTML "menu.html" -#define BLANK_HTML "blank.html" - -#define FRAMESET_START_HTML "index.html" -#define FRAMESET_TYPES_HTML "fs_types.html" -#define FRAMESET_FILTERS_HTML "fs_filters.html" -#define FRAMESET_MODULFILTERS_HTML "fs_modulfilters.html" -#define FRAMESET_DETECTORS_HTML "fs_detectors.html" -#define FRAMESET_LOADERS_HTML "fs_loaders.html" -#define FRAMESET_INVALIDFILTERS_HTML "fs_invalidfilters.html" -#define FRAMESET_INVALIDDETECTORS_HTML "fs_invaliddetectors.html" -#define FRAMESET_INVALIDLOADERS_HTML "fs_invalidloaders.html" -#define FRAMESET_DOUBLEFILTERUINAMES_HTML "fs_doublefilteruinames.html" - -#define ALLTYPES_HTML "alltypes.html" -#define ALLFILTERS_HTML "allfilters.html" -#define ALLDETECTORS_HTML "alldetectors.html" -#define ALLLOADERS_HTML "allloaders.html" - -#define TYPEPROPERTIES_HTML "typeproperties.html" -#define FILTERPROPERTIES_HTML "filterproperties.html" -#define DETECTORPROPERTIES_HTML "detectorproperties.html" -#define LOADERPROPERTIES_HTML "loaderproperties.html" - -#define INVALIDFILTERS_HTML "invalidfilters.html" -#define INVALIDDETECTORS_HTML "invaliddetectors.html" -#define INVALIDLOADERS_HTML "invalidloaders.html" - -#define FILTERFLAGS_HTML "filterflags.html" -#define MODULFILTERS_HTML "modulfilters.html" -#define DOUBLEFILTERUINAMES_HTML "doublefilteruinames.html" - -#define TARGET_MENU "menu" -#define TARGET_VIEW "view" -#define TARGET_LIST "list" -#define TARGET_PROPERTIES "properties" - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::std ; -using namespace ::rtl ; -using namespace ::framework ; -using namespace ::comphelper ; -using namespace ::com::sun::star::uno ; -using namespace ::com::sun::star::lang ; -using namespace ::com::sun::star::container ; -using namespace ::com::sun::star::beans ; - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -/*-***************************************************************************************************************/ -struct AppMember -{ - Reference< XMultiServiceFactory > xServiceManager ; - FilterCache* pCache ; - ::rtl::OUString sDirectory ; - sal_Int32 nVersion ; -}; - -/*-***************************************************************************************************************/ -class CFGView : public Application -{ - //************************************************************************************************************* - public: - void Main(); - - //************************************************************************************************************* - private: - void impl_parseCommandLine ( AppMember& rMember ); - void impl_generateHTMLView (); - - //************************************************************************************************************* - private: - void impl_printCopyright (); - void impl_printSyntax (); - void impl_generateTypeListHTML (); - void impl_generateFilterListHTML (); - void impl_generateFilterModulListHTML (); - void impl_generateDetectorListHTML (); - void impl_generateLoaderListHTML (); - void impl_generateInvalidFiltersHTML (); - void impl_generateInvalidDetectorsHTML (); - void impl_generateInvalidLoadersHTML (); - void impl_generateFilterFlagsHTML (); - void impl_generateDefaultFiltersHTML (); - void impl_generateDoubleFilterUINamesHTML (); - void impl_writeFile ( const ::rtl::OString& sFile, const ::rtl::OString& sContent ); - - //************************************************************************************************************* - private: - AppMember m_aData ; - -}; // class CFGView - -//_________________________________________________________________________________________________________________ -// global variables -//_________________________________________________________________________________________________________________ - -CFGView gApplication; - -//***************************************************************************************************************** -void CFGView::Main() -{ - // Init global servicemanager and set it. - // It's neccessary for other services ... e.g. configuration. - ServiceManager aManager; - ::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() ); - - // Get optional commands from command line. - impl_parseCommandLine( m_aData ); - - // Read configuration and fill cache ... use given file version (see parameter "-ver=" too) - m_aData.pCache = new FilterCache( m_aData.nVersion ); - - // Generate view as html - impl_generateHTMLView(); - - // Free all used memory - delete m_aData.pCache; - m_aData.pCache = NULL; -} - -/*-************************************************************************************************************//** - @short print some info messages to stderr - @descr We must show an copyright or help for using this file. - This two methods do that. - - @seealso - - - @param - - @return - - - @onerror - -*//*-*************************************************************************************************************/ -void CFGView::impl_printCopyright() -{ - fprintf( stderr, "\n(c) Copyright by Sun microsystems, 2001\n" ); -} - -//***************************************************************************************************************** -void CFGView::impl_printSyntax() -{ - fprintf( stderr, "\nusing: xml2xcd -fi=<outputfile> -vi=<version input> -vo=<version output> [-wr=<true|false>]\n\n" ); - fprintf( stderr, "\tneccessary parameters:\n" ); - fprintf( stderr, "\t\t-fi=<outputfile>\tname of output file in system notation\n" ); - fprintf( stderr, "\t\t-vi=<version input>\tformat version of input xml file\n" ); - fprintf( stderr, "\t\t-vo=<version output>\tformat version of generated xcd file\n\n" ); - fprintf( stderr, "\toptional parameters:\n" ); - fprintf( stderr, "\t\t-wr=<true|false>\tconfig items should be writeable ... [true|false]\n" ); -} - -/*-************************************************************************************************************//** - @short analyze command line arguments - @descr Created binary accept different command line arguments. These parameters - regulate creation of this html view. Follow arguments are supported: - "-dir=<directory for output files>" - "-ver=<version of input file>[1|2|3]" - - @seealso - - - @param "rMember", reference to struct of global application member to fill arguments in it - @return right filled member struct or unchanged struct if an error occure! - - @onerror We do nothing - or warn programmer! -*//*-*************************************************************************************************************/ -void CFGView::impl_parseCommandLine( AppMember& rMember ) -{ - ::rtl::OUString sArgument ; - sal_Int32 nArgument = 0 ; - sal_Int32 nCount = osl_getCommandArgCount(); - sal_Int32 nMinCount = 0 ; - - while( nArgument<nCount ) - { - osl_getCommandArg( nArgument, &sArgument.pData ); - //_____________________________________________________________________________________________________ - // look for "-dir=" - if( sArgument.compareTo( ARGUMENT_DIRNAME, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - rMember.sDirectory = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - ++nMinCount; - } - else - //_____________________________________________________________________________________________________ - // look for "-ver=" - if( sArgument.compareTo( ARGUMENT_VERSION, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - ::rtl::OUString sVersion = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - rMember.nVersion = sVersion.toInt32(); - ++nMinCount; - } - - ++nArgument; - } - - // Show help if user don't call us right! - if( nMinCount != 2 ) - { - impl_printSyntax(); - exit(-1); - } -} - -//***************************************************************************************************************** -void CFGView::impl_generateHTMLView() -{ - //------------------------------------------------------------------------------------------------------------- - // generate start frameset - OUStringBuffer sStartFramesetHTML( 10000 ); - - sStartFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tTypeDetection CFG\n\t\t</title>\n\t</head>\n" ); // open html - sStartFramesetHTML.appendAscii( "\t\t<frameset rows=\"25%,75%\">\n" ); // open frameset - sStartFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "menu" - sStartFramesetHTML.appendAscii( TARGET_MENU ); - sStartFramesetHTML.appendAscii( "\" src=\"" ); - sStartFramesetHTML.appendAscii( MENU_HTML ); - sStartFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sStartFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "view" - sStartFramesetHTML.appendAscii( TARGET_VIEW ); - sStartFramesetHTML.appendAscii( "\" src=\"" ); - sStartFramesetHTML.appendAscii( BLANK_HTML ); - sStartFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sStartFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset - sStartFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_START_HTML, U2B(sStartFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate blank html - OUStringBuffer sBlankHTML( 10000 ); - - sBlankHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tBlank\n\t\t</title>\n\t</head>\n\t<body>\n\t</body>Please select ...\n</html>\n" ); // open html - - impl_writeFile( BLANK_HTML, U2B(sBlankHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate menu - OUStringBuffer sMenuHTML( 10000 ); - - sMenuHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tMenu\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sMenuHTML.appendAscii( "\t\t<ul>\n" ); // open list - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Types" - sMenuHTML.appendAscii( FRAMESET_TYPES_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">All Types</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Filters" - sMenuHTML.appendAscii( FRAMESET_FILTERS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">All Filters</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Filters sorted by modules" - sMenuHTML.appendAscii( FRAMESET_MODULFILTERS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">Filters by Moduls</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Detectors" - sMenuHTML.appendAscii( FRAMESET_DETECTORS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">All Detector Services</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "All Loaders" - sMenuHTML.appendAscii( FRAMESET_LOADERS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">All Loader Services</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "Invalid Filter" - sMenuHTML.appendAscii( FRAMESET_INVALIDFILTERS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">Invalid Filter</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "Invalid Detect Services" - sMenuHTML.appendAscii( FRAMESET_INVALIDDETECTORS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">Invalid Detect Services</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "Double Filter UINames" - sMenuHTML.appendAscii( FRAMESET_DOUBLEFILTERUINAMES_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">Double Filter UINames</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t<li><a href=\"" ); // list entry for "Show Filter Flags" - sMenuHTML.appendAscii( FILTERFLAGS_HTML ); - sMenuHTML.appendAscii( "\" target=\"" ); - sMenuHTML.appendAscii( TARGET_VIEW ); - sMenuHTML.appendAscii( "\">Show Filter Flags</a></li>\n" ); - - sMenuHTML.appendAscii( "\t\t</ul>\n" ); // close list - sMenuHTML.appendAscii( "\t</body>\n</html>\n" ); // close html - - impl_writeFile( MENU_HTML, U2B(sMenuHTML.makeStringAndClear()) ); - - impl_generateTypeListHTML (); - impl_generateFilterListHTML (); - impl_generateFilterModulListHTML (); - impl_generateDetectorListHTML (); - impl_generateLoaderListHTML (); - impl_generateInvalidFiltersHTML (); - impl_generateInvalidDetectorsHTML (); - impl_generateInvalidLoadersHTML (); - impl_generateFilterFlagsHTML (); - impl_generateDoubleFilterUINamesHTML(); -} - -//***************************************************************************************************************** -void CFGView::impl_generateTypeListHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for types - OUStringBuffer sTypesFramesetHTML( 10000 ); - - sTypesFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Types\n\t\t</title>\n\t</head>\n" ); // open html - sTypesFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sTypesFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sTypesFramesetHTML.appendAscii( TARGET_LIST ); - sTypesFramesetHTML.appendAscii( "\" src=\"" ); - sTypesFramesetHTML.appendAscii( ALLTYPES_HTML ); - sTypesFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sTypesFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sTypesFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sTypesFramesetHTML.appendAscii( "\" src=\"" ); - sTypesFramesetHTML.appendAscii( TYPEPROPERTIES_HTML ); - sTypesFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sTypesFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sTypesFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_TYPES_HTML, U2B(sTypesFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate type list (names and links only!) - // use same loop to generate type property list! - OUStringBuffer sAllTypesHTML( 10000 ); - OUStringBuffer sTypePropHTML( 10000 ); - - sAllTypesHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Types\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sAllTypesHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Type</strong></td></tr>\n" ); // open table - - sTypePropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tTypeProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllTypeNames(); - sal_Int32 nCount = lNames.getLength() ; - for( sal_Int32 nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNames[nItem] ; - FileType aItem = m_aData.pCache->getType( sName ); - - // write entry in type list table - sAllTypesHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row - sAllTypesHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" - sAllTypesHTML.append ( OUString::valueOf( nItem ) ); // write nr - sAllTypesHTML.appendAscii ( "</td>\n" ); // close column "nr" - sAllTypesHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" - sAllTypesHTML.appendAscii ( "<a href=\"" ); // open href="typeproperties.html#<typename>" - sAllTypesHTML.appendAscii ( TYPEPROPERTIES_HTML ); - sAllTypesHTML.appendAscii ( "#" ); - sAllTypesHTML.append ( aItem.sName ); - sAllTypesHTML.appendAscii ( "\" target=\"" ); - sAllTypesHTML.appendAscii ( TARGET_PROPERTIES ); - sAllTypesHTML.appendAscii ( "\">" ); - sAllTypesHTML.append ( aItem.sName ); // write name - sAllTypesHTML.appendAscii ( "</a>" ); // close href - sAllTypesHTML.appendAscii ( "</td>\n" ); // close column "name" - sAllTypesHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row - - // write entry in type property table - sTypePropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<typename>" to follow table - sTypePropHTML.append ( aItem.sName ); - sTypePropHTML.appendAscii ( "\"></a>" ); - sTypePropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\"> " ); // generate row "Nr <value>" - sTypePropHTML.append ( OUString::valueOf( nItem ) ); - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sTypePropHTML.append ( aItem.sName ); - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UIName</td><td valign=\"top\" align=\"top\">" ); // generate row "UIName <value>" - for( ConstStringHashIterator pUIName=aItem.lUINames.begin() ; - pUIName!=aItem.lUINames.end() ; - ++pUIName ) - { - sTypePropHTML.appendAscii ( " [" ); - sTypePropHTML.append ( pUIName->first ); - sTypePropHTML.appendAscii ( "] \"" ); - sTypePropHTML.append ( pUIName->second ); - sTypePropHTML.appendAscii ( "\"<br>" ); - } - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">MediaType</td><td valign=\"top\" align=\"top\"> " ); // generate row "MediaType <value>" - sTypePropHTML.append ( aItem.sMediaType ); - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">ClipboardFormat</td><td valign=\"top\" align=\"top\"> " ); // generate row "ClipboardFormat <value>" - sTypePropHTML.append ( aItem.sClipboardFormat ); - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">URLPattern</td><td valign=\"top\" align=\"top\">" ); // generate row "URLPattern <value>" - for( ConstStringListIterator pPattern=aItem.lURLPattern.begin() ; - pPattern!=aItem.lURLPattern.end() ; - ++pPattern ) - { - sTypePropHTML.appendAscii ( " \""); - sTypePropHTML.append ( *pPattern ); - sTypePropHTML.appendAscii ( "\"<br>" ); - } - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Extensions</td><td valign=\"top\" align=\"top\">" ); // generate row "Extensions <value>" - for( ConstStringListIterator pExtension=aItem.lExtensions.begin() ; - pExtension!=aItem.lExtensions.end() ; - ++pExtension ) - { - sTypePropHTML.appendAscii ( " \"" ); - sTypePropHTML.append ( *pExtension ); - sTypePropHTML.appendAscii ( "\"<br>" ); - } - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">DocumentIconID</td><td valign=\"top\" align=\"top\"> " ); // generate row "DocumentIconID <value>" - sTypePropHTML.append ( OUString::valueOf( aItem.nDocumentIconID ) ); - sTypePropHTML.appendAscii ( "</td></tr>\n" ); - sTypePropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sTypePropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - } - - sAllTypesHTML.appendAscii( "</table>\n" ); // close table - sAllTypesHTML.appendAscii( "</body>\n</html>\n" ); // close html - - sTypePropHTML.appendAscii( "</body>\n</html>\n" ); // close html - - impl_writeFile( ALLTYPES_HTML , U2B(sAllTypesHTML.makeStringAndClear()) ); - impl_writeFile( TYPEPROPERTIES_HTML , U2B(sTypePropHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateFilterListHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for types - OUStringBuffer sFiltersFramesetHTML( 10000 ); - - sFiltersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Filters\n\t\t</title>\n\t</head>\n" ); // open html - sFiltersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sFiltersFramesetHTML.appendAscii( TARGET_LIST ); - sFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sFiltersFramesetHTML.appendAscii( ALLFILTERS_HTML ); - sFiltersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sFiltersFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sFiltersFramesetHTML.appendAscii( FILTERPROPERTIES_HTML ); - sFiltersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sFiltersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sFiltersFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_FILTERS_HTML, U2B(sFiltersFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate filter list (names and links only!) - // use same loop to generate filter property list! - OUStringBuffer sAllFiltersHTML( 10000 ); - OUStringBuffer sFilterPropHTML( 10000 ); - - sAllFiltersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Filters\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sAllFiltersHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Filter</strong></td></tr>\n" ); // open table - - sFilterPropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFilterProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllFilterNames() ; - sal_Int32 nFilterCounter = 0 ; - sal_Int32 nCount = lNames.getLength() ; - Filter aFilter ; - for( nFilterCounter=0; nFilterCounter<nCount; ++nFilterCounter ) - { - aFilter = m_aData.pCache->getFilter( lNames[nFilterCounter] ); - - // write entry in filter list table - sAllFiltersHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" - sAllFiltersHTML.append ( OUString::valueOf( nFilterCounter ) ); // write nr - sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "nr" - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" - sAllFiltersHTML.appendAscii ( "<a href=\"" ); // open href="filterproperties.html#<filtername>" - sAllFiltersHTML.appendAscii ( FILTERPROPERTIES_HTML ); - sAllFiltersHTML.appendAscii ( "#" ); - sAllFiltersHTML.append ( aFilter.sName ); - sAllFiltersHTML.appendAscii ( "\" target=\"" ); - sAllFiltersHTML.appendAscii ( TARGET_PROPERTIES ); - sAllFiltersHTML.appendAscii ( "\">" ); - sAllFiltersHTML.append ( aFilter.sName ); // write name - sAllFiltersHTML.appendAscii ( "</a>" ); // close href - sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "name" - sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row - - // write entry in filter property table - sFilterPropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<typename>" to follow table - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "\"></a>" ); - sFilterPropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\"> "); // generate row "Nr <value>" - sFilterPropHTML.append ( OUString::valueOf( nFilterCounter ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Order</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Order <value>" - sFilterPropHTML.append ( aFilter.nOrder ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Type</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Type <value>" - sFilterPropHTML.append ( aFilter.sType ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UIName</td><td valign=\"top\" align=\"top\">" ); // generate row "UIName <value>" - for( ConstStringHashIterator pUIName=aFilter.lUINames.begin() ; - pUIName!=aFilter.lUINames.end() ; - ++pUIName ) - { - sFilterPropHTML.appendAscii ( " [" ); - sFilterPropHTML.append ( pUIName->first ); - sFilterPropHTML.appendAscii ( "] \"" ); - sFilterPropHTML.append ( pUIName->second ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">DocumentService</td><td valign=\"top\" align=\"top\"> " ); // generate row "DocumentService <value>" - sFilterPropHTML.append ( aFilter.sDocumentService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FilterService</td><td valign=\"top\" align=\"top\"> " ); // generate row "FilterService <value>" - sFilterPropHTML.append ( aFilter.sFilterService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Flags</td><td valign=\"top\" align=\"top\"> " ); // generate row "Flags <value>" - if( aFilter.nFlags & FILTERFLAG_IMPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_IMPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_EXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_EXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATE ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_INTERNAL ) { sFilterPropHTML.append( FILTERFLAGNAME_INTERNAL ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATEPATH ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATEPATH ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_OWN ) { sFilterPropHTML.append( FILTERFLAGNAME_OWN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ALIEN ) { sFilterPropHTML.append( FILTERFLAGNAME_ALIEN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_USESOPTIONS ) { sFilterPropHTML.append( FILTERFLAGNAME_USESOPTIONS ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_DEFAULT ) { sFilterPropHTML.append( FILTERFLAGNAME_DEFAULT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINFILEDIALOG ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINFILEDIALOG ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINCHOOSER ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINCHOOSER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ASYNCHRON ) { sFilterPropHTML.append( FILTERFLAGNAME_ASYNCHRON ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_READONLY ) { sFilterPropHTML.append( FILTERFLAGNAME_READONLY ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINSTALLED ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINSTALLED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_CONSULTSERVICE ) { sFilterPropHTML.append( FILTERFLAGNAME_CONSULTSERVICE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_3RDPARTYFILTER ) { sFilterPropHTML.append( FILTERFLAGNAME_3RDPARTYFILTER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PACKED ) { sFilterPropHTML.append( FILTERFLAGNAME_PACKED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_SILENTEXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_SILENTEXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_BROWSERPREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_BROWSERPREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_PREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UserData</td><td valign=\"top\" align=\"top\">" ); // generate row "UserData <value>" - for( ConstStringListIterator pUserData=aFilter.lUserData.begin() ; - pUserData!=aFilter.lUserData.end() ; - ++pUserData ) - { - sFilterPropHTML.appendAscii ( " \"" ); - sFilterPropHTML.append ( *pUserData ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FileFormatVersion</td><td valign=\"top\" align=\"top\"> "); // generate row "FileFormatVersion <value>" - sFilterPropHTML.append ( OUString::valueOf( aFilter.nFileFormatVersion ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">TemplateName</td><td valign=\"top\" align=\"top\"> " ); // generate row "TemplateName <value>" - sFilterPropHTML.append ( aFilter.sTemplateName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sFilterPropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - } - - sAllFiltersHTML.appendAscii( "</table>\n" ); // close table - sAllFiltersHTML.appendAscii( "</body>\n</html>\n" ); // close html - - sFilterPropHTML.appendAscii( "</body>\n</html>\n" ); // close html - - impl_writeFile( ALLFILTERS_HTML , U2B(sAllFiltersHTML.makeStringAndClear()) ); - impl_writeFile( FILTERPROPERTIES_HTML, U2B(sFilterPropHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateFilterModulListHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for filters sorted by modules - OUStringBuffer sFiltersFramesetHTML( 10000 ); - - sFiltersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Filters sorted by modules\n\t\t</title>\n\t</head>\n" ); // open html - sFiltersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sFiltersFramesetHTML.appendAscii( TARGET_LIST ); - sFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sFiltersFramesetHTML.appendAscii( MODULFILTERS_HTML ); - sFiltersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sFiltersFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sFiltersFramesetHTML.appendAscii( FILTERPROPERTIES_HTML ); - sFiltersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sFiltersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sFiltersFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_FILTERS_HTML, U2B(sFiltersFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate filter list (names and links only!) - // use same loop to generate filter property list! - OUStringBuffer sAllFiltersHTML( 10000 ); - OUStringBuffer sFilterPropHTML( 10000 ); - - sAllFiltersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Filters\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sAllFiltersHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Filter</strong></td></tr>\n" ); // open table - - sFilterPropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFilterProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - - css::uno::Sequence< ::rtl::OUString > lWriter ; - css::uno::Sequence< ::rtl::OUString > lWeb ; - css::uno::Sequence< ::rtl::OUString > lGlobal ; - css::uno::Sequence< ::rtl::OUString > lChart ; - css::uno::Sequence< ::rtl::OUString > lCalc ; - css::uno::Sequence< ::rtl::OUString > lImpress; - css::uno::Sequence< ::rtl::OUString > lDraw ; - css::uno::Sequence< ::rtl::OUString > lMath ; - css::uno::Sequence< ::rtl::OUString > lGraphic; - css::uno::Sequence< ::rtl::OUString > lDefault; - css::uno::Sequence< ::rtl::OUString > lNames ; - - m_aData.pCache->queryFilters( FILTERQUERY_TEXTDOCUMENT_WITHDEFAULT ) >>= lWriter ; - m_aData.pCache->queryFilters( FILTERQUERY_WEBDOCUMENT_WITHDEFAULT ) >>= lWeb ; - m_aData.pCache->queryFilters( FILTERQUERY_GLOBALDOCUMENT_WITHDEFAULT ) >>= lGlobal ; - m_aData.pCache->queryFilters( FILTERQUERY_CHARTDOCUMENT_WITHDEFAULT ) >>= lChart ; - m_aData.pCache->queryFilters( FILTERQUERY_SPREADSHEETDOCUMENT_WITHDEFAULT ) >>= lCalc ; - m_aData.pCache->queryFilters( FILTERQUERY_PRESENTATIONDOCUMENT_WITHDEFAULT) >>= lImpress ; - m_aData.pCache->queryFilters( FILTERQUERY_DRAWINGDOCUMENT_WITHDEFAULT ) >>= lDraw ; - m_aData.pCache->queryFilters( FILTERQUERY_FORMULARPROPERTIES_WITHDEFAULT ) >>= lMath ; - m_aData.pCache->queryFilters( FILTERQUERY_GRAPHICFILTERS ) >>= lGraphic ; - m_aData.pCache->queryFilters( FILTERQUERY_DEFAULTFILTERS ) >>= lDefault ; - - sal_Int32 nModuls = 0; - sal_Int32 nFilters = 0; - sal_Int32 nModulCount = 0; - sal_Int32 nFilterCount = 0; - Filter aFilter ; - ::rtl::OString sModul ; - - for( nModuls=0; nModuls<nModulCount; ++nModuls ) - { - switch( nModuls ) - { - case 0: { - lNames = lWriter; - sModul = "Writer"; - } - break; - case 1: { - lNames = lWeb ; - sModul = "Web"; - } - break; - case 2: { - lNames = lGlobal ; - sModul = "GlobalDokument"; - } - break; - case 3: { - lNames = lChart ; - sModul = "Chart"; - } - break; - case 4: { - lNames = lCalc ; - sModul = "Calc"; - } - break; - case 5: { - lNames = lImpress; - sModul = "Impress"; - } - break; - case 6: { - lNames = lDraw ; - sModul = "Draw"; - } - break; - case 7: { - lNames = lMath ; - sModul = "Math"; - } - break; - case 8: { - lNames = lGraphic; - sModul = "Graphic"; - } - break; - case 9: { - lNames = lDefault; - sModul = "Default Filter!"; - } - break; - } - - sAllFiltersHTML.appendAscii ( "\t\t\t<tr>\n" ); - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#000000 fgcolor=#ffffff valign=\"top\" align=\"top\">-</td>\n" ); - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#000000 fgcolor=#ffffff valign=\"top\" align=\"top\">" ); - sAllFiltersHTML.appendAscii ( sModul ); - sAllFiltersHTML.appendAscii ( "</td>\n" ); - sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); - - nFilterCount = lNames.getLength(); - - for( nFilters=0; nFilters<nFilterCount; ++nFilters ) - { - aFilter = m_aData.pCache->getFilter( lNames[nFilters] ); - - // write entry in filter list table - sAllFiltersHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" - sAllFiltersHTML.append ( OUString::valueOf( nFilters ) ); // write nr - sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "nr" - sAllFiltersHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" - sAllFiltersHTML.appendAscii ( "<a href=\"" ); // open href="filterproperties.html#<filtername>" - sAllFiltersHTML.appendAscii ( FILTERPROPERTIES_HTML ); - sAllFiltersHTML.appendAscii ( "#" ); - sAllFiltersHTML.append ( aFilter.sName ); - sAllFiltersHTML.appendAscii ( "\" target=\"" ); - sAllFiltersHTML.appendAscii ( TARGET_PROPERTIES ); - sAllFiltersHTML.appendAscii ( "\">" ); - sAllFiltersHTML.append ( aFilter.sName ); // write name - sAllFiltersHTML.appendAscii ( "</a>" ); // close href - sAllFiltersHTML.appendAscii ( "</td>\n" ); // close column "name" - sAllFiltersHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row - - // write entry in filter property table - sFilterPropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<typename>" to follow table - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "\"></a>" ); - sFilterPropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\"> "); // generate row "Nr <value>" - sFilterPropHTML.append ( OUString::valueOf( nFilters ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sFilterPropHTML.append ( aFilter.sName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Order</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Order <value>" - sFilterPropHTML.append ( aFilter.nOrder ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Type</td><td valign=\"top\" align=\"top\"> \"" ); // generate row "Type <value>" - sFilterPropHTML.append ( aFilter.sType ); - sFilterPropHTML.appendAscii ( "\"</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UIName</td><td valign=\"top\" align=\"top\">" ); // generate row "UIName <value>" - for( ConstStringHashIterator pUIName=aFilter.lUINames.begin() ; - pUIName!=aFilter.lUINames.end() ; - ++pUIName ) - { - sFilterPropHTML.appendAscii ( " [" ); - sFilterPropHTML.append ( pUIName->first ); - sFilterPropHTML.appendAscii ( "] \"" ); - sFilterPropHTML.append ( pUIName->second ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">DocumentService</td><td valign=\"top\" align=\"top\"> " ); // generate row "DocumentService <value>" - sFilterPropHTML.append ( aFilter.sDocumentService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FilterService</td><td valign=\"top\" align=\"top\"> " ); // generate row "FilterService <value>" - sFilterPropHTML.append ( aFilter.sFilterService ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Flags</td><td valign=\"top\" align=\"top\"> " ); // generate row "Flags <value>" - if( aFilter.nFlags & FILTERFLAG_IMPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_IMPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_EXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_EXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATE ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_INTERNAL ) { sFilterPropHTML.append( FILTERFLAGNAME_INTERNAL ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_TEMPLATEPATH ) { sFilterPropHTML.append( FILTERFLAGNAME_TEMPLATEPATH ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_OWN ) { sFilterPropHTML.append( FILTERFLAGNAME_OWN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ALIEN ) { sFilterPropHTML.append( FILTERFLAGNAME_ALIEN ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_USESOPTIONS ) { sFilterPropHTML.append( FILTERFLAGNAME_USESOPTIONS ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_DEFAULT ) { sFilterPropHTML.append( FILTERFLAGNAME_DEFAULT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINFILEDIALOG ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINFILEDIALOG ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINCHOOSER ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINCHOOSER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_ASYNCHRON ) { sFilterPropHTML.append( FILTERFLAGNAME_ASYNCHRON ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_READONLY ) { sFilterPropHTML.append( FILTERFLAGNAME_READONLY ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_NOTINSTALLED ) { sFilterPropHTML.append( FILTERFLAGNAME_NOTINSTALLED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_CONSULTSERVICE ) { sFilterPropHTML.append( FILTERFLAGNAME_CONSULTSERVICE ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_3RDPARTYFILTER ) { sFilterPropHTML.append( FILTERFLAGNAME_3RDPARTYFILTER ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PACKED ) { sFilterPropHTML.append( FILTERFLAGNAME_PACKED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_SILENTEXPORT ) { sFilterPropHTML.append( FILTERFLAGNAME_SILENTEXPORT ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_BROWSERPREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_BROWSERPREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - if( aFilter.nFlags & FILTERFLAG_PREFERED ) { sFilterPropHTML.append( FILTERFLAGNAME_PREFERED ); sFilterPropHTML.appendAscii( "<br> " ); }; - - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UserData</td><td valign=\"top\" align=\"top\">" ); // generate row "UserData <value>" - for( ConstStringListIterator pUserData=aFilter.lUserData.begin() ; - pUserData!=aFilter.lUserData.end() ; - ++pUserData ) - { - sFilterPropHTML.appendAscii ( " \"" ); - sFilterPropHTML.append ( *pUserData ); - sFilterPropHTML.appendAscii ( "\"<br>" ); - } - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">FileFormatVersion</td><td valign=\"top\" align=\"top\"> "); // generate row "FileFormatVersion <value>" - sFilterPropHTML.append ( OUString::valueOf( aFilter.nFileFormatVersion ) ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">TemplateName</td><td valign=\"top\" align=\"top\"> " ); // generate row "TemplateName <value>" - sFilterPropHTML.append ( aFilter.sTemplateName ); - sFilterPropHTML.appendAscii ( "</td></tr>\n" ); - sFilterPropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sFilterPropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - } - } - - sAllFiltersHTML.appendAscii( "</table>\n" ); // close table - sAllFiltersHTML.appendAscii( "</body>\n</html>\n" ); // close html - - sFilterPropHTML.appendAscii( "</body>\n</html>\n" ); // close html - - impl_writeFile( ALLFILTERS_HTML , U2B(sAllFiltersHTML.makeStringAndClear()) ); - impl_writeFile( FILTERPROPERTIES_HTML, U2B(sFilterPropHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateDetectorListHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for detector services - OUStringBuffer sDetectorsFramesetHTML( 10000 ); - - sDetectorsFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Detector Services\n\t\t</title>\n\t</head>\n" ); // open html - sDetectorsFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sDetectorsFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sDetectorsFramesetHTML.appendAscii( TARGET_LIST ); - sDetectorsFramesetHTML.appendAscii( "\" src=\"" ); - sDetectorsFramesetHTML.appendAscii( ALLDETECTORS_HTML ); - sDetectorsFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sDetectorsFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sDetectorsFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sDetectorsFramesetHTML.appendAscii( "\" src=\"" ); - sDetectorsFramesetHTML.appendAscii( DETECTORPROPERTIES_HTML ); - sDetectorsFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sDetectorsFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sDetectorsFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_DETECTORS_HTML, U2B(sDetectorsFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate detector list (names and links only!) - // use same loop to generate detector property list! - OUStringBuffer sAllDetectorsHTML( 10000 ); - OUStringBuffer sDetectorPropHTML( 10000 ); - - sAllDetectorsHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Detectors\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sAllDetectorsHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Detector</strong></td></tr>\n" ); // open table - - sDetectorPropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tDetectorProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllDetectorNames(); - sal_Int32 nCount = lNames.getLength() ; - for( sal_Int32 nItem=0; nItem<nCount; ++nItem ) - { - Detector aDetector = m_aData.pCache->getDetector( lNames[nItem] ); - - // write entry in detector list table - sAllDetectorsHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row - sAllDetectorsHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" - sAllDetectorsHTML.append ( OUString::valueOf( nItem ) ); // write nr - sAllDetectorsHTML.appendAscii ( "</td>\n" ); // close column "nr" - sAllDetectorsHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" - sAllDetectorsHTML.appendAscii ( "<a href=\"" ); // open href="detectorproperties.html#<detectorname>" - sAllDetectorsHTML.appendAscii ( DETECTORPROPERTIES_HTML ); - sAllDetectorsHTML.appendAscii ( "#" ); - sAllDetectorsHTML.append ( aDetector.sName ); - sAllDetectorsHTML.appendAscii ( "\" target=\"" ); - sAllDetectorsHTML.appendAscii ( TARGET_PROPERTIES ); - sAllDetectorsHTML.appendAscii ( "\">" ); - sAllDetectorsHTML.append ( aDetector.sName ); // write name - sAllDetectorsHTML.appendAscii ( "</a>" ); // close href - sAllDetectorsHTML.appendAscii ( "</td>\n" ); // close column "name" - sAllDetectorsHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row - - // write entry in detector property table - sDetectorPropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<detectorname>" to follow table - sDetectorPropHTML.append ( aDetector.sName ); - sDetectorPropHTML.appendAscii ( "\"></a>" ); - sDetectorPropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sDetectorPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td valign=\"top\" align=\"top\"> " ); // generate row "Nr <value>" - sDetectorPropHTML.append ( OUString::valueOf( nItem ) ); - sDetectorPropHTML.appendAscii ( "</td></tr>\n" ); - sDetectorPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sDetectorPropHTML.append ( aDetector.sName ); - sDetectorPropHTML.appendAscii ( "</td></tr>\n" ); - sDetectorPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Types</td><td valign=\"top\" align=\"top\">" ); // generate row "Types <value>" - for( ConstStringListIterator pType=aDetector.lTypes.begin() ; - pType!=aDetector.lTypes.end() ; - ++pType ) - { - sDetectorPropHTML.appendAscii ( " \""); - sDetectorPropHTML.append ( *pType ); - sDetectorPropHTML.appendAscii ( "\"<br>" ); - } - - sDetectorPropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sDetectorPropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - } - - sAllDetectorsHTML.appendAscii( "</table>\n" ); // close table - sAllDetectorsHTML.appendAscii( "</body>\n</html>\n" ); // close html - - sDetectorPropHTML.appendAscii( "</body>\n</html>\n" ); // close html - - impl_writeFile( ALLDETECTORS_HTML , U2B(sAllDetectorsHTML.makeStringAndClear()) ); - impl_writeFile( DETECTORPROPERTIES_HTML , U2B(sDetectorPropHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateLoaderListHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for loader services - OUStringBuffer sLoadersFramesetHTML( 10000 ); - - sLoadersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Loader Services\n\t\t</title>\n\t</head>\n" ); // open html - sLoadersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sLoadersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sLoadersFramesetHTML.appendAscii( TARGET_LIST ); - sLoadersFramesetHTML.appendAscii( "\" src=\"" ); - sLoadersFramesetHTML.appendAscii( ALLLOADERS_HTML ); - sLoadersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sLoadersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sLoadersFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sLoadersFramesetHTML.appendAscii( "\" src=\"" ); - sLoadersFramesetHTML.appendAscii( LOADERPROPERTIES_HTML ); - sLoadersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sLoadersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sLoadersFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_LOADERS_HTML, U2B(sLoadersFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // generate loader list (names and links only!) - // use same loop to generate loader property list! - OUStringBuffer sAllLoadersHTML( 10000 ); - OUStringBuffer sLoaderPropHTML( 10000 ); - - sAllLoadersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tAll Loaders\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sAllLoadersHTML.appendAscii( "\t\t<table border=0><tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Loader</strong></td></tr>\n" ); // open table - - sLoaderPropHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tLoaderProperties\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllLoaderNames(); - sal_Int32 nCount = lNames.getLength() ; - for( sal_Int32 nItem=0; nItem<nCount; ++nItem ) - { - Loader aLoader = m_aData.pCache->getLoader( lNames[nItem] ); - - // write entry in loader list table - sAllLoadersHTML.appendAscii ( "\t\t\t<tr>\n" ); // open row - sAllLoadersHTML.appendAscii ( "\t\t\t\t<td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">" ); // open column "nr" - sAllLoadersHTML.append ( OUString::valueOf( nItem ) ); // write nr - sAllLoadersHTML.appendAscii ( "</td>\n" ); // close column "nr" - sAllLoadersHTML.appendAscii ( "\t\t\t\t<td>" ); // open column "name" - sAllLoadersHTML.appendAscii ( "<a href=\"" ); // open href="loaderproperties.html#<loadername>" - sAllLoadersHTML.appendAscii ( LOADERPROPERTIES_HTML ); - sAllLoadersHTML.appendAscii ( "#" ); - sAllLoadersHTML.append ( aLoader.sName ); - sAllLoadersHTML.appendAscii ( "\" target=\"" ); - sAllLoadersHTML.appendAscii ( TARGET_PROPERTIES ); - sAllLoadersHTML.appendAscii ( "\">" ); - sAllLoadersHTML.append ( aLoader.sName ); // write name - sAllLoadersHTML.appendAscii ( "</a>" ); // close href - sAllLoadersHTML.appendAscii ( "</td>\n" ); // close column "name" - sAllLoadersHTML.appendAscii ( "\t\t\t</tr>\n" ); // close row - - // write entry in loader property table - sLoaderPropHTML.appendAscii ( "\t\t<a name=\"" ); // set target="#<loadername>" to follow table - sLoaderPropHTML.append ( aLoader.sName ); - sLoaderPropHTML.appendAscii ( "\"></a>" ); - sLoaderPropHTML.appendAscii ( "\t\t<table border=0>\n" ); // open table - sLoaderPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Nr.</td><td valign=\"top\" align=\"top\"> " ); // generate row "Nr <value>" - sLoaderPropHTML.append ( OUString::valueOf( nItem ) ); - sLoaderPropHTML.appendAscii ( "</td></tr>\n" ); - sLoaderPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Name</td><td valign=\"top\" align=\"top\"> " ); // generate row "Name <value>" - sLoaderPropHTML.append ( aLoader.sName ); - sLoaderPropHTML.appendAscii ( "</td></tr>\n" ); - sLoaderPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">UIName</td><td valign=\"top\" align=\"top\">" ); // generate row "UIName <value>" - for( ConstStringHashIterator pUIName=aLoader.lUINames.begin() ; - pUIName!=aLoader.lUINames.end() ; - ++pUIName ) - { - sLoaderPropHTML.appendAscii ( " [" ); - sLoaderPropHTML.append ( pUIName->first ); - sLoaderPropHTML.appendAscii ( "] \"" ); - sLoaderPropHTML.append ( pUIName->second ); - sLoaderPropHTML.appendAscii ( "\"<br>" ); - } - sLoaderPropHTML.appendAscii ( "</td></tr>\n" ); - sLoaderPropHTML.appendAscii ( "\t\t\t<tr><td bgcolor=#f5f9d5 valign=\"top\" align=\"top\">Types</td><td valign=\"top\" align=\"top\">" ); // generate row "Types <value>" - for( ConstStringListIterator pType=aLoader.lTypes.begin() ; - pType!=aLoader.lTypes.end() ; - ++pType ) - { - sLoaderPropHTML.appendAscii ( " \""); - sLoaderPropHTML.append ( *pType ); - sLoaderPropHTML.appendAscii ( "\"<br>" ); - } - - sLoaderPropHTML.appendAscii ( "\t\t</table>\n" ); // close table - sLoaderPropHTML.appendAscii ( "\t\t<p>\n" ); // add space between this and following table - } - - sAllLoadersHTML.appendAscii( "</table>\n" ); // close table - sAllLoadersHTML.appendAscii( "</body>\n</html>\n" ); // close html - - sLoaderPropHTML.appendAscii( "</body>\n</html>\n" ); // close html - - impl_writeFile( ALLLOADERS_HTML , U2B(sAllLoadersHTML.makeStringAndClear()) ); - impl_writeFile( LOADERPROPERTIES_HTML, U2B(sLoaderPropHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateInvalidFiltersHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for invalid filters - OUStringBuffer sInvalidFiltersFramesetHTML( 10000 ); - - sInvalidFiltersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Invalid Filters\n\t\t</title>\n\t</head>\n" ); // open html - sInvalidFiltersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sInvalidFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sInvalidFiltersFramesetHTML.appendAscii( TARGET_LIST ); - sInvalidFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidFiltersFramesetHTML.appendAscii( INVALIDFILTERS_HTML ); - sInvalidFiltersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sInvalidFiltersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sInvalidFiltersFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sInvalidFiltersFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidFiltersFramesetHTML.appendAscii( FILTERPROPERTIES_HTML ); - sInvalidFiltersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sInvalidFiltersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sInvalidFiltersFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_INVALIDFILTERS_HTML, U2B(sInvalidFiltersFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // Search invalid registered filters! - OUStringBuffer sInvalidFilterHTML( 10000 ); - - sInvalidFilterHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tInvalid Filter\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sInvalidFilterHTML.appendAscii( "\t\tPlease check follow filter entries in configuration. They are registered for invalid types!<p>\n" ); // write "Note" - sInvalidFilterHTML.appendAscii( "\t\t<table border=0>\n" ); // open table - sInvalidFilterHTML.appendAscii( "\t<tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Filter</strong></td><td bgcolor=#ff8040><strong>Wrong Type</strong></td></tr>\n" ); // generate table header - - css::uno::Sequence< ::rtl::OUString > lFilters = m_aData.pCache->getAllFilterNames(); - sal_Int32 nFilterCount = lFilters.getLength() ; - css::uno::Sequence< ::rtl::OUString > lTypes = m_aData.pCache->getAllTypeNames() ; - sal_Int32 nTypeCount = lTypes.getLength() ; - FileType aType ; - Filter aFilter; - for( sal_Int32 nFilter=0; nFilter<nFilterCount; ++nFilter ) - { - aFilter = m_aData.pCache->getFilter( lFilters[nFilter] ); - sal_Bool bFound = sal_False; - for( sal_Int32 nType=0; nType<nTypeCount; ++nType ) - { - aType = m_aData.pCache->getType( lTypes[nType] ); - if( aFilter.sType == aType.sName ) - { - bFound = sal_True; - break; - } - } - if( bFound == sal_False ) - { - sInvalidFilterHTML.appendAscii ( "\t<tr><td bgcolor=#ff0000 color=#00ffff>" ); // generate row for invalid filter entry - sInvalidFilterHTML.append ( OUString::valueOf( nFilter ) ); - sInvalidFilterHTML.appendAscii ( "</td><td><a href=\"" ); - sInvalidFilterHTML.appendAscii ( FILTERPROPERTIES_HTML ); - sInvalidFilterHTML.appendAscii ( "#" ); - sInvalidFilterHTML.append ( aFilter.sName ); - sInvalidFilterHTML.appendAscii ( "\" target=\"" ); - sInvalidFilterHTML.appendAscii ( TARGET_PROPERTIES ); - sInvalidFilterHTML.appendAscii ( "\">" ); - sInvalidFilterHTML.append ( aFilter.sName ); - sInvalidFilterHTML.appendAscii ( "\"</a></td><td>\"" ); - sInvalidFilterHTML.append ( aFilter.sType ); - sInvalidFilterHTML.appendAscii ( "\"</td></tr>\n" ); - } - } - sInvalidFilterHTML.appendAscii( "</table>\n" ); // close table - sInvalidFilterHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( INVALIDFILTERS_HTML, U2B(sInvalidFilterHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateInvalidDetectorsHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for invalid detectors - OUStringBuffer sInvalidDetectorsFramesetHTML( 10000 ); - - sInvalidDetectorsFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Invalid Detectors\n\t\t</title>\n\t</head>\n" ); // open html - sInvalidDetectorsFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sInvalidDetectorsFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sInvalidDetectorsFramesetHTML.appendAscii( TARGET_LIST ); - sInvalidDetectorsFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidDetectorsFramesetHTML.appendAscii( INVALIDDETECTORS_HTML ); - sInvalidDetectorsFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sInvalidDetectorsFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sInvalidDetectorsFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sInvalidDetectorsFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidDetectorsFramesetHTML.appendAscii( DETECTORPROPERTIES_HTML ); - sInvalidDetectorsFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sInvalidDetectorsFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sInvalidDetectorsFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_INVALIDDETECTORS_HTML, U2B(sInvalidDetectorsFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // Search invalid registered detect services! - OUStringBuffer sInvalidDetectorsHTML( 10000 ); - - sInvalidDetectorsHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tInvalid Detector Services\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sInvalidDetectorsHTML.appendAscii( "\t\tPlease check follow detect service entries in configuration. They are registered for invalid types!<p>\n" ); // write "Note" - sInvalidDetectorsHTML.appendAscii( "\t\t<table border=0>\n" ); // open table - sInvalidDetectorsHTML.appendAscii( "\t<tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Detector</strong></td></tr>\n" ); // generate table header - - css::uno::Sequence< ::rtl::OUString > lDetectors = m_aData.pCache->getAllDetectorNames(); - sal_Int32 nDetectorCount = lDetectors.getLength() ; - css::uno::Sequence< ::rtl::OUString > lTypes = m_aData.pCache->getAllTypeNames() ; - sal_Int32 nTypeCount = lTypes.getLength() ; - FileType aType ; - Detector aDetector; - for( sal_Int32 nDetector=0; nDetector<nDetectorCount; ++nDetector ) - { - aDetector = m_aData.pCache->getDetector( lDetectors[nDetector] ); - sal_Bool bFound = sal_False; - for( sal_Int32 nType=0; nType<nTypeCount; ++nType ) - { - aType = m_aData.pCache->getType( lTypes[nType] ); - for( ConstStringListIterator pTypeListEntry=aDetector.lTypes.begin(); pTypeListEntry!=aDetector.lTypes.end(); ++pTypeListEntry ) - { - if( *pTypeListEntry == aType.sName ) - { - bFound = sal_True; - break; - } - } - } - if( bFound == sal_False ) - { - sInvalidDetectorsHTML.appendAscii ( "\t<tr><td bgcolor=#ff0000 color=#00ffff>" ); // generate row for invalid detector entry - sInvalidDetectorsHTML.append ( OUString::valueOf( nDetector ) ); - sInvalidDetectorsHTML.appendAscii ( "</td><td><a href=\"" ); - sInvalidDetectorsHTML.appendAscii ( DETECTORPROPERTIES_HTML ); - sInvalidDetectorsHTML.appendAscii ( "#" ); - sInvalidDetectorsHTML.append ( aDetector.sName ); - sInvalidDetectorsHTML.appendAscii ( "\" target=\"" ); - sInvalidDetectorsHTML.appendAscii ( TARGET_PROPERTIES ); - sInvalidDetectorsHTML.appendAscii ( "\">" ); - sInvalidDetectorsHTML.append ( aDetector.sName ); - sInvalidDetectorsHTML.appendAscii ( "\"</a></td></tr>\n" ); - } - } - sInvalidDetectorsHTML.appendAscii( "</table>\n" ); // close table - sInvalidDetectorsHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( INVALIDDETECTORS_HTML, U2B(sInvalidDetectorsHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateInvalidLoadersHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for invalid loaders - OUStringBuffer sInvalidLoadersFramesetHTML( 10000 ); - - sInvalidLoadersFramesetHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Invalid Loaders\n\t\t</title>\n\t</head>\n" ); // open html - sInvalidLoadersFramesetHTML.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sInvalidLoadersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sInvalidLoadersFramesetHTML.appendAscii( TARGET_LIST ); - sInvalidLoadersFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidLoadersFramesetHTML.appendAscii( INVALIDLOADERS_HTML ); - sInvalidLoadersFramesetHTML.appendAscii( "\" title=\"List\">\n" ); - sInvalidLoadersFramesetHTML.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sInvalidLoadersFramesetHTML.appendAscii( TARGET_PROPERTIES ); - sInvalidLoadersFramesetHTML.appendAscii( "\" src=\"" ); - sInvalidLoadersFramesetHTML.appendAscii( LOADERPROPERTIES_HTML ); - sInvalidLoadersFramesetHTML.appendAscii( "\" title=\"Properties\">\n" ); - sInvalidLoadersFramesetHTML.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sInvalidLoadersFramesetHTML.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_INVALIDLOADERS_HTML, U2B(sInvalidLoadersFramesetHTML.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // Search invalid registered detect services! - OUStringBuffer sInvalidLoadersHTML( 10000 ); - - sInvalidLoadersHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tInvalid Loader Services\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sInvalidLoadersHTML.appendAscii( "\t\tPlease check follow loader service entries in configuration. They are registered for invalid types!<p>\n" ); // write "Note" - sInvalidLoadersHTML.appendAscii( "\t\t<table border=0>\n" ); // open table - sInvalidLoadersHTML.appendAscii( "\t<tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Loader</strong></td></tr>\n" ); // generate table header - - css::uno::Sequence< ::rtl::OUString > lLoaders = m_aData.pCache->getAllLoaderNames(); - sal_Int32 nLoaderCount = lLoaders.getLength() ; - css::uno::Sequence< ::rtl::OUString > lTypes = m_aData.pCache->getAllTypeNames() ; - sal_Int32 nTypeCount = lTypes.getLength() ; - FileType aType ; - Loader aLoader ; - for( sal_Int32 nLoader=0; nLoader<nLoaderCount; ++nLoader ) - { - aLoader = m_aData.pCache->getLoader( lLoaders[nLoader] ); - sal_Bool bFound = sal_False; - for( sal_Int32 nType=0; nType<nTypeCount; ++nType ) - { - aType = m_aData.pCache->getType( lTypes[nType] ); - for( ConstStringListIterator pTypeListEntry=aLoader.lTypes.begin(); pTypeListEntry!=aLoader.lTypes.end(); ++pTypeListEntry ) - { - if( *pTypeListEntry == aType.sName ) - { - bFound = sal_True; - break; - } - } - } - if( bFound == sal_False ) - { - sInvalidLoadersHTML.appendAscii ( "\t<tr><td bgcolor=#ff0000 color=#00ffff>" ); // generate row for invalid loader entry - sInvalidLoadersHTML.append ( OUString::valueOf( nLoader ) ); - sInvalidLoadersHTML.appendAscii ( "</td><td><a href=\"" ); - sInvalidLoadersHTML.appendAscii ( LOADERPROPERTIES_HTML ); - sInvalidLoadersHTML.appendAscii ( "#" ); - sInvalidLoadersHTML.append ( aLoader.sName ); - sInvalidLoadersHTML.appendAscii ( "\" target=\"" ); - sInvalidLoadersHTML.appendAscii ( TARGET_PROPERTIES ); - sInvalidLoadersHTML.appendAscii ( "\">" ); - sInvalidLoadersHTML.append ( aLoader.sName ); - sInvalidLoadersHTML.appendAscii ( "\"</a></td></tr>\n" ); - } - } - sInvalidLoadersHTML.appendAscii( "</table>\n" ); // close table - sInvalidLoadersHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( INVALIDLOADERS_HTML, U2B(sInvalidLoadersHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateFilterFlagsHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // Create view of all filters and his flags. - OUStringBuffer sFilterFlagsHTML( 10000 ); - - sFilterFlagsHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFilter and Flags\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sFilterFlagsHTML.appendAscii( "\t\tThis is a list of all filters and his supported flags!<p>\n" ); // write "Note" - sFilterFlagsHTML.appendAscii( "\t\t<table border=0>\n" ); // open table - sFilterFlagsHTML.appendAscii( "\t<tr><td bgcolor=#ff8040><strong>Nr.</strong></td><td bgcolor=#ff8040><strong>Loader</strong></td></tr>\n" ); // generate table header - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pCache->getAllFilterNames(); - sal_Int32 nCount = lNames.getLength(); - for( sal_Int32 nItem=0; nItem!=nCount; ++nItem ) - { - Filter aFilter = m_aData.pCache->getFilter( lNames[nItem] ); - - sFilterFlagsHTML.appendAscii( "\t<tr><td bgcolor=#ff0000 color=#00ffff>" ); - sFilterFlagsHTML.append ( OUString::valueOf( nItem ) ); - sFilterFlagsHTML.appendAscii( "</td><td><a href=\"" ); - sFilterFlagsHTML.appendAscii( LOADERPROPERTIES_HTML ); - sFilterFlagsHTML.appendAscii( "#" ); - sFilterFlagsHTML.append ( aFilter.sName ); - sFilterFlagsHTML.appendAscii( "\" target=\"" ); - sFilterFlagsHTML.appendAscii( TARGET_PROPERTIES ); - sFilterFlagsHTML.appendAscii( "\">" ); - sFilterFlagsHTML.append ( aFilter.sName ); - sFilterFlagsHTML.appendAscii( "\"</a></td><td>" ); - - if( aFilter.nFlags & FILTERFLAG_IMPORT ) { sFilterFlagsHTML.append( FILTERFLAGNAME_IMPORT ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_EXPORT ) { sFilterFlagsHTML.append( FILTERFLAGNAME_EXPORT ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_TEMPLATE ) { sFilterFlagsHTML.append( FILTERFLAGNAME_TEMPLATE ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_INTERNAL ) { sFilterFlagsHTML.append( FILTERFLAGNAME_INTERNAL ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_TEMPLATEPATH ) { sFilterFlagsHTML.append( FILTERFLAGNAME_TEMPLATEPATH ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_OWN ) { sFilterFlagsHTML.append( FILTERFLAGNAME_OWN ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_ALIEN ) { sFilterFlagsHTML.append( FILTERFLAGNAME_ALIEN ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_USESOPTIONS ) { sFilterFlagsHTML.append( FILTERFLAGNAME_USESOPTIONS ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_DEFAULT ) { sFilterFlagsHTML.append( FILTERFLAGNAME_DEFAULT ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_NOTINFILEDIALOG ) { sFilterFlagsHTML.append( FILTERFLAGNAME_NOTINFILEDIALOG ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_NOTINCHOOSER ) { sFilterFlagsHTML.append( FILTERFLAGNAME_NOTINCHOOSER ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_ASYNCHRON ) { sFilterFlagsHTML.append( FILTERFLAGNAME_ASYNCHRON ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_READONLY ) { sFilterFlagsHTML.append( FILTERFLAGNAME_READONLY ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_NOTINSTALLED ) { sFilterFlagsHTML.append( FILTERFLAGNAME_NOTINSTALLED ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_CONSULTSERVICE ) { sFilterFlagsHTML.append( FILTERFLAGNAME_CONSULTSERVICE ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_3RDPARTYFILTER ) { sFilterFlagsHTML.append( FILTERFLAGNAME_3RDPARTYFILTER ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_PACKED ) { sFilterFlagsHTML.append( FILTERFLAGNAME_PACKED ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_SILENTEXPORT ) { sFilterFlagsHTML.append( FILTERFLAGNAME_SILENTEXPORT ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_BROWSERPREFERED ) { sFilterFlagsHTML.append( FILTERFLAGNAME_BROWSERPREFERED ); sFilterFlagsHTML.appendAscii( " | " ); } - if( aFilter.nFlags & FILTERFLAG_PREFERED ) { sFilterFlagsHTML.append( FILTERFLAGNAME_PREFERED ); } - - sFilterFlagsHTML.appendAscii( "</td></tr>\n" ); - } - sFilterFlagsHTML.appendAscii( "</table>\n" ); // close table - sFilterFlagsHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( FILTERFLAGS_HTML, U2B(sFilterFlagsHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_generateDefaultFiltersHTML() -{ -} - -//***************************************************************************************************************** -void CFGView::impl_generateDoubleFilterUINamesHTML() -{ - //------------------------------------------------------------------------------------------------------------- - // generate frameset for double UINames - OUStringBuffer sFrameSet( 10000 ); - - sFrameSet.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tFrameset: Search doubl UINames\n\t\t</title>\n\t</head>\n" ); // open html - sFrameSet.appendAscii( "\t\t<frameset cols=\"40%,60%\">\n" ); // open frameset for cols - sFrameSet.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "list" - sFrameSet.appendAscii( TARGET_LIST ); - sFrameSet.appendAscii( "\" src=\"" ); - sFrameSet.appendAscii( DOUBLEFILTERUINAMES_HTML ); - sFrameSet.appendAscii( "\" title=\"Double UINames\">\n" ); - sFrameSet.appendAscii( "\t\t\t<frame name=\"" ); // generate frame "properties" - sFrameSet.appendAscii( TARGET_PROPERTIES ); - sFrameSet.appendAscii( "\" src=\"" ); - sFrameSet.appendAscii( FILTERPROPERTIES_HTML ); - sFrameSet.appendAscii( "\" title=\"Properties\">\n" ); - sFrameSet.appendAscii( "\t\t</frameset>\n" ); // close frameset cols - sFrameSet.appendAscii( "</html>\n" ); // close html - - impl_writeFile( FRAMESET_DOUBLEFILTERUINAMES_HTML, U2B(sFrameSet.makeStringAndClear()) ); - - //------------------------------------------------------------------------------------------------------------- - // Search invalid registered detect services! - OUStringBuffer sHTML( 10000 ); - - sHTML.appendAscii( "<html>\n\t<head>\n\t\t<title>\n\t\t\tDouble Filter UINames\n\t\t</title>\n\t</head>\n\t<body>\n" ); // open html - sHTML.appendAscii( "\t\tPlease check follow filter entries in configuration. Her UINames are registered twice!<p>\n" ); // write "Note" - sHTML.appendAscii( "\t\t<table border=0>\n" ); // open table - sHTML.appendAscii( "\t<tr><td bgcolor=#ff8040><strong>Nr.</strong></td>\n" ); // generate table header - sHTML.appendAscii( "\t\t<td bgcolor=#ff8040><strong>UIName</strong></td>\n" ); - sHTML.appendAscii( "\t\t<td bgcolor=#ff8040><strong>Filters</strong></td>\n" ); - sHTML.appendAscii( "\t</tr>\n" ); - - StringHash lUINames ; - css::uno::Sequence< ::rtl::OUString > lFilters = m_aData.pCache->getAllFilterNames(); - sal_Int32 nFilterCount = lFilters.getLength() ; - Filter aFilter ; - ::rtl::OUStringBuffer sBuffer ; - ::rtl::OUString sUIName ; - - for( sal_Int32 nFilter=0; nFilter<nFilterCount; ++nFilter ) - { - aFilter = m_aData.pCache->getFilter( lFilters[nFilter] ); - for( ConstStringHashIterator pUIName=aFilter.lUINames.begin(); pUIName!= aFilter.lUINames.end(); ++pUIName ) - { - // Build key value by using localized UIName to register filter name - sBuffer.appendAscii( "[" ); - sBuffer.append ( pUIName->first ); - sBuffer.appendAscii( "] \"" ); - sBuffer.append ( pUIName->second ); - sBuffer.appendAscii( "\"" ); - sUIName = sBuffer.makeStringAndClear(); - - // insert filter into hash table - sBuffer.append ( lUINames[ sUIName ] ); - sBuffer.appendAscii ( "<a href=\"" ); - sBuffer.appendAscii ( FILTERPROPERTIES_HTML ); - sBuffer.appendAscii ( "#" ); - sBuffer.append ( aFilter.sName ); - sBuffer.appendAscii ( "\" target=\"" ); - sBuffer.appendAscii ( TARGET_PROPERTIES ); - sBuffer.appendAscii ( "\">" ); - sBuffer.append ( aFilter.sName ); - sBuffer.appendAscii ( "\"</a><br>\n" ); - lUINames[ sUIName ] = sBuffer.makeStringAndClear(); - } - } - - nFilter = 1; - for( ConstStringHashIterator pIterator=lUINames.begin(); pIterator!=lUINames.end(); ++pIterator ) - { - if( pIterator->second.indexOf( '\n' ) != pIterator->second.lastIndexOf( '\n' ) ) - { - sHTML.appendAscii ( "\t<tr><td bgcolor=#ff0000 color=#00ffff valign=top>" ); // generate row for uiname->filter entry - sHTML.append ( OUString::valueOf( nFilter ) ); - sHTML.appendAscii ( "</td><td valign=top>" ); - sHTML.append ( pIterator->first ); - sHTML.appendAscii ( "</td><td bgcolor=#f0f0f0 valign=top>" ); - sHTML.append ( pIterator->second ); - sHTML.appendAscii ( "</td></tr>\n" ); - - ++nFilter; - } - } - - sHTML.appendAscii( "</table>\n" ); // close table - sHTML.appendAscii( "</body>\n</html>\n" ); // close html - impl_writeFile( DOUBLEFILTERUINAMES_HTML, U2B(sHTML.makeStringAndClear()) ); -} - -//***************************************************************************************************************** -void CFGView::impl_writeFile( const ::rtl::OString& sFile, const ::rtl::OString& sContent ) -{ - ::rtl::OUStringBuffer sFullPath( 1000 ); - sFullPath.append ( m_aData.sDirectory ); - sFullPath.appendAscii ( "\\" ); - sFullPath.appendAscii ( sFile.getStr() ); - - ::rtl::OUString s = sFullPath.makeStringAndClear(); - - WRITE_LOGFILE( U2B(s), sContent ) -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/test/typecfg/typecfg.cxx b/framework/test/typecfg/typecfg.cxx deleted file mode 100644 index 4072b92790a6..000000000000 --- a/framework/test/typecfg/typecfg.cxx +++ /dev/null @@ -1,250 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ -#include <classes/servicemanager.hxx> -#include <classes/filtercache.hxx> -#include <macros/generic.hxx> -#include <macros/debug.hxx> -#include <services.h> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/container/XNameContainer.hpp> -#include <com/sun/star/beans/PropertyValue.hpp> - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <comphelper/processfactory.hxx> -#include <osl/process.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> -#include <stdio.h> - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -#define RDBFILE DECLARE_ASCII("typecfg.rdb" ) -#define ARGUMENT_GENERATE_CFGVIEW DECLARE_ASCII("-cfgview" ) -#define ARGUMENT_CHECK_FILTERREGISTRATION DECLARE_ASCII("-registerfilter" ) -#define ARGUMENT_GENERATE_TYPEDETECTION_XCD DECLARE_ASCII("-generatexcd" ) - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::std ; -using namespace ::rtl ; -using namespace ::framework ; -using namespace ::comphelper ; -using namespace ::com::sun::star::uno ; -using namespace ::com::sun::star::lang ; -using namespace ::com::sun::star::container ; -using namespace ::com::sun::star::beans ; - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -enum EMode -{ - E_GENERATE_CFGVIEW , - E_CHECK_FILTERREGISTRATION , - E_GENERATE_TYPEDETECTION_XCD -}; - -/*-***************************************************************************************************************/ -class TypeApplication : public Application -{ - //************************************************************************************************************* - public: - - void Main(); - - //************************************************************************************************************* - private: - - void impl_parseCommandLine (); - void impl_generateCFGView (); - void impl_checkFilterRegistration (); - void impl_generateTypeDetectionXCD (); - - //************************************************************************************************************* - private: - - EMode m_eMode ; - Reference< XMultiServiceFactory > m_xServiceManager ; - - FilterCache* m_pCache ; - -}; // class FilterApplication - -//_________________________________________________________________________________________________________________ -// global variables -//_________________________________________________________________________________________________________________ - -TypeApplication gApplication; - -//***************************************************************************************************************** -void TypeApplication::Main() -{ - // Init global servicemanager and set it. - ServiceManager aManager; - m_xServiceManager = aManager.getSharedUNOServiceManager( RDBFILE ); - setProcessServiceFactory( m_xServiceManager ); - - m_pCache = new FilterCache; - - impl_parseCommandLine(); - - switch( m_eMode ) - { - case E_GENERATE_CFGVIEW : impl_generateCFGView(); - break; - case E_CHECK_FILTERREGISTRATION : impl_checkFilterRegistration(); - break; - case E_GENERATE_TYPEDETECTION_XCD : impl_generateTypeDetectionXCD(); - break; - } - - delete m_pCache; - m_pCache = NULL; -} - -//***************************************************************************************************************** -void TypeApplication::impl_parseCommandLine() -{ - OUString sArgument ; - sal_Int32 nArgument = 0 ; - sal_Int32 nCount = osl_getCommandArgCount(); - - while( nArgument<nCount ) - { - osl_getCommandArg( nArgument, &sArgument.pData ); - - if( sArgument == ARGUMENT_GENERATE_CFGVIEW ) - { - m_eMode = E_GENERATE_CFGVIEW; - break; - } - else - if( sArgument == ARGUMENT_CHECK_FILTERREGISTRATION ) - { - m_eMode = E_CHECK_FILTERREGISTRATION; - break; - } - else - if( sArgument == ARGUMENT_GENERATE_TYPEDETECTION_XCD ) - { - m_eMode = E_GENERATE_TYPEDETECTION_XCD; - break; - } - - ++nArgument; - } -} - -//***************************************************************************************************************** -void TypeApplication::impl_generateCFGView() -{ - #ifdef ENABLE_FILTERCACHEDEBUG - // Cache use ref count! - FilterCache aCache; - aCache.impldbg_generateHTMLView(); - #endif //ENABLE_FILTERCACHEDEBUG -} - -//***************************************************************************************************************** -void TypeApplication::impl_checkFilterRegistration() -{ - Reference< XNameContainer > xFilterContainer( m_xServiceManager->createInstance( SERVICENAME_FILTERFACTORY ), UNO_QUERY ); - LOG_ASSERT2( xFilterContainer.is()==sal_False, "TypeApplication::impl_checkFilterRegistration()", "Couldn't create filter factory!" ) - if( xFilterContainer.is() == sal_True ) - { - Sequence< PropertyValue > lProperties( 8 ); - - lProperties[0].Name = DECLARE_ASCII("Type") ; - lProperties[0].Value <<= DECLARE_ASCII("MeinType") ; - - lProperties[1].Name = DECLARE_ASCII("UIName") ; - lProperties[1].Value <<= DECLARE_ASCII("MeinUIName") ; - - lProperties[2].Name = DECLARE_ASCII("UINames") ; - lProperties[2].Value <<= Sequence< PropertyValue >() ; - - lProperties[3].Name = DECLARE_ASCII("DocumentService") ; - lProperties[3].Value <<= DECLARE_ASCII("MeinDocService") ; - - lProperties[4].Name = DECLARE_ASCII("FilterService") ; - lProperties[4].Value <<= DECLARE_ASCII("MeinFilterService") ; - - lProperties[5].Name = DECLARE_ASCII("Flags") ; - lProperties[5].Value <<= (sal_Int32)256 ; - - lProperties[6].Name = DECLARE_ASCII("UserData") ; - lProperties[6].Value <<= Sequence< OUString >() ; - - lProperties[7].Name = DECLARE_ASCII("FileFormatVersion") ; - lProperties[7].Value <<= (sal_Int32)0 ; - - lProperties[8].Name = DECLARE_ASCII("TemplateName") ; - lProperties[8].Value <<= DECLARE_ASCII("MeinTemplate") ; - } -} - -//***************************************************************************************************************** -void TypeApplication::impl_generateTypeDetectionXCD() -{ - #ifdef ENABLE_GENERATEFILTERCACHE - // Cache use ref count! - FilterCache aCache ; - sal_Bool bWriteable = sal_True; - sal_Unicode cSeparator = ',' ; - aCache.impldbg_generateXCD( "org.openoffice.Office.TypeDetection.xcd", bWriteable, cSeparator ); - #endif //ENABLE_GENERATEFILTERCACHE -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/test/typecfg/xml2xcd.cxx b/framework/test/typecfg/xml2xcd.cxx deleted file mode 100644 index 38b54ac19520..000000000000 --- a/framework/test/typecfg/xml2xcd.cxx +++ /dev/null @@ -1,2295 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_framework.hxx" - -//_________________________________________________________________________________________________________________ -// my own includes -//_________________________________________________________________________________________________________________ - -#define VCL_NEED_BASETSD -#include <tools/presys.h> -#include <windows.h> -#include <tools/postsys.h> -#include <classes/servicemanager.hxx> -#include <classes/filtercache.hxx> -#include <macros/generic.hxx> -#include <macros/debug.hxx> -#include <services.h> -#include <filterflags.h> - -//_________________________________________________________________________________________________________________ -// interface includes -//_________________________________________________________________________________________________________________ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> - -//_________________________________________________________________________________________________________________ -// other includes -//_________________________________________________________________________________________________________________ -#include <comphelper/processfactory.hxx> -#include <unotools/processfactory.hxx> -#include <osl/process.h> -#include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> - -#include <vcl/event.hxx> -#include <vcl/svapp.hxx> -#include <vcl/wrkwin.hxx> -#include <vcl/msgbox.hxx> - -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - -using namespace ::framework ; - -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ -// defines -//_________________________________________________________________________________________________________________ - -/* - Versions: 1) first revision - - one entry for every property - - full loclized values - 2) new property "Order" for filters ... but not right set! - all values are 0 - 3) decrease size of xml file - - don't write full localized values - - use own formated string for all non localized values - - seperate "Installed" flag for filters - 4) set right values for "Order" property of filters - 5) support for ContentHandler - draft 6) reactivate old filter names - ??? draft 7) split xml into standard/optional => use DRAFT_SPLIT_VERSION till this version is well known! - */ -#define DRAFT_SPLIT_VERSION 7 - -#define ARGUMENT_PACKAGE_STANDARD DECLARE_ASCII("-pas=") // argument for package name of standard filters -#define ARGUMENT_PACKAGE_ADDITIONAL DECLARE_ASCII("-paa=") // argument for package name of additional filters -#define ARGUMENT_WRITEABLE DECLARE_ASCII("-wri=") // argument for "writeable" [true|false] -#define ARGUMENT_VERSION_INPUT DECLARE_ASCII("-vin=") // argument for file version to read [1|2|3] -#define ARGUMENT_VERSION_OUTPUT DECLARE_ASCII("-vou=") // argument for file version to write [1|2|3] - -#define ARGUMENTLENGTH 5 // All arguments should have the same lenght ... it's better to detect it! -#define ARGUMENTFOUND 0 // OUString::compareTo returns 0 if searched string match given one - -#define WRITEABLE_ON DECLARE_ASCII("true" ) -#define WRITEABLE_OFF DECLARE_ASCII("false") - -#define MINARGUMENTCOUNT 5 // no optional arguments allowed yet! - -#define LISTFILE_STANDARDTYPES "typelist_standard.txt" -#define LISTFILE_ADDITIONALTYPES "typelist_additional.txt" -#define LISTFILE_STANDARDFILTER "filterlist_standard.txt" -#define LISTFILE_ADDITIONALFILTER "filterlist_additional.txt" -#define SCPFILE_STANDARD "scp_standard.txt" -#define SCPFILE_ADDITIONAL "scp_additional.txt" - -//_________________________________________________________________________________________________________________ -// declarations -//_________________________________________________________________________________________________________________ - -/*-***************************************************************************************************************/ -struct AppMember -{ - FilterCache* pFilterCache ; // pointer to configuration - StringHash aOldFilterNamesHash ; // converter tabel to restaurate old filter names - EFilterPackage ePackage ; // specify which package should be used => specify using of file name and buffer too! -// ::rtl::OUString sFileNameStandard ; // file name of our standard filter cfg -// ::rtl::OUString sFileNameAdditional ; // file name of our additional filter cfg - ::rtl::OUString sPackageStandard ; // package name of our standard filter cfg - ::rtl::OUString sPackageAdditional ; // package name of our additional filter cfg - ::rtl::OUStringBuffer sBufferStandard ; // buffer of our standard filter cfg - ::rtl::OUStringBuffer sBufferAdditional ; // buffer of our standard filter cfg - ::rtl::OUStringBuffer sNew2OldSCPStandard ; // setup script to convert new to old filternames (standard filter) - ::rtl::OUStringBuffer sNew2OldSCPAdditional ; // setup script to convert new to old filternames (additional filter) - ::rtl::OUStringBuffer sStandardFilterList ; - ::rtl::OUStringBuffer sAdditionalFilterList ; - ::rtl::OUStringBuffer sStandardTypeList ; - ::rtl::OUStringBuffer sAdditionalTypeList ; - sal_Bool bWriteable ; // enable/disable writable configuration items - sal_Int32 nVersionInput ; // format version of input xml file - sal_Int32 nVersionOutput ; // format version of output xcd file - - sal_Int32 nOriginalTypes ; - sal_Int32 nOriginalFilters ; - sal_Int32 nOriginalDetectors ; - sal_Int32 nOriginalLoaders ; - sal_Int32 nOriginalContentHandlers ; - - sal_Int32 nWrittenTypes ; - sal_Int32 nWrittenFilters ; - sal_Int32 nWrittenDetectors ; - sal_Int32 nWrittenLoaders ; - sal_Int32 nWrittenContentHandlers ; -}; - -/*-***************************************************************************************************************/ -class XCDGenerator : public Application -{ - //************************************************************************************************************* - public: - void Main(); - - //************************************************************************************************************* - private: - void impl_printCopyright ( ); // print copyright to stdout :-) - void impl_printSyntax ( ); // print help to stout for user - void impl_parseCommandLine ( AppMember& rMember ); // parse command line arguments and fill given struct - - void impl_generateXCD ( ); // generate all xcd files by using current configuration - void impl_generateCopyright ( ); // generate copyrights - void impl_generateTypeTemplate ( ); // generate templates ... - void impl_generateFilterTemplate ( ); - void impl_generateDetectorTemplate ( ); - void impl_generateLoaderTemplate ( ); - void impl_generateTypeSet ( ); // generate sets - void impl_generateFilterSet ( ); - void impl_generateDetectorSet ( ); - void impl_generateLoaderSet ( ); - void impl_generateDefaults ( ); // generate defaults - void impl_generateContentHandlerTemplate ( ); - void impl_generateContentHandlerSet ( ); - void impl_generateFilterFlagTemplate ( const ::rtl::OUString& sName , // helper to write atomic elements - sal_Int32 nValue , - const ::rtl::OString& sDescription = ::rtl::OString() ); - void impl_generateIntProperty ( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - sal_Int32 nValue ); - void impl_generateBoolProperty ( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - sal_Bool bValue ); - void impl_generateStringProperty ( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const ::rtl::OUString& sValue ); - void impl_generateStringListProperty ( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const ::framework::StringList& lValue ); - void impl_generateUINamesProperty ( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const StringHash& lUINames ); - ::rtl::OUString impl_getOldFilterName ( const ::rtl::OUString& sNewName ); // convert filter names to old format - - static void impl_classifyType ( const AppMember& rData , - const ::rtl::OUString& sTypeName , - EFilterPackage& ePackage ); // classify type as STANDARD or ADDITIONAL one - static void impl_classifyFilter ( const AppMember& rData , - const ::rtl::OUString& sFilterName , - EFilterPackage& ePackage , - sal_Int32& nOrder ); // classify filter as STANDARD or ADDITIONAL filter, set order of standard filter too - static ::rtl::OUString impl_encodeSpecialSigns ( const ::rtl::OUString& sValue ); // encode strings for xml - static sal_Unicode impl_defineSeperator ( const ::framework::StringList& lList ); // search seperator for lists - static void impl_initFilterHashNew2Old ( StringHash& aHash ); // initialize converter table to restaurate old filter names - static void impl_orderAlphabetical ( css::uno::Sequence< ::rtl::OUString >& lList ); // sort stringlist of internal type-, filter- ... names in alphabetical order to generate xcd files everytime in the same way - static sal_Bool impl_isUsAsciiAlphaDigit ( sal_Unicode c , - sal_Bool bDigitAllowed = sal_True ); - static ::rtl::OUString impl_encodeSetName ( const ::rtl::OUString& rSource ); - - //************************************************************************************************************* - private: - AppMember m_aData; - -}; // class XCDGenerator - -//_________________________________________________________________________________________________________________ -// global variables -//_________________________________________________________________________________________________________________ - -XCDGenerator gGenerator; - -//***************************************************************************************************************** -void XCDGenerator::Main() -{ - - // Init global servicemanager and set it. - // It's neccessary for other services ... e.g. configuration. - ServiceManager aManager; - ::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() ); - ::utl::setProcessServiceFactory ( aManager.getGlobalUNOServiceManager() ); - - // Get optional commands from command line. - impl_parseCommandLine( m_aData ); - - // initialize converter table to match new to old filter names! - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - XCDGenerator::impl_initFilterHashNew2Old( m_aData.aOldFilterNamesHash ); - } - - // Create access to current set filter configuration. - // Attention: Please use it for a full fat office installation only!! - // We need an installation with ALL filters. - // Member m_pData is used in some impl-methods directly ... - m_aData.pFilterCache = new FilterCache( m_aData.nVersionInput, CONFIG_MODE_ALL_LOCALES ); - - // Get some statistic informations of current filled filter cache ... (e.g. count of current activae filters) - // because we need it to check if all filters are converted and written to disk. - // May be it's possible to lose some of them during convertion!!! - m_aData.nOriginalTypes = m_aData.pFilterCache->getAllTypeNames().getLength() ; - m_aData.nOriginalFilters = m_aData.pFilterCache->getAllFilterNames().getLength() ; - m_aData.nOriginalDetectors = m_aData.pFilterCache->getAllDetectorNames().getLength() ; - m_aData.nOriginalLoaders = m_aData.pFilterCache->getAllLoaderNames().getLength() ; - if( m_aData.nVersionInput >= 5 ) - { - m_aData.nOriginalContentHandlers = m_aData.pFilterCache->getAllContentHandlerNames().getLength() ; - } - - // Start generation of xcd file(s). - impl_generateXCD(); - - // Warn programmer if some items couldn't written to file! - LOG_ASSERT2( m_aData.nOriginalTypes != m_aData.nWrittenTypes , "XCDGenerator::Main()", "Generated xcd file could be invalid ... because I miss some types!" ) - LOG_ASSERT2( m_aData.nOriginalFilters != m_aData.nWrittenFilters , "XCDGenerator::Main()", "Generated xcd file could be invalid ... because I miss some filters!" ) - LOG_ASSERT2( m_aData.nOriginalDetectors!= m_aData.nWrittenDetectors, "XCDGenerator::Main()", "Generated xcd file could be invalid ... because I miss some detectors!" ) - LOG_ASSERT2( m_aData.nOriginalLoaders != m_aData.nWrittenLoaders , "XCDGenerator::Main()", "Generated xcd file could be invalid ... because I miss some loaders!" ) - - // Free memory. - delete m_aData.pFilterCache; - m_aData.pFilterCache = NULL; -} - -/*-************************************************************************************************************//** - @short print some info messages to stderr - @descr We must show an copyright or help for using this file. - This two methods do that. - - @seealso - - - @param - - @return - - - @onerror - -*//*-*************************************************************************************************************/ -void XCDGenerator::impl_printCopyright() -{ - fprintf( stderr, "\n(c) Copyright 2000, 2010 Oracle and/or its affiliates.\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_printSyntax() -{ - // It's not possible to print it out to stdout in a svdem binary :-( - // So we show an assert. - ::rtl::OStringBuffer sBuffer( 500 ); - sBuffer.append( "\nusing: xml2xcd -fis=<file standard filter> -fia=<file additional filter> -pas=<package standard filter> -paa=<package additional filter> -vin=<version input> -vou=<version output> [-wri=<true|false>]\n\n" ); - sBuffer.append( "\tneccessary parameters:\n" ); - sBuffer.append( "\t\t-fis\tname of output file in system notation\n" ); - sBuffer.append( "\t\t-fia\tname of output file in system notation\n" ); - sBuffer.append( "\t\t-pas\tpackage of standard filters\n" ); - sBuffer.append( "\t\t-paa\tpackage of additional filters\n" ); - sBuffer.append( "\t\t-vin\tformat version of input xml file\n" ); - sBuffer.append( "\t\t-vou\tformat version of generated xcd file\n\n" ); - sBuffer.append( "\toptional parameters:\n" ); - sBuffer.append( "\t\t-wri\tconfig items should be writeable ... [true|false]\n" ); - LOG_ERROR( "", sBuffer.makeStringAndClear() ) -} - -/*-************************************************************************************************************//** - @short analyze command line arguments - @descr Created binary accept different command line arguments. These parameters - regulate creation of xcd file. Follow arguments are supported: - "-fis=<filename of standard xcd>" - "-fia=<filename of additional xcd>" - "-wri=<writeable>[true|false]" - "-vin=<version of input file>[1|2|3]" - "-vou=<version of output file>[1|2|3]" - - @seealso - - - @param "rMember", reference to struct of global application member to fill arguments in it - @return right filled member struct or unchanged struct if an error occure! - - @onerror We do nothing - or warn programmer! -*//*-*************************************************************************************************************/ -void XCDGenerator::impl_parseCommandLine( AppMember& rMember ) -{ - ::rtl::OUString sArgument ; - sal_Int32 nArgument = 0 ; - sal_Int32 nCount = osl_getCommandArgCount(); - sal_Int32 nMinCount = 0 ; - - while( nArgument<nCount ) - { - osl_getCommandArg( nArgument, &sArgument.pData ); - //_____________________________________________________________________________________________________ - // look for "-pas=..." - if( sArgument.compareTo( ARGUMENT_PACKAGE_STANDARD, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - rMember.sPackageStandard = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - ++nMinCount; - } - else - //_____________________________________________________________________________________________________ - // look for "-paa=..." - if( sArgument.compareTo( ARGUMENT_PACKAGE_ADDITIONAL, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - rMember.sPackageAdditional = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - ++nMinCount; - } - else - //_____________________________________________________________________________________________________ - // look for "-wri=..." - if( sArgument.compareTo( ARGUMENT_WRITEABLE, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - ::rtl::OUString sWriteable = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - if( sWriteable == WRITEABLE_ON ) - { - rMember.bWriteable = sal_True; - } - else - { - rMember.bWriteable = sal_False; - } - ++nMinCount; - } - //_____________________________________________________________________________________________________ - // look for "-vin=..." - if( sArgument.compareTo( ARGUMENT_VERSION_INPUT, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - ::rtl::OUString sVersion = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - rMember.nVersionInput = sVersion.toInt32(); - ++nMinCount; - } - //_____________________________________________________________________________________________________ - // look for "-vou=..." - if( sArgument.compareTo( ARGUMENT_VERSION_OUTPUT, ARGUMENTLENGTH ) == ARGUMENTFOUND ) - { - ::rtl::OUString sVersion = sArgument.copy( ARGUMENTLENGTH, sArgument.getLength()-ARGUMENTLENGTH ); - rMember.nVersionOutput = sVersion.toInt32(); - ++nMinCount; - } - - ++nArgument; - } - - // Show help if user don't call us right! - if( nMinCount != MINARGUMENTCOUNT ) - { - impl_printSyntax(); - exit(-1); - } -} - -/*-************************************************************************************************************//** - @short regulate generation of complete xcd file(s) - @descr This method is the toppest one and implement the global structure of generated xcd file(s). - We create a unicode string buffer for complete xcd file in memory ... - use different helper methods to fill it ... - and write it to disk at the end of this method! - - @seealso struct AppMember - - @param - - @return - - - @onerror - -*//*-*************************************************************************************************************/ -void XCDGenerator::impl_generateXCD() -{ - impl_generateCopyright(); - - // Write header - m_aData.sBufferStandard.appendAscii ( "\n<!-- PLEASE DON'T CHANGE TEMPLATES OR FILE FORMAT BY HAND! USE \"XML2XCD.EXE\" TO DO THAT. THANKS. -->\n\n" ); - m_aData.sBufferStandard.appendAscii ( "<!DOCTYPE schema:component SYSTEM \"../../../../schema/schema.description.dtd\">\n" ); - m_aData.sBufferStandard.appendAscii ( "<schema:component cfg:name=\"" ); - m_aData.sBufferStandard.append ( m_aData.sPackageStandard ); - m_aData.sBufferStandard.appendAscii ( "\" cfg:package=\"org.openoffice.Office\" xml:lang=\"en-US\" xmlns:schema=\"http://openoffice.org/2000/registry/schema/description\" xmlns:default=\"http://openoffice.org/2000/registry/schema/default\" xmlns:cfg=\"http://openoffice.org/2000/registry/instance\">\n" ); - m_aData.sBufferStandard.appendAscii ( "\t<schema:templates>\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii ( "\n<!-- PLEASE DON'T CHANGE TEMPLATES OR FILE FORMAT BY HAND! USE \"XML2XCD.EXE\" TO DO THAT. THANKS. -->\n\n" ); - m_aData.sBufferAdditional.appendAscii ( "<!DOCTYPE schema:component SYSTEM \"../../../../schema/schema.description.dtd\">\n" ); - m_aData.sBufferAdditional.appendAscii ( "<schema:component cfg:name=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageAdditional ); - m_aData.sBufferAdditional.appendAscii ( "\" cfg:package=\"org.openoffice.Office\" xml:lang=\"en-US\" xmlns:schema=\"http://openoffice.org/2000/registry/schema/description\" xmlns:default=\"http://openoffice.org/2000/registry/schema/default\" xmlns:cfg=\"http://openoffice.org/2000/registry/instance\">\n" ); - m_aData.sBufferAdditional.appendAscii ( "\t<schema:import cfg:name=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageStandard ); - m_aData.sBufferAdditional.appendAscii ( "\"/>\n" ); - } - - // Follow ...generate... methods to nothing for additional filters! - impl_generateTypeTemplate (); - impl_generateFilterTemplate (); - impl_generateDetectorTemplate(); - if( m_aData.nVersionOutput >= 5 ) - { - impl_generateContentHandlerTemplate (); - } - impl_generateLoaderTemplate (); - - m_aData.sBufferStandard.appendAscii ( "\t</schema:templates>\n" ); - m_aData.sBufferStandard.appendAscii ( "<schema:schema cfg:localized=\"false\">\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t<schema:schema cfg:localized=\"false\">\n" ); - } - - impl_generateTypeSet (); - impl_generateFilterSet (); - impl_generateDetectorSet (); - if( m_aData.nVersionInput >= 5 ) - { - impl_generateContentHandlerSet (); - } - impl_generateLoaderSet (); - impl_generateDefaults (); - - m_aData.sBufferStandard.appendAscii ( "\t</schema:schema>\n" ); - m_aData.sBufferStandard.appendAscii ( "</schema:component>\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii ( "\t</schema:schema>\n" ); - m_aData.sBufferAdditional.appendAscii ( "</schema:component>\n" ); - } - - ::rtl::OUString sFileName = m_aData.sPackageStandard ; - sFileName += DECLARE_ASCII(".xcd") ; - - WRITE_LOGFILE( U2B( sFileName ) , U2B(m_aData.sBufferStandard.makeStringAndClear() )) - WRITE_LOGFILE( LISTFILE_STANDARDFILTER , U2B(m_aData.sStandardFilterList.makeStringAndClear() )) - WRITE_LOGFILE( LISTFILE_STANDARDTYPES , U2B(m_aData.sStandardTypeList.makeStringAndClear() )) - WRITE_LOGFILE( SCPFILE_STANDARD , U2B(m_aData.sNew2OldSCPStandard.makeStringAndClear() )) - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - sFileName = m_aData.sPackageAdditional ; - sFileName += DECLARE_ASCII(".xcd") ; - - WRITE_LOGFILE( U2B(sFileName) , U2B(m_aData.sBufferAdditional.makeStringAndClear() )) - WRITE_LOGFILE( LISTFILE_ADDITIONALFILTER, U2B(m_aData.sAdditionalFilterList.makeStringAndClear() )) - WRITE_LOGFILE( LISTFILE_ADDITIONALTYPES , U2B(m_aData.sAdditionalTypeList.makeStringAndClear() )) - WRITE_LOGFILE( SCPFILE_ADDITIONAL , U2B(m_aData.sNew2OldSCPAdditional.makeStringAndClear() )) - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateCopyright() -{ - m_aData.sBufferStandard.appendAscii( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" ); - m_aData.sBufferStandard.appendAscii( "<!-- \n" ); - m_aData.sBufferStandard.appendAscii( " DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " Copyright 2000, 2010 Oracle and/or its affiliates.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " OpenOffice.org - a multi-platform office productivity suite\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " This file is part of OpenOffice.org.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " OpenOffice.org is free software: you can redistribute it and/or modify\n" ); - m_aData.sBufferStandard.appendAscii( " it under the terms of the GNU Lesser General Public License version 3\n" ); - m_aData.sBufferStandard.appendAscii( " only, as published by the Free Software Foundation.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " OpenOffice.org is distributed in the hope that it will be useful,\n" ); - m_aData.sBufferStandard.appendAscii( " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" ); - m_aData.sBufferStandard.appendAscii( " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" ); - m_aData.sBufferStandard.appendAscii( " GNU Lesser General Public License version 3 for more details\n" ); - m_aData.sBufferStandard.appendAscii( " (a copy is included in the LICENSE file that accompanied this code).\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( " You should have received a copy of the GNU Lesser General Public License\n"); - m_aData.sBufferStandard.appendAscii( " version 3 along with OpenOffice.org. If not, see\n" ); - m_aData.sBufferStandard.appendAscii( " <http://www.openoffice.org/license.html>\n" ); - m_aData.sBufferStandard.appendAscii( " for a copy of the LGPLv3 License.\n" ); - m_aData.sBufferStandard.appendAscii( "\n" ); - m_aData.sBufferStandard.appendAscii( "-->\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" ); - m_aData.sBufferAdditional.appendAscii( "<!-- \n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " Copyright 2000, 2010 Oracle and/or its affiliates.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " OpenOffice.org - a multi-platform office productivity suite\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " This file is part of OpenOffice.org.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " OpenOffice.org is free software: you can redistribute it and/or modify\n" ); - m_aData.sBufferAdditional.appendAscii( " it under the terms of the GNU Lesser General Public License version 3\n" ); - m_aData.sBufferAdditional.appendAscii( " only, as published by the Free Software Foundation.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " OpenOffice.org is distributed in the hope that it will be useful,\n" ); - m_aData.sBufferAdditional.appendAscii( " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" ); - m_aData.sBufferAdditional.appendAscii( " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" ); - m_aData.sBufferAdditional.appendAscii( " GNU Lesser General Public License version 3 for more details\n" ); - m_aData.sBufferAdditional.appendAscii( " (a copy is included in the LICENSE file that accompanied this code).\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( " You should have received a copy of the GNU Lesser General Public License\n"); - m_aData.sBufferAdditional.appendAscii( " version 3 along with OpenOffice.org. If not, see\n" ); - m_aData.sBufferAdditional.appendAscii( " <http://www.openoffice.org/license.html>\n" ); - m_aData.sBufferAdditional.appendAscii( " for a copy of the LGPLv3 License.\n" ); - m_aData.sBufferAdditional.appendAscii( "\n" ); - m_aData.sBufferAdditional.appendAscii( "-->\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateTypeTemplate() -{ - //_________________________________________________________________________________________________________________ - if( m_aData.nVersionOutput==1 || m_aData.nVersionOutput==2 ) - { - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"Type\">\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Preferred\" cfg:type=\"boolean\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii("\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the preferred type for an extension if more then one match given URL</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UIName\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the external name of this type</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"MediaType\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the mime type </schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"ClipboardFormat\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the clipboard format name</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"URLPattern\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the patterns used for URLs. This type is only relevant for HTTP, FTP etc. and is used for internal URL formats like private:factory etc.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Extensions\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the possible file extensions.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"DocumentIconID\" cfg:type=\"int\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the document icon ID of this type</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>0</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); - } - //_________________________________________________________________________________________________________________ - else if( m_aData.nVersionOutput>=3 ) - { - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"Type\">\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UIName\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the external name of this type</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Data\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii("\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Containes all data of a type as an own formated string.{Preferred, MediaType, ClipboardFormat, URLPattern, Extensions, DocumentIconID}</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateFilterTemplate() -{ - //_________________________________________________________________________________________________________________ - if( m_aData.nVersionOutput==1 || m_aData.nVersionOutput==2 ) - { - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"Filter\">\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Installed\" cfg:type=\"boolean\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Make it possible to enable or disable filter by setup!</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - if( m_aData.nVersionOutput==2 ) - { - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Order\" cfg:type=\"int\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies order of filters for relevant module; don't used for default filter!</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>0</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - } - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UIName\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the external name of the filter which is displayed at the user interface (dialog).</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Type\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the relative type key name of the filter, e.g. Type/T1</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"DocumentService\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the name of the UNO service to implement the document.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"FilterService\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the name of the UNO service for importing the document.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Flags\" cfg:type=\"int\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the properties of the filter</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:type-info>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:value-names>\n" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_IMPORT , FILTERFLAG_IMPORT , "mark filter for import" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_EXPORT , FILTERFLAG_EXPORT , "mark filter for export" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_TEMPLATE , FILTERFLAG_TEMPLATE ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_INTERNAL , FILTERFLAG_INTERNAL ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_TEMPLATEPATH , FILTERFLAG_TEMPLATEPATH ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_OWN , FILTERFLAG_OWN ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_ALIEN , FILTERFLAG_ALIEN ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_USESOPTIONS , FILTERFLAG_USESOPTIONS ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_DEFAULT , FILTERFLAG_DEFAULT , "most important filter, if more then ones available" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_NOTINFILEDIALOG , FILTERFLAG_NOTINFILEDIALOG, "don't show it in file dialogs!" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_NOTINCHOOSER , FILTERFLAG_NOTINCHOOSER , "don't show it in chooser!" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_ASYNCHRON , FILTERFLAG_ASYNCHRON ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_NOTINSTALLED , FILTERFLAG_NOTINSTALLED , "set, if the filter is not installed, but available on CD" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_CONSULTSERVICE , FILTERFLAG_CONSULTSERVICE , "set, if the filter is not installed and not available an CD" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_3RDPARTYFILTER , FILTERFLAG_3RDPARTYFILTER , "must set, if the filter is an external one" ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_PACKED , FILTERFLAG_PACKED ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_SILENTEXPORT , FILTERFLAG_SILENTEXPORT ); - impl_generateFilterFlagTemplate( FILTERFLAGNAME_PREFERED , FILTERFLAG_PREFERED ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t</schema:value-names>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:constraints xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\"/>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:type-info>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>0</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UserData\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the user-defined data</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data/>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"FileFormatVersion\" cfg:type=\"int\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<!--This should be removed to UserData later-->\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the file format version of the filter</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>0</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"TemplateName\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<!--This should be removed to UserData later-->\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the template used for importing the file with the specified filter.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); - //_________________________________________________________________________________________________________________ - } - else if( m_aData.nVersionOutput>=3 ) - { - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"Filter\">\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Installed\" cfg:type=\"boolean\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Make it possible to enable or disable filter by setup!</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UIName\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the external name of the filter which is displayed at the user interface (dialog).</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Data\" cfg:type=\"string\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>All data of filter written in own format. {Order, OldName, Type, DocumentService, FilterService, Flags, UserData, FilteFormatVersion, TemplateName}</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateFilterFlagTemplate( const ::rtl::OUString& sName, sal_Int32 nValue, const ::rtl::OString& sDescription ) -{ - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t\t<schema:named-value name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\" value=\"" ); - m_aData.sBufferStandard.append ( nValue ); - m_aData.sBufferStandard.appendAscii( "\"" ); - - if( sDescription.getLength() > 0 ) - { - m_aData.sBufferStandard.appendAscii( ">\n\t\t\t\t\t\t\t<schema:description>" ); - m_aData.sBufferStandard.appendAscii( sDescription ); - m_aData.sBufferStandard.appendAscii( "</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t\t</schema:named-value>\n" ); - } - else - { - m_aData.sBufferStandard.appendAscii( "/>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateDetectorTemplate() -{ - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"DetectService\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Types\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>List of types which the service has registered for.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateLoaderTemplate() -{ - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"FrameLoader\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"UIName\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Specifies the external name of the filter which is displayed at the user interface (dialog).</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Types\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>List of types which the service has registered for.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateContentHandlerTemplate() -{ - m_aData.sBufferStandard.appendAscii( "\t\t<schema:group cfg:name=\"ContentHandler\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Types\" cfg:type=\"string\" cfg:derivedBy=\"list\" cfg:writable=\"" ); - m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>List of types which could be handled by this service.</schema:description>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t</schema:group>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateTypeSet() -{ - if( m_aData.pFilterCache->hasTypes() == sal_False ) - { - // generate empty set! - m_aData.sBufferStandard.appendAscii ( "\t<schema:set cfg:name=\"Types\" cfg:element-type=\"Type\"/>\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t<schema:set cfg:name=\"Types\" cfg:element-type=\"Type\" cfg:component=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageStandard ); - m_aData.sBufferAdditional.appendAscii( "\"/>\n" ); - } - } - else - { - // generate filled set - // open set - m_aData.sBufferStandard.appendAscii ( "\t<schema:set cfg:name=\"Types\" cfg:element-type=\"Type\">\n" ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t<schema:set cfg:name=\"Types\" cfg:element-type=\"Type\" cfg:component=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageStandard ); - m_aData.sBufferAdditional.appendAscii( "\">\n" ); - } - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pFilterCache->getAllTypeNames(); - css::uno::Sequence< ::rtl::OUString > lEncNames ( lNames ) ; - sal_Int32 nCount = lNames.getLength() ; - sal_Int32 nItem = 0 ; - - XCDGenerator::impl_orderAlphabetical( lNames ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - ::rtl::OUString sName ; - ::rtl::OUString sEncName; - for( nItem=0; nItem<nCount; ++nItem ) - { - sName = lNames[nItem] ; - lEncNames[nItem] = impl_encodeSetName( sName ); - } - } - - for( nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNames[nItem] ; - FileType aItem = m_aData.pFilterCache->getType( sName ); - EFilterPackage ePackage ; - - ++m_aData.nWrittenTypes; - - if( m_aData.nVersionOutput==1 || m_aData.nVersionOutput==2 ) - { - // open set entry by using name - m_aData.sBufferStandard.appendAscii( "\t\t<default:group cfg:name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\">\n" ); - - // write properties - impl_generateBoolProperty ( m_aData.sBufferStandard, SUBKEY_PREFERRED , aItem.bPreferred ); - impl_generateUINamesProperty ( m_aData.sBufferStandard, SUBKEY_UINAME , aItem.lUINames ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_MEDIATYPE , aItem.sMediaType ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_CLIPBOARDFORMAT , aItem.sClipboardFormat ); - impl_generateStringListProperty ( m_aData.sBufferStandard, SUBKEY_URLPATTERN , aItem.lURLPattern ); - impl_generateStringListProperty ( m_aData.sBufferStandard, SUBKEY_EXTENSIONS , aItem.lExtensions ); - impl_generateIntProperty ( m_aData.sBufferStandard, SUBKEY_DOCUMENTICONID , aItem.nDocumentIconID ); - - // close set node - m_aData.sBufferStandard.appendAscii( "\t\t</default:group>\n" ); - } - else if( m_aData.nVersionOutput >= 3 ) - { - ::rtl::OUString sPath = DECLARE_ASCII("org.openoffice.Office."); - ::rtl::OUStringBuffer* pXCDBuffer = &(m_aData.sBufferStandard ); - ::rtl::OUStringBuffer* pSCPBuffer = &(m_aData.sNew2OldSCPStandard ); - ::rtl::OUStringBuffer* pListBuffer = &(m_aData.sStandardTypeList ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - XCDGenerator::impl_classifyType( m_aData, sName, ePackage ); - switch( ePackage ) - { - case E_ADDITIONAL : { - sPath += m_aData.sPackageAdditional ; - pXCDBuffer = &(m_aData.sBufferAdditional ); - pSCPBuffer = &(m_aData.sNew2OldSCPAdditional); - pListBuffer = &(m_aData.sAdditionalTypeList ); - } - } - } - else - { - sPath += m_aData.sPackageStandard; - } - - sPath += CFG_PATH_SEPERATOR ; - sPath += DECLARE_ASCII( "Types" ); - sPath += CFG_PATH_SEPERATOR ; - - pListBuffer->append ( sName ); - pListBuffer->appendAscii( "\n" ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - pSCPBuffer->appendAscii( "\"" ); - pSCPBuffer->append ( sPath ); - pSCPBuffer->append ( lNames[nItem] ); - pSCPBuffer->appendAscii( "\"\t\"" ); - pSCPBuffer->append ( sPath ); - pSCPBuffer->appendAscii( "Type" ); - pSCPBuffer->append ( CFG_ENCODING_OPEN ); - pSCPBuffer->append ( lNames[nItem] ); - pSCPBuffer->append ( CFG_ENCODING_CLOSE ); - pSCPBuffer->appendAscii( "\"\n" ); - - sName = lEncNames[nItem]; - aItem.sName = sName; - } - - // open set entry by using name - pXCDBuffer->appendAscii( "\t\t<default:group cfg:name=\"" ); - pXCDBuffer->append ( sName ); - pXCDBuffer->appendAscii( "\">\n" ); - - // write properties - impl_generateUINamesProperty( *pXCDBuffer, SUBKEY_UINAME, aItem.lUINames ); - impl_generateStringProperty ( *pXCDBuffer, SUBKEY_DATA , FilterCFGAccess::encodeTypeData( aItem ) ); - - // close set node - pXCDBuffer->appendAscii( "\t\t</default:group>\n" ); - } - } - - // close set - m_aData.sBufferStandard.appendAscii( "\t</schema:set>\n" ); - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t</schema:set>\n" ); - } - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateFilterSet() -{ - if( m_aData.pFilterCache->hasFilters() == sal_False ) - { - // write empty filter set. - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"Filters\" cfg:element-type=\"Filter\"/>\n" ); - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t<schema:set cfg:name=\"Filters\" cfg:element-type=\"Filter\" cfg:component=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageStandard ); - m_aData.sBufferAdditional.appendAscii( "\"/>\n" ); - } - } - else - { - // open set - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"Filters\" cfg:element-type=\"Filter\">\n" ); - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t<schema:set cfg:name=\"Filters\" cfg:element-type=\"Filter\" cfg:component=\"" ); - m_aData.sBufferAdditional.append ( m_aData.sPackageStandard ); - m_aData.sBufferAdditional.appendAscii( "\">\n" ); - } - - css::uno::Sequence< ::rtl::OUString > lNewNames = m_aData.pFilterCache->getAllFilterNames(); - css::uno::Sequence< ::rtl::OUString > lOldNames ( lNewNames ) ; - css::uno::Sequence< ::rtl::OUString > lEncNames ( lNewNames ) ; - sal_Int32 nCount = lNewNames.getLength() ; - sal_Int32 nItem = 0 ; - - XCDGenerator::impl_orderAlphabetical( lNewNames ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - ::rtl::OUString sNewName; - ::rtl::OUString sOldName; - for( nItem=0; nItem<nCount; ++nItem ) - { - sNewName = lNewNames[nItem] ; - sOldName = impl_getOldFilterName ( sNewName ); - lOldNames[nItem] = sOldName ; - lEncNames[nItem] = impl_encodeSetName ( sOldName ); - } - } - - for( nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNewNames[nItem] ; - Filter aItem = m_aData.pFilterCache->getFilter( lNewNames[nItem] ) ; - EFilterPackage ePackage ; - - ++m_aData.nWrittenFilters; - - if( m_aData.nVersionOutput==1 || m_aData.nVersionOutput==2 ) - { - // open set node by using name - m_aData.sBufferStandard.appendAscii( "\t\t<default:group cfg:name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\">\n" ); - - // write properties - // Attention: - // We generate "Installed=false" for all entries ... because it's the default for all filters. - // You must work with a full office installation and change this to "true" in generated XML file!!! - impl_generateBoolProperty ( m_aData.sBufferStandard, SUBKEY_INSTALLED , sal_False ); - impl_generateIntProperty ( m_aData.sBufferStandard, SUBKEY_ORDER , aItem.nOrder ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_TYPE , aItem.sType ); - impl_generateUINamesProperty ( m_aData.sBufferStandard, SUBKEY_UINAME , aItem.lUINames ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_DOCUMENTSERVICE , aItem.sDocumentService ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_FILTERSERVICE , aItem.sFilterService ); - impl_generateIntProperty ( m_aData.sBufferStandard, SUBKEY_FLAGS , aItem.nFlags ); - impl_generateStringListProperty ( m_aData.sBufferStandard, SUBKEY_USERDATA , aItem.lUserData ); - impl_generateIntProperty ( m_aData.sBufferStandard, SUBKEY_FILEFORMATVERSION, aItem.nFileFormatVersion ); - impl_generateStringProperty ( m_aData.sBufferStandard, SUBKEY_TEMPLATENAME , aItem.sTemplateName ); - - // close set node - m_aData.sBufferStandard.appendAscii( "\t\t</default:group>\n" ); - } - else if( m_aData.nVersionOutput>=3 ) - { - ::rtl::OUString sPath = DECLARE_ASCII("org.openoffice.Office."); - ::rtl::OUStringBuffer* pXCDBuffer = &(m_aData.sBufferStandard ); - ::rtl::OUStringBuffer* pSCPBuffer = &(m_aData.sNew2OldSCPStandard ); - ::rtl::OUStringBuffer* pListBuffer = &(m_aData.sStandardFilterList ); - - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - XCDGenerator::impl_classifyFilter( m_aData, sName, ePackage, aItem.nOrder ); - switch( ePackage ) - { - case E_ADDITIONAL : { - sPath += m_aData.sPackageAdditional ; - pXCDBuffer = &(m_aData.sBufferAdditional ); - pSCPBuffer = &(m_aData.sNew2OldSCPAdditional); - pListBuffer = &(m_aData.sAdditionalFilterList); - } - } - } - else - { - sPath += m_aData.sPackageStandard; - } - - sPath += CFG_PATH_SEPERATOR ; - sPath += DECLARE_ASCII( "Filters" ); - sPath += CFG_PATH_SEPERATOR ; - - pListBuffer->append ( sName ); - pListBuffer->appendAscii( "\n" ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - pSCPBuffer->appendAscii( "\"" ); - pSCPBuffer->append ( sPath ); - pSCPBuffer->append ( lNewNames[nItem] ); - pSCPBuffer->appendAscii( "\"\t\"" ); - pSCPBuffer->append ( sPath ); - pSCPBuffer->appendAscii( "Filter" ); - pSCPBuffer->append ( CFG_ENCODING_OPEN ); - pSCPBuffer->append ( lOldNames[nItem] ); - pSCPBuffer->append ( CFG_ENCODING_CLOSE ); - pSCPBuffer->appendAscii( "\"\n" ); - - sName = lEncNames[nItem]; - aItem.sName = sName; - } - - // open set node by using name - pXCDBuffer->appendAscii( "\t\t<default:group cfg:name=\"" ); - pXCDBuffer->append ( sName ); - pXCDBuffer->appendAscii( "\">\n" ); - - // write properties - // Attention: - // We generate "Installed=false" for all entries ... because it's the default for all filters. - // You must work with a full office installation and change this to "true" in generated XML file!!! - impl_generateBoolProperty ( *pXCDBuffer, SUBKEY_INSTALLED, sal_False ); - impl_generateUINamesProperty( *pXCDBuffer, SUBKEY_UINAME , aItem.lUINames ); - impl_generateStringProperty ( *pXCDBuffer, SUBKEY_DATA , FilterCFGAccess::encodeFilterData( aItem ) ); - - // close set node - pXCDBuffer->appendAscii( "\t\t</default:group>\n" ); - } - } - - // close set - m_aData.sBufferStandard.appendAscii( "\t</schema:set>\n" ); - if( m_aData.nVersionOutput >= DRAFT_SPLIT_VERSION ) - { - m_aData.sBufferAdditional.appendAscii( "\t</schema:set>\n" ); - } - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateDetectorSet() -{ - if( m_aData.pFilterCache->hasDetectors() == sal_False ) - { - // write empty detector set! - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"DetectServices\" cfg:element-type=\"DetectService\"/>\n" ); - } - else - { - // open set - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"DetectServices\" cfg:element-type=\"DetectService\">\n" ); - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pFilterCache->getAllDetectorNames(); - css::uno::Sequence< ::rtl::OUString > lEncNames ( lNames ) ; - sal_Int32 nCount = lNames.getLength() ; - sal_Int32 nItem = 0 ; - - XCDGenerator::impl_orderAlphabetical( lNames ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - ::rtl::OUString sName ; - ::rtl::OUString sEncName; - for( nItem=0; nItem<nCount; ++nItem ) - { - sName = lNames[nItem] ; - lEncNames[nItem] = impl_encodeSetName( sName ); - - m_aData.sNew2OldSCPStandard.appendAscii ( "org.openoffice.Office." ); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\torg.openoffice.Office."); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.appendAscii ( "DetectService" ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_OPEN ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_CLOSE ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\n" ); - } - } - - for( nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNames[nItem] ; - Detector aItem = m_aData.pFilterCache->getDetector( sName ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - sName = lEncNames[nItem]; - } - - ++m_aData.nWrittenDetectors; - - // open set node by using name - m_aData.sBufferStandard.appendAscii( "\t\t<default:group cfg:name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\">\n" ); - - // write properties - impl_generateStringListProperty ( m_aData.sBufferStandard, SUBKEY_TYPES, aItem.lTypes ); - - // close set node - m_aData.sBufferStandard.appendAscii( "\t\t</default:group>\n" ); - } - - // close set - m_aData.sBufferStandard.appendAscii( "\t</schema:set>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateLoaderSet() -{ - if( m_aData.pFilterCache->hasLoaders() == sal_False ) - { - // write empty loader set! - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"FrameLoaders\" cfg:element-type=\"FrameLoader\"/>\n" ); - } - else - { - // open set - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"FrameLoaders\" cfg:element-type=\"FrameLoader\">\n" ); - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pFilterCache->getAllLoaderNames(); - css::uno::Sequence< ::rtl::OUString > lEncNames ( lNames ) ; - sal_Int32 nCount = lNames.getLength() ; - sal_Int32 nItem = 0 ; - - XCDGenerator::impl_orderAlphabetical( lNames ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - ::rtl::OUString sName ; - ::rtl::OUString sEncName; - for( nItem=0; nItem<nCount; ++nItem ) - { - sName = lNames[nItem] ; - lEncNames[nItem] = impl_encodeSetName( sName ); - - m_aData.sNew2OldSCPStandard.appendAscii ( "org.openoffice.Office." ); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\torg.openoffice.Office."); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.appendAscii ( "FrameLoader" ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_OPEN ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_CLOSE ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\n" ); - } - } - - for( nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNames[nItem] ; - Loader aItem = m_aData.pFilterCache->getLoader( sName ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - sName = lEncNames[nItem]; - } - - ++m_aData.nWrittenLoaders; - - // open set node by using name - m_aData.sBufferStandard.appendAscii( "\t\t<default:group cfg:name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\">\n" ); - - // write properties - impl_generateUINamesProperty ( m_aData.sBufferStandard, SUBKEY_UINAME, aItem.lUINames ); - impl_generateStringListProperty ( m_aData.sBufferStandard, SUBKEY_TYPES , aItem.lTypes ); - - // close set node - m_aData.sBufferStandard.appendAscii( "\t\t</default:group>\n" ); - } - - // close set - m_aData.sBufferStandard.appendAscii( "\t</schema:set>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateDefaults() -{ - // open group - m_aData.sBufferStandard.appendAscii( "\t<schema:group cfg:name=\"Defaults\">\n" ); - - // write generic loader - m_aData.sBufferStandard.appendAscii( "\t\t<schema:value cfg:name=\"FrameLoader\" cfg:type=\"string\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<default:data>" ); - m_aData.sBufferStandard.append ( m_aData.pFilterCache->getDefaultLoader() ); - m_aData.sBufferStandard.appendAscii( "</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t</schema:value>\n" ); - - // write default detector - m_aData.sBufferStandard.appendAscii( "\t\t<schema:value cfg:name=\"DetectService\" cfg:type=\"string\">\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t<default:data>" ); - m_aData.sBufferStandard.append ( m_aData.pFilterCache->getDefaultDetector() ); - m_aData.sBufferStandard.appendAscii( "</default:data>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t</schema:value>\n" ); - - // close group - m_aData.sBufferStandard.appendAscii( "\t</schema:group>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateContentHandlerSet() -{ - if( m_aData.pFilterCache->hasContentHandlers() == sal_False ) - { - // write empty handler set! - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"ContentHandlers\" cfg:element-type=\"ContentHandler\"/>\n" ); - } - else - { - // open set - m_aData.sBufferStandard.appendAscii( "\t<schema:set cfg:name=\"ContentHandlers\" cfg:element-type=\"ContentHandler\">\n" ); - - css::uno::Sequence< ::rtl::OUString > lNames = m_aData.pFilterCache->getAllContentHandlerNames(); - css::uno::Sequence< ::rtl::OUString > lEncNames ( lNames ) ; - sal_Int32 nCount = lNames.getLength() ; - sal_Int32 nItem = 0 ; - - XCDGenerator::impl_orderAlphabetical( lNames ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - ::rtl::OUString sName ; - ::rtl::OUString sEncName; - for( nItem=0; nItem<nCount; ++nItem ) - { - sName = lNames[nItem] ; - lEncNames[nItem] = impl_encodeSetName( sName ); - - m_aData.sNew2OldSCPStandard.appendAscii ( "org.openoffice.Office." ); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\torg.openoffice.Office."); - m_aData.sNew2OldSCPStandard.append ( m_aData.sPackageStandard ); - m_aData.sNew2OldSCPStandard.append ( CFG_PATH_SEPERATOR ); - m_aData.sNew2OldSCPStandard.appendAscii ( "ContentHandler" ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_OPEN ); - m_aData.sNew2OldSCPStandard.append ( sName ); - m_aData.sNew2OldSCPStandard.append ( CFG_ENCODING_CLOSE ); - m_aData.sNew2OldSCPStandard.appendAscii ( "\n" ); - } - } - - for( nItem=0; nItem<nCount; ++nItem ) - { - ::rtl::OUString sName = lNames[nItem] ; - ContentHandler aItem = m_aData.pFilterCache->getContentHandler( sName ); - - if( m_aData.nVersionOutput == 6 && m_aData.nVersionInput < 6 ) - { - sName = lEncNames[nItem]; - } - - ++m_aData.nWrittenContentHandlers; - - // open set node by using name - m_aData.sBufferStandard.appendAscii( "\t\t<default:group cfg:name=\"" ); - m_aData.sBufferStandard.append ( sName ); - m_aData.sBufferStandard.appendAscii( "\">\n" ); - - // write properties - impl_generateStringListProperty( m_aData.sBufferStandard, SUBKEY_TYPES, aItem.lTypes ); - - // close set node - m_aData.sBufferStandard.appendAscii( "\t\t</default:group>\n" ); - } - - // close set - m_aData.sBufferStandard.appendAscii( "\t</schema:set>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateIntProperty( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - sal_Int32 nValue ) -{ - sXCD.appendAscii( "\t\t\t<default:value cfg:name=\"" ); - sXCD.append ( sName ); - sXCD.appendAscii( "\" cfg:type=\"int\" cfg:writable=\"" ); - sXCD.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - sXCD.appendAscii( "\t\t\t\t<default:data>" ); - sXCD.append ( (sal_Int32)(nValue) ); - sXCD.appendAscii( "</default:data>\n\t\t\t</default:value>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateBoolProperty( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - sal_Bool bValue ) -{ - sXCD.appendAscii( "\t\t\t<default:value cfg:name=\"" ); - sXCD.append ( sName ); - sXCD.appendAscii( "\" cfg:type=\"boolean\" cfg:writable=\"" ); - sXCD.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); - sXCD.appendAscii( "\t\t\t\t<default:data>" ); - sXCD.appendAscii( bValue==sal_True ? "true" : "false" ); - sXCD.appendAscii( "</default:data>\n\t\t\t</default:value>\n" ); -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateStringProperty( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const ::rtl::OUString& sValue ) -{ - sXCD.appendAscii( "\t\t\t<default:value cfg:name=\"" ); - sXCD.append ( sName ); - sXCD.appendAscii( "\" cfg:type=\"string\" cfg:writable=\"" ); - sXCD.appendAscii( m_aData.bWriteable==sal_True ? "true\"" : "false\"" ); - if( sValue.getLength() > 0 ) - { - sXCD.appendAscii( ">\n\t\t\t\t<default:data>" ); - sXCD.append ( XCDGenerator::impl_encodeSpecialSigns( sValue ) ); - sXCD.appendAscii( "</default:data>\n\t\t\t</default:value>\n" ); - } - else - { - sXCD.appendAscii( "/>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateStringListProperty( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const ::framework::StringList& lValue ) -{ - sXCD.appendAscii( "\t\t\t<default:value cfg:name=\"" ); - sXCD.append ( sName ); - sXCD.appendAscii( "\" cfg:type=\"string\" cfg:derivedBy=\"list\"" ); - - sal_Unicode cSeperator = XCDGenerator::impl_defineSeperator( lValue ); - if( cSeperator != ' ' ) - { - sXCD.appendAscii( " cfg:separator=\"" ); - sXCD.append ( cSeperator ); - sXCD.appendAscii( "\"" ); - } - - sXCD.appendAscii( " cfg:writable=\"" ); - sXCD.appendAscii( m_aData.bWriteable==sal_True ? "true\"" : "false\"" ); - - sal_Int32 nCount = (sal_Int32)(lValue.size()); - sal_Int32 nPosition = 1; - - if( nCount > 0 ) - { - sXCD.appendAscii( ">\n\t\t\t\t<default:data>" ); - for( ConstStringListIterator pEntry=lValue.begin(); pEntry!=lValue.end(); ++pEntry ) - { - sXCD.append( *pEntry ); - if( nPosition < nCount ) - { - // Seperator for lists allowed only between two values! - // Don't write leading or leaving seperators ... - sXCD.append( cSeperator ); - } - ++nPosition; - } - sXCD.appendAscii( "</default:data>\n\t\t\t</default:value>\n" ); - } - else - { - sXCD.appendAscii( "/>\n" ); - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_generateUINamesProperty( ::rtl::OUStringBuffer& sXCD , - const ::rtl::OUString& sName , - const StringHash& lUINames ) -{ - sXCD.appendAscii( "\t\t\t<default:value cfg:name=\"" ); - sXCD.append ( sName ); - sXCD.appendAscii( "\" cfg:type=\"string\" cfg:localized=\"true\" cfg:writable=\"" ); - sXCD.appendAscii( m_aData.bWriteable==sal_True ? "true\"" : "false\"" ); - - if( lUINames.size() > 0 ) - { - sXCD.appendAscii( ">\n" ); - - // Search for localized values, which doesn't need full localized set ... - // because all values for all locales are the same! - sal_Bool bDifferent = sal_False ; - ConstStringHashIterator pUIName = lUINames.begin(); - ::rtl::OUString sUIName = pUIName->second ; - while( pUIName!=lUINames.end() ) - { - if( sUIName != pUIName->second ) - { - bDifferent = sal_True; - break; - } - ++pUIName; - } - - // Generate full localized set, if some values are realy loclaized. - if( bDifferent == sal_True ) - { - for( ConstStringHashIterator pUIName=lUINames.begin(); pUIName!=lUINames.end(); ++pUIName ) - { - sXCD.appendAscii( "\t\t\t\t<default:data xml:lang=\"" ); - sXCD.append ( pUIName->first ); - sXCD.appendAscii( "\">" ); - sXCD.append ( XCDGenerator::impl_encodeSpecialSigns( pUIName->second ) ); - sXCD.appendAscii( "</default:data>\n" ); - } - } - // Generate ONE entry as default for our configuration if all localized values are equal! - else - { - sXCD.appendAscii( "\t\t\t\t<default:data xml:lang=\"" ); - sXCD.appendAscii( "en-US" ); - sXCD.appendAscii( "\">" ); - sXCD.append ( XCDGenerator::impl_encodeSpecialSigns( lUINames.find(DECLARE_ASCII("en-US"))->second )); - sXCD.appendAscii( "</default:data>\n" ); - } - sXCD.appendAscii( "\t\t\t</default:value>\n" ); - } - else - { - sXCD.appendAscii( "/>\n" ); - } -} - -//***************************************************************************************************************** -::rtl::OUString XCDGenerator::impl_encodeSpecialSigns( const ::rtl::OUString& sValue ) -{ - ::rtl::OUStringBuffer sSource ( sValue ); - ::rtl::OUStringBuffer sDestination( 10000 ); - sal_Int32 nCount = sValue.getLength(); - sal_Int32 i = 0; - - for( i=0; i<nCount; ++i ) - { - sal_Unicode cSign = sSource.charAt(i); - switch( cSign ) - { - // code &, ", ', <, > ... - case '&' : sDestination.appendAscii( "&" ); - break; - case '<' : sDestination.appendAscii( "<" ); - break; - case '>' : sDestination.appendAscii( ">" ); - break; - case '\'': sDestination.appendAscii( "’" ); - break; - case '\"': sDestination.appendAscii( """ ); - break; - // copy all other letters - default : sDestination.append( cSign ); - break; - } - } - - return sDestination.makeStringAndClear(); -} - -//***************************************************************************************************************** -// Step over all elements of list to find one seperator, which isn't used for any value in list. -// We return an empty string if list contains no elements - because we must disable writing of -// "... cfg:seperator="<seperatorvalue> ..." -// => Otherwise we get a Sequence< OUString > with one empty element from configuration!!! -sal_Unicode XCDGenerator::impl_defineSeperator( const ::framework::StringList& lList ) -{ - static cSeperator1 = ' '; - static cSeperator2 = ';'; - static cSeperator3 = '+'; - static cSeperator4 = '-'; - static cSeperator5 = '*'; - - // Start with first seperator. - // Step over all list items. - // If one item contains this seperator - try next one! - // If no new one avaliable (5 tests failed!) - show an error message for user. - // => File will be wrong then! - // If seperator was changed start search during list again ... because - // new seperator could exist at already compared elements! - - sal_Unicode cSeperator = cSeperator1 ; - sal_Bool bOK = sal_False ; - ConstStringListIterator pItem = lList.begin(); - - while( bOK == sal_False ) - { - if( pItem == lList.end() ) - { - bOK = sal_True; - } - else - { - while( pItem!=lList.end() ) - { - if( pItem->indexOf( cSeperator, 0 ) != -1 ) - { - if( cSeperator == cSeperator1 ) - { - cSeperator = cSeperator2; - pItem = lList.begin(); - break; - } - else - if( cSeperator == cSeperator2 ) - { - cSeperator = cSeperator3; - pItem = lList.begin(); - break; - } - else - if( cSeperator == cSeperator3 ) - { - cSeperator = cSeperator4; - pItem = lList.begin(); - break; - } - else - if( cSeperator == cSeperator4 ) - { - cSeperator = cSeperator5; - pItem = lList.begin(); - break; - } - else - if( cSeperator == cSeperator5 ) - { - LOG_ERROR( "XCDGenerator::impl_defineSeperator()", "Can't find seperator for given list! Generated XCD file will be wrong!" ) - exit(-1); - } - } - else - { - ++pItem; - } - } - } - } - - return cSeperator; -} - -//***************************************************************************************************************** -void XCDGenerator::impl_initFilterHashNew2Old( StringHash& aHash ) -{ - // key = new filter name, value = old name - aHash[DECLARE_ASCII("writer_StarOffice_XML_Writer" )] = DECLARE_ASCII("swriter: StarOffice XML (Writer)" ); - aHash[DECLARE_ASCII("writer_StarWriter_50" )] = DECLARE_ASCII("swriter: StarWriter 5.0" ); - aHash[DECLARE_ASCII("writer_StarWriter_50_VorlageTemplate" )] = DECLARE_ASCII("swriter: StarWriter 5.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("writer_StarWriter_40" )] = DECLARE_ASCII("swriter: StarWriter 4.0" ); - aHash[DECLARE_ASCII("writer_StarWriter_40_VorlageTemplate" )] = DECLARE_ASCII("swriter: StarWriter 4.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("writer_StarWriter_30" )] = DECLARE_ASCII("swriter: StarWriter 3.0" ); - aHash[DECLARE_ASCII("writer_StarWriter_30_VorlageTemplate" )] = DECLARE_ASCII("swriter: StarWriter 3.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("writer_StarWriter_20" )] = DECLARE_ASCII("swriter: StarWriter 2.0" ); - aHash[DECLARE_ASCII("writer_StarWriter_10" )] = DECLARE_ASCII("swriter: StarWriter 1.0" ); - aHash[DECLARE_ASCII("writer_StarWriter_DOS" )] = DECLARE_ASCII("swriter: StarWriter DOS" ); - aHash[DECLARE_ASCII("writer_HTML_StarWriter" )] = DECLARE_ASCII("swriter: HTML (StarWriter)" ); - aHash[DECLARE_ASCII("writer_Text" )] = DECLARE_ASCII("swriter: Text" ); - aHash[DECLARE_ASCII("writer_Text_Unix" )] = DECLARE_ASCII("swriter: Text Unix" ); - aHash[DECLARE_ASCII("writer_Text_Mac" )] = DECLARE_ASCII("swriter: Text Mac" ); - aHash[DECLARE_ASCII("writer_Text_DOS" )] = DECLARE_ASCII("swriter: Text DOS" ); - aHash[DECLARE_ASCII("writer_Rich_Text_Format" )] = DECLARE_ASCII("swriter: Rich Text Format" ); - aHash[DECLARE_ASCII("writer_MS_Word_97" )] = DECLARE_ASCII("swriter: MS Word 97" ); - aHash[DECLARE_ASCII("writer_MS_Word_95" )] = DECLARE_ASCII("swriter: MS Word 95" ); - aHash[DECLARE_ASCII("writer_MS_Word_97_Vorlage" )] = DECLARE_ASCII("swriter: MS Word 97 Vorlage" ); - aHash[DECLARE_ASCII("writer_MS_Word_95_Vorlage" )] = DECLARE_ASCII("swriter: MS Word 95 Vorlage" ); - aHash[DECLARE_ASCII("writer_MS_WinWord_60" )] = DECLARE_ASCII("swriter: MS WinWord 6.0" ); - aHash[DECLARE_ASCII("writer_MS_Word_6x_W4W" )] = DECLARE_ASCII("swriter: MS Word 6.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_WinWord_5" )] = DECLARE_ASCII("swriter: MS WinWord 5" ); - aHash[DECLARE_ASCII("writer_MS_WinWord_2x_W4W" )] = DECLARE_ASCII("swriter: MS WinWord 2.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_MacWord_5x_W4W" )] = DECLARE_ASCII("swriter: MS MacWord 5.x (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Win_61_W4W" )] = DECLARE_ASCII("swriter: WordPerfect (Win) 6.1 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Win_70_W4W" )] = DECLARE_ASCII("swriter: WordPerfect (Win) 7.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_Win_1x_20_W4W" )] = DECLARE_ASCII("swriter: WordStar (Win) 1.x-2.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_70_W4W" )] = DECLARE_ASCII("swriter: WordStar 7.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Ami_Pro_11_12_W4W" )] = DECLARE_ASCII("swriter: Ami Pro 1.1-1.2 (W4W)" ); - aHash[DECLARE_ASCII("writer_Ami_Pro_20_31_W4W" )] = DECLARE_ASCII("swriter: Ami Pro 2.0-3.1 (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Excel_40_StarWriter" )] = DECLARE_ASCII("swriter: MS Excel 4.0 (StarWriter)" ); - aHash[DECLARE_ASCII("writer_MS_Excel_50_StarWriter" )] = DECLARE_ASCII("swriter: MS Excel 5.0 (StarWriter)" ); - aHash[DECLARE_ASCII("writer_MS_Excel_95_StarWriter" )] = DECLARE_ASCII("swriter: MS Excel 95 (StarWriter)" ); - aHash[DECLARE_ASCII("writer_MS_Works_20_DOS_W4W" )] = DECLARE_ASCII("swriter: MS Works 2.0 DOS (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Works_30_Win_W4W" )] = DECLARE_ASCII("swriter: MS Works 3.0 Win (W4W)" ); - aHash[DECLARE_ASCII("writer_Lotus_1_2_3_10_DOS_StarWriter" )] = DECLARE_ASCII("swriter: Lotus 1-2-3 1.0 (DOS) (StarWriter)" ); - aHash[DECLARE_ASCII("writer_Lotus_1_2_3_10_WIN_StarWriter" )] = DECLARE_ASCII("swriter: Lotus 1-2-3 1.0 (WIN) (StarWriter)" ); - aHash[DECLARE_ASCII("writer_Frame_Maker_MIF_50_W4W" )] = DECLARE_ASCII("swriter: Frame Maker MIF 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Win_Write_3x_W4W" )] = DECLARE_ASCII("swriter: Win Write 3.x (W4W)" ); - aHash[DECLARE_ASCII("writer_Text_encoded" )] = DECLARE_ASCII("swriter: Text (encoded)" ); - aHash[DECLARE_ASCII("writer_MS_WinWord_1x_W4W" )] = DECLARE_ASCII("swriter: MS WinWord 1.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Word_5x_W4W" )] = DECLARE_ASCII("swriter: MS Word 5.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Word_4x_W4W" )] = DECLARE_ASCII("swriter: MS Word 4.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Word_3x_W4W" )] = DECLARE_ASCII("swriter: MS Word 3.x (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_MacWord_40_W4W" )] = DECLARE_ASCII("swriter: MS MacWord 4.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_MacWord_30_W4W" )] = DECLARE_ASCII("swriter: MS MacWord 3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Mac_1_W4W" )] = DECLARE_ASCII("swriter: WordPerfect Mac 1 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Mac_2_W4W" )] = DECLARE_ASCII("swriter: WordPerfect Mac 2 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Mac_3_W4W" )] = DECLARE_ASCII("swriter: WordPerfect Mac 3 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Win_51_52_W4W" )] = DECLARE_ASCII("swriter: WordPerfect (Win) 5.1-5.2 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_Win_60_W4W" )] = DECLARE_ASCII("swriter: WordPerfect (Win) 6.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_41_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 4.1 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_42_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 4.2 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_50_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_51_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 5.1 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_60_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 6.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordPerfect_61_W4W" )] = DECLARE_ASCII("swriter: WordPerfect 6.1 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_2000_Rel_30_W4W" )] = DECLARE_ASCII("swriter: WordStar 2000 Rel. 3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_2000_Rel_35_W4W" )] = DECLARE_ASCII("swriter: WordStar 2000 Rel. 3.5 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_33x_W4W" )] = DECLARE_ASCII("swriter: WordStar 3.3x (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_345_W4W" )] = DECLARE_ASCII("swriter: WordStar 3.45 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_40_W4W" )] = DECLARE_ASCII("swriter: WordStar 4.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_50_W4W" )] = DECLARE_ASCII("swriter: WordStar 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_55_W4W" )] = DECLARE_ASCII("swriter: WordStar 5.5 (W4W)" ); - aHash[DECLARE_ASCII("writer_WordStar_60_W4W" )] = DECLARE_ASCII("swriter: WordStar 6.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_MS_Works_40_Mac_W4W" )] = DECLARE_ASCII("swriter: MS Works 4.0 Mac (W4W)" ); - aHash[DECLARE_ASCII("writer_Mac_Write_4x_50_W4W" )] = DECLARE_ASCII("swriter: Mac Write 4.x 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Mac_Write_II_W4W" )] = DECLARE_ASCII("swriter: Mac Write II (W4W)" ); - aHash[DECLARE_ASCII("writer_Mac_Write_Pro_W4W" )] = DECLARE_ASCII("swriter: Mac Write Pro (W4W)" ); - aHash[DECLARE_ASCII("writer_Lotus_Manuscript_W4W" )] = DECLARE_ASCII("swriter: Lotus Manuscript (W4W)" ); - aHash[DECLARE_ASCII("writer_MASS_11_Rel_80_83_W4W" )] = DECLARE_ASCII("swriter: MASS 11 Rel. 8.0-8.3 (W4W)" ); - aHash[DECLARE_ASCII("writer_MASS_11_Rel_85_90_W4W" )] = DECLARE_ASCII("swriter: MASS 11 Rel. 8.5-9.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Claris_Works_W4W" )] = DECLARE_ASCII("swriter: Claris Works (W4W)" ); - aHash[DECLARE_ASCII("writer_CTOS_DEF_W4W" )] = DECLARE_ASCII("swriter: CTOS DEF (W4W)" ); - aHash[DECLARE_ASCII("writer_OfficeWriter_40_W4W" )] = DECLARE_ASCII("swriter: OfficeWriter 4.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_OfficeWriter_50_W4W" )] = DECLARE_ASCII("swriter: OfficeWriter 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_OfficeWriter_6x_W4W" )] = DECLARE_ASCII("swriter: OfficeWriter 6.x (W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_III_W4W" )] = DECLARE_ASCII("swriter: XyWrite III ( W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_IIIP_W4W" )] = DECLARE_ASCII("swriter: XyWrite III+ ( W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_Signature_W4W" )] = DECLARE_ASCII("swriter: XyWrite Signature (W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_Sig_Win_W4W" )] = DECLARE_ASCII("swriter: XyWrite Sig. (Win) (W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_IV_W4W" )] = DECLARE_ASCII("swriter: XyWrite IV (W4W)" ); - aHash[DECLARE_ASCII("writer_XyWrite_Win_10_W4W" )] = DECLARE_ASCII("swriter: XyWrite (Win) 1.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_XEROX_XIF_50_W4W" )] = DECLARE_ASCII("swriter: XEROX XIF 5.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_XEROX_XIF_50_Illustrator_W4W" )] = DECLARE_ASCII("swriter: XEROX XIF 5.0 (Illustrator) (W4W)" ); - aHash[DECLARE_ASCII("writer_XEROX_XIF_60_Color_Bitmap_W4W" )] = DECLARE_ASCII("swriter: XEROX XIF 6.0 (Color Bitmap) (W4W)" ); - aHash[DECLARE_ASCII("writer_XEROX_XIF_60_Res_Graphic_W4W" )] = DECLARE_ASCII("swriter: XEROX XIF 6.0 (Res Graphic) (W4W)" ); - aHash[DECLARE_ASCII("writer_WriteNow_30_Macintosh_W4W" )] = DECLARE_ASCII("swriter: WriteNow 3.0 (Macintosh) (W4W)" ); - aHash[DECLARE_ASCII("writer_Writing_Assistant_W4W" )] = DECLARE_ASCII("swriter: Writing Assistant (W4W)" ); - aHash[DECLARE_ASCII("writer_VolksWriter_Deluxe_W4W" )] = DECLARE_ASCII("swriter: VolksWriter Deluxe (W4W)" ); - aHash[DECLARE_ASCII("writer_VolksWriter_3_and_4_W4W" )] = DECLARE_ASCII("swriter: VolksWriter 3 and 4 (W4W)" ); - aHash[DECLARE_ASCII("writer_MultiMate_33_W4W" )] = DECLARE_ASCII("swriter: MultiMate 3.3 (W4W)" ); - aHash[DECLARE_ASCII("writer_MultiMate_Adv_36_W4W" )] = DECLARE_ASCII("swriter: MultiMate Adv. 3.6 (W4W)" ); - aHash[DECLARE_ASCII("writer_MultiMate_Adv_II_37_W4W" )] = DECLARE_ASCII("swriter: MultiMate Adv. II 3.7 (W4W)" ); - aHash[DECLARE_ASCII("writer_MultiMate_4_W4W" )] = DECLARE_ASCII("swriter: MultiMate 4 (W4W)" ); - aHash[DECLARE_ASCII("writer_NAVY_DIF_W4W" )] = DECLARE_ASCII("swriter: NAVY DIF (W4W)" ); - aHash[DECLARE_ASCII("writer_PFS_Write_W4W" )] = DECLARE_ASCII("swriter: PFS Write (W4W)" ); - aHash[DECLARE_ASCII("writer_PFS_First_Choice_10_W4W" )] = DECLARE_ASCII("swriter: PFS First Choice 1.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_PFS_First_Choice_20_W4W" )] = DECLARE_ASCII("swriter: PFS First Choice 2.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_PFS_First_Choice_30_W4W" )] = DECLARE_ASCII("swriter: PFS First Choice 3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Professional_Write_10_W4W" )] = DECLARE_ASCII("swriter: Professional Write 1.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Professional_Write_2x_W4W" )] = DECLARE_ASCII("swriter: Professional Write 2.x (W4W)" ); - aHash[DECLARE_ASCII("writer_Professional_Write_Plus_W4W" )] = DECLARE_ASCII("swriter: Professional Write Plus (W4W)" ); - aHash[DECLARE_ASCII("writer_Peach_Text_W4W" )] = DECLARE_ASCII("swriter: Peach Text (W4W)" ); - aHash[DECLARE_ASCII("writer_DCA_Revisable_Form_Text_W4W" )] = DECLARE_ASCII("swriter: DCA Revisable Form Text (W4W)" ); - aHash[DECLARE_ASCII("writer_DCA_with_Display_Write_5_W4W" )] = DECLARE_ASCII("swriter: DCA with Display Write 5 (W4W)" ); - aHash[DECLARE_ASCII("writer_DCAFFT_Final_Form_Text_W4W" )] = DECLARE_ASCII("swriter: DCA/FFT-Final Form Text (W4W)" ); - aHash[DECLARE_ASCII("writer_DEC_DX_W4W" )] = DECLARE_ASCII("swriter: DEC DX (W4W)" ); - aHash[DECLARE_ASCII("writer_DEC_WPS_PLUS_W4W" )] = DECLARE_ASCII("swriter: DEC WPS-PLUS (W4W)" ); - aHash[DECLARE_ASCII("writer_DisplayWrite_20_4x_W4W" )] = DECLARE_ASCII("swriter: DisplayWrite 2.0-4.x (W4W)" ); - aHash[DECLARE_ASCII("writer_DisplayWrite_5x_W4W" )] = DECLARE_ASCII("swriter: DisplayWrite 5.x (W4W)" ); - aHash[DECLARE_ASCII("writer_DataGeneral_CEO_Write_W4W" )] = DECLARE_ASCII("swriter: DataGeneral CEO Write (W4W)" ); - aHash[DECLARE_ASCII("writer_EBCDIC_W4W" )] = DECLARE_ASCII("swriter: EBCDIC (W4W)" ); - aHash[DECLARE_ASCII("writer_Enable_W4W" )] = DECLARE_ASCII("swriter: Enable (W4W)" ); - aHash[DECLARE_ASCII("writer_Frame_Maker_MIF_30_W4W" )] = DECLARE_ASCII("swriter: Frame Maker MIF 3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Frame_Maker_MIF_40_W4W" )] = DECLARE_ASCII("swriter: Frame Maker MIF 4.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Frame_Work_III_W4W" )] = DECLARE_ASCII("swriter: Frame Work III (W4W)" ); - aHash[DECLARE_ASCII("writer_Frame_Work_IV_W4W" )] = DECLARE_ASCII("swriter: Frame Work IV (W4W)" ); - aHash[DECLARE_ASCII("writer_HP_AdvanceWrite_Plus_W4W" )] = DECLARE_ASCII("swriter: HP AdvanceWrite Plus (W4W)" ); - aHash[DECLARE_ASCII("writer_ICL_Office_Power_6_W4W" )] = DECLARE_ASCII("swriter: ICL Office Power 6 (W4W)" ); - aHash[DECLARE_ASCII("writer_ICL_Office_Power_7_W4W" )] = DECLARE_ASCII("swriter: ICL Office Power 7 (W4W)" ); - aHash[DECLARE_ASCII("writer_Interleaf_W4W" )] = DECLARE_ASCII("swriter: Interleaf (W4W)" ); - aHash[DECLARE_ASCII("writer_Interleaf_5_6_W4W" )] = DECLARE_ASCII("swriter: Interleaf 5 - 6 (W4W)" ); - aHash[DECLARE_ASCII("writer_Legacy_Winstar_onGO_W4W" )] = DECLARE_ASCII("swriter: Legacy Winstar onGO (W4W)" ); - aHash[DECLARE_ASCII("writer_QA_Write_10_30_W4W" )] = DECLARE_ASCII("swriter: Q&A Write 1.0-3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_QA_Write_40_W4W" )] = DECLARE_ASCII("swriter: Q&A Write 4.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Rapid_File_10_W4W" )] = DECLARE_ASCII("swriter: Rapid File 1.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_Rapid_File_12_W4W" )] = DECLARE_ASCII("swriter: Rapid File 1.2 (W4W)" ); - aHash[DECLARE_ASCII("writer_Samna_Word_IV_IV_Plus_W4W" )] = DECLARE_ASCII("swriter: Samna Word IV-IV Plus (W4W)" ); - aHash[DECLARE_ASCII("writer_Total_Word_W4W" )] = DECLARE_ASCII("swriter: Total Word (W4W)" ); - aHash[DECLARE_ASCII("writer_Uniplex_onGO_W4W" )] = DECLARE_ASCII("swriter: Uniplex onGO (W4W)" ); - aHash[DECLARE_ASCII("writer_Uniplex_V7_V8_W4W" )] = DECLARE_ASCII("swriter: Uniplex V7-V8 (W4W)" ); - aHash[DECLARE_ASCII("writer_Wang_PC_W4W" )] = DECLARE_ASCII("swriter: Wang PC (W4W)" ); - aHash[DECLARE_ASCII("writer_Wang_II_SWP_W4W" )] = DECLARE_ASCII("swriter: Wang II SWP (W4W)" ); - aHash[DECLARE_ASCII("writer_Wang_WP_Plus_W4W" )] = DECLARE_ASCII("swriter: Wang WP Plus (W4W)" ); - aHash[DECLARE_ASCII("writer_WITA_W4W" )] = DECLARE_ASCII("swriter: WITA (W4W)" ); - aHash[DECLARE_ASCII("writer_WiziWord_30_W4W" )] = DECLARE_ASCII("swriter: WiziWord 3.0 (W4W)" ); - aHash[DECLARE_ASCII("writer_web_HTML" )] = DECLARE_ASCII("swriter/web: HTML" ); - aHash[DECLARE_ASCII("writer_web_StarWriterWeb_50_VorlageTemplate" )] = DECLARE_ASCII("swriter/web: StarWriter/Web 5.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("writer_web_StarWriterWeb_40_VorlageTemplate" )] = DECLARE_ASCII("swriter/web: StarWriter/Web 4.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("writer_web_Text_StarWriterWeb" )] = DECLARE_ASCII("swriter/web: Text (StarWriter/Web)" ); - aHash[DECLARE_ASCII("writer_web_Text_DOS_StarWriterWeb" )] = DECLARE_ASCII("swriter/web: Text DOS (StarWriter/Web)" ); - aHash[DECLARE_ASCII("writer_web_Text_Mac_StarWriterWeb" )] = DECLARE_ASCII("swriter/web: Text Mac (StarWriter/Web)" ); - aHash[DECLARE_ASCII("writer_web_Text_Unix_StarWriterWeb" )] = DECLARE_ASCII("swriter/web: Text Unix (StarWriter/Web)" ); - aHash[DECLARE_ASCII("writer_web_StarWriter_50" )] = DECLARE_ASCII("swriter/web: StarWriter 5.0" ); - aHash[DECLARE_ASCII("writer_web_StarWriter_40" )] = DECLARE_ASCII("swriter/web: StarWriter 4.0" ); - aHash[DECLARE_ASCII("writer_web_StarWriter_30" )] = DECLARE_ASCII("swriter/web: StarWriter 3.0" ); - aHash[DECLARE_ASCII("writer_web_Text_encoded" )] = DECLARE_ASCII("swriter/web: Text (encoded)" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_60GlobalDocument" )] = DECLARE_ASCII("swriter/GlobalDocument: StarOffice XML (GlobalDocument)" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_50GlobalDocument" )] = DECLARE_ASCII("swriter/GlobalDocument: StarWriter 5.0/GlobalDocument" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_40GlobalDocument" )] = DECLARE_ASCII("swriter/GlobalDocument: StarWriter 4.0/GlobalDocument" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_50" )] = DECLARE_ASCII("swriter/GlobalDocument: StarWriter 5.0" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_40" )] = DECLARE_ASCII("swriter/GlobalDocument: StarWriter 4.0" ); - aHash[DECLARE_ASCII("writer_globaldocument_StarWriter_30" )] = DECLARE_ASCII("swriter/GlobalDocument: StarWriter 3.0" ); - aHash[DECLARE_ASCII("writer_globaldocument_Text_encoded" )] = DECLARE_ASCII("swriter/GlobalDocument: Text (encoded)" ); - aHash[DECLARE_ASCII("chart_StarOffice_XML_Chart" )] = DECLARE_ASCII("schart: StarOffice XML (Chart)" ); - aHash[DECLARE_ASCII("chart_StarChart_50" )] = DECLARE_ASCII("schart: StarChart 5.0" ); - aHash[DECLARE_ASCII("chart_StarChart_40" )] = DECLARE_ASCII("schart: StarChart 4.0" ); - aHash[DECLARE_ASCII("chart_StarChart_30" )] = DECLARE_ASCII("schart: StarChart 3.0" ); - aHash[DECLARE_ASCII("calc_StarOffice_XML_Calc" )] = DECLARE_ASCII("scalc: StarOffice XML (Calc)" ); - aHash[DECLARE_ASCII("calc_StarCalc_50" )] = DECLARE_ASCII("scalc: StarCalc 5.0" ); - aHash[DECLARE_ASCII("calc_StarCalc_50_VorlageTemplate" )] = DECLARE_ASCII("scalc: StarCalc 5.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_StarCalc_40" )] = DECLARE_ASCII("scalc: StarCalc 4.0" ); - aHash[DECLARE_ASCII("calc_StarCalc_40_VorlageTemplate" )] = DECLARE_ASCII("scalc: StarCalc 4.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_StarCalc_30" )] = DECLARE_ASCII("scalc: StarCalc 3.0" ); - aHash[DECLARE_ASCII("calc_StarCalc_30_VorlageTemplate" )] = DECLARE_ASCII("scalc: StarCalc 3.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_MS_Excel_97" )] = DECLARE_ASCII("scalc: MS Excel 97" ); - aHash[DECLARE_ASCII("calc_MS_Excel_97_VorlageTemplate" )] = DECLARE_ASCII("scalc: MS Excel 97 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_MS_Excel_95" )] = DECLARE_ASCII("scalc: MS Excel 95" ); - aHash[DECLARE_ASCII("calc_MS_Excel_95_VorlageTemplate" )] = DECLARE_ASCII("scalc: MS Excel 95 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_MS_Excel_5095" )] = DECLARE_ASCII("scalc: MS Excel 5.0/95" ); - aHash[DECLARE_ASCII("calc_MS_Excel_5095_VorlageTemplate" )] = DECLARE_ASCII("scalc: MS Excel 5.0/95 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_MS_Excel_40" )] = DECLARE_ASCII("scalc: MS Excel 4.0" ); - aHash[DECLARE_ASCII("calc_MS_Excel_40_VorlageTemplate" )] = DECLARE_ASCII("scalc: MS Excel 4.0 Vorlage/Template" ); - aHash[DECLARE_ASCII("calc_Rich_Text_Format_StarCalc" )] = DECLARE_ASCII("scalc: Rich Text Format (StarCalc)" ); - aHash[DECLARE_ASCII("calc_SYLK" )] = DECLARE_ASCII("scalc: SYLK" ); - aHash[DECLARE_ASCII("calc_DIF" )] = DECLARE_ASCII("scalc: DIF" ); - aHash[DECLARE_ASCII("calc_HTML_StarCalc" )] = DECLARE_ASCII("scalc: HTML (StarCalc)" ); - aHash[DECLARE_ASCII("calc_dBase" )] = DECLARE_ASCII("scalc: dBase" ); - aHash[DECLARE_ASCII("calc_Lotus" )] = DECLARE_ASCII("scalc: Lotus" ); - aHash[DECLARE_ASCII("calc_StarCalc_10" )] = DECLARE_ASCII("scalc: StarCalc 1.0" ); - aHash[DECLARE_ASCII("calc_Text_txt_csv_StarCalc" )] = DECLARE_ASCII("scalc: Text - txt - csv (StarCalc)" ); - aHash[DECLARE_ASCII("impress_StarOffice_XML_Impress" )] = DECLARE_ASCII("simpress: StarOffice XML (Impress)" ); - aHash[DECLARE_ASCII("impress_StarImpress_50" )] = DECLARE_ASCII("simpress: StarImpress 5.0" ); - aHash[DECLARE_ASCII("impress_StarImpress_50_Vorlage" )] = DECLARE_ASCII("simpress: StarImpress 5.0 Vorlage" ); - aHash[DECLARE_ASCII("impress_StarImpress_40" )] = DECLARE_ASCII("simpress: StarImpress 4.0" ); - aHash[DECLARE_ASCII("impress_StarImpress_40_Vorlage" )] = DECLARE_ASCII("simpress: StarImpress 4.0 Vorlage" ); - aHash[DECLARE_ASCII("impress_StarDraw_50_StarImpress" )] = DECLARE_ASCII("simpress: StarDraw 5.0 (StarImpress)" ); - aHash[DECLARE_ASCII("impress_StarDraw_50_Vorlage_StarImpress" )] = DECLARE_ASCII("simpress: StarDraw 5.0 Vorlage (StarImpress)" ); - aHash[DECLARE_ASCII("impress_StarDraw_30_StarImpress" )] = DECLARE_ASCII("simpress: StarDraw 3.0 (StarImpress)" ); - aHash[DECLARE_ASCII("impress_StarDraw_30_Vorlage_StarImpress" )] = DECLARE_ASCII("simpress: StarDraw 3.0 Vorlage (StarImpress)" ); - aHash[DECLARE_ASCII("impress_MS_PowerPoint_97" )] = DECLARE_ASCII("simpress: MS PowerPoint 97" ); - aHash[DECLARE_ASCII("impress_MS_PowerPoint_97_Vorlage" )] = DECLARE_ASCII("simpress: MS PowerPoint 97 Vorlage" ); - aHash[DECLARE_ASCII("impress_CGM_Computer_Graphics_Metafile" )] = DECLARE_ASCII("simpress: CGM - Computer Graphics Metafile" ); - aHash[DECLARE_ASCII("impress_StarImpress_50_packed" )] = DECLARE_ASCII("simpress: StarImpress 5.0 (packed)" ); - aHash[DECLARE_ASCII("draw_StarOffice_XML_Draw" )] = DECLARE_ASCII("sdraw: StarOffice XML (Draw)" ); - aHash[DECLARE_ASCII("draw_GIF_Graphics_Interchange" )] = DECLARE_ASCII("sdraw: GIF - Graphics Interchange" ); - aHash[DECLARE_ASCII("draw_PCD_Photo_CD" )] = DECLARE_ASCII("sdraw: PCD - Photo CD" ); - aHash[DECLARE_ASCII("draw_PCX_Zsoft_Paintbrush" )] = DECLARE_ASCII("sdraw: PCX - Zsoft Paintbrush" ); - aHash[DECLARE_ASCII("draw_PSD_Adobe_Photoshop" )] = DECLARE_ASCII("sdraw: PSD - Adobe Photoshop" ); - aHash[DECLARE_ASCII("draw_PNG_Portable_Network_Graphic" )] = DECLARE_ASCII("sdraw: PNG - Portable Network Graphic" ); - aHash[DECLARE_ASCII("draw_StarDraw_50" )] = DECLARE_ASCII("sdraw: StarDraw 5.0" ); - aHash[DECLARE_ASCII("draw_PBM_Portable_Bitmap" )] = DECLARE_ASCII("sdraw: PBM - Portable Bitmap" ); - aHash[DECLARE_ASCII("draw_PGM_Portable_Graymap" )] = DECLARE_ASCII("sdraw: PGM - Portable Graymap" ); - aHash[DECLARE_ASCII("draw_PPM_Portable_Pixelmap" )] = DECLARE_ASCII("sdraw: PPM - Portable Pixelmap" ); - aHash[DECLARE_ASCII("draw_RAS_Sun_Rasterfile" )] = DECLARE_ASCII("sdraw: RAS - Sun Rasterfile" ); - aHash[DECLARE_ASCII("draw_TGA_Truevision_TARGA" )] = DECLARE_ASCII("sdraw: TGA - Truevision TARGA" ); - aHash[DECLARE_ASCII("draw_SGV_StarDraw_20" )] = DECLARE_ASCII("sdraw: SGV - StarDraw 2.0" ); - aHash[DECLARE_ASCII("draw_TIF_Tag_Image_File" )] = DECLARE_ASCII("sdraw: TIF - Tag Image File" ); - aHash[DECLARE_ASCII("draw_SGF_StarOffice_Writer_SGF" )] = DECLARE_ASCII("sdraw: SGF - StarOffice Writer SGF" ); - aHash[DECLARE_ASCII("draw_XPM" )] = DECLARE_ASCII("sdraw: XPM" ); - aHash[DECLARE_ASCII("gif_Graphics_Interchange" )] = DECLARE_ASCII("sdraw: GIF - Graphics Interchange" ); - aHash[DECLARE_ASCII("pcd_Photo_CD" )] = DECLARE_ASCII("sdraw: PCD - Photo CD" ); - aHash[DECLARE_ASCII("pcx_Zsoft_Paintbrush" )] = DECLARE_ASCII("sdraw: PCX - Zsoft Paintbrush" ); - aHash[DECLARE_ASCII("psd_Adobe_Photoshop" )] = DECLARE_ASCII("sdraw: PSD - Adobe Photoshop" ); - aHash[DECLARE_ASCII("png_Portable_Network_Graphic" )] = DECLARE_ASCII("sdraw: PNG - Portable Network Graphic" ); - aHash[DECLARE_ASCII("pbm_Portable_Bitmap" )] = DECLARE_ASCII("sdraw: PBM - Portable Bitmap" ); - aHash[DECLARE_ASCII("pgm_Portable_Graymap" )] = DECLARE_ASCII("sdraw: PGM - Portable Graymap" ); - aHash[DECLARE_ASCII("ppm_Portable_Pixelmap" )] = DECLARE_ASCII("sdraw: PPM - Portable Pixelmap" ); - aHash[DECLARE_ASCII("ras_Sun_Rasterfile" )] = DECLARE_ASCII("sdraw: RAS - Sun Rasterfile" ); - aHash[DECLARE_ASCII("tga_Truevision_TARGA" )] = DECLARE_ASCII("sdraw: TGA - Truevision TARGA" ); - aHash[DECLARE_ASCII("sgv_StarDraw_20" )] = DECLARE_ASCII("sdraw: SGV - StarDraw 2.0" ); - aHash[DECLARE_ASCII("tif_Tag_Image_File" )] = DECLARE_ASCII("sdraw: TIF - Tag Image File" ); - aHash[DECLARE_ASCII("sgf_StarOffice_Writer_SGF" )] = DECLARE_ASCII("sdraw: SGF - StarOffice Writer SGF" ); - aHash[DECLARE_ASCII("xpm_XPM" )] = DECLARE_ASCII("sdraw: XPM" ); - aHash[DECLARE_ASCII("draw_StarDraw_50_Vorlage" )] = DECLARE_ASCII("sdraw: StarDraw 5.0 Vorlage" ); - aHash[DECLARE_ASCII("draw_StarImpress_50_StarDraw" )] = DECLARE_ASCII("sdraw: StarImpress 5.0 (StarDraw)" ); - aHash[DECLARE_ASCII("draw_StarImpress_50_Vorlage_StarDraw" )] = DECLARE_ASCII("sdraw: StarImpress 5.0 Vorlage (StarDraw)" ); - aHash[DECLARE_ASCII("draw_StarImpress_40_StarDraw" )] = DECLARE_ASCII("sdraw: StarImpress 4.0 (StarDraw)" ); - aHash[DECLARE_ASCII("draw_StarImpress_40_Vorlage_StarDraw" )] = DECLARE_ASCII("sdraw: StarImpress 4.0 Vorlage (StarDraw)" ); - aHash[DECLARE_ASCII("draw_StarDraw_30" )] = DECLARE_ASCII("sdraw: StarDraw 3.0" ); - aHash[DECLARE_ASCII("draw_StarDraw_30_Vorlage" )] = DECLARE_ASCII("sdraw: StarDraw 3.0 Vorlage" ); - aHash[DECLARE_ASCII("draw_EMF_MS_Windows_Metafile" )] = DECLARE_ASCII("sdraw: EMF - MS Windows Metafile" ); - aHash[DECLARE_ASCII("draw_MET_OS2_Metafile" )] = DECLARE_ASCII("sdraw: MET - OS/2 Metafile" ); - aHash[DECLARE_ASCII("draw_DXF_AutoCAD_Interchange" )] = DECLARE_ASCII("sdraw: DXF - AutoCAD Interchange" ); - aHash[DECLARE_ASCII("draw_EPS_Encapsulated_PostScript" )] = DECLARE_ASCII("sdraw: EPS - Encapsulated PostScript" ); - aHash[DECLARE_ASCII("draw_WMF_MS_Windows_Metafile" )] = DECLARE_ASCII("sdraw: WMF - MS Windows Metafile" ); - aHash[DECLARE_ASCII("draw_PCT_Mac_Pict" )] = DECLARE_ASCII("sdraw: PCT - Mac Pict" ); - aHash[DECLARE_ASCII("draw_SVM_StarView_Metafile" )] = DECLARE_ASCII("sdraw: SVM - StarView Metafile" ); - aHash[DECLARE_ASCII("draw_BMP_MS_Windows" )] = DECLARE_ASCII("sdraw: BMP - MS Windows" ); - aHash[DECLARE_ASCII("draw_JPG_JPEG" )] = DECLARE_ASCII("sdraw: JPG - JPEG" ); - aHash[DECLARE_ASCII("draw_XBM_X_Consortium" )] = DECLARE_ASCII("sdraw: XBM - X-Consortium" ); - aHash[DECLARE_ASCII("emf_MS_Windows_Metafile" )] = DECLARE_ASCII("sdraw: EMF - MS Windows Metafile" ); - aHash[DECLARE_ASCII("met_OS2_Metafile" )] = DECLARE_ASCII("sdraw: MET - OS/2 Metafile" ); - aHash[DECLARE_ASCII("dxf_AutoCAD_Interchange" )] = DECLARE_ASCII("sdraw: DXF - AutoCAD Interchange" ); - aHash[DECLARE_ASCII("eps_Encapsulated_PostScript" )] = DECLARE_ASCII("sdraw: EPS - Encapsulated PostScript" ); - aHash[DECLARE_ASCII("wmf_MS_Windows_Metafile" )] = DECLARE_ASCII("sdraw: WMF - MS Windows Metafile" ); - aHash[DECLARE_ASCII("pct_Mac_Pict" )] = DECLARE_ASCII("sdraw: PCT - Mac Pict" ); - aHash[DECLARE_ASCII("svm_StarView_Metafile" )] = DECLARE_ASCII("sdraw: SVM - StarView Metafile" ); - aHash[DECLARE_ASCII("bmp_MS_Windows" )] = DECLARE_ASCII("sdraw: BMP - MS Windows" ); - aHash[DECLARE_ASCII("jpg_JPEG" )] = DECLARE_ASCII("sdraw: JPG - JPEG" ); - aHash[DECLARE_ASCII("xbm_X_Consortium" )] = DECLARE_ASCII("sdraw: XBM - X-Consortium" ); - aHash[DECLARE_ASCII("math_StarOffice_XML_Math" )] = DECLARE_ASCII("smath: StarOffice XML (Math)" ); - aHash[DECLARE_ASCII("math_MathML_XML_Math" )] = DECLARE_ASCII("smath: MathML XML (Math)" ); - aHash[DECLARE_ASCII("math_StarMath_50" )] = DECLARE_ASCII("smath: StarMath 5.0" ); - aHash[DECLARE_ASCII("math_StarMath_40" )] = DECLARE_ASCII("smath: StarMath 4.0" ); - aHash[DECLARE_ASCII("math_StarMath_30" )] = DECLARE_ASCII("smath: StarMath 3.0" ); - aHash[DECLARE_ASCII("math_StarMath_20" )] = DECLARE_ASCII("smath: StarMath 2.0" ); - aHash[DECLARE_ASCII("math_MathType_3x" )] = DECLARE_ASCII("smath: MathType 3.x" ); -} - -//***************************************************************************************************************** -::rtl::OUString XCDGenerator::impl_getOldFilterName( const ::rtl::OUString& sNewName ) -{ - ::rtl::OUString sOldName; - ConstStringHashIterator pEntry = m_aData.aOldFilterNamesHash.find(sNewName); - if( pEntry==m_aData.aOldFilterNamesHash.end() ) - { - sOldName = sNewName; - } - else - { - sOldName = m_aData.aOldFilterNamesHash[sNewName]; - } - return sOldName; -} - -//***************************************************************************************************************** -void XCDGenerator::impl_classifyType( const AppMember& rData, const ::rtl::OUString& sTypeName, EFilterPackage& ePackage ) -{ - ePackage = E_STANDARD; - - // Step over all registered filters for this type ... - // Classify all of these filters. If one of them a standard filter ... - // type must be a standard type too - otherwise not! - - CheckedStringListIterator pIterator ; - ::rtl::OUString sFilterName ; - sal_Int32 nOrder ; - while( rData.pFilterCache->searchFilterForType( sTypeName, pIterator, sFilterName ) == sal_True ) - { - EFilterPackage eFilterPackage; - XCDGenerator::impl_classifyFilter( rData, sFilterName, eFilterPackage, nOrder ); - if( eFilterPackage == E_STANDARD ) - { - ePackage = E_STANDARD; - break; - } - } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_classifyFilter( const AppMember& rData, const ::rtl::OUString& sFilterName, EFilterPackage& ePackage, sal_Int32& nOrder ) -{ - // a) For versions less then 4 => use hard coded list of filter names to differ between standard or additional filters. - // Why? This version don't support the order flag or hasn't set it right! - // b) For version greater then 3 => use order of currently cached types in FilterCache! - - ePackage = E_STANDARD; - nOrder = 0; - - // writer - if( sFilterName == DECLARE_ASCII("writer_StarOffice_XML_Writer" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("writer_StarOffice_XML_Writer_Template" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_50" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_50_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_40" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_40_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_30" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_30_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("writer_StarWriter_20" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_97" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_97_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_95" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_95_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 13; } else - if( sFilterName == DECLARE_ASCII("writer_MS_WinWord_2x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 14; } else - if( sFilterName == DECLARE_ASCII("writer_MS_WinWord_1x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 15; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_6x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 16; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_5x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 17; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_4x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 18; } else - if( sFilterName == DECLARE_ASCII("writer_MS_Word_3x_W4W" ) ) { ePackage = E_STANDARD; nOrder = 19; } else - if( sFilterName == DECLARE_ASCII("writer_WordPerfect_Win_70_W4W" ) ) { ePackage = E_STANDARD; nOrder = 20; } else - if( sFilterName == DECLARE_ASCII("writer_WordPerfect_Win_61_W4W" ) ) { ePackage = E_STANDARD; nOrder = 21; } else - if( sFilterName == DECLARE_ASCII("writer_WordPerfect_Win_60_W4W" ) ) { ePackage = E_STANDARD; nOrder = 22; } else - if( sFilterName == DECLARE_ASCII("writer_WordPerfect_Win_51_52_W4W" ) ) { ePackage = E_STANDARD; nOrder = 23; } else - if( sFilterName == DECLARE_ASCII("writer_HTML_StarWriter" ) ) { ePackage = E_STANDARD; nOrder = 24; } else - if( sFilterName == DECLARE_ASCII("writer_Text" ) ) { ePackage = E_STANDARD; nOrder = 25; } else - if( sFilterName == DECLARE_ASCII("writer_Text_encoded" ) ) { ePackage = E_STANDARD; nOrder = 26; } else - if( sFilterName == DECLARE_ASCII("writer_Text_DOS" ) ) { ePackage = E_STANDARD; nOrder = 27; } else - if( sFilterName == DECLARE_ASCII("writer_Text_Unix" ) ) { ePackage = E_STANDARD; nOrder = 28; } else - if( sFilterName == DECLARE_ASCII("writer_Text_Mac" ) ) { ePackage = E_STANDARD; nOrder = 29; } else - if( sFilterName == DECLARE_ASCII("writer_Rich_Text_Format" ) ) { ePackage = E_STANDARD; nOrder = 30; } - - // writer web - if( sFilterName == DECLARE_ASCII("writer_web_HTML" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarOffice_XML_Writer" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarOffice_XML_Writer_Web_Template" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarWriter_50" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarWriterWeb_50_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarWriter_40" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarWriterWeb_40_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("writer_web_StarWriter_30" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("writer_web_Text_StarWriterWeb" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("writer_web_Text_encoded" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("writer_web_Text_DOS_StarWriterWeb" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("writer_web_Text_Unix_StarWriterWeb" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("writer_web_Text_Mac_StarWriterWeb" ) ) { ePackage = E_STANDARD; nOrder = 13; } - - // global document - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarOffice_XML_Writer_GlobalDocument" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarOffice_XML_Writer" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarWriter_50" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarWriter_50GlobalDocument" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarWriter_40" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarWriter_40GlobalDocument" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_StarWriter_30" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("writer_globaldocument_Text_encoded" ) ) { ePackage = E_STANDARD; nOrder = 8; } - - // calc - if( sFilterName == DECLARE_ASCII("calc_StarOffice_XML_Calc" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("calc_StarOffice_XML_Calc_Template" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_50" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_50_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_40" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_40_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_30" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_30_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("calc_StarCalc_10" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_97" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_97_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_95" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_95_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 13; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_5095" ) ) { ePackage = E_STANDARD; nOrder = 14; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_5095_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 15; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_40" ) ) { ePackage = E_STANDARD; nOrder = 16; } else - if( sFilterName == DECLARE_ASCII("calc_MS_Excel_40_VorlageTemplate" ) ) { ePackage = E_STANDARD; nOrder = 17; } else - if( sFilterName == DECLARE_ASCII("calc_HTML_StarCalc" ) ) { ePackage = E_STANDARD; nOrder = 18; } else - if( sFilterName == DECLARE_ASCII("calc_HTML_WebQuery" ) ) { ePackage = E_STANDARD; nOrder = 19; } else - if( sFilterName == DECLARE_ASCII("calc_Rich_Text_Format_StarCalc" ) ) { ePackage = E_STANDARD; nOrder = 20; } else - if( sFilterName == DECLARE_ASCII("calc_Text_txt_csv_StarCalc" ) ) { ePackage = E_STANDARD; nOrder = 21; } else - if( sFilterName == DECLARE_ASCII("calc_dBase" ) ) { ePackage = E_STANDARD; nOrder = 22; } else - if( sFilterName == DECLARE_ASCII("calc_Lotus" ) ) { ePackage = E_STANDARD; nOrder = 23; } else - if( sFilterName == DECLARE_ASCII("calc_SYLK" ) ) { ePackage = E_STANDARD; nOrder = 24; } else - if( sFilterName == DECLARE_ASCII("calc_DIF" ) ) { ePackage = E_STANDARD; nOrder = 25; } - - // impress - if( sFilterName == DECLARE_ASCII("impress_StarOffice_XML_Impress" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("impress_StarOffice_XML_Impress_Template" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("impress_StarImpress_50" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("impress_StarImpress_50_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("impress_StarImpress_50_packed" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("impress_StarImpress_40" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("impress_StarImpress_40_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("impress_MS_PowerPoint_97" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("impress_MS_PowerPoint_97_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("impress_StarOffice_XML_Draw" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("impress_StarDraw_50_StarImpress" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("impress_StarDraw_50_Vorlage_StarImpress" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("impress_StarDraw_30_StarImpress" ) ) { ePackage = E_STANDARD; nOrder = 13; } else - if( sFilterName == DECLARE_ASCII("impress_StarDraw_30_Vorlage_StarImpress" ) ) { ePackage = E_STANDARD; nOrder = 14; } else - if( sFilterName == DECLARE_ASCII("impress_CGM_Computer_Graphics_Metafile" ) ) { ePackage = E_STANDARD; nOrder = 15; } - - // draw - if( sFilterName == DECLARE_ASCII("draw_StarOffice_XML_Draw" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("draw_StarOffice_XML_Draw_Template" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("draw_StarDraw_50" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("draw_StarDraw_50_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("draw_StarDraw_30" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("draw_StarDraw_30_Vorlage" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("draw_StarOffice_XML_Impress" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("draw_StarImpress_50_StarDraw" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("draw_StarImpress_50_Vorlage_StarDraw" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("draw_StarImpress_40_StarDraw" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("draw_StarImpress_40_Vorlage_StarDraw" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("draw_SGV_StarDraw_20" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("draw_SGF_StarOffice_Writer_SGF" ) ) { ePackage = E_STANDARD; nOrder = 13; } else - if( sFilterName == DECLARE_ASCII("draw_SVM_StarView_Metafile" ) ) { ePackage = E_STANDARD; nOrder = 14; } else - if( sFilterName == DECLARE_ASCII("draw_WMF_MS_Windows_Metafile" ) ) { ePackage = E_STANDARD; nOrder = 15; } else - if( sFilterName == DECLARE_ASCII("draw_EMF_MS_Windows_Metafile" ) ) { ePackage = E_STANDARD; nOrder = 16; } else - if( sFilterName == DECLARE_ASCII("draw_EPS_Encapsulated_PostScript" ) ) { ePackage = E_STANDARD; nOrder = 17; } else - if( sFilterName == DECLARE_ASCII("draw_DXF_AutoCAD_Interchange" ) ) { ePackage = E_STANDARD; nOrder = 18; } else - if( sFilterName == DECLARE_ASCII("draw_BMP_MS_Windows" ) ) { ePackage = E_STANDARD; nOrder = 19; } else - if( sFilterName == DECLARE_ASCII("draw_GIF_Graphics_Interchange" ) ) { ePackage = E_STANDARD; nOrder = 20; } else - if( sFilterName == DECLARE_ASCII("draw_JPG_JPEG" ) ) { ePackage = E_STANDARD; nOrder = 21; } else - if( sFilterName == DECLARE_ASCII("draw_MET_OS2_Metafile" ) ) { ePackage = E_STANDARD; nOrder = 22; } else - if( sFilterName == DECLARE_ASCII("draw_PBM_Portable_Bitmap" ) ) { ePackage = E_STANDARD; nOrder = 23; } else - if( sFilterName == DECLARE_ASCII("draw_PCD_Photo_CD_Base" ) ) { ePackage = E_STANDARD; nOrder = 24; } else - if( sFilterName == DECLARE_ASCII("draw_PCD_Photo_CD_Base4" ) ) { ePackage = E_STANDARD; nOrder = 25; } else - if( sFilterName == DECLARE_ASCII("draw_PCD_Photo_CD_Base16" ) ) { ePackage = E_STANDARD; nOrder = 26; } else - if( sFilterName == DECLARE_ASCII("draw_PCT_Mac_Pict" ) ) { ePackage = E_STANDARD; nOrder = 27; } else - if( sFilterName == DECLARE_ASCII("draw_PCX_Zsoft_Paintbrush" ) ) { ePackage = E_STANDARD; nOrder = 28; } else - if( sFilterName == DECLARE_ASCII("draw_PGM_Portable_Graymap" ) ) { ePackage = E_STANDARD; nOrder = 29; } else - if( sFilterName == DECLARE_ASCII("draw_PNG_Portable_Network_Graphic" ) ) { ePackage = E_STANDARD; nOrder = 30; } else - if( sFilterName == DECLARE_ASCII("draw_PPM_Portable_Pixelmap" ) ) { ePackage = E_STANDARD; nOrder = 31; } else - if( sFilterName == DECLARE_ASCII("draw_PSD_Adobe_Photoshop" ) ) { ePackage = E_STANDARD; nOrder = 32; } else - if( sFilterName == DECLARE_ASCII("draw_RAS_Sun_Rasterfile" ) ) { ePackage = E_STANDARD; nOrder = 33; } else - if( sFilterName == DECLARE_ASCII("draw_TGA_Truevision_TARGA" ) ) { ePackage = E_STANDARD; nOrder = 34; } else - if( sFilterName == DECLARE_ASCII("draw_TIF_Tag_Image_File" ) ) { ePackage = E_STANDARD; nOrder = 35; } else - if( sFilterName == DECLARE_ASCII("draw_XBM_X_Consortium" ) ) { ePackage = E_STANDARD; nOrder = 36; } else - if( sFilterName == DECLARE_ASCII("draw_XPM" ) ) { ePackage = E_STANDARD; nOrder = 37; } - - // chart - if( sFilterName == DECLARE_ASCII("chart_StarOffice_XML_Chart" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("chart_StarChart_50" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("chart_StarChart_40" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("chart_StarChart_30" ) ) { ePackage = E_STANDARD; nOrder = 4; } - - // math - if( sFilterName == DECLARE_ASCII("math_StarOffice_XML_Math" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("math_StarMath_50" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("math_StarMath_40" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("math_StarMath_30" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("math_StarMath_20" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("math_MathML_XML_Math" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("math_MathType_3x" ) ) { ePackage = E_STANDARD; nOrder = 7; } - - // graphics - if( sFilterName == DECLARE_ASCII("bmp_Import" ) ) { ePackage = E_STANDARD; nOrder = 1; } else - if( sFilterName == DECLARE_ASCII("bmp_Export" ) ) { ePackage = E_STANDARD; nOrder = 2; } else - if( sFilterName == DECLARE_ASCII("dxf_Import" ) ) { ePackage = E_STANDARD; nOrder = 3; } else - if( sFilterName == DECLARE_ASCII("emf_Import" ) ) { ePackage = E_STANDARD; nOrder = 4; } else - if( sFilterName == DECLARE_ASCII("emf_Export" ) ) { ePackage = E_STANDARD; nOrder = 5; } else - if( sFilterName == DECLARE_ASCII("eps_Import" ) ) { ePackage = E_STANDARD; nOrder = 6; } else - if( sFilterName == DECLARE_ASCII("eps_Export" ) ) { ePackage = E_STANDARD; nOrder = 7; } else - if( sFilterName == DECLARE_ASCII("gif_Import" ) ) { ePackage = E_STANDARD; nOrder = 8; } else - if( sFilterName == DECLARE_ASCII("gif_Export" ) ) { ePackage = E_STANDARD; nOrder = 9; } else - if( sFilterName == DECLARE_ASCII("jpg_Import" ) ) { ePackage = E_STANDARD; nOrder = 10; } else - if( sFilterName == DECLARE_ASCII("jpg_Export" ) ) { ePackage = E_STANDARD; nOrder = 11; } else - if( sFilterName == DECLARE_ASCII("met_Import" ) ) { ePackage = E_STANDARD; nOrder = 12; } else - if( sFilterName == DECLARE_ASCII("met_Export" ) ) { ePackage = E_STANDARD; nOrder = 13; } else - if( sFilterName == DECLARE_ASCII("pbm_Import" ) ) { ePackage = E_STANDARD; nOrder = 14; } else - if( sFilterName == DECLARE_ASCII("pbm_Export" ) ) { ePackage = E_STANDARD; nOrder = 15; } else - if( sFilterName == DECLARE_ASCII("pcd_Import_Base16" ) ) { ePackage = E_STANDARD; nOrder = 16; } else - if( sFilterName == DECLARE_ASCII("pcd_Import_Base4" ) ) { ePackage = E_STANDARD; nOrder = 17; } else - if( sFilterName == DECLARE_ASCII("pcd_Import_Base" ) ) { ePackage = E_STANDARD; nOrder = 18; } else - if( sFilterName == DECLARE_ASCII("pct_Import" ) ) { ePackage = E_STANDARD; nOrder = 19; } else - if( sFilterName == DECLARE_ASCII("pct_Export" ) ) { ePackage = E_STANDARD; nOrder = 20; } else - if( sFilterName == DECLARE_ASCII("pcx_Import" ) ) { ePackage = E_STANDARD; nOrder = 21; } else - if( sFilterName == DECLARE_ASCII("pgm_Import" ) ) { ePackage = E_STANDARD; nOrder = 22; } else - if( sFilterName == DECLARE_ASCII("pgm_Export" ) ) { ePackage = E_STANDARD; nOrder = 23; } else - if( sFilterName == DECLARE_ASCII("png_Import" ) ) { ePackage = E_STANDARD; nOrder = 24; } else - if( sFilterName == DECLARE_ASCII("png_Export" ) ) { ePackage = E_STANDARD; nOrder = 25; } else - if( sFilterName == DECLARE_ASCII("ppm_Import" ) ) { ePackage = E_STANDARD; nOrder = 26; } else - if( sFilterName == DECLARE_ASCII("ppm_Export" ) ) { ePackage = E_STANDARD; nOrder = 27; } else - if( sFilterName == DECLARE_ASCII("psd_Import" ) ) { ePackage = E_STANDARD; nOrder = 28; } else - if( sFilterName == DECLARE_ASCII("ras_Import" ) ) { ePackage = E_STANDARD; nOrder = 29; } else - if( sFilterName == DECLARE_ASCII("ras_Export" ) ) { ePackage = E_STANDARD; nOrder = 30; } else - if( sFilterName == DECLARE_ASCII("sgf_Import" ) ) { ePackage = E_STANDARD; nOrder = 31; } else - if( sFilterName == DECLARE_ASCII("sgv_Import" ) ) { ePackage = E_STANDARD; nOrder = 32; } else - if( sFilterName == DECLARE_ASCII("svg_Export" ) ) { ePackage = E_STANDARD; nOrder = 33; } else - if( sFilterName == DECLARE_ASCII("svm_Import" ) ) { ePackage = E_STANDARD; nOrder = 34; } else - if( sFilterName == DECLARE_ASCII("svm_Export" ) ) { ePackage = E_STANDARD; nOrder = 35; } else - if( sFilterName == DECLARE_ASCII("tga_Import" ) ) { ePackage = E_STANDARD; nOrder = 36; } else - if( sFilterName == DECLARE_ASCII("tif_Import" ) ) { ePackage = E_STANDARD; nOrder = 37; } else - if( sFilterName == DECLARE_ASCII("tif_Export" ) ) { ePackage = E_STANDARD; nOrder = 38; } else - if( sFilterName == DECLARE_ASCII("wmf_Import" ) ) { ePackage = E_STANDARD; nOrder = 39; } else - if( sFilterName == DECLARE_ASCII("wmf_Export" ) ) { ePackage = E_STANDARD; nOrder = 40; } else - if( sFilterName == DECLARE_ASCII("xbm_Import" ) ) { ePackage = E_STANDARD; nOrder = 41; } else - if( sFilterName == DECLARE_ASCII("xpm_Import" ) ) { ePackage = E_STANDARD; nOrder = 42; } else - if( sFilterName == DECLARE_ASCII("xpm_Export" ) ) { ePackage = E_STANDARD; nOrder = 43; } -} - -//***************************************************************************************************************** -void XCDGenerator::impl_orderAlphabetical( css::uno::Sequence< ::rtl::OUString >& lList ) -{ - ::std::vector< ::rtl::OUString > lSortedList; - sal_Int32 nCount ; - sal_Int32 nItem ; - - // Copy sequence to vector - nCount = lList.getLength(); - for( nItem=0; nItem<nCount; ++nItem ) - { - lSortedList.push_back( lList[nItem] ); - } - - // sort in a alphabetical order - ::std::sort( lSortedList.begin(), lSortedList.end() ); - - // copy sorted list back to sequence - nItem = 0; - for( ::std::vector< ::rtl::OUString >::iterator pIterator=lSortedList.begin(); pIterator!=lSortedList.end(); ++pIterator ) - { - lList[nItem] = *pIterator; - ++nItem; - } -} - -//***************************************************************************************************************** -class ModifiedUTF7Buffer -{ - rtl::OUStringBuffer & m_rBuffer; - sal_uInt32 m_nValue; - int m_nFilled; - -public: - ModifiedUTF7Buffer(rtl::OUStringBuffer * pTheBuffer): - m_rBuffer(*pTheBuffer), m_nFilled(0) {} - - inline void write(sal_Unicode c); - - void flush(); -}; - -inline void ModifiedUTF7Buffer::write(sal_Unicode c) -{ - switch (m_nFilled) - { - case 0: - m_nValue = sal_uInt32(c) << 8; - m_nFilled = 2; - break; - - case 1: - m_nValue |= sal_uInt32(c); - m_nFilled = 3; - flush(); - break; - - case 2: - m_nValue |= sal_uInt32(c) >> 8; - m_nFilled = 3; - flush(); - m_nValue = (sal_uInt32(c) & 0xFF) << 16; - m_nFilled = 1; - break; - } -} - -void ModifiedUTF7Buffer::flush() -{ - static sal_Unicode const aModifiedBase64[64] - = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', - 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', - 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', - 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '-', '.' }; - switch (m_nFilled) - { - case 1: - m_rBuffer.append(aModifiedBase64[m_nValue >> 18]); - m_rBuffer.append(aModifiedBase64[m_nValue >> 12 & 63]); - break; - - case 2: - m_rBuffer.append(aModifiedBase64[m_nValue >> 18]); - m_rBuffer.append(aModifiedBase64[m_nValue >> 12 & 63]); - m_rBuffer.append(aModifiedBase64[m_nValue >> 6 & 63]); - break; - - case 3: - m_rBuffer.append(aModifiedBase64[m_nValue >> 18]); - m_rBuffer.append(aModifiedBase64[m_nValue >> 12 & 63]); - m_rBuffer.append(aModifiedBase64[m_nValue >> 6 & 63]); - m_rBuffer.append(aModifiedBase64[m_nValue & 63]); - break; - } - m_nFilled = 0; - m_nValue = 0; -} - - -sal_Bool XCDGenerator::impl_isUsAsciiAlphaDigit(sal_Unicode c, sal_Bool bDigitAllowed) -{ - return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' - || bDigitAllowed && c >= '0' && c <= '9'; -} - -::rtl::OUString XCDGenerator::impl_encodeSetName( const ::rtl::OUString& rSource ) -{ - return impl_encodeSpecialSigns( rSource ); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/util/lomenubar.component b/framework/util/lomenubar.component index 628bcb7cc7a2..279ab3a7b5eb 100755 --- a/framework/util/lomenubar.component +++ b/framework/util/lomenubar.component @@ -27,7 +27,7 @@ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable * instead of those above. *--> -<component loader="com.sun.star.loader.SharedLibrary" +<component loader="com.sun.star.loader.SharedLibrary" prefix="lomenubar" xmlns="http://openoffice.org/2010/uno-components"> <implementation name="org.libreoffice.comp.framework.lomenubar.FrameJob"> <service name="com.sun.star.task.Job"/> diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index 74ccbd575354..c8ad5cf2bff7 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -82,7 +82,6 @@ class SvIdlDataBase protected: #ifdef IDL_COMPILER - ByteString aModulePrefix; SvMetaObjectMemberStack aContextStack; String aPath; SvIdlError aError; @@ -117,7 +116,6 @@ public: void SetExportFile( const String& rName ) { aExportFile = rName; } void AppendAttr( SvMetaAttribute *pSlot ); - const ByteString& GetActModulePrefix() const { return aModulePrefix; } const SvIdlError & GetError() const { return aError; } void SetError( const SvIdlError & r ) { aError = r; } @@ -128,7 +126,7 @@ public: void Write( const ByteString & rText ); void WriteError( const ByteString & rErrWrn, const ByteString & rFileName, - const ByteString & rErrorText, + const rtl::OString& rErrorText, sal_uLong nRow = 0, sal_uLong nColumn = 0 ) const; void WriteError( SvTokenStream & rInStm ); void SetError( const ByteString & rError, SvToken * pTok ); diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 04281e3fcff7..12ce3e1ed4fd 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -50,7 +50,7 @@ ByteString SvToken::GetTokenAsString() const aStr = aString; break; case SVTOKEN_INTEGER: - aStr = ByteString::CreateFromInt64(nLong); + aStr = rtl::OString::valueOf(static_cast<sal_Int64>(nLong)); break; case SVTOKEN_STRING: aStr = aString; diff --git a/idl/source/objects/basobj.cxx b/idl/source/objects/basobj.cxx index 7a284999e6eb..97822791533e 100644 --- a/idl/source/objects/basobj.cxx +++ b/idl/source/objects/basobj.cxx @@ -401,8 +401,8 @@ void SvMetaName::WriteAttributes( SvIdlDataBase &, SvStream & rOutStm, { WriteTab( rOutStm, nTab ); rOutStm << "helpcontext(" - << ByteString::CreateFromInt64( - GetHelpContext().GetValue() ).GetBuffer() + << rtl::OString::valueOf(static_cast<sal_Int64>( + GetHelpContext().GetValue())).getStr() << ")," << endl; } } @@ -587,8 +587,11 @@ void SvMetaExtern::WriteAttributes( SvIdlDataBase & rBase, SvStream & rOutStm, WriteTab( rOutStm, nTab ); rOutStm << "uuid(" << ByteString( GetUUId().GetHexName(), RTL_TEXTENCODING_UTF8 ).GetBuffer() << ")," << endl; WriteTab( rOutStm, nTab ); - rOutStm << "version(" << ByteString::CreateFromInt32( aVersion.GetMajorVersion() ).GetBuffer() << '.' - << ByteString::CreateFromInt32( aVersion.GetMinorVersion() ).GetBuffer() << ")," << endl; + rOutStm << "version(" + << rtl::OString::valueOf(static_cast<sal_Int32>(aVersion.GetMajorVersion())).getStr() + << '.' + << rtl::OString::valueOf(static_cast<sal_Int32>(aVersion.GetMinorVersion())).getStr() + << ")," << endl; } #endif // IDL_COMPILER diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx index 5556da3ad4b5..01faea8c6d3f 100644 --- a/idl/source/objects/bastype.cxx +++ b/idl/source/objects/bastype.cxx @@ -432,8 +432,10 @@ sal_Bool SvVersion::ReadSvIdl( SvTokenStream & rInStm ) sal_Bool SvVersion::WriteSvIdl( SvStream & rOutStm ) { rOutStm << SvHash_Version()->GetName().GetBuffer() << '(' - << ByteString::CreateFromInt32( nMajorVersion ).GetBuffer() << '.' - << ByteString::CreateFromInt32( nMinorVersion ).GetBuffer() << ')'; + << rtl::OString::valueOf(static_cast<sal_Int32>(nMajorVersion)).getStr() + << '.' + << rtl::OString::valueOf(static_cast<sal_Int32>(nMinorVersion)).getStr() + << ')'; return sal_True; } #endif //IDL_COMPILER diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index 7344eba7fd64..8308d50625ec 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -356,7 +356,8 @@ sal_Bool SvMetaClass::TestAttribute( SvIdlDataBase & rBase, SvTokenStream & rInS if( nId1 == nId2 && nId1 != 0 ) { OSL_FAIL( "Gleiche Id in MetaClass : " ); - OSL_FAIL( ByteString::CreateFromInt32( pS->GetSlotId().GetValue() ).GetBuffer() ); + OSL_FAIL(rtl::OString::valueOf(static_cast<sal_Int32>( + pS->GetSlotId().GetValue())).getStr()); OSL_FAIL( pS->GetSlotId().GetBuffer() ); OSL_FAIL( rAttr.GetSlotId().GetBuffer() ); @@ -719,8 +720,12 @@ void SvMetaClass::WriteCxx( SvIdlDataBase &, SvStream & rOutStm, sal_uInt16 ) << '{' << endl << "\tSvGlobalName aN( " << ByteString( pMod->GetUUId().GetctorName(), RTL_TEXTENCODING_UTF8 ).GetBuffer() << " );" << endl; rOutStm << "\t*pGN = aN;" << endl - << "\t*pMajor = " << ByteString::CreateFromInt32(pMod->GetVersion().GetMajorVersion()).GetBuffer() << ';' << endl - << "\t*pMinor = " << ByteString::CreateFromInt32(pMod->GetVersion().GetMinorVersion()).GetBuffer() << ';' << endl + << "\t*pMajor = " + << rtl::OString::valueOf(static_cast<sal_Int32>(pMod->GetVersion().GetMajorVersion())).getStr() + << ';' << endl + << "\t*pMinor = " + << rtl::OString::valueOf(static_cast<sal_Int32>(pMod->GetVersion().GetMinorVersion())).getStr() + << ';' << endl << "\treturn sal_True;" << endl << '}' << endl; @@ -730,8 +735,12 @@ void SvMetaClass::WriteCxx( SvIdlDataBase &, SvStream & rOutStm, sal_uInt16 ) << "\t sal_uInt16 * pMinor ) const" << endl; rOutStm << '{' << endl << "\t*pName = \"" << pMod->GetTypeLibFileName().GetBuffer() << "\";" << endl - << "\t*pMajor = " << ByteString::CreateFromInt32(pMod->GetVersion().GetMajorVersion()).GetBuffer() << ';' << endl - << "\t*pMinor = " << ByteString::CreateFromInt32(pMod->GetVersion().GetMinorVersion()).GetBuffer() << ';' << endl + << "\t*pMajor = " + << rtl::OString::valueOf(static_cast<sal_Int32>(pMod->GetVersion().GetMajorVersion())).getStr() + << ';' << endl + << "\t*pMinor = " + << rtl::OString::valueOf(static_cast<sal_Int32>(pMod->GetVersion().GetMinorVersion())).getStr() + << ';' << endl << "\treturn sal_True;" << endl << '}' << endl; diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 746fa741af25..e56d95776960 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -1154,8 +1154,11 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, sal_Bool bIsEnumSlot = 0 != pEnumValue; - rOutStm << "// Slot Nr. " << ByteString::CreateFromInt32(nListPos).GetBuffer() << " : "; - ByteString aSlotIdValue( ByteString::CreateFromInt32( GetSlotId().GetValue() ) ); + rOutStm << "// Slot Nr. " + << rtl::OString::valueOf(static_cast<sal_Int32>(nListPos)).getStr() + << " : "; + ByteString aSlotIdValue(rtl::OString::valueOf(static_cast<sal_Int32>( + GetSlotId().GetValue()))); rOutStm << aSlotIdValue.GetBuffer() << endl; WriteTab( rOutStm, 1 ); if( bIsEnumSlot ) @@ -1181,12 +1184,12 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, if( bIsEnumSlot ) { rOutStm << "&a" << rShellName.GetBuffer() << "Slots_Impl[" - << ByteString::CreateFromInt32(pLinkedSlot->GetListPos()).GetBuffer() - << "] /*Offset Master*/, " << endl; + << rtl::OString::valueOf(static_cast<sal_Int32>(pLinkedSlot->GetListPos())).getStr() + << "] /*Offset Master*/, " << endl; WriteTab( rOutStm, 4 ); rOutStm << "&a" << rShellName.GetBuffer() << "Slots_Impl[" - << ByteString::CreateFromInt32(pNextSlot->GetListPos()).GetBuffer() - << "] /*Offset Next*/, " << endl; + << rtl::OString::valueOf(static_cast<sal_Int32>(pNextSlot->GetListPos())).getStr() + << "] /*Offset Next*/, " << endl; WriteTab( rOutStm, 4 ); @@ -1240,14 +1243,14 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, else { rOutStm << "&a" << rShellName.GetBuffer() << "Slots_Impl[" - << ByteString::CreateFromInt32(pLinkedSlot->GetListPos()).GetBuffer() + << rtl::OString::valueOf(static_cast<sal_Int32>(pLinkedSlot->GetListPos())).getStr() << "] /*Offset Linked*/, " << endl; WriteTab( rOutStm, 4 ); } rOutStm << "&a" << rShellName.GetBuffer() << "Slots_Impl[" - << ByteString::CreateFromInt32(pNextSlot->GetListPos()).GetBuffer() - << "] /*Offset Next*/, " << endl; + << rtl::OString::valueOf(static_cast<sal_Int32>(pNextSlot->GetListPos())).getStr() + << "] /*Offset Next*/, " << endl; WriteTab( rOutStm, 4 ); @@ -1357,7 +1360,9 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, { rOutStm << ',' << endl; WriteTab( rOutStm, 4 ); - rOutStm << ByteString::CreateFromInt32( nCount ).GetBuffer() << "/*Offset*/, "; + rOutStm + << rtl::OString::valueOf(static_cast<sal_Int32>(nCount)).getStr() + << "/*Offset*/, "; if( IsMethod() ) { @@ -1368,7 +1373,10 @@ void SvMetaSlot::WriteSlot( const ByteString & rShellName, sal_uInt16 nCount, else pType = GetType(); sal_uLong nSCount = pType->GetAttrCount(); - rOutStm << ByteString::CreateFromInt32( nSCount ).GetBuffer() << "/*Count*/"; + rOutStm + << rtl::OString::valueOf(static_cast<sal_Int32>( + nSCount)).getStr() + << "/*Count*/"; } else rOutStm << '0'; @@ -1485,8 +1493,9 @@ void SvMetaSlot::WriteSrc( SvIdlDataBase & rBase, SvStream & rOutStm, if( !pTable->IsKeyValid( nSId ) ) { pTable->Insert( nSId, this ); - rOutStm << "SfxSlotInfo " << ByteString::CreateFromInt32( nSId ).GetBuffer() - << endl << '{' << endl; + rOutStm << "SfxSlotInfo " + << rtl::OString::valueOf(static_cast<sal_Int32>(nSId)).getStr() + << endl << '{' << endl; WriteTab( rOutStm, 1 ); ByteString aStr = GetConfigName(); @@ -1521,7 +1530,7 @@ void SvMetaSlot::WriteSrc( SvIdlDataBase & rBase, SvStream & rOutStm, sal_Bool bIdOk = sal_False; if( rBase.FindId( aSId, &nSId2 ) ) { - aSId = ByteString::CreateFromInt32( nSId2 ); + aSId = rtl::OString::valueOf(static_cast<sal_Int32>(nSId2)); bIdOk = sal_True; } @@ -1554,7 +1563,9 @@ void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm, if( !pTable->IsKeyValid( nSId ) ) { pTable->Insert( nSId, this ); - rOutStm << "#define " << GetSlotId().GetBuffer() << '\t' << ByteString::CreateFromInt32( nSId ).GetBuffer() << endl; + rOutStm << "#define " << GetSlotId().GetBuffer() << '\t' + << rtl::OString::valueOf(static_cast<sal_Int32>(nSId)).getStr() + << endl; } SvMetaTypeEnum * pEnum = PTR_CAST( SvMetaTypeEnum, GetType() ); @@ -1573,7 +1584,7 @@ void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm, sal_Bool bIdOk = sal_False; if( rBase.FindId( aSId, &nSId2 ) ) { - aSId = ByteString::CreateFromInt32( nSId2 ); + aSId = rtl::OString::valueOf(static_cast<sal_Int32>(nSId2)); bIdOk = sal_True; } @@ -1583,7 +1594,9 @@ void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm, pTable->Insert( nSId2, this ); rOutStm << "#define " << aSId.GetBuffer() << '\t' - << ByteString::CreateFromInt32( nSId2 ).GetBuffer() << endl; + << rtl::OString::valueOf( + static_cast<sal_Int32>(nSId2)).getStr() + << endl; } } } @@ -1601,7 +1614,10 @@ void SvMetaSlot::WriteCSV( SvIdlDataBase& rBase, SvStream& rStrm ) { rStrm << "PROJECT,"; rStrm << GetSlotId().GetBuffer() << ','; - rStrm << ByteString::CreateFromInt32( GetSlotId().GetValue() ).GetBuffer() << ','; + rStrm + << rtl::OString::valueOf( + static_cast<sal_Int32>(GetSlotId().GetValue())).getStr() + << ','; if ( GetPseudoPrefix().Len() ) rStrm << GetPseudoPrefix().GetBuffer() << ','; diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 7a006f2f8428..d57d3cb0e33f 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -425,8 +425,8 @@ void SvMetaAttribute::WriteAttributes( SvIdlDataBase & rBase, SvStream & rOutStm { WriteTab( rOutStm, nTab ); rOutStm << "id(" - << ByteString::CreateFromInt32(MakeSlotValue( rBase, bVar )).GetBuffer() - << ")," << endl; + << rtl::OString::valueOf(static_cast<sal_Int32>(MakeSlotValue(rBase,bVar))).getStr() + << ")," << endl; } if( bVar && (bReadonly || IsMethod()) ) { @@ -467,7 +467,7 @@ void SvMetaAttribute::WriteCSource( SvIdlDataBase & rBase, SvStream & rOutStm, } } rOutStm << "pODKCallFunction( " - << ByteString::CreateFromInt32(MakeSlotValue( rBase, IsVariable() )).GetBuffer(); + << rtl::OString::valueOf(static_cast<sal_Int32>(MakeSlotValue(rBase, IsVariable()))).getStr(); rOutStm << ',' << endl; WriteTab( rOutStm, 3 ); rOutStm << " h" << rBase.aIFaceName.GetBuffer() << " , "; @@ -1428,7 +1428,8 @@ void SvMetaType::WriteSfxItem( ByteString aTypeName = "SfxType"; ByteString aAttrArray; sal_uLong nAttrCount = MakeSfx( &aAttrArray ); - ByteString aAttrCount( ByteString::CreateFromInt32( nAttrCount ) ); + ByteString aAttrCount( + rtl::OString::valueOf(static_cast<sal_Int32>(nAttrCount))); aTypeName += aAttrCount; rOutStm << "extern " << aTypeName.GetBuffer() diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 40831709fe65..fa37d2d003a3 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -36,6 +36,7 @@ #include <tools/debug.hxx> #include <database.hxx> #include <globals.hxx> +#include <rtl/strbuf.hxx> SvIdlDataBase::SvIdlDataBase( const SvCommand& rCmd ) : bExport( sal_False ) @@ -541,16 +542,16 @@ void SvIdlDataBase::Write( const ByteString & rText ) void SvIdlDataBase::WriteError( const ByteString & rErrWrn, const ByteString & rFileName, - const ByteString & rErrorText, + const rtl::OString& rErrorText, sal_uLong nRow, sal_uLong nColumn ) const { // error treatment fprintf( stderr, "\n%s --- %s: ( %ld, %ld )\n", rFileName.GetBuffer(), rErrWrn.GetBuffer(), nRow, nColumn ); - if( rErrorText.Len() ) + if( !rErrorText.isEmpty() ) { // error set - fprintf( stderr, "\t%s\n", rErrorText.GetBuffer() ); + fprintf( stderr, "\t%s\n", rErrorText.getStr() ); } } @@ -558,7 +559,7 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm ) { // error treatment String aFileName( rInStm.GetFileName() ); - ByteString aErrorText; + rtl::OStringBuffer aErrorText; sal_uLong nRow = 0, nColumn = 0; rInStm.SeekEnd(); @@ -574,8 +575,8 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm ) // error text if( aError.GetText().Len() ) { - aErrorText = "may be <"; - aErrorText += aError.GetText(); + aErrorText.append(RTL_CONSTASCII_STRINGPARAM("may be <")); + aErrorText.append(aError.GetText()); } SvToken * pPrevTok = NULL; while( pTok != pPrevTok ) @@ -588,17 +589,17 @@ void SvIdlDataBase::WriteError( SvTokenStream & rInStm ) } // error position - aErrorText += "> at ( "; - aErrorText += ByteString::CreateFromInt64(aError.nLine); - aErrorText += ", "; - aErrorText += ByteString::CreateFromInt64(aError.nColumn); - aErrorText += " )"; + aErrorText.append(RTL_CONSTASCII_STRINGPARAM("> at ( ")); + aErrorText.append(static_cast<sal_Int64>(aError.nLine)); + aErrorText.append(RTL_CONSTASCII_STRINGPARAM(", ")); + aErrorText.append(static_cast<sal_Int64>(aError.nColumn)); + aErrorText.append(RTL_CONSTASCII_STRINGPARAM(" )")); // reset error aError = SvIdlError(); } - WriteError( "error", ByteString( aFileName, RTL_TEXTENCODING_UTF8 ), aErrorText, nRow, nColumn ); + WriteError( "error", ByteString( aFileName, RTL_TEXTENCODING_UTF8 ), aErrorText.makeStringAndClear(), nRow, nColumn ); DBG_ASSERT( pTok, "token must be found" ); if( !pTok ) @@ -714,8 +715,8 @@ sal_Bool SvIdlWorkingBase::WriteSvIdl( SvStream & rOutStm ) SvStringHashEntry* pEntry = aList[ i ]; rOutStm << "#define " << pEntry->GetName().GetBuffer() << '\t' - << ByteString::CreateFromInt64( - pEntry->GetValue() ).GetBuffer() + << rtl::OString::valueOf(static_cast<sal_Int64>( + pEntry->GetValue())).getStr() << endl; } } diff --git a/linguistic/inc/linguistic/misc.hxx b/linguistic/inc/linguistic/misc.hxx index 4061701c1f66..7699735c971e 100644 --- a/linguistic/inc/linguistic/misc.hxx +++ b/linguistic/inc/linguistic/misc.hxx @@ -101,16 +101,6 @@ LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang ); rtl_TextEncoding GetTextEncoding( sal_Int16 nLanguage ); -inline ::rtl::OUString BS2OU(const ByteString &rText, rtl_TextEncoding nEnc) -{ - return ::rtl::OUString( rText.GetBuffer(), rText.Len(), nEnc ); -} - -inline ByteString OU2BS(const ::rtl::OUString &rText, rtl_TextEncoding nEnc) -{ - return ByteString( rText.getStr(), nEnc ); -} - rtl::OUString StripTrailingChars( rtl::OUString &rTxt, sal_Unicode cChar ); sal_Int32 LevDistance( const rtl::OUString &rTxt1, const rtl::OUString &rTxt2 ); diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx index 3ddf8f1ee046..34048e555c51 100644 --- a/linguistic/source/lngreg.cxx +++ b/linguistic/source/lngreg.cxx @@ -75,17 +75,9 @@ extern void * SAL_CALL GrammarCheckingIterator_getFactory ); -// definition of the two functions that are used to provide the services - extern "C" { -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 14216f8f8174..0893c0719436 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -182,97 +182,6 @@ sal_Bool SvcInfo::HasLanguage( sal_Int16 nLanguage ) const return i < nCnt; } - - - -void LngSvcMgr::SetAvailableCfgServiceLists( LinguDispatcher &rDispatcher, - const SvcInfoArray &rAvailSvcs ) -{ - // get list of nodenames to look at for their service list - const char *pEntryName = 0; - sal_Bool bHasLangSvcList = sal_True; - switch (rDispatcher.GetDspType()) - { - case LinguDispatcher::DSP_SPELL : pEntryName = "ServiceManager/SpellCheckerList"; break; - case LinguDispatcher::DSP_GRAMMAR : pEntryName = "ServiceManager/GrammarCheckerList"; - bHasLangSvcList = sal_False; - break; - case LinguDispatcher::DSP_HYPH : pEntryName = "ServiceManager/HyphenatorList"; - bHasLangSvcList = sal_False; - break; - case LinguDispatcher::DSP_THES : pEntryName = "ServiceManager/ThesaurusList"; break; - default : - DBG_ASSERT( 0, "unexpected case" ); - } - String aNode( String::CreateFromAscii( pEntryName ) ); - uno::Sequence < OUString > aNodeNames( /*aCfg.*/GetNodeNames( aNode ) ); - - - sal_Int32 nLen = aNodeNames.getLength(); - const OUString *pNodeNames = aNodeNames.getConstArray(); - for (sal_Int32 i = 0; i < nLen; ++i) - { - uno::Sequence< OUString > aSvcImplNames; - - uno::Sequence< OUString > aNames( 1 ); - OUString *pNames = aNames.getArray(); - - OUString aPropName( aNode ); - aPropName += OUString::valueOf( (sal_Unicode) '/' ); - aPropName += pNodeNames[i]; - pNames[0] = aPropName; - - uno::Sequence< uno::Any > aValues = /*aCfg.*/GetProperties( aNames ); - if (aValues.getLength()) - { - // get list of configured service names for the - // current node (language) - const uno::Any &rValue = aValues.getConstArray()[0]; - if (bHasLangSvcList) - aSvcImplNames = GetLangSvcList( rValue ); - else - aSvcImplNames = GetLangSvc( rValue ); - - sal_Int32 nSvcs = aSvcImplNames.getLength(); - if (nSvcs) - { - const OUString *pImplNames = aSvcImplNames.getConstArray(); - - LanguageType nLang = MsLangId::convertIsoStringToLanguage( pNodeNames[i] ); - - // build list of available services from those - sal_Int32 nCnt = 0; - uno::Sequence< OUString > aAvailSvcs( nSvcs ); - OUString *pAvailSvcs = aAvailSvcs.getArray(); - for (sal_Int32 k = 0; k < nSvcs; ++k) - { - // check for availability of the service - size_t nAvailSvcs = rAvailSvcs.size(); - for (size_t m = 0; m < nAvailSvcs; ++m) - { - const SvcInfo &rSvcInfo = rAvailSvcs[m]; - if (rSvcInfo.aSvcImplName == pImplNames[k] && - rSvcInfo.HasLanguage( nLang )) - { - pAvailSvcs[ nCnt++ ] = rSvcInfo.aSvcImplName; - break; - } - } - } - - if (nCnt) - { - aAvailSvcs.realloc( nCnt ); - rDispatcher.SetServiceList( CreateLocale( nLang ), aAvailSvcs ); - } - } - } - } -} - - - - class LngSvcMgrListenerHelper : public cppu::WeakImplHelper2 < diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx index 7054cf1b4455..635a85318364 100644 --- a/linguistic/source/lngsvcmgr.hxx +++ b/linguistic/source/lngsvcmgr.hxx @@ -136,9 +136,6 @@ class LngSvcMgr : sal_Bool SaveCfgSvcs( const String &rServiceName ); - void SetAvailableCfgServiceLists( LinguDispatcher &rDispatcher, - const SvcInfoArray &rAvailSvcs ); - // utl::ConfigItem (to allow for listening of changes of relevant properties) virtual void Notify( const com::sun::star::uno::Sequence< rtl::OUString > &rPropertyNames ); virtual void Commit(); diff --git a/linguistic/workben/exports.dxp b/linguistic/workben/exports.dxp index b0f85bf7bebf..86214860d555 100755 --- a/linguistic/workben/exports.dxp +++ b/linguistic/workben/exports.dxp @@ -1,3 +1,2 @@ component_getFactory -component_getImplementationEnvironment component_writeInfo diff --git a/linguistic/workben/sreg.cxx b/linguistic/workben/sreg.cxx index 85e218da1ef5..af9c20102244 100644 --- a/linguistic/workben/sreg.cxx +++ b/linguistic/workben/sreg.cxx @@ -59,12 +59,6 @@ sal_Bool SAL_CALL component_writeInfo( return SpellChecker_writeInfo( pServiceManager, pRegistryKey ); } -SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) -{ - *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; -} - SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) { diff --git a/officecfg/registry/data/org/openoffice/Inet.xcu b/officecfg/registry/data/org/openoffice/Inet.xcu index 0533c68086f4..cc264b8a6caf 100644 --- a/officecfg/registry/data/org/openoffice/Inet.xcu +++ b/officecfg/registry/data/org/openoffice/Inet.xcu @@ -94,314 +94,4 @@ "com.sun.star.configuration.backend.WinInetBackend ooInetHTTPSProxyPort"/> </prop> </node> - <node oor:name="SearchEngines"> - <node oor:name="Euroseek" oor:op="replace"> - <node oor:name="And"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.euroseek.com/system/search.cgi?mode=internet&string=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&language=en</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.euroseek.com/system/search.cgi?mode=internet&string=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&language=en</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.euroseek.com/system/search.cgi?mode=internet&string=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&language=en</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - </node> - <node oor:name="Lycos" oor:op="replace"> - <node oor:name="And"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.lycos.com/default.asp?loc=searchbox&query=&adv=1&tab=web&wfr=%2B&wfw=&wfq=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&wfr=&wfw=&wfq=&wfr=-&wfw=&wfq=&wfc=3&df0=i&dfq=&df1=e&dfq=&dfc=2&lang=&adf=-2&ca=&submit_button=Submit+Search</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.lycos.com/default.asp?lpv=1&loc=searchhp&tab=web&query=%22</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.lycos.com/default.asp?loc=searchbox&query=&adv=1&tab=web&wfr=&wfw=&wfq=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&wfr=&wfw=&wfq=&wfr=-&wfw=&wfq=&wfc=3&df0=i&dfq=&df1=e&dfq=&dfc=2&lang=&adf=-2&ca=&submit_button=Submit+Search</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - </node> - <node oor:name="AltaVista" oor:op="replace"> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.altavista.com/web/results/?qbmode=&aqa=&aqp=&aqo=</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&aqn=&kgs=0&kls=1&avkw=aapt</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - </node> - <node oor:name="And"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.altavista.com/web/results/?qbmode=&aqa=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&aqp=&aqo=&aqn=&kgs=0&kls=1&avkw=aapt</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.altavista.com/web/results?q=%22</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22&kgs=0&kls=1&avkw=aapt</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - </node> - <node oor:name="Google" oor:op="replace"> - <node oor:name="And"> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&btnG=Google+Search</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=%22</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22&btnG=Google+Search</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.google.com/search?as_q=&num=10&hl=en&ie=UTF-8&oe=UTF-8&btnG=Google+Search&as_epq=&as_oq=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&safe=images</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - </node> - <node oor:name="Hotbot" oor:op="replace"> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.hotbot.com/default.asp?prov=HotBot&query=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&ps=&loc=searchbox&tab=web</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="And"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.hotbot.com/adv.asp?prov=HotBot&query=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&ps=&loc=searchbox&tab=web&lang=&dfi=&dfe=&region=&wfc=2&wfr=%2B&wfw=&wfq=&wfr=&wfw=&wfq=&date=0&past=&dateop=after</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://www.hotbot.com/default.asp?prov=HotBot&query=%22</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22&ps=&loc=searchbox&tab=web&wfc=2&wfr=%22&wfr=&wfw=&wfw=&wfq=&wfq=</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - </node> - <node oor:name="Excite" oor:op="replace"> - <node oor:name="And"> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://msxml.excite.com/_1_2Z31TR6046OF684__info.xcite/dog/results?otmpl=dog/webresults.htm&qcat=web&ran=30967&qkw=</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&submit=Search&method=0&dpcollation=1&eng1=About&eng2=askjeeves&eng3=Fast&eng4=FindWhat&eng5=LookSmart&eng6=OpenDirectory&eng7=Overture&eng8=Sprinks&eng9=MetaSearchPicks&eng10=paidinclusion&eng11=Google&eng12=Inktomi&eng13=SearchHippo&eng14=teoma&qk=20&rpe=10&timeout=0&top=1&start=&ver=28494</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://msxml.excite.com/_1_2MDNTR6046U4NZ2__info.xcite/dog/results?otmpl=dog/webresults.htm&qcat=web&qkw=%22</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22&qk=20&method=&top=1&start=&ver=4734</value> - </prop> - </node> - <node oor:name="Or"> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://msxml.excite.com/_1_2V4FTR6046L4NP8__info.xcite/dog/results?otmpl=dog/webresults.htm&qcat=web&ran=30967&qkw=</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&submit=Search&method=1&dpcollation=1&eng1=About&eng2=askjeeves&eng3=Fast&eng4=FindWhat&eng5=LookSmart&eng6=OpenDirectory&eng7=Overture&eng8=Sprinks&eng9=MetaSearchPicks&eng10=paidinclusion&eng11=Google&eng12=Inktomi&eng13=SearchHippo&eng14=teoma&qk=20&rpe=10&timeout=0&top=1&start=&ver=9634</value> - </prop> - </node> - </node> - <node oor:name="Yahoo" oor:op="replace"> - <node oor:name="And"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.yahoo.com/search?x=op&va=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&va_vt=any&vst=0&vd=all&fl=0&ei=ISO-8859-1&vm=p&n=20</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - <node oor:name="Exact"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.yahoo.com/search?p=%22</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>%22&fr=fp-top</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>%20</value> - </prop> - </node> - <node oor:name="Or"> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <value>http://search.yahoo.com/search?x=op&vo=</value> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <value>&vo_vt=any&vst=0&vd=all&fl=0&ei=ISO-8859-1&vm=p&n=20</value> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <value>0</value> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <value>+</value> - </prop> - </node> - </node> - </node> </oor:component-data> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 7ff694cf93a4..d091beccf921 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -3556,11 +3556,6 @@ <value>1</value> </prop> </node> - <node oor:name=".uno:OnlineRegistrationDlg" oor:op="replace"> - <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="en-US">~Registration...</value> - </prop> - </node> <node oor:name=".uno:GoToStartSel" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Select to File Begin</value> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index 07346a9e54ae..81b2299a1a49 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -57,7 +57,7 @@ </node> <node oor:name=".uno:InsertGraphicRuler" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="en-US">Hori~zontal Ruler...</value> + <value xml:lang="en-US">Hori~zontal Rule...</value> </prop> </node> <node oor:name=".uno:SetAnchorAtChar" oor:op="replace"> @@ -301,6 +301,14 @@ <value>1</value> </prop> </node> + <node oor:name=".uno:EditHeaderFooter" oor:op="replace"> + <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Headers/Footers</value> + </prop> + <prop oor:name="Properties" oor:type="xs:int"> + <value>1</value> + </prop> + </node> <node oor:name=".uno:InsertCaptionDialog" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Caption...</value> diff --git a/officecfg/registry/schema/org/openoffice/Inet.xcs b/officecfg/registry/schema/org/openoffice/Inet.xcs index b555c3f635ba..3949dd7a7267 100644 --- a/officecfg/registry/schema/org/openoffice/Inet.xcs +++ b/officecfg/registry/schema/org/openoffice/Inet.xcs @@ -27,144 +27,8 @@ ************************************************************************ --> <!DOCTYPE oor:component-schema SYSTEM "../../../component-schema.dtd"> <oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Inet" oor:package="org.openoffice" xml:lang="en-US"> <info> - <desc >Contains Internet-related configurations (proxies, search engines, etc.).</desc> + <desc >Contains Internet-related configurations (proxies, etc.).</desc> </info> - <templates> - <info> - <author>OS/TV</author> - </info> - <group oor:name="SearchEngine"> - <info> - <desc>Specifies the search type, i.e. nexus or exact search.</desc> - </info> - <group oor:name="And"> - <info> - <desc>Specifies the search options for 'AND' searches (all words must be found).</desc> - </info> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <info> - <desc>Specifies the search expression, i.e. URL and query command.</desc> - </info> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <info> - <desc>Specifies the suffix.</desc> - </info> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <info> - <desc>Specifies the separator</desc> - </info> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <info> - <desc>Specifies if upper and lower case spelling should be considered.</desc> - </info> - <constraints> - <enumeration oor:value="0"> - <info> - <desc>None</desc> - </info> - </enumeration> - <enumeration oor:value="1"> - <info> - <desc>Upper</desc> - </info> - </enumeration> - <enumeration oor:value="2"> - <info> - <desc>Lower</desc> - </info> - </enumeration> - </constraints> - </prop> - </group> - <group oor:name="Or"> - <info> - <desc>Specifies the search options for 'OR' searches (at least one word must be found).</desc> - </info> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <info> - <desc>Specifies the search expression, i.e. URL and query command.</desc> - </info> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <info> - <desc>Specifies the suffix.</desc> - </info> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <info> - <desc>Specifies the separator</desc> - </info> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <info> - <desc>Specifies if upper and lower case spelling should be considered.</desc> - </info> - <constraints> - <enumeration oor:value="0"> - <info> - <desc>None</desc> - </info> - </enumeration> - <enumeration oor:value="1"> - <info> - <desc>Upper</desc> - </info> - </enumeration> - <enumeration oor:value="2"> - <info> - <desc>Lower</desc> - </info> - </enumeration> - </constraints> - </prop> - </group> - <group oor:name="Exact"> - <info> - <desc>Specifies the search options for 'Exact' searches (the whole text must be found).</desc> - </info> - <prop oor:name="ooInetPrefix" oor:type="xs:string"> - <info> - <desc>Specifies the search expression, i.e. URL and query command.</desc> - </info> - </prop> - <prop oor:name="ooInetSuffix" oor:type="xs:string"> - <info> - <desc>Specifies the suffix.</desc> - </info> - </prop> - <prop oor:name="ooInetSeparator" oor:type="xs:string"> - <info> - <desc>Specifies the separator</desc> - </info> - </prop> - <prop oor:name="ooInetCaseMatch" oor:type="xs:int"> - <info> - <desc>Specifies if upper and lower case spelling should be considered.</desc> - </info> - <constraints> - <enumeration oor:value="0"> - <info> - <desc>None</desc> - </info> - </enumeration> - <enumeration oor:value="1"> - <info> - <desc>Upper</desc> - </info> - </enumeration> - <enumeration oor:value="2"> - <info> - <desc>Lower</desc> - </info> - </enumeration> - </constraints> - </prop> - </group> - </group> - </templates> <component> <group oor:name="Settings"> <info> @@ -350,25 +214,6 @@ </constraints> </prop> </group> - <group oor:name="DefaultSearchEngine"> - <info> - <desc>Contains the name of the default search engine</desc> - </info> - <prop oor:name="Name" oor:type="xs:string"> - <info> - <author>OS</author> - <desc>The name of the default search engine</desc> - </info> - <value/> - </prop> - </group> - <set oor:name="SearchEngines" oor:node-type="SearchEngine"> - <!--UI: Tools - Options - Internet - Search--> - <info> - <author>OS / TV</author> - <desc>Serves for the configuration of search engines. A default group of (localized) search engines including their configuration should be written by the setup.</desc> - </info> - </set> </component> </oor:component-schema> diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs index a5528eb7c121..efe840cce738 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs @@ -297,6 +297,15 @@ </info> <value>true</value> </prop> + <prop oor:name="GridOnColoredCells" oor:type="xs:boolean"> + <!-- UIHints: Tools - Options -Spreadsheets - Layout - [Section] Visual Aids --> + <info> + <author>André Schnabel</author> + <desc>Specifies whether grid lines should be displayed on top of colored cells.</desc> + <label>Grid lines on colored background</label> + </info> + <value>false</value> + </prop> <prop oor:name="GridLineColor" oor:type="xs:int"> <!-- OldPath: Calc/Layout/Lines --> <!-- OldLocation: Soffice.cfg --> diff --git a/sfx2/qa/cppunit/version.map b/oovbaapi/Module_oovbaapi.mk index 3308588ef6f8..9208ce4b5e5d 100755..100644 --- a/sfx2/qa/cppunit/version.map +++ b/oovbaapi/Module_oovbaapi.mk @@ -1,7 +1,7 @@ #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# +# # Copyright 2000, 2010 Oracle and/or its affiliates. # # OpenOffice.org - a multi-platform office productivity suite @@ -25,10 +25,13 @@ # #************************************************************************* -UDK_3_0_0 { - global: - cppunitTestPlugIn; - local: - *; -}; +$(eval $(call gb_Module_Module,oovbaapi)) + +$(eval $(call gb_Module_add_targets,oovbaapi,\ + UnoApi_oovbaapi \ + Package_oovbaapi_inc \ + Package_oovbaapi_idl \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/oovbaapi/Package_oovbaapi_idl.mk b/oovbaapi/Package_oovbaapi_idl.mk new file mode 100644 index 000000000000..7e277e854ad2 --- /dev/null +++ b/oovbaapi/Package_oovbaapi_idl.mk @@ -0,0 +1,29 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_UnoApiTarget_autopackage_idl,oovbaapi)) + diff --git a/oovbaapi/Package_oovbaapi_inc.mk b/oovbaapi/Package_oovbaapi_inc.mk new file mode 100644 index 000000000000..360478dc0b2f --- /dev/null +++ b/oovbaapi/Package_oovbaapi_inc.mk @@ -0,0 +1,29 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_UnoApiTarget_autopackage_inc,oovbaapi)) + diff --git a/oovbaapi/UnoApi_oovbaapi.mk b/oovbaapi/UnoApi_oovbaapi.mk new file mode 100644 index 000000000000..300450663353 --- /dev/null +++ b/oovbaapi/UnoApi_oovbaapi.mk @@ -0,0 +1,1080 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_UnoApiTarget_UnoApiTarget,oovbaapi)) + +$(eval $(call gb_UnoApiTarget_add_rdbfiles,oovbaapi,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_UnoApiTarget_set_include,oovbaapi,\ + $$(INCLUDE) \ + -I$(SRCDIR)/oovbaapi \ + -I$(OUTDIR)/idl \ +)) + +$(eval $(call gb_UnoApiTarget_add_idlfiles_nohdl,oovbaapi,\ + oovbaapi/ooo/vba/excel/Globals \ + oovbaapi/ooo/vba/excel/Hyperlink \ + oovbaapi/ooo/vba/excel/Range \ + oovbaapi/ooo/vba/excel/TextFrame \ + oovbaapi/ooo/vba/excel/Window \ + oovbaapi/ooo/vba/excel/Workbook \ + oovbaapi/ooo/vba/excel/Worksheet \ +)) + +$(eval $(call gb_UnoApiTarget_add_idlfiles_noheader,oovbaapi,\ + oovbaapi/ooo/vba/ControlProvider \ + oovbaapi/ooo/vba/msforms/MSFormReturnTypes \ + oovbaapi/ooo/vba/excel/SheetObjects \ +)) + +$(eval $(call gb_UnoApiTarget_add_idlfiles,oovbaapi,\ + oovbaapi/ooo/vba/excel/XGraphicObjects \ + oovbaapi/ooo/vba/excel/XSheetObject \ + oovbaapi/ooo/vba/excel/XControlObject \ + oovbaapi/ooo/vba/excel/XButton \ + oovbaapi/ooo/vba/XApplicationBase \ + oovbaapi/ooo/vba/XAssistant \ + oovbaapi/ooo/vba/XCollection \ + oovbaapi/ooo/vba/XCollectionBase \ + oovbaapi/ooo/vba/XCommandBar \ + oovbaapi/ooo/vba/XCommandBarButton \ + oovbaapi/ooo/vba/XCommandBarControl \ + oovbaapi/ooo/vba/XCommandBarControls \ + oovbaapi/ooo/vba/XCommandBarPopup \ + oovbaapi/ooo/vba/XCommandBars \ + oovbaapi/ooo/vba/XControlProvider \ + oovbaapi/ooo/vba/XDialogBase \ + oovbaapi/ooo/vba/XDialogsBase \ + oovbaapi/ooo/vba/XDocumentBase \ + oovbaapi/ooo/vba/XDocumentProperties \ + oovbaapi/ooo/vba/XDocumentProperty \ + oovbaapi/ooo/vba/XDocumentsBase \ + oovbaapi/ooo/vba/XErrObject \ + oovbaapi/ooo/vba/XFileDialog \ + oovbaapi/ooo/vba/XFileDialogSelectedItems \ + oovbaapi/ooo/vba/XFileSearch \ + oovbaapi/ooo/vba/XFoundFiles \ + oovbaapi/ooo/vba/XFontBase \ + oovbaapi/ooo/vba/XGlobalsBase \ + oovbaapi/ooo/vba/XHelperInterface \ + oovbaapi/ooo/vba/XPageSetupBase \ + oovbaapi/ooo/vba/XPropValue \ + oovbaapi/ooo/vba/XVBAToOOEventDescGen \ + oovbaapi/ooo/vba/XWindowBase \ + oovbaapi/ooo/vba/excel/XApplication \ + oovbaapi/ooo/vba/excel/XAxes \ + oovbaapi/ooo/vba/excel/XAxis \ + oovbaapi/ooo/vba/excel/XAxisTitle \ + oovbaapi/ooo/vba/excel/XBorder \ + oovbaapi/ooo/vba/excel/XBorders \ + oovbaapi/ooo/vba/excel/XCharacters \ + oovbaapi/ooo/vba/excel/XChart \ + oovbaapi/ooo/vba/excel/XChartObject \ + oovbaapi/ooo/vba/excel/XChartObjects \ + oovbaapi/ooo/vba/excel/XChartTitle \ + oovbaapi/ooo/vba/excel/XCharts \ + oovbaapi/ooo/vba/excel/XComment \ + oovbaapi/ooo/vba/excel/XComments \ + oovbaapi/ooo/vba/excel/XDataLabel \ + oovbaapi/ooo/vba/excel/XDataLabels \ + oovbaapi/ooo/vba/excel/XDialog \ + oovbaapi/ooo/vba/excel/XDialogs \ + oovbaapi/ooo/vba/excel/XFont \ + oovbaapi/ooo/vba/excel/XFormat \ + oovbaapi/ooo/vba/excel/XFormatCondition \ + oovbaapi/ooo/vba/excel/XFormatConditions \ + oovbaapi/ooo/vba/excel/XGlobals \ + oovbaapi/ooo/vba/excel/XHPageBreak \ + oovbaapi/ooo/vba/excel/XHPageBreaks \ + oovbaapi/ooo/vba/excel/XHyperlink \ + oovbaapi/ooo/vba/excel/XHyperlinks \ + oovbaapi/ooo/vba/excel/XInterior \ + oovbaapi/ooo/vba/excel/XMenu \ + oovbaapi/ooo/vba/excel/XMenuBar \ + oovbaapi/ooo/vba/excel/XMenuBars \ + oovbaapi/ooo/vba/excel/XMenuItem \ + oovbaapi/ooo/vba/excel/XMenuItems \ + oovbaapi/ooo/vba/excel/XMenus \ + oovbaapi/ooo/vba/excel/XName \ + oovbaapi/ooo/vba/excel/XNames \ + oovbaapi/ooo/vba/excel/XOLEObject \ + oovbaapi/ooo/vba/excel/XOLEObjects \ + oovbaapi/ooo/vba/excel/XOutline \ + oovbaapi/ooo/vba/excel/XPageBreak \ + oovbaapi/ooo/vba/excel/XPageSetup \ + oovbaapi/ooo/vba/excel/XPane \ + oovbaapi/ooo/vba/excel/XPivotCache \ + oovbaapi/ooo/vba/excel/XPivotTable \ + oovbaapi/ooo/vba/excel/XPivotTables \ + oovbaapi/ooo/vba/excel/XQueryTable \ + oovbaapi/ooo/vba/excel/XRange \ + oovbaapi/ooo/vba/excel/XSeries \ + oovbaapi/ooo/vba/excel/XSeriesCollection \ + oovbaapi/ooo/vba/excel/XStyle \ + oovbaapi/ooo/vba/excel/XStyles \ + oovbaapi/ooo/vba/excel/XTextFrame \ + oovbaapi/ooo/vba/excel/XTitle \ + oovbaapi/ooo/vba/excel/XVPageBreak \ + oovbaapi/ooo/vba/excel/XVPageBreaks \ + oovbaapi/ooo/vba/excel/XValidation \ + oovbaapi/ooo/vba/excel/XWindow \ + oovbaapi/ooo/vba/excel/XWindows \ + oovbaapi/ooo/vba/excel/XWorkbook \ + oovbaapi/ooo/vba/excel/XWorkbooks \ + oovbaapi/ooo/vba/excel/XWorksheet \ + oovbaapi/ooo/vba/excel/XWorksheetFunction \ + oovbaapi/ooo/vba/excel/XWorksheets \ + oovbaapi/ooo/vba/excel/XlBuildInDialog \ + oovbaapi/ooo/vba/msforms/XButton \ + oovbaapi/ooo/vba/msforms/XCheckBox \ + oovbaapi/ooo/vba/msforms/XColorFormat \ + oovbaapi/ooo/vba/msforms/XComboBox \ + oovbaapi/ooo/vba/msforms/XCommandButton \ + oovbaapi/ooo/vba/msforms/XControl \ + oovbaapi/ooo/vba/msforms/XControls \ + oovbaapi/ooo/vba/msforms/XFillFormat \ + oovbaapi/ooo/vba/msforms/XFrame \ + oovbaapi/ooo/vba/msforms/XGroupBox \ + oovbaapi/ooo/vba/msforms/XImage \ + oovbaapi/ooo/vba/msforms/XLabel \ + oovbaapi/ooo/vba/msforms/XLineFormat \ + oovbaapi/ooo/vba/msforms/XListBox \ + oovbaapi/ooo/vba/msforms/XMultiPage \ + oovbaapi/ooo/vba/msforms/XNewFont \ + oovbaapi/ooo/vba/msforms/XPages \ + oovbaapi/ooo/vba/msforms/XPictureFormat \ + oovbaapi/ooo/vba/msforms/XProgressBar \ + oovbaapi/ooo/vba/msforms/XRadioButton \ + oovbaapi/ooo/vba/msforms/XReturnBoolean \ + oovbaapi/ooo/vba/msforms/XReturnInteger \ + oovbaapi/ooo/vba/msforms/XScrollBar \ + oovbaapi/ooo/vba/msforms/XShape \ + oovbaapi/ooo/vba/msforms/XShapeRange \ + oovbaapi/ooo/vba/msforms/XShapes \ + oovbaapi/ooo/vba/msforms/XSpinButton \ + oovbaapi/ooo/vba/msforms/XTextBox \ + oovbaapi/ooo/vba/msforms/XTextBoxShape \ + oovbaapi/ooo/vba/msforms/XTextFrame \ + oovbaapi/ooo/vba/msforms/XToggleButton \ + oovbaapi/ooo/vba/msforms/XUserForm \ + oovbaapi/ooo/vba/word/XAddin \ + oovbaapi/ooo/vba/word/XAddins \ + oovbaapi/ooo/vba/word/XApplication \ + oovbaapi/ooo/vba/word/XAutoTextEntries \ + oovbaapi/ooo/vba/word/XAutoTextEntry \ + oovbaapi/ooo/vba/word/XBookmark \ + oovbaapi/ooo/vba/word/XBookmarks \ + oovbaapi/ooo/vba/word/XBorder \ + oovbaapi/ooo/vba/word/XBorders \ + oovbaapi/ooo/vba/word/XCell \ + oovbaapi/ooo/vba/word/XCells \ + oovbaapi/ooo/vba/word/XColumn \ + oovbaapi/ooo/vba/word/XColumns \ + oovbaapi/ooo/vba/word/XDialog \ + oovbaapi/ooo/vba/word/XDialogs \ + oovbaapi/ooo/vba/word/XDocument \ + oovbaapi/ooo/vba/word/XDocuments \ + oovbaapi/ooo/vba/word/XField \ + oovbaapi/ooo/vba/word/XFields \ + oovbaapi/ooo/vba/word/XFind \ + oovbaapi/ooo/vba/word/XFont \ + oovbaapi/ooo/vba/word/XFormField \ + oovbaapi/ooo/vba/word/XFormFields \ + oovbaapi/ooo/vba/word/XFrame \ + oovbaapi/ooo/vba/word/XFrames \ + oovbaapi/ooo/vba/word/XGlobals \ + oovbaapi/ooo/vba/word/XHeaderFooter \ + oovbaapi/ooo/vba/word/XHeadersFooters \ + oovbaapi/ooo/vba/word/XListFormat \ + oovbaapi/ooo/vba/word/XListGallery \ + oovbaapi/ooo/vba/word/XListGalleries \ + oovbaapi/ooo/vba/word/XListLevel \ + oovbaapi/ooo/vba/word/XListLevels \ + oovbaapi/ooo/vba/word/XListTemplate \ + oovbaapi/ooo/vba/word/XListTemplates \ + oovbaapi/ooo/vba/word/XOptions \ + oovbaapi/ooo/vba/word/XPageSetup \ + oovbaapi/ooo/vba/word/XPane \ + oovbaapi/ooo/vba/word/XPanes \ + oovbaapi/ooo/vba/word/XParagraph \ + oovbaapi/ooo/vba/word/XParagraphFormat \ + oovbaapi/ooo/vba/word/XParagraphs \ + oovbaapi/ooo/vba/word/XRange \ + oovbaapi/ooo/vba/word/XReplacement \ + oovbaapi/ooo/vba/word/XRevision \ + oovbaapi/ooo/vba/word/XRevisions \ + oovbaapi/ooo/vba/word/XRow \ + oovbaapi/ooo/vba/word/XRows \ + oovbaapi/ooo/vba/word/XSection \ + oovbaapi/ooo/vba/word/XSections \ + oovbaapi/ooo/vba/word/XSelection \ + oovbaapi/ooo/vba/word/XStyle \ + oovbaapi/ooo/vba/word/XStyles \ + oovbaapi/ooo/vba/word/XSystem \ + oovbaapi/ooo/vba/word/XTable \ + oovbaapi/ooo/vba/word/XTableOfContents \ + oovbaapi/ooo/vba/word/XTables \ + oovbaapi/ooo/vba/word/XTablesOfContents \ + oovbaapi/ooo/vba/word/XTabStop \ + oovbaapi/ooo/vba/word/XTabStops \ + oovbaapi/ooo/vba/word/XTemplate \ + oovbaapi/ooo/vba/word/XVariable \ + oovbaapi/ooo/vba/word/XVariables \ + oovbaapi/ooo/vba/word/XView \ + oovbaapi/ooo/vba/word/XWindow \ + oovbaapi/ooo/vba/word/XWrapFormat \ + oovbaapi/ooo/vba/FormShowConstants \ + oovbaapi/ooo/vba/VbAppWinStyle \ + oovbaapi/ooo/vba/VbCalendar \ + oovbaapi/ooo/vba/VbCallType \ + oovbaapi/ooo/vba/VbCompareMethod \ + oovbaapi/ooo/vba/VbDateTimeFormat \ + oovbaapi/ooo/vba/VbDayOfWeek \ + oovbaapi/ooo/vba/VbFileAttribute \ + oovbaapi/ooo/vba/VbFirstWeekOfYear \ + oovbaapi/ooo/vba/VbIMEStatus \ + oovbaapi/ooo/vba/VbMsgBoxResult \ + oovbaapi/ooo/vba/VbMsgBoxStyle \ + oovbaapi/ooo/vba/VbQueryClose \ + oovbaapi/ooo/vba/VbStrConv \ + oovbaapi/ooo/vba/VbTriState \ + oovbaapi/ooo/vba/VbVarType \ + oovbaapi/ooo/vba/access/AcCloseSave \ + oovbaapi/ooo/vba/access/AcColorIndex \ + oovbaapi/ooo/vba/access/AcCommand \ + oovbaapi/ooo/vba/access/AcControlType \ + oovbaapi/ooo/vba/access/AcCurrentView \ + oovbaapi/ooo/vba/access/AcDataAccessPageView \ + oovbaapi/ooo/vba/access/AcDataObjectType \ + oovbaapi/ooo/vba/access/AcDataTransferType \ + oovbaapi/ooo/vba/access/AcDefView \ + oovbaapi/ooo/vba/access/AcExportXMLEncoding \ + oovbaapi/ooo/vba/access/AcExportXMLObjectType \ + oovbaapi/ooo/vba/access/AcExportXMLOtherFlags \ + oovbaapi/ooo/vba/access/AcExportXMLSchemaFormat \ + oovbaapi/ooo/vba/access/AcFileFormat \ + oovbaapi/ooo/vba/access/AcFilterType \ + oovbaapi/ooo/vba/access/AcFindField \ + oovbaapi/ooo/vba/access/AcFindMatch \ + oovbaapi/ooo/vba/access/AcFormOpenDataMode \ + oovbaapi/ooo/vba/access/AcFormView \ + oovbaapi/ooo/vba/access/AcFormatConditionOperator \ + oovbaapi/ooo/vba/access/AcFormatConditionType \ + oovbaapi/ooo/vba/access/AcHyperlinkPart \ + oovbaapi/ooo/vba/access/AcImeMode \ + oovbaapi/ooo/vba/access/AcImeSentenceMode \ + oovbaapi/ooo/vba/access/AcImportXMLOption \ + oovbaapi/ooo/vba/access/AcModuleType \ + oovbaapi/ooo/vba/access/AcObjectType \ + oovbaapi/ooo/vba/access/AcOpenDataMode \ + oovbaapi/ooo/vba/access/AcOutputObjectType \ + oovbaapi/ooo/vba/access/AcPrintColor \ + oovbaapi/ooo/vba/access/AcPrintDuplex \ + oovbaapi/ooo/vba/access/AcPrintItemLayout \ + oovbaapi/ooo/vba/access/AcPrintObjQuality \ + oovbaapi/ooo/vba/access/AcPrintOrientation \ + oovbaapi/ooo/vba/access/AcPrintPaperBin \ + oovbaapi/ooo/vba/access/AcPrintPaperSize \ + oovbaapi/ooo/vba/access/AcPrintQuality \ + oovbaapi/ooo/vba/access/AcPrintRange \ + oovbaapi/ooo/vba/access/AcProjectType \ + oovbaapi/ooo/vba/access/AcQuitOption \ + oovbaapi/ooo/vba/access/AcRecord \ + oovbaapi/ooo/vba/access/AcSearchDirection \ + oovbaapi/ooo/vba/access/AcSection \ + oovbaapi/ooo/vba/access/AcSendObjectType \ + oovbaapi/ooo/vba/access/AcShowToolbar \ + oovbaapi/ooo/vba/access/AcSpreadSheetType \ + oovbaapi/ooo/vba/access/AcSysCmdAction \ + oovbaapi/ooo/vba/access/AcTextTransferType \ + oovbaapi/ooo/vba/access/AcTransformXMLScriptOption \ + oovbaapi/ooo/vba/access/AcView \ + oovbaapi/ooo/vba/access/AcWindowMode \ + oovbaapi/ooo/vba/access/ProcKind \ + oovbaapi/ooo/vba/access/RefKind \ + oovbaapi/ooo/vba/adodb/ADCPROP_ASYNCTHREADPRIORITY_ENUM \ + oovbaapi/ooo/vba/adodb/ADCPROP_AUTORECALC_ENUM \ + oovbaapi/ooo/vba/adodb/ADCPROP_UPDATECRITERIA_ENUM \ + oovbaapi/ooo/vba/adodb/AffectEnum \ + oovbaapi/ooo/vba/adodb/BookmarkEnum \ + oovbaapi/ooo/vba/adodb/CEResyncEnum \ + oovbaapi/ooo/vba/adodb/CommandTypeEnum \ + oovbaapi/ooo/vba/adodb/CompareEnum \ + oovbaapi/ooo/vba/adodb/ConnectModeEnum \ + oovbaapi/ooo/vba/adodb/ConnectOptionEnum \ + oovbaapi/ooo/vba/adodb/ConnectPromptEnum \ + oovbaapi/ooo/vba/adodb/CursorLocationEnum \ + oovbaapi/ooo/vba/adodb/CursorOptionEnum \ + oovbaapi/ooo/vba/adodb/CursorTypeEnum \ + oovbaapi/ooo/vba/adodb/ErrorValueEnum \ + oovbaapi/ooo/vba/adodb/EventReasonEnum \ + oovbaapi/ooo/vba/adodb/EventStatusEnum \ + oovbaapi/ooo/vba/adodb/ExecuteOptionEnum \ + oovbaapi/ooo/vba/adodb/FilterGroupEnum \ + oovbaapi/ooo/vba/adodb/GetRowsOptionEnum \ + oovbaapi/ooo/vba/adodb/IsolationLevelEnum \ + oovbaapi/ooo/vba/adodb/MarshalOptionsEnum \ + oovbaapi/ooo/vba/adodb/ObjectStateEnum \ + oovbaapi/ooo/vba/adodb/ParameterAttributesEnum \ + oovbaapi/ooo/vba/adodb/PersistFormatEnum \ + oovbaapi/ooo/vba/adodb/PositionEnum \ + oovbaapi/ooo/vba/adodb/PropertyAttributesEnum \ + oovbaapi/ooo/vba/adodb/ResyncEnum \ + oovbaapi/ooo/vba/adodb/SchemaEnum \ + oovbaapi/ooo/vba/adodb/SearchDirectionEnum \ + oovbaapi/ooo/vba/adodb/SeekEnum \ + oovbaapi/ooo/vba/adodb/StringFormatEnum \ + oovbaapi/ooo/vba/adodb/XactAttributeEnum \ + oovbaapi/ooo/vba/dao/CollatingOrderEnum \ + oovbaapi/ooo/vba/dao/CommitTransOptionsEnum \ + oovbaapi/ooo/vba/dao/CursorDriverEnum \ + oovbaapi/ooo/vba/dao/DataTypeEnum \ + oovbaapi/ooo/vba/dao/DatabaseTypeEnum \ + oovbaapi/ooo/vba/dao/DriverPromptEnum \ + oovbaapi/ooo/vba/dao/EditModeEnum \ + oovbaapi/ooo/vba/dao/FieldAttributeEnum \ + oovbaapi/ooo/vba/dao/IdleEnum \ + oovbaapi/ooo/vba/dao/LockTypeEnum \ + oovbaapi/ooo/vba/dao/ParameterDirectionEnum \ + oovbaapi/ooo/vba/dao/PermissionEnum \ + oovbaapi/ooo/vba/dao/QueryDefStateEnum \ + oovbaapi/ooo/vba/dao/QueryDefTypeEnum \ + oovbaapi/ooo/vba/dao/RecordStatusEnum \ + oovbaapi/ooo/vba/dao/RecordsetOptionEnum \ + oovbaapi/ooo/vba/dao/RecordsetTypeEnum \ + oovbaapi/ooo/vba/dao/RelationAttributeEnum \ + oovbaapi/ooo/vba/dao/ReplicaTypeEnum \ + oovbaapi/ooo/vba/dao/SetOptionEnum \ + oovbaapi/ooo/vba/dao/SynchronizeTypeEnum \ + oovbaapi/ooo/vba/dao/TableDefAttributeEnum \ + oovbaapi/ooo/vba/dao/UpdateCriteriaEnum \ + oovbaapi/ooo/vba/dao/UpdateTypeEnum \ + oovbaapi/ooo/vba/dao/WorkspaceTypeEnum \ + oovbaapi/ooo/vba/excel/Constants \ + oovbaapi/ooo/vba/excel/XlApplicationInternational \ + oovbaapi/ooo/vba/excel/XlApplyNamesOrder \ + oovbaapi/ooo/vba/excel/XlArabicModes \ + oovbaapi/ooo/vba/excel/XlArrangeStyle \ + oovbaapi/ooo/vba/excel/XlArrowHeadLength \ + oovbaapi/ooo/vba/excel/XlArrowHeadStyle \ + oovbaapi/ooo/vba/excel/XlArrowHeadWidth \ + oovbaapi/ooo/vba/excel/XlAutoFillType \ + oovbaapi/ooo/vba/excel/XlAutoFilterOperator \ + oovbaapi/ooo/vba/excel/XlAxisCrosses \ + oovbaapi/ooo/vba/excel/XlAxisGroup \ + oovbaapi/ooo/vba/excel/XlAxisType \ + oovbaapi/ooo/vba/excel/XlBackground \ + oovbaapi/ooo/vba/excel/XlBarShape \ + oovbaapi/ooo/vba/excel/XlBorderWeight \ + oovbaapi/ooo/vba/excel/XlBordersIndex \ + oovbaapi/ooo/vba/excel/XlBuiltInDialog \ + oovbaapi/ooo/vba/excel/XlCVError \ + oovbaapi/ooo/vba/excel/XlCalculatedMemberType \ + oovbaapi/ooo/vba/excel/XlCalculation \ + oovbaapi/ooo/vba/excel/XlCalculationInterruptKey \ + oovbaapi/ooo/vba/excel/XlCalculationState \ + oovbaapi/ooo/vba/excel/XlCategoryType \ + oovbaapi/ooo/vba/excel/XlCellInsertionMode \ + oovbaapi/ooo/vba/excel/XlCellType \ + oovbaapi/ooo/vba/excel/XlChartGallery \ + oovbaapi/ooo/vba/excel/XlChartItem \ + oovbaapi/ooo/vba/excel/XlChartLocation \ + oovbaapi/ooo/vba/excel/XlChartPicturePlacement \ + oovbaapi/ooo/vba/excel/XlChartPictureType \ + oovbaapi/ooo/vba/excel/XlChartSplitType \ + oovbaapi/ooo/vba/excel/XlChartType \ + oovbaapi/ooo/vba/excel/XlClipboardFormat \ + oovbaapi/ooo/vba/excel/XlCmdType \ + oovbaapi/ooo/vba/excel/XlColorIndex \ + oovbaapi/ooo/vba/excel/XlColumnDataType \ + oovbaapi/ooo/vba/excel/XlCommandUnderlines \ + oovbaapi/ooo/vba/excel/XlCommentDisplayMode \ + oovbaapi/ooo/vba/excel/XlConsolidationFunction \ + oovbaapi/ooo/vba/excel/XlCopyPictureFormat \ + oovbaapi/ooo/vba/excel/XlCorruptLoad \ + oovbaapi/ooo/vba/excel/XlCreator \ + oovbaapi/ooo/vba/excel/XlCubeFieldType \ + oovbaapi/ooo/vba/excel/XlCutCopyMode \ + oovbaapi/ooo/vba/excel/XlDVAlertStyle \ + oovbaapi/ooo/vba/excel/XlDVType \ + oovbaapi/ooo/vba/excel/XlDataLabelPosition \ + oovbaapi/ooo/vba/excel/XlDataLabelSeparator \ + oovbaapi/ooo/vba/excel/XlDataLabelsType \ + oovbaapi/ooo/vba/excel/XlDataSeriesDate \ + oovbaapi/ooo/vba/excel/XlDataSeriesType \ + oovbaapi/ooo/vba/excel/XlDeleteShiftDirection \ + oovbaapi/ooo/vba/excel/XlDirection \ + oovbaapi/ooo/vba/excel/XlDisplayBlanksAs \ + oovbaapi/ooo/vba/excel/XlDisplayDrawingObjects \ + oovbaapi/ooo/vba/excel/XlDisplayUnit \ + oovbaapi/ooo/vba/excel/XlEditionFormat \ + oovbaapi/ooo/vba/excel/XlEditionOptionsOption \ + oovbaapi/ooo/vba/excel/XlEditionType \ + oovbaapi/ooo/vba/excel/XlEnableCancelKey \ + oovbaapi/ooo/vba/excel/XlEnableSelection \ + oovbaapi/ooo/vba/excel/XlEndStyleCap \ + oovbaapi/ooo/vba/excel/XlErrorBarDirection \ + oovbaapi/ooo/vba/excel/XlErrorBarInclude \ + oovbaapi/ooo/vba/excel/XlErrorBarType \ + oovbaapi/ooo/vba/excel/XlErrorChecks \ + oovbaapi/ooo/vba/excel/XlFileAccess \ + oovbaapi/ooo/vba/excel/XlFileFormat \ + oovbaapi/ooo/vba/excel/XlFillWith \ + oovbaapi/ooo/vba/excel/XlFilterAction \ + oovbaapi/ooo/vba/excel/XlFindLookIn \ + oovbaapi/ooo/vba/excel/XlFormControl \ + oovbaapi/ooo/vba/excel/XlFormatConditionOperator \ + oovbaapi/ooo/vba/excel/XlFormatConditionType \ + oovbaapi/ooo/vba/excel/XlFormulaLabel \ + oovbaapi/ooo/vba/excel/XlHAlign \ + oovbaapi/ooo/vba/excel/XlHebrewModes \ + oovbaapi/ooo/vba/excel/XlHighlightChangesTime \ + oovbaapi/ooo/vba/excel/XlHtmlType \ + oovbaapi/ooo/vba/excel/XlIMEMode \ + oovbaapi/ooo/vba/excel/XlImportDataAs \ + oovbaapi/ooo/vba/excel/XlInsertFormatOrigin \ + oovbaapi/ooo/vba/excel/XlInsertShiftDirection \ + oovbaapi/ooo/vba/excel/XlLayoutFormType \ + oovbaapi/ooo/vba/excel/XlLegendPosition \ + oovbaapi/ooo/vba/excel/XlLineStyle \ + oovbaapi/ooo/vba/excel/XlLink \ + oovbaapi/ooo/vba/excel/XlLinkInfo \ + oovbaapi/ooo/vba/excel/XlLinkInfoType \ + oovbaapi/ooo/vba/excel/XlLinkStatus \ + oovbaapi/ooo/vba/excel/XlLinkType \ + oovbaapi/ooo/vba/excel/XlListConflict \ + oovbaapi/ooo/vba/excel/XlListDataType \ + oovbaapi/ooo/vba/excel/XlListObjectSourceType \ + oovbaapi/ooo/vba/excel/XlLocationInTable \ + oovbaapi/ooo/vba/excel/XlLookAt \ + oovbaapi/ooo/vba/excel/XlMSApplication \ + oovbaapi/ooo/vba/excel/XlMailSystem \ + oovbaapi/ooo/vba/excel/XlMarkerStyle \ + oovbaapi/ooo/vba/excel/XlMouseButton \ + oovbaapi/ooo/vba/excel/XlMousePointer \ + oovbaapi/ooo/vba/excel/XlOLEType \ + oovbaapi/ooo/vba/excel/XlOLEVerb \ + oovbaapi/ooo/vba/excel/XlObjectSize \ + oovbaapi/ooo/vba/excel/XlOrder \ + oovbaapi/ooo/vba/excel/XlOrientation \ + oovbaapi/ooo/vba/excel/XlPTSelectionMode \ + oovbaapi/ooo/vba/excel/XlPageBreak \ + oovbaapi/ooo/vba/excel/XlPageBreakExtent \ + oovbaapi/ooo/vba/excel/XlPageOrientation \ + oovbaapi/ooo/vba/excel/XlPaperSize \ + oovbaapi/ooo/vba/excel/XlParameterDataType \ + oovbaapi/ooo/vba/excel/XlParameterType \ + oovbaapi/ooo/vba/excel/XlPasteSpecialOperation \ + oovbaapi/ooo/vba/excel/XlPasteType \ + oovbaapi/ooo/vba/excel/XlPattern \ + oovbaapi/ooo/vba/excel/XlPhoneticAlignment \ + oovbaapi/ooo/vba/excel/XlPhoneticCharacterType \ + oovbaapi/ooo/vba/excel/XlPictureAppearance \ + oovbaapi/ooo/vba/excel/XlPictureConvertorType \ + oovbaapi/ooo/vba/excel/XlPivotCellType \ + oovbaapi/ooo/vba/excel/XlPivotFieldCalculation \ + oovbaapi/ooo/vba/excel/XlPivotFieldDataType \ + oovbaapi/ooo/vba/excel/XlPivotFieldOrientation \ + oovbaapi/ooo/vba/excel/XlPivotFormatType \ + oovbaapi/ooo/vba/excel/XlPivotTableMissingItems \ + oovbaapi/ooo/vba/excel/XlPivotTableSourceType \ + oovbaapi/ooo/vba/excel/XlPivotTableVersionList \ + oovbaapi/ooo/vba/excel/XlPlacement \ + oovbaapi/ooo/vba/excel/XlPlatform \ + oovbaapi/ooo/vba/excel/XlPrintErrors \ + oovbaapi/ooo/vba/excel/XlPrintLocation \ + oovbaapi/ooo/vba/excel/XlPriority \ + oovbaapi/ooo/vba/excel/XlQueryType \ + oovbaapi/ooo/vba/excel/XlRangeAutoFormat \ + oovbaapi/ooo/vba/excel/XlRangeValueDataType \ + oovbaapi/ooo/vba/excel/XlReferenceStyle \ + oovbaapi/ooo/vba/excel/XlReferenceType \ + oovbaapi/ooo/vba/excel/XlRobustConnect \ + oovbaapi/ooo/vba/excel/XlRoutingSlipDelivery \ + oovbaapi/ooo/vba/excel/XlRoutingSlipStatus \ + oovbaapi/ooo/vba/excel/XlRowCol \ + oovbaapi/ooo/vba/excel/XlRunAutoMacro \ + oovbaapi/ooo/vba/excel/XlSaveAction \ + oovbaapi/ooo/vba/excel/XlSaveAsAccessMode \ + oovbaapi/ooo/vba/excel/XlSaveConflictResolution \ + oovbaapi/ooo/vba/excel/XlScaleType \ + oovbaapi/ooo/vba/excel/XlSearchDirection \ + oovbaapi/ooo/vba/excel/XlSearchOrder \ + oovbaapi/ooo/vba/excel/XlSearchWithin \ + oovbaapi/ooo/vba/excel/XlSheetType \ + oovbaapi/ooo/vba/excel/XlSheetVisibility \ + oovbaapi/ooo/vba/excel/XlSizeRepresents \ + oovbaapi/ooo/vba/excel/XlSmartTagControlType \ + oovbaapi/ooo/vba/excel/XlSmartTagDisplayMode \ + oovbaapi/ooo/vba/excel/XlSortDataOption \ + oovbaapi/ooo/vba/excel/XlSortMethod \ + oovbaapi/ooo/vba/excel/XlSortMethodOld \ + oovbaapi/ooo/vba/excel/XlSortOrder \ + oovbaapi/ooo/vba/excel/XlSortOrientation \ + oovbaapi/ooo/vba/excel/XlSortType \ + oovbaapi/ooo/vba/excel/XlSourceType \ + oovbaapi/ooo/vba/excel/XlSpeakDirection \ + oovbaapi/ooo/vba/excel/XlSpecialCellsValue \ + oovbaapi/ooo/vba/excel/XlSubscribeToFormat \ + oovbaapi/ooo/vba/excel/XlSubtototalLocationType \ + oovbaapi/ooo/vba/excel/XlSummaryColumn \ + oovbaapi/ooo/vba/excel/XlSummaryReportType \ + oovbaapi/ooo/vba/excel/XlSummaryRow \ + oovbaapi/ooo/vba/excel/XlTabPosition \ + oovbaapi/ooo/vba/excel/XlTextParsingType \ + oovbaapi/ooo/vba/excel/XlTextQualifier \ + oovbaapi/ooo/vba/excel/XlTextVisualLayoutType \ + oovbaapi/ooo/vba/excel/XlTickLabelOrientation \ + oovbaapi/ooo/vba/excel/XlTickLabelPosition \ + oovbaapi/ooo/vba/excel/XlTickMark \ + oovbaapi/ooo/vba/excel/XlTimeUnit \ + oovbaapi/ooo/vba/excel/XlToolbarProtection \ + oovbaapi/ooo/vba/excel/XlTotalsCalculation \ + oovbaapi/ooo/vba/excel/XlTrendlineType \ + oovbaapi/ooo/vba/excel/XlUnderlineStyle \ + oovbaapi/ooo/vba/excel/XlUpdateLinks \ + oovbaapi/ooo/vba/excel/XlVAlign \ + oovbaapi/ooo/vba/excel/XlWBATemplate \ + oovbaapi/ooo/vba/excel/XlWebFormatting \ + oovbaapi/ooo/vba/excel/XlWebSelectionType \ + oovbaapi/ooo/vba/excel/XlWindowState \ + oovbaapi/ooo/vba/excel/XlWindowType \ + oovbaapi/ooo/vba/excel/XlWindowView \ + oovbaapi/ooo/vba/excel/XlXLMMacroType \ + oovbaapi/ooo/vba/excel/XlXmlExportResult \ + oovbaapi/ooo/vba/excel/XlXmlImportResult \ + oovbaapi/ooo/vba/excel/XlXmlLoadOption \ + oovbaapi/ooo/vba/excel/XlYesNoGuess \ + oovbaapi/ooo/vba/msforms/fmAction \ + oovbaapi/ooo/vba/msforms/fmAlignment \ + oovbaapi/ooo/vba/msforms/fmBackStyle \ + oovbaapi/ooo/vba/msforms/fmBorderStyle \ + oovbaapi/ooo/vba/msforms/fmBorders \ + oovbaapi/ooo/vba/msforms/fmButtonEffect \ + oovbaapi/ooo/vba/msforms/fmButtonStyle \ + oovbaapi/ooo/vba/msforms/fmCycle \ + oovbaapi/ooo/vba/msforms/fmDisplayStyle \ + oovbaapi/ooo/vba/msforms/fmDragBehavior \ + oovbaapi/ooo/vba/msforms/fmDragState \ + oovbaapi/ooo/vba/msforms/fmDropButtonStyle \ + oovbaapi/ooo/vba/msforms/fmDropEffect \ + oovbaapi/ooo/vba/msforms/fmEnterFieldBehavior \ + oovbaapi/ooo/vba/msforms/fmIMEMode \ + oovbaapi/ooo/vba/msforms/fmLayoutEffect \ + oovbaapi/ooo/vba/msforms/fmListStyle \ + oovbaapi/ooo/vba/msforms/fmMatchEntry \ + oovbaapi/ooo/vba/msforms/fmMode \ + oovbaapi/ooo/vba/msforms/fmMousePointer \ + oovbaapi/ooo/vba/msforms/fmMultiSelect \ + oovbaapi/ooo/vba/msforms/fmOrientation \ + oovbaapi/ooo/vba/msforms/fmPicPosition \ + oovbaapi/ooo/vba/msforms/fmPictureAlignment \ + oovbaapi/ooo/vba/msforms/fmPicturePosition \ + oovbaapi/ooo/vba/msforms/fmPictureSizeMode \ + oovbaapi/ooo/vba/msforms/fmScrollAction \ + oovbaapi/ooo/vba/msforms/fmScrollBars \ + oovbaapi/ooo/vba/msforms/fmShowDropButtonWhen \ + oovbaapi/ooo/vba/msforms/fmShowListWhen \ + oovbaapi/ooo/vba/msforms/fmSnapPoint \ + oovbaapi/ooo/vba/msforms/fmSpecialEffect \ + oovbaapi/ooo/vba/msforms/fmStyle \ + oovbaapi/ooo/vba/msforms/fmTabOrientation \ + oovbaapi/ooo/vba/msforms/fmTabStyle \ + oovbaapi/ooo/vba/msforms/fmTextAlign \ + oovbaapi/ooo/vba/msforms/fmTransitionEffect \ + oovbaapi/ooo/vba/msforms/fmVerticalScrollBarSide \ + oovbaapi/ooo/vba/msforms/fmZOrder \ + oovbaapi/ooo/vba/office/DocProperties \ + oovbaapi/ooo/vba/office/MailFormat \ + oovbaapi/ooo/vba/office/MsoAlertButtonType \ + oovbaapi/ooo/vba/office/MsoAlertCancelType \ + oovbaapi/ooo/vba/office/MsoAlertDefaultType \ + oovbaapi/ooo/vba/office/MsoAlertIconType \ + oovbaapi/ooo/vba/office/MsoAlignCmd \ + oovbaapi/ooo/vba/office/MsoAnimationType \ + oovbaapi/ooo/vba/office/MsoAppLanguageID \ + oovbaapi/ooo/vba/office/MsoArrowheadLength \ + oovbaapi/ooo/vba/office/MsoArrowheadStyle \ + oovbaapi/ooo/vba/office/MsoArrowheadWidth \ + oovbaapi/ooo/vba/office/MsoAutoShapeType \ + oovbaapi/ooo/vba/office/MsoAutomationSecurity \ + oovbaapi/ooo/vba/office/MsoBalloonButtonType \ + oovbaapi/ooo/vba/office/MsoBalloonErrorType \ + oovbaapi/ooo/vba/office/MsoBalloonType \ + oovbaapi/ooo/vba/office/MsoBarPosition \ + oovbaapi/ooo/vba/office/MsoBarProtection \ + oovbaapi/ooo/vba/office/MsoBarRow \ + oovbaapi/ooo/vba/office/MsoBarType \ + oovbaapi/ooo/vba/office/MsoBlackWhiteMode \ + oovbaapi/ooo/vba/office/MsoButtonSetType \ + oovbaapi/ooo/vba/office/MsoButtonState \ + oovbaapi/ooo/vba/office/MsoButtonStyle \ + oovbaapi/ooo/vba/office/MsoButtonStyleHidden \ + oovbaapi/ooo/vba/office/MsoCalloutAngleType \ + oovbaapi/ooo/vba/office/MsoCalloutDropType \ + oovbaapi/ooo/vba/office/MsoCalloutType \ + oovbaapi/ooo/vba/office/MsoCharacterSet \ + oovbaapi/ooo/vba/office/MsoColorType \ + oovbaapi/ooo/vba/office/MsoComboStyle \ + oovbaapi/ooo/vba/office/MsoCommandBarButtonHyperlinkType \ + oovbaapi/ooo/vba/office/MsoCondition \ + oovbaapi/ooo/vba/office/MsoConnector \ + oovbaapi/ooo/vba/office/MsoConnectorType \ + oovbaapi/ooo/vba/office/MsoControlOLEUsage \ + oovbaapi/ooo/vba/office/MsoControlType \ + oovbaapi/ooo/vba/office/MsoDiagramNodeType \ + oovbaapi/ooo/vba/office/MsoDiagramType \ + oovbaapi/ooo/vba/office/MsoDistributeCmd \ + oovbaapi/ooo/vba/office/MsoDocProperties \ + oovbaapi/ooo/vba/office/MsoEditingType \ + oovbaapi/ooo/vba/office/MsoEncoding \ + oovbaapi/ooo/vba/office/MsoExtraInfoMethod \ + oovbaapi/ooo/vba/office/MsoExtrusionColorType \ + oovbaapi/ooo/vba/office/MsoFarEastLineBreakLanguageID \ + oovbaapi/ooo/vba/office/MsoFeatureInstall \ + oovbaapi/ooo/vba/office/MsoFileDialogType \ + oovbaapi/ooo/vba/office/MsoFileDialogView \ + oovbaapi/ooo/vba/office/MsoFileFindListBy \ + oovbaapi/ooo/vba/office/MsoFileFindOptions \ + oovbaapi/ooo/vba/office/MsoFileFindSortBy \ + oovbaapi/ooo/vba/office/MsoFileFindView \ + oovbaapi/ooo/vba/office/MsoFileNewAction \ + oovbaapi/ooo/vba/office/MsoFileNewSection \ + oovbaapi/ooo/vba/office/MsoFileType \ + oovbaapi/ooo/vba/office/MsoFillType \ + oovbaapi/ooo/vba/office/MsoFilterComparison \ + oovbaapi/ooo/vba/office/MsoFilterConjunction \ + oovbaapi/ooo/vba/office/MsoFlipCmd \ + oovbaapi/ooo/vba/office/MsoGradientColorType \ + oovbaapi/ooo/vba/office/MsoGradientStyle \ + oovbaapi/ooo/vba/office/MsoHTMLProjectOpen \ + oovbaapi/ooo/vba/office/MsoHTMLProjectState \ + oovbaapi/ooo/vba/office/MsoHorizontalAnchor \ + oovbaapi/ooo/vba/office/MsoHyperlinkType \ + oovbaapi/ooo/vba/office/MsoIconType \ + oovbaapi/ooo/vba/office/MsoLanguageID \ + oovbaapi/ooo/vba/office/MsoLanguageIDHidden \ + oovbaapi/ooo/vba/office/MsoLastModified \ + oovbaapi/ooo/vba/office/MsoLineDashStyle \ + oovbaapi/ooo/vba/office/MsoLineStyle \ + oovbaapi/ooo/vba/office/MsoMenuAnimation \ + oovbaapi/ooo/vba/office/MsoMixedType \ + oovbaapi/ooo/vba/office/MsoModeType \ + oovbaapi/ooo/vba/office/MsoMoveRow \ + oovbaapi/ooo/vba/office/MsoOLEMenuGroup \ + oovbaapi/ooo/vba/office/MsoOrgChartLayoutType \ + oovbaapi/ooo/vba/office/MsoOrgChartOrientation \ + oovbaapi/ooo/vba/office/MsoOrientation \ + oovbaapi/ooo/vba/office/MsoPatternType \ + oovbaapi/ooo/vba/office/MsoPermission \ + oovbaapi/ooo/vba/office/MsoPictureColorType \ + oovbaapi/ooo/vba/office/MsoPresetExtrusionDirection \ + oovbaapi/ooo/vba/office/MsoPresetGradientType \ + oovbaapi/ooo/vba/office/MsoPresetLightingDirection \ + oovbaapi/ooo/vba/office/MsoPresetLightingSoftness \ + oovbaapi/ooo/vba/office/MsoPresetMaterial \ + oovbaapi/ooo/vba/office/MsoPresetTextEffect \ + oovbaapi/ooo/vba/office/MsoPresetTextEffectShape \ + oovbaapi/ooo/vba/office/MsoPresetTexture \ + oovbaapi/ooo/vba/office/MsoPresetThreeDFormat \ + oovbaapi/ooo/vba/office/MsoRelativeNodePosition \ + oovbaapi/ooo/vba/office/MsoScaleFrom \ + oovbaapi/ooo/vba/office/MsoScreenSize \ + oovbaapi/ooo/vba/office/MsoScriptLanguage \ + oovbaapi/ooo/vba/office/MsoScriptLocation \ + oovbaapi/ooo/vba/office/MsoSearchIn \ + oovbaapi/ooo/vba/office/MsoSegmentType \ + oovbaapi/ooo/vba/office/MsoShadowType \ + oovbaapi/ooo/vba/office/MsoShapeType \ + oovbaapi/ooo/vba/office/MsoSharedWorkspaceTaskPriority \ + oovbaapi/ooo/vba/office/MsoSharedWorkspaceTaskStatus \ + oovbaapi/ooo/vba/office/MsoSortBy \ + oovbaapi/ooo/vba/office/MsoSortOrder \ + oovbaapi/ooo/vba/office/MsoSyncAvailableType \ + oovbaapi/ooo/vba/office/MsoSyncCompareType \ + oovbaapi/ooo/vba/office/MsoSyncConflictResolutionType \ + oovbaapi/ooo/vba/office/MsoSyncErrorType \ + oovbaapi/ooo/vba/office/MsoSyncEventType \ + oovbaapi/ooo/vba/office/MsoSyncStatusType \ + oovbaapi/ooo/vba/office/MsoSyncVersionType \ + oovbaapi/ooo/vba/office/MsoTargetBrowser \ + oovbaapi/ooo/vba/office/MsoTextEffectAlignment \ + oovbaapi/ooo/vba/office/MsoTextOrientation \ + oovbaapi/ooo/vba/office/MsoTextureType \ + oovbaapi/ooo/vba/office/MsoTriState \ + oovbaapi/ooo/vba/office/MsoVerticalAnchor \ + oovbaapi/ooo/vba/office/MsoWizardActType \ + oovbaapi/ooo/vba/office/MsoWizardMsgType \ + oovbaapi/ooo/vba/office/MsoZOrderCmd \ + oovbaapi/ooo/vba/powerpoint/MsoAnimAccumulate \ + oovbaapi/ooo/vba/powerpoint/MsoAnimAdditive \ + oovbaapi/ooo/vba/powerpoint/MsoAnimAfterEffect \ + oovbaapi/ooo/vba/powerpoint/MsoAnimCommandType \ + oovbaapi/ooo/vba/powerpoint/MsoAnimDirection \ + oovbaapi/ooo/vba/powerpoint/MsoAnimEffect \ + oovbaapi/ooo/vba/powerpoint/MsoAnimEffectAfter \ + oovbaapi/ooo/vba/powerpoint/MsoAnimEffectRestart \ + oovbaapi/ooo/vba/powerpoint/MsoAnimFilterEffectSubtype \ + oovbaapi/ooo/vba/powerpoint/MsoAnimFilterEffectType \ + oovbaapi/ooo/vba/powerpoint/MsoAnimProperty \ + oovbaapi/ooo/vba/powerpoint/MsoAnimTextUnitEffect \ + oovbaapi/ooo/vba/powerpoint/MsoAnimTriggerType \ + oovbaapi/ooo/vba/powerpoint/MsoAnimType \ + oovbaapi/ooo/vba/powerpoint/MsoAnimateByLevel \ + oovbaapi/ooo/vba/powerpoint/PpActionType \ + oovbaapi/ooo/vba/powerpoint/PpAdvanceMode \ + oovbaapi/ooo/vba/powerpoint/PpAfterEffect \ + oovbaapi/ooo/vba/powerpoint/PpAlertLevel \ + oovbaapi/ooo/vba/powerpoint/PpArrangeStyle \ + oovbaapi/ooo/vba/powerpoint/PpAutoSize \ + oovbaapi/ooo/vba/powerpoint/PpBaselineAlignment \ + oovbaapi/ooo/vba/powerpoint/PpBorderType \ + oovbaapi/ooo/vba/powerpoint/PpBulletType \ + oovbaapi/ooo/vba/powerpoint/PpChangeCase \ + oovbaapi/ooo/vba/powerpoint/PpChartUnitEffect \ + oovbaapi/ooo/vba/powerpoint/PpColorSchemeIndex \ + oovbaapi/ooo/vba/powerpoint/PpDateTimeFormat \ + oovbaapi/ooo/vba/powerpoint/PpDirection \ + oovbaapi/ooo/vba/powerpoint/PpEntryEffect \ + oovbaapi/ooo/vba/powerpoint/PpExportMode \ + oovbaapi/ooo/vba/powerpoint/PpFarEastLineBreakLevel \ + oovbaapi/ooo/vba/powerpoint/PpFileDialogType \ + oovbaapi/ooo/vba/powerpoint/PpFollowColors \ + oovbaapi/ooo/vba/powerpoint/PpFrameColors \ + oovbaapi/ooo/vba/powerpoint/PpHTMLVersion \ + oovbaapi/ooo/vba/powerpoint/PpIndentControl \ + oovbaapi/ooo/vba/powerpoint/PpMediaType \ + oovbaapi/ooo/vba/powerpoint/PpMouseActivation \ + oovbaapi/ooo/vba/powerpoint/PpNumberedBulletStyle \ + oovbaapi/ooo/vba/powerpoint/PpParagraphAlignment \ + oovbaapi/ooo/vba/powerpoint/PpPasteDataType \ + oovbaapi/ooo/vba/powerpoint/PpPlaceholderType \ + oovbaapi/ooo/vba/powerpoint/PpPrintColorType \ + oovbaapi/ooo/vba/powerpoint/PpPrintHandoutOrder \ + oovbaapi/ooo/vba/powerpoint/PpPrintOutputType \ + oovbaapi/ooo/vba/powerpoint/PpPrintRangeType \ + oovbaapi/ooo/vba/powerpoint/PpPublishSourceType \ + oovbaapi/ooo/vba/powerpoint/PpRevisionInfo \ + oovbaapi/ooo/vba/powerpoint/PpSaveAsFileType \ + oovbaapi/ooo/vba/powerpoint/PpSelectionType \ + oovbaapi/ooo/vba/powerpoint/PpShapeFormat \ + oovbaapi/ooo/vba/powerpoint/PpSlideLayout \ + oovbaapi/ooo/vba/powerpoint/PpSlideShowAdvanceMode \ + oovbaapi/ooo/vba/powerpoint/PpSlideShowPointerType \ + oovbaapi/ooo/vba/powerpoint/PpSlideShowRangeType \ + oovbaapi/ooo/vba/powerpoint/PpSlideShowState \ + oovbaapi/ooo/vba/powerpoint/PpSlideShowType \ + oovbaapi/ooo/vba/powerpoint/PpSlideSizeType \ + oovbaapi/ooo/vba/powerpoint/PpSoundEffectType \ + oovbaapi/ooo/vba/powerpoint/PpSoundFormatType \ + oovbaapi/ooo/vba/powerpoint/PpTabStopType \ + oovbaapi/ooo/vba/powerpoint/PpTextLevelEffect \ + oovbaapi/ooo/vba/powerpoint/PpTextStyleType \ + oovbaapi/ooo/vba/powerpoint/PpTextUnitEffect \ + oovbaapi/ooo/vba/powerpoint/PpTransitionSpeed \ + oovbaapi/ooo/vba/powerpoint/PpUpdateOption \ + oovbaapi/ooo/vba/powerpoint/PpViewType \ + oovbaapi/ooo/vba/powerpoint/PpWindowState \ + oovbaapi/ooo/vba/stdole/LoadPictureConstants \ + oovbaapi/ooo/vba/stdole/OLE_TRISTATE \ + oovbaapi/ooo/vba/word/WdAlertLevel \ + oovbaapi/ooo/vba/word/WdAnimation \ + oovbaapi/ooo/vba/word/WdAraSpeller \ + oovbaapi/ooo/vba/word/WdArabicNumeral \ + oovbaapi/ooo/vba/word/WdArrangeStyle \ + oovbaapi/ooo/vba/word/WdAutoFitBehavior \ + oovbaapi/ooo/vba/word/WdAutoMacros \ + oovbaapi/ooo/vba/word/WdAutoVersions \ + oovbaapi/ooo/vba/word/WdBaselineAlignment \ + oovbaapi/ooo/vba/word/WdBookmarkSortBy \ + oovbaapi/ooo/vba/word/WdBorderDistanceFrom \ + oovbaapi/ooo/vba/word/WdBorderType \ + oovbaapi/ooo/vba/word/WdBorderTypeHID \ + oovbaapi/ooo/vba/word/WdBreakType \ + oovbaapi/ooo/vba/word/WdBrowseTarget \ + oovbaapi/ooo/vba/word/WdBrowserLevel \ + oovbaapi/ooo/vba/word/WdBuiltInProperty \ + oovbaapi/ooo/vba/word/WdBuiltinStyle \ + oovbaapi/ooo/vba/word/WdCalendarType \ + oovbaapi/ooo/vba/word/WdCalendarTypeBi \ + oovbaapi/ooo/vba/word/WdCaptionLabelID \ + oovbaapi/ooo/vba/word/WdCaptionNumberStyle \ + oovbaapi/ooo/vba/word/WdCaptionNumberStyleHID \ + oovbaapi/ooo/vba/word/WdCaptionPosition \ + oovbaapi/ooo/vba/word/WdCellVerticalAlignment \ + oovbaapi/ooo/vba/word/WdCharacterCase \ + oovbaapi/ooo/vba/word/WdCharacterCaseHID \ + oovbaapi/ooo/vba/word/WdCharacterWidth \ + oovbaapi/ooo/vba/word/WdChevronConvertRule \ + oovbaapi/ooo/vba/word/WdCollapseDirection \ + oovbaapi/ooo/vba/word/WdColor \ + oovbaapi/ooo/vba/word/WdColorIndex \ + oovbaapi/ooo/vba/word/WdCompareTarget \ + oovbaapi/ooo/vba/word/WdCompatibility \ + oovbaapi/ooo/vba/word/WdConditionCode \ + oovbaapi/ooo/vba/word/WdConstants \ + oovbaapi/ooo/vba/word/WdContinue \ + oovbaapi/ooo/vba/word/WdCountry \ + oovbaapi/ooo/vba/word/WdCursorMovement \ + oovbaapi/ooo/vba/word/WdCursorType \ + oovbaapi/ooo/vba/word/WdCustomLabelPageSize \ + oovbaapi/ooo/vba/word/WdDateLanguage \ + oovbaapi/ooo/vba/word/WdDefaultFilePath \ + oovbaapi/ooo/vba/word/WdDefaultListBehavior \ + oovbaapi/ooo/vba/word/WdDefaultTableBehavior \ + oovbaapi/ooo/vba/word/WdDeleteCells \ + oovbaapi/ooo/vba/word/WdDeletedTextMark \ + oovbaapi/ooo/vba/word/WdDiacriticColor \ + oovbaapi/ooo/vba/word/WdDictionaryType \ + oovbaapi/ooo/vba/word/WdDictionaryTypeHID \ + oovbaapi/ooo/vba/word/WdDisableFeaturesIntroducedAfter \ + oovbaapi/ooo/vba/word/WdDocumentDirection \ + oovbaapi/ooo/vba/word/WdDocumentKind \ + oovbaapi/ooo/vba/word/WdDocumentMedium \ + oovbaapi/ooo/vba/word/WdDocumentType \ + oovbaapi/ooo/vba/word/WdDocumentViewDirection \ + oovbaapi/ooo/vba/word/WdDropPosition \ + oovbaapi/ooo/vba/word/WdEditionOption \ + oovbaapi/ooo/vba/word/WdEditionType \ + oovbaapi/ooo/vba/word/WdEditorType \ + oovbaapi/ooo/vba/word/WdEmailHTMLFidelity \ + oovbaapi/ooo/vba/word/WdEmphasisMark \ + oovbaapi/ooo/vba/word/WdEnableCancelKey \ + oovbaapi/ooo/vba/word/WdEncloseStyle \ + oovbaapi/ooo/vba/word/WdEnclosureType \ + oovbaapi/ooo/vba/word/WdEndnoteLocation \ + oovbaapi/ooo/vba/word/WdEnvelopeOrientation \ + oovbaapi/ooo/vba/word/WdFarEastLineBreakLanguageID \ + oovbaapi/ooo/vba/word/WdFarEastLineBreakLevel \ + oovbaapi/ooo/vba/word/WdFieldKind \ + oovbaapi/ooo/vba/word/WdFieldShading \ + oovbaapi/ooo/vba/word/WdFieldType \ + oovbaapi/ooo/vba/word/WdFindMatch \ + oovbaapi/ooo/vba/word/WdFindWrap \ + oovbaapi/ooo/vba/word/WdFlowDirection \ + oovbaapi/ooo/vba/word/WdFontBias \ + oovbaapi/ooo/vba/word/WdFootnoteLocation \ + oovbaapi/ooo/vba/word/WdFramePosition \ + oovbaapi/ooo/vba/word/WdFrameSizeRule \ + oovbaapi/ooo/vba/word/WdFramesetNewFrameLocation \ + oovbaapi/ooo/vba/word/WdFramesetSizeType \ + oovbaapi/ooo/vba/word/WdFramesetType \ + oovbaapi/ooo/vba/word/WdGoToDirection \ + oovbaapi/ooo/vba/word/WdGoToItem \ + oovbaapi/ooo/vba/word/WdGutterStyle \ + oovbaapi/ooo/vba/word/WdGutterStyleOld \ + oovbaapi/ooo/vba/word/WdHeaderFooterIndex \ + oovbaapi/ooo/vba/word/WdHeadingSeparator \ + oovbaapi/ooo/vba/word/WdHebSpellStart \ + oovbaapi/ooo/vba/word/WdHelpType \ + oovbaapi/ooo/vba/word/WdHelpTypeHID \ + oovbaapi/ooo/vba/word/WdHighAnsiText \ + oovbaapi/ooo/vba/word/WdHorizontalInVerticalType \ + oovbaapi/ooo/vba/word/WdHorizontalLineAlignment \ + oovbaapi/ooo/vba/word/WdHorizontalLineWidthType \ + oovbaapi/ooo/vba/word/WdIMEMode \ + oovbaapi/ooo/vba/word/WdIndexFilter \ + oovbaapi/ooo/vba/word/WdIndexFormat \ + oovbaapi/ooo/vba/word/WdIndexSortBy \ + oovbaapi/ooo/vba/word/WdIndexType \ + oovbaapi/ooo/vba/word/WdInformation \ + oovbaapi/ooo/vba/word/WdInlineShapeType \ + oovbaapi/ooo/vba/word/WdInsertCells \ + oovbaapi/ooo/vba/word/WdInsertedTextMark \ + oovbaapi/ooo/vba/word/WdInternationalIndex \ + oovbaapi/ooo/vba/word/WdJustificationMode \ + oovbaapi/ooo/vba/word/WdKana \ + oovbaapi/ooo/vba/word/WdKey \ + oovbaapi/ooo/vba/word/WdKeyCategory \ + oovbaapi/ooo/vba/word/WdLanguageID \ + oovbaapi/ooo/vba/word/WdLanguageID2000 \ + oovbaapi/ooo/vba/word/WdLayoutMode \ + oovbaapi/ooo/vba/word/WdLetterStyle \ + oovbaapi/ooo/vba/word/WdLetterheadLocation \ + oovbaapi/ooo/vba/word/WdLineEndingType \ + oovbaapi/ooo/vba/word/WdLineSpacing \ + oovbaapi/ooo/vba/word/WdLineStyle \ + oovbaapi/ooo/vba/word/WdLineType \ + oovbaapi/ooo/vba/word/WdLineWidth \ + oovbaapi/ooo/vba/word/WdLinkType \ + oovbaapi/ooo/vba/word/WdListApplyTo \ + oovbaapi/ooo/vba/word/WdListGalleryType \ + oovbaapi/ooo/vba/word/WdListLevelAlignment \ + oovbaapi/ooo/vba/word/WdListNumberStyle \ + oovbaapi/ooo/vba/word/WdListNumberStyleHID \ + oovbaapi/ooo/vba/word/WdListType \ + oovbaapi/ooo/vba/word/WdMailMergeActiveRecord \ + oovbaapi/ooo/vba/word/WdMailMergeComparison \ + oovbaapi/ooo/vba/word/WdMailMergeDataSource \ + oovbaapi/ooo/vba/word/WdMailMergeDefaultRecord \ + oovbaapi/ooo/vba/word/WdMailMergeDestination \ + oovbaapi/ooo/vba/word/WdMailMergeMailFormat \ + oovbaapi/ooo/vba/word/WdMailMergeMainDocType \ + oovbaapi/ooo/vba/word/WdMailMergeState \ + oovbaapi/ooo/vba/word/WdMailSystem \ + oovbaapi/ooo/vba/word/WdMailerPriority \ + oovbaapi/ooo/vba/word/WdMappedDataFields \ + oovbaapi/ooo/vba/word/WdMeasurementUnits \ + oovbaapi/ooo/vba/word/WdMeasurementUnitsHID \ + oovbaapi/ooo/vba/word/WdMergeSubType \ + oovbaapi/ooo/vba/word/WdMergeTarget \ + oovbaapi/ooo/vba/word/WdMonthNames \ + oovbaapi/ooo/vba/word/WdMovementType \ + oovbaapi/ooo/vba/word/WdMultipleWordConversionsMode \ + oovbaapi/ooo/vba/word/WdNewDocumentType \ + oovbaapi/ooo/vba/word/WdNoteNumberStyle \ + oovbaapi/ooo/vba/word/WdNoteNumberStyleHID \ + oovbaapi/ooo/vba/word/WdNumberStyleWordBasicBiDi \ + oovbaapi/ooo/vba/word/WdNumberType \ + oovbaapi/ooo/vba/word/WdNumberingRule \ + oovbaapi/ooo/vba/word/WdOLEPlacement \ + oovbaapi/ooo/vba/word/WdOLEType \ + oovbaapi/ooo/vba/word/WdOLEVerb \ + oovbaapi/ooo/vba/word/WdOpenFormat \ + oovbaapi/ooo/vba/word/WdOrganizerObject \ + oovbaapi/ooo/vba/word/WdOrientation \ + oovbaapi/ooo/vba/word/WdOriginalFormat \ + oovbaapi/ooo/vba/word/WdOutlineLevel \ + oovbaapi/ooo/vba/word/WdPageBorderArt \ + oovbaapi/ooo/vba/word/WdPageFit \ + oovbaapi/ooo/vba/word/WdPageNumberAlignment \ + oovbaapi/ooo/vba/word/WdPageNumberStyle \ + oovbaapi/ooo/vba/word/WdPageNumberStyleHID \ + oovbaapi/ooo/vba/word/WdPaperSize \ + oovbaapi/ooo/vba/word/WdPaperTray \ + oovbaapi/ooo/vba/word/WdParagraphAlignment \ + oovbaapi/ooo/vba/word/WdParagraphAlignmentHID \ + oovbaapi/ooo/vba/word/WdPartOfSpeech \ + oovbaapi/ooo/vba/word/WdPasteDataType \ + oovbaapi/ooo/vba/word/WdPhoneticGuideAlignmentType \ + oovbaapi/ooo/vba/word/WdPictureLinkType \ + oovbaapi/ooo/vba/word/WdPreferredWidthType \ + oovbaapi/ooo/vba/word/WdPrintOutItem \ + oovbaapi/ooo/vba/word/WdPrintOutPages \ + oovbaapi/ooo/vba/word/WdPrintOutRange \ + oovbaapi/ooo/vba/word/WdProofreadingErrorType \ + oovbaapi/ooo/vba/word/WdProtectionType \ + oovbaapi/ooo/vba/word/WdReadingOrder \ + oovbaapi/ooo/vba/word/WdRecoveryType \ + oovbaapi/ooo/vba/word/WdRectangleType \ + oovbaapi/ooo/vba/word/WdReferenceKind \ + oovbaapi/ooo/vba/word/WdReferenceType \ + oovbaapi/ooo/vba/word/WdRelativeHorizontalPosition \ + oovbaapi/ooo/vba/word/WdRelativeVerticalPosition \ + oovbaapi/ooo/vba/word/WdRelocate \ + oovbaapi/ooo/vba/word/WdReplace \ + oovbaapi/ooo/vba/word/WdRevisedLinesMark \ + oovbaapi/ooo/vba/word/WdRevisedPropertiesMark \ + oovbaapi/ooo/vba/word/WdRevisionType \ + oovbaapi/ooo/vba/word/WdRevisionsBalloonMargin \ + oovbaapi/ooo/vba/word/WdRevisionsBalloonPrintOrientation \ + oovbaapi/ooo/vba/word/WdRevisionsBalloonWidthType \ + oovbaapi/ooo/vba/word/WdRevisionsMode \ + oovbaapi/ooo/vba/word/WdRevisionsView \ + oovbaapi/ooo/vba/word/WdRevisionsWrap \ + oovbaapi/ooo/vba/word/WdRoutingSlipDelivery \ + oovbaapi/ooo/vba/word/WdRoutingSlipStatus \ + oovbaapi/ooo/vba/word/WdRowAlignment \ + oovbaapi/ooo/vba/word/WdRowHeightRule \ + oovbaapi/ooo/vba/word/WdRulerStyle \ + oovbaapi/ooo/vba/word/WdSalutationGender \ + oovbaapi/ooo/vba/word/WdSalutationType \ + oovbaapi/ooo/vba/word/WdSaveFormat \ + oovbaapi/ooo/vba/word/WdSaveOptions \ + oovbaapi/ooo/vba/word/WdScrollbarType \ + oovbaapi/ooo/vba/word/WdSectionDirection \ + oovbaapi/ooo/vba/word/WdSectionStart \ + oovbaapi/ooo/vba/word/WdSeekView \ + oovbaapi/ooo/vba/word/WdSelectionFlags \ + oovbaapi/ooo/vba/word/WdSelectionType \ + oovbaapi/ooo/vba/word/WdSeparatorType \ + oovbaapi/ooo/vba/word/WdShapePosition \ + oovbaapi/ooo/vba/word/WdShowFilter \ + oovbaapi/ooo/vba/word/WdSmartTagControlType \ + oovbaapi/ooo/vba/word/WdSortFieldType \ + oovbaapi/ooo/vba/word/WdSortFieldTypeHID \ + oovbaapi/ooo/vba/word/WdSortOrder \ + oovbaapi/ooo/vba/word/WdSortSeparator \ + oovbaapi/ooo/vba/word/WdSpecialPane \ + oovbaapi/ooo/vba/word/WdSpellingErrorType \ + oovbaapi/ooo/vba/word/WdSpellingWordType \ + oovbaapi/ooo/vba/word/WdStatistic \ + oovbaapi/ooo/vba/word/WdStatisticHID \ + oovbaapi/ooo/vba/word/WdStoryType \ + oovbaapi/ooo/vba/word/WdStyleSheetLinkType \ + oovbaapi/ooo/vba/word/WdStyleSheetPrecedence \ + oovbaapi/ooo/vba/word/WdStyleType \ + oovbaapi/ooo/vba/word/WdSubscriberFormats \ + oovbaapi/ooo/vba/word/WdSummaryLength \ + oovbaapi/ooo/vba/word/WdSummaryMode \ + oovbaapi/ooo/vba/word/WdTCSCConverterDirection \ + oovbaapi/ooo/vba/word/WdTabAlignment \ + oovbaapi/ooo/vba/word/WdTabLeader \ + oovbaapi/ooo/vba/word/WdTabLeaderHID \ + oovbaapi/ooo/vba/word/WdTableDirection \ + oovbaapi/ooo/vba/word/WdTableFieldSeparator \ + oovbaapi/ooo/vba/word/WdTableFormat \ + oovbaapi/ooo/vba/word/WdTableFormatApply \ + oovbaapi/ooo/vba/word/WdTablePosition \ + oovbaapi/ooo/vba/word/WdTaskPanes \ + oovbaapi/ooo/vba/word/WdTemplateType \ + oovbaapi/ooo/vba/word/WdTextFormFieldType \ + oovbaapi/ooo/vba/word/WdTextOrientation \ + oovbaapi/ooo/vba/word/WdTextOrientationHID \ + oovbaapi/ooo/vba/word/WdTextureIndex \ + oovbaapi/ooo/vba/word/WdToaFormat \ + oovbaapi/ooo/vba/word/WdTocFormat \ + oovbaapi/ooo/vba/word/WdTofFormat \ + oovbaapi/ooo/vba/word/WdTrailingCharacter \ + oovbaapi/ooo/vba/word/WdTwoLinesInOneType \ + oovbaapi/ooo/vba/word/WdUnderline \ + oovbaapi/ooo/vba/word/WdUnits \ + oovbaapi/ooo/vba/word/WdUseFormattingFrom \ + oovbaapi/ooo/vba/word/WdVerticalAlignment \ + oovbaapi/ooo/vba/word/WdViewType \ + oovbaapi/ooo/vba/word/WdViewTypeOld \ + oovbaapi/ooo/vba/word/WdVisualSelection \ + oovbaapi/ooo/vba/word/WdWindowState \ + oovbaapi/ooo/vba/word/WdWindowType \ + oovbaapi/ooo/vba/word/WdWordDialog \ + oovbaapi/ooo/vba/word/WdWordDialogHID \ + oovbaapi/ooo/vba/word/WdWordDialogTab \ + oovbaapi/ooo/vba/word/WdWordDialogTabHID \ + oovbaapi/ooo/vba/word/WdWrapSideType \ + oovbaapi/ooo/vba/word/WdWrapType \ + oovbaapi/ooo/vba/word/WdWrapTypeMerged \ + oovbaapi/ooo/vba/word/WdXMLNodeLevel \ + oovbaapi/ooo/vba/word/WdXMLNodeType \ + oovbaapi/ooo/vba/word/WdXMLSelectionChangeReason \ + oovbaapi/ooo/vba/word/WdXMLValidationStatus \ +)) + + +# vim: set noet sw=4 ts=4: diff --git a/oovbaapi/genconstidl/ApiSymbols.dtd b/oovbaapi/genconstidl/ApiSymbols.dtd deleted file mode 100755 index 28fb539870d1..000000000000 --- a/oovbaapi/genconstidl/ApiSymbols.dtd +++ /dev/null @@ -1,114 +0,0 @@ -<!-- ===================================================================== - - DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - - Copyright 2000, 2010 Oracle and/or its affiliates. - - OpenOffice.org - a multi-platform office productivity suite - - This file is part of OpenOffice.org. - - OpenOffice.org is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License version 3 - only, as published by the Free Software Foundation. - - OpenOffice.org is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License version 3 for more details - (a copy is included in the LICENSE file that accompanied this code). - - You should have received a copy of the GNU Lesser General Public License - version 3 along with OpenOffice.org. If not, see - <http://www.openoffice.org/license.html> - for a copy of the LGPLv3 License. - -====================================================================== --> - -<!ELEMENT api (element)+> - <!ATTLIST api - library-name CDATA #REQUIRED - library-identifier CDATA #REQUIRED - library-majorversion CDATA #IMPLIED - library-minorversion CDATA #IMPLIED - library-type CDATA #IMPLIED - library-GUID CDATA #IMPLIED - library-filename CDATA #IMPLIED - author CDATA #REQUIRED - date-created CDATA #REQUIRED - > - -<!ELEMENT element (source, destination?)> - <!ATTLIST element - type (class|method|property|enumeration|constant|event) #REQUIRED - collection (true|false) "false" - platform CDATA #IMPLIED - > - -<!ELEMENT source (context?, name?, type?, value?, parameter-list?)> - <!ATTLIST source - id CDATA #REQUIRED - start-index CDATA #IMPLIED - > - -<!ELEMENT context (#PCDATA)> - <!ATTLIST context - kind (library|class|module|enumeration) #REQUIRED - > - -<!ELEMENT name (#PCDATA)> - <!ATTLIST name - default (true|false) "false" - > - -<!ELEMENT type (#PCDATA | choice)*> - <!ATTLIST type - array CDATA #IMPLIED - > - -<!ELEMENT choice (#PCDATA)> - -<!ELEMENT value (#PCDATA)> - -<!ELEMENT parameter-list (parameter+)> - -<!ELEMENT parameter (type?, name)> - <!ATTLIST parameter - optional (true|false) "false" - reference (true|false) "false" - > - -<!ELEMENT destination (((inplace-code | property-access-code), localdecl-code*, module-code*, comment*)?)> - <!ATTLIST destination designation (identity|not-yet-implemented) "not-yet-implemented"> - -<!ELEMENT inplace-code (context-code? , name-code, parameter-code*)> - -<!ELEMENT context-code EMPTY> - -<!ELEMENT name-code (#PCDATA)> - -<!ELEMENT parameter-code (#PCDATA | context-code | rvalue-code | default-code)*> - -<!ELEMENT rvalue-code EMPTY> - -<!ELEMENT default-code (#PCDATA)> - -<!ELEMENT property-access-code (getter-code?, setter-code?)> - -<!ELEMENT getter-code (context-code? , name-code, parameter-code*)> - -<!ELEMENT module-code (#PCDATA)> - <!ATTLIST module-code - module-name CDATA #IMPLIED - > -<!ELEMENT comment (#PCDATA)> - <!ATTLIST comment - apistatus (todo|so7|so8|noapi) #REQUIRED - forparams CDATA #IMPLIED - > - -<!ELEMENT localdecl-code (#PCDATA | context-code)*> - -<!ELEMENT setter-code (context-code? , name-code, parameter-code*)> - - diff --git a/oovbaapi/genconstidl/access.api b/oovbaapi/genconstidl/access.api deleted file mode 100755 index 6abbcf1f36c7..000000000000 --- a/oovbaapi/genconstidl/access.api +++ /dev/null @@ -1,41368 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- ===================================================================== - - DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - - Copyright 2000, 2010 Oracle and/or its affiliates. - - OpenOffice.org - a multi-platform office productivity suite - - This file is part of OpenOffice.org. - - OpenOffice.org is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License version 3 - only, as published by the Free Software Foundation. - - OpenOffice.org is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License version 3 for more details - (a copy is included in the LICENSE file that accompanied this code). - - You should have received a copy of the GNU Lesser General Public License - version 3 along with OpenOffice.org. If not, see - <http://www.openoffice.org/license.html> - for a copy of the LGPLv3 License. - -====================================================================== --> - -<!-- *** Do not edit, this file will be generated *** --> -<!DOCTYPE api SYSTEM "ApiSymbols.dtd"> -<api library-identifier="Microsoft Access 11.0 Object Library" library-name="Access" library-minorversion="0" library-majorversion="9" author="Sun Microsystems" date-created="20050331"> - <!--property::A_ADD--> - <element type="property"> - <source id="Access.A_ADD"> - <name>A_ADD</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_ALL--> - <element type="property"> - <source id="Access.A_ALL"> - <name>A_ALL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_ANYWHERE--> - <element type="property"> - <source id="Access.A_ANYWHERE"> - <name>A_ANYWHERE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_ATTACH--> - <element type="property"> - <source id="Access.A_ATTACH"> - <name>A_ATTACH</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_COPY--> - <element type="property"> - <source id="Access.A_COPY"> - <name>A_COPY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_CURRENT--> - <element type="property"> - <source id="Access.A_CURRENT"> - <name>A_CURRENT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_CUT--> - <element type="property"> - <source id="Access.A_CUT"> - <name>A_CUT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DELETE--> - <element type="property"> - <source id="Access.A_DELETE"> - <name>A_DELETE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DELETE_V2--> - <element type="property"> - <source id="Access.A_DELETE_V2"> - <name>A_DELETE_V2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DESIGN--> - <element type="property"> - <source id="Access.A_DESIGN"> - <name>A_DESIGN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DIALOG--> - <element type="property"> - <source id="Access.A_DIALOG"> - <name>A_DIALOG</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DOWN--> - <element type="property"> - <source id="Access.A_DOWN"> - <name>A_DOWN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_DRAFT--> - <element type="property"> - <source id="Access.A_DRAFT"> - <name>A_DRAFT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EDIT--> - <element type="property"> - <source id="Access.A_EDIT"> - <name>A_EDIT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EDITMENU--> - <element type="property"> - <source id="Access.A_EDITMENU"> - <name>A_EDITMENU</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_ENTIRE--> - <element type="property"> - <source id="Access.A_ENTIRE"> - <name>A_ENTIRE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EXIT--> - <element type="property"> - <source id="Access.A_EXIT"> - <name>A_EXIT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EXPORT--> - <element type="property"> - <source id="Access.A_EXPORT"> - <name>A_EXPORT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EXPORTDELIM--> - <element type="property"> - <source id="Access.A_EXPORTDELIM"> - <name>A_EXPORTDELIM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EXPORTFIXED--> - <element type="property"> - <source id="Access.A_EXPORTFIXED"> - <name>A_EXPORTFIXED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_EXPORTMERGE--> - <element type="property"> - <source id="Access.A_EXPORTMERGE"> - <name>A_EXPORTMERGE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FILE--> - <element type="property"> - <source id="Access.A_FILE"> - <name>A_FILE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FIRST--> - <element type="property"> - <source id="Access.A_FIRST"> - <name>A_FIRST</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORM--> - <element type="property"> - <source id="Access.A_FORM"> - <name>A_FORM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORMATRTF--> - <element type="property"> - <source id="Access.A_FORMATRTF"> - <name>A_FORMATRTF</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORMATTXT--> - <element type="property"> - <source id="Access.A_FORMATTXT"> - <name>A_FORMATTXT</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORMATXLS--> - <element type="property"> - <source id="Access.A_FORMATXLS"> - <name>A_FORMATXLS</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORMBAR--> - <element type="property"> - <source id="Access.A_FORMBAR"> - <name>A_FORMBAR</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_FORMDS--> - <element type="property"> - <source id="Access.A_FORMDS"> - <name>A_FORMDS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_GOTO--> - <element type="property"> - <source id="Access.A_GOTO"> - <name>A_GOTO</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_HIDDEN--> - <element type="property"> - <source id="Access.A_HIDDEN"> - <name>A_HIDDEN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_HIGH--> - <element type="property"> - <source id="Access.A_HIGH"> - <name>A_HIGH</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_ICON--> - <element type="property"> - <source id="Access.A_ICON"> - <name>A_ICON</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_IMPORT--> - <element type="property"> - <source id="Access.A_IMPORT"> - <name>A_IMPORT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_IMPORTDELIM--> - <element type="property"> - <source id="Access.A_IMPORTDELIM"> - <name>A_IMPORTDELIM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_IMPORTFIXED--> - <element type="property"> - <source id="Access.A_IMPORTFIXED"> - <name>A_IMPORTFIXED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_LAST--> - <element type="property"> - <source id="Access.A_LAST"> - <name>A_LAST</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_LOW--> - <element type="property"> - <source id="Access.A_LOW"> - <name>A_LOW</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_MACRO--> - <element type="property"> - <source id="Access.A_MACRO"> - <name>A_MACRO</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_MEDIUM--> - <element type="property"> - <source id="Access.A_MEDIUM"> - <name>A_MEDIUM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_MENU_VER1X--> - <element type="property"> - <source id="Access.A_MENU_VER1X"> - <name>A_MENU_VER1X</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_MENU_VER20--> - <element type="property"> - <source id="Access.A_MENU_VER20"> - <name>A_MENU_VER20</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_MODULE--> - <element type="property"> - <source id="Access.A_MODULE"> - <name>A_MODULE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_NEW--> - <element type="property"> - <source id="Access.A_NEW"> - <name>A_NEW</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_NEWREC--> - <element type="property"> - <source id="Access.A_NEWREC"> - <name>A_NEWREC</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_NEXT--> - <element type="property"> - <source id="Access.A_NEXT"> - <name>A_NEXT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_NORMAL--> - <element type="property"> - <source id="Access.A_NORMAL"> - <name>A_NORMAL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_OBJECT--> - <element type="property"> - <source id="Access.A_OBJECT"> - <name>A_OBJECT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_OBJECTUPDATE--> - <element type="property"> - <source id="Access.A_OBJECTUPDATE"> - <name>A_OBJECTUPDATE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_OBJECTVERB--> - <element type="property"> - <source id="Access.A_OBJECTVERB"> - <name>A_OBJECTVERB</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PAGES--> - <element type="property"> - <source id="Access.A_PAGES"> - <name>A_PAGES</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PASTE--> - <element type="property"> - <source id="Access.A_PASTE"> - <name>A_PASTE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PREVIEW--> - <element type="property"> - <source id="Access.A_PREVIEW"> - <name>A_PREVIEW</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PREVIOUS--> - <element type="property"> - <source id="Access.A_PREVIOUS"> - <name>A_PREVIOUS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PRINTALL--> - <element type="property"> - <source id="Access.A_PRINTALL"> - <name>A_PRINTALL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_PROMPT--> - <element type="property"> - <source id="Access.A_PROMPT"> - <name>A_PROMPT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_QUERY--> - <element type="property"> - <source id="Access.A_QUERY"> - <name>A_QUERY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_READONLY--> - <element type="property"> - <source id="Access.A_READONLY"> - <name>A_READONLY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_RECORDSMENU--> - <element type="property"> - <source id="Access.A_RECORDSMENU"> - <name>A_RECORDSMENU</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_REFRESH--> - <element type="property"> - <source id="Access.A_REFRESH"> - <name>A_REFRESH</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_REPORT--> - <element type="property"> - <source id="Access.A_REPORT"> - <name>A_REPORT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SAVE--> - <element type="property"> - <source id="Access.A_SAVE"> - <name>A_SAVE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SAVEFORM--> - <element type="property"> - <source id="Access.A_SAVEFORM"> - <name>A_SAVEFORM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SAVEFORMAS--> - <element type="property"> - <source id="Access.A_SAVEFORMAS"> - <name>A_SAVEFORMAS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SAVERECORD--> - <element type="property"> - <source id="Access.A_SAVERECORD"> - <name>A_SAVERECORD</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SELECTALLRECORDS--> - <element type="property"> - <source id="Access.A_SELECTALLRECORDS"> - <name>A_SELECTALLRECORDS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SELECTALLRECORDS_V2--> - <element type="property"> - <source id="Access.A_SELECTALLRECORDS_V2"> - <name>A_SELECTALLRECORDS_V2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SELECTION--> - <element type="property"> - <source id="Access.A_SELECTION"> - <name>A_SELECTION</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SELECTRECORD--> - <element type="property"> - <source id="Access.A_SELECTRECORD"> - <name>A_SELECTRECORD</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_SELECTRECORD_V2--> - <element type="property"> - <source id="Access.A_SELECTRECORD_V2"> - <name>A_SELECTRECORD_V2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_START--> - <element type="property"> - <source id="Access.A_START"> - <name>A_START</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_TABLE--> - <element type="property"> - <source id="Access.A_TABLE"> - <name>A_TABLE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_TOOLBAR_NO--> - <element type="property"> - <source id="Access.A_TOOLBAR_NO"> - <name>A_TOOLBAR_NO</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_TOOLBAR_WHERE_APPROP--> - <element type="property"> - <source id="Access.A_TOOLBAR_WHERE_APPROP"> - <name>A_TOOLBAR_WHERE_APPROP</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_TOOLBAR_YES--> - <element type="property"> - <source id="Access.A_TOOLBAR_YES"> - <name>A_TOOLBAR_YES</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_UNDO--> - <element type="property"> - <source id="Access.A_UNDO"> - <name>A_UNDO</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_UNDOFIELD--> - <element type="property"> - <source id="Access.A_UNDOFIELD"> - <name>A_UNDOFIELD</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::A_UP--> - <element type="property"> - <source id="Access.A_UP"> - <name>A_UP</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acAltMask--> - <element type="property"> - <source id="Access.acAltMask"> - <name>acAltMask</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acApplyFilter--> - <element type="property"> - <source id="Access.acApplyFilter"> - <name>acApplyFilter</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acApplyServerFilter--> - <element type="property"> - <source id="Access.acApplyServerFilter"> - <name>acApplyServerFilter</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::AccessField--> - <element type="class"> - <source id="Access.AccessField"> - <name>AccessField</name> - </source> - <destination designation="identity" /> - </element> - <!--method::AccessField.IsMemberSafe--> - <element type="method"> - <source id="Access.AccessField.IsMemberSafe"> - <context kind="class">AccessField</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessField.Value {Default}--> - <element type="property"> - <source id="Access.AccessField.Value"> - <context kind="class">AccessField</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--Class::AccessObject--> - <element type="class"> - <source id="Access.AccessObject"> - <name>AccessObject</name> - </source> - <destination designation="identity" /> - </element> - <!--property::AccessObject.Attributes {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.Attributes"> - <context kind="class">AccessObject</context> - <name>Attributes</name> - <type>Integer</type> - </source> - </element> - <!--property::AccessObject.CurrentView {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.CurrentView"> - <context kind="class">AccessObject</context> - <name>CurrentView</name> - <type>Integer</type> - </source> - </element> - <!--property::AccessObject.DateCreated {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.DateCreated"> - <context kind="class">AccessObject</context> - <name>DateCreated</name> - <type>java.util.Date</type> - </source> - </element> - <!--property::AccessObject.DateModified {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.DateModified"> - <context kind="class">AccessObject</context> - <name>DateModified</name> - <type>java.util.Date</type> - </source> - </element> - <!--property::AccessObject.FullName--> - <element type="property"> - <source id="Access.AccessObject.FullName"> - <context kind="class">AccessObject</context> - <name>FullName</name> - <type>String</type> - </source> - </element> - <!--method::AccessObject.GetDependencyInfo--> - <element type="method"> - <source id="Access.AccessObject.GetDependencyInfo"> - <context kind="class">AccessObject</context> - <name>GetDependencyInfo</name> - <type>_DependencyInfo</type> - </source> - </element> - <!--method::AccessObject.IsDependentUpon--> - <element type="method"> - <source id="Access.AccessObject.IsDependentUpon"> - <context kind="class">AccessObject</context> - <name>IsDependentUpon</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObject.IsLoaded {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.IsLoaded"> - <context kind="class">AccessObject</context> - <name>IsLoaded</name> - <type>boolean</type> - </source> - </element> - <!--method::AccessObject.IsMemberSafe--> - <element type="method"> - <source id="Access.AccessObject.IsMemberSafe"> - <context kind="class">AccessObject</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObject.Name {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.Name"> - <context kind="class">AccessObject</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::AccessObject.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.Parent"> - <context kind="class">AccessObject</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::AccessObject.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.Properties"> - <context kind="class">AccessObject</context> - <name>Properties</name> - <type>AccessObjectProperties</type> - </source> - </element> - <!--property::AccessObject.Type {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObject.Type"> - <context kind="class">AccessObject</context> - <name>Type</name> - <type>Integer</type> - </source> - </element> - <!--Class::AccessObjectProperties--> - <element type="class"> - <source id="Access.AccessObjectProperties"> - <name>AccessObjectProperties</name> - </source> - <destination designation="identity" /> - </element> - <!--method::AccessObjectProperties.Add--> - <element type="method"> - <source id="Access.AccessObjectProperties.Add"> - <context kind="class">AccessObjectProperties</context> - <name>Add</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>PropertyName</name> - </parameter> - <parameter> - <type>Variant</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObjectProperties.Application {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObjectProperties.Application"> - <context kind="class">AccessObjectProperties</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::AccessObjectProperties.Count {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObjectProperties.Count"> - <context kind="class">AccessObjectProperties</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::AccessObjectProperties.IsMemberSafe--> - <element type="method"> - <source id="Access.AccessObjectProperties.IsMemberSafe"> - <context kind="class">AccessObjectProperties</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObjectProperties.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObjectProperties.Item"> - <context kind="class">AccessObjectProperties</context> - <name default="true">Item</name> - <type>AccessObjectProperty</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObjectProperties.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObjectProperties.Parent"> - <context kind="class">AccessObjectProperties</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--method::AccessObjectProperties.Remove--> - <element type="method"> - <source id="Access.AccessObjectProperties.Remove"> - <context kind="class">AccessObjectProperties</context> - <name>Remove</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Item</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::AccessObjectProperty--> - <element type="class"> - <source id="Access.AccessObjectProperty"> - <name>AccessObjectProperty</name> - </source> - <destination designation="identity" /> - </element> - <!--method::AccessObjectProperty.IsMemberSafe--> - <element type="method"> - <source id="Access.AccessObjectProperty.IsMemberSafe"> - <context kind="class">AccessObjectProperty</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AccessObjectProperty.Name {ReadOnly}--> - <element type="property"> - <source id="Access.AccessObjectProperty.Name"> - <context kind="class">AccessObjectProperty</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::AccessObjectProperty.Value {Default}--> - <element type="property"> - <source id="Access.AccessObjectProperty.Value"> - <context kind="class">AccessObjectProperty</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::acCloseFilterWindow--> - <element type="property"> - <source id="Access.acCloseFilterWindow"> - <name>acCloseFilterWindow</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcCloseSave {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcCloseSave"> - <name>AcCloseSave</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSaveNo {Constant}--> - <element type="constant"> - <source id="Access.AcCloseSave.acSaveNo"> - <context kind="enumeration">AcCloseSave</context> - <name>acSaveNo</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSavePrompt {Constant}--> - <element type="constant"> - <source id="Access.AcCloseSave.acSavePrompt"> - <context kind="enumeration">AcCloseSave</context> - <name>acSavePrompt</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSaveYes {Constant}--> - <element type="constant"> - <source id="Access.AcCloseSave.acSaveYes"> - <context kind="enumeration">AcCloseSave</context> - <name>acSaveYes</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acCloseServerFilterWindow--> - <element type="property"> - <source id="Access.acCloseServerFilterWindow"> - <name>acCloseServerFilterWindow</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcColorIndex {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcColorIndex"> - <name>AcColorIndex</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexAqua {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexAqua"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexAqua</name> - <value>14</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexBlack {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexBlack"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexBlack</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexBlue {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexBlue"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexBlue</name> - <value>12</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexBrightGreen {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexBrightGreen"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexBrightGreen</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexDarkBlue {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexDarkBlue"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexDarkBlue</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexFuschia {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexFuschia"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexFuschia</name> - <value>13</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexGray {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexGray"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexGray</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexGreen {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexGreen"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexGreen</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexMaroon {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexMaroon"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexMaroon</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexOlive {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexOlive"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexOlive</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexRed {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexRed"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexRed</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexSilver {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexSilver"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexSilver</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexTeal {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexTeal"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexTeal</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexViolet {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexViolet"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexViolet</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexWhite {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexWhite"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexWhite</name> - <value>15</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acColorIndexYellow {Constant}--> - <element type="constant"> - <source id="Access.AcColorIndex.acColorIndexYellow"> - <context kind="enumeration">AcColorIndex</context> - <name>acColorIndexYellow</name> - <value>11</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcCommand {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcCommand"> - <name>AcCommand</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAboutMicrosoftAccess {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAboutMicrosoftAccess"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAboutMicrosoftAccess</name> - <value>35</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAddInManager {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAddInManager"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAddInManager</name> - <value>526</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAddToNewGroup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAddToNewGroup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAddToNewGroup</name> - <value>494</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAddWatch {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAddWatch"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAddWatch</name> - <value>201</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAdvancedFilterSort {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAdvancedFilterSort"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAdvancedFilterSort</name> - <value>99</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignBottom {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignBottom"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignBottom</name> - <value>46</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignCenter {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignCenter"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignCenter</name> - <value>477</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignLeft {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignLeft"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignLeft</name> - <value>43</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignmentAndSizing {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignmentAndSizing"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignmentAndSizing</name> - <value>478</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignMiddle {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignMiddle"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignMiddle</name> - <value>476</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignRight {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignRight"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignRight</name> - <value>44</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignToGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignToGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignToGrid</name> - <value>47</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignTop {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignTop"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignTop</name> - <value>45</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignToShortest {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignToShortest"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignToShortest</name> - <value>153</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAlignToTallest {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAlignToTallest"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAlignToTallest</name> - <value>154</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAnalyzePerformance {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAnalyzePerformance"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAnalyzePerformance</name> - <value>283</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAnalyzeTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAnalyzeTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAnalyzeTable</name> - <value>284</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAnswerWizard {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAnswerWizard"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAnswerWizard</name> - <value>235</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdApplyDefault {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdApplyDefault"> - <context kind="enumeration">AcCommand</context> - <name>acCmdApplyDefault</name> - <value>55</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdApplyFilterSort {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdApplyFilterSort"> - <context kind="enumeration">AcCommand</context> - <name>acCmdApplyFilterSort</name> - <value>93</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAppMaximize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAppMaximize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAppMaximize</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAppMinimize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAppMinimize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAppMinimize</name> - <value>11</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAppMove {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAppMove"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAppMove</name> - <value>12</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAppRestore {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAppRestore"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAppRestore</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAppSize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAppSize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAppSize</name> - <value>13</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdArrangeIconsAuto {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdArrangeIconsAuto"> - <context kind="enumeration">AcCommand</context> - <name>acCmdArrangeIconsAuto</name> - <value>218</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdArrangeIconsByCreated {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdArrangeIconsByCreated"> - <context kind="enumeration">AcCommand</context> - <name>acCmdArrangeIconsByCreated</name> - <value>216</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdArrangeIconsByModified {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdArrangeIconsByModified"> - <context kind="enumeration">AcCommand</context> - <name>acCmdArrangeIconsByModified</name> - <value>217</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdArrangeIconsByName {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdArrangeIconsByName"> - <context kind="enumeration">AcCommand</context> - <name>acCmdArrangeIconsByName</name> - <value>214</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdArrangeIconsByType {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdArrangeIconsByType"> - <context kind="enumeration">AcCommand</context> - <name>acCmdArrangeIconsByType</name> - <value>215</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAutoCorrect {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAutoCorrect"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAutoCorrect</name> - <value>261</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAutoDial {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAutoDial"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAutoDial</name> - <value>192</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdAutoFormat {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdAutoFormat"> - <context kind="enumeration">AcCommand</context> - <name>acCmdAutoFormat</name> - <value>270</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBackgroundPicture {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBackgroundPicture"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBackgroundPicture</name> - <value>474</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBackgroundSound {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBackgroundSound"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBackgroundSound</name> - <value>475</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBackup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBackup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBackup</name> - <value>513</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBookmarksClearAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBookmarksClearAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBookmarksClearAll</name> - <value>310</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBookmarksNext {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBookmarksNext"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBookmarksNext</name> - <value>308</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBookmarksPrevious {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBookmarksPrevious"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBookmarksPrevious</name> - <value>309</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBookmarksToggle {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBookmarksToggle"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBookmarksToggle</name> - <value>307</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdBringToFront {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdBringToFront"> - <context kind="enumeration">AcCommand</context> - <name>acCmdBringToFront</name> - <value>52</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCallStack {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCallStack"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCallStack</name> - <value>172</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToCheckBox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToCheckBox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToCheckBox</name> - <value>231</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToComboBox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToComboBox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToComboBox</name> - <value>230</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToCommandButton {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToCommandButton"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToCommandButton</name> - <value>501</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToImage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToImage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToImage</name> - <value>234</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToLabel {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToLabel"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToLabel</name> - <value>228</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToListBox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToListBox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToListBox</name> - <value>229</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToOptionButton {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToOptionButton"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToOptionButton</name> - <value>233</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToTextBox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToTextBox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToTextBox</name> - <value>227</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdChangeToToggleButton {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdChangeToToggleButton"> - <context kind="enumeration">AcCommand</context> - <name>acCmdChangeToToggleButton</name> - <value>232</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClearAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClearAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClearAll</name> - <value>146</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClearAllBreakpoints {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClearAllBreakpoints"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClearAllBreakpoints</name> - <value>132</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClearGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClearGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClearGrid</name> - <value>71</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClearHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClearHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClearHyperlink</name> - <value>343</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClearItemDefaults {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClearItemDefaults"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClearItemDefaults</name> - <value>237</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdClose {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdClose"> - <context kind="enumeration">AcCommand</context> - <name>acCmdClose</name> - <value>58</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCloseWindow {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCloseWindow"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCloseWindow</name> - <value>186</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdColumnWidth {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdColumnWidth"> - <context kind="enumeration">AcCommand</context> - <name>acCmdColumnWidth</name> - <value>117</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCompactDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCompactDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCompactDatabase</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCompileAllModules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCompileAllModules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCompileAllModules</name> - <value>125</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCompileAndSaveAllModules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCompileAndSaveAllModules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCompileAndSaveAllModules</name> - <value>126</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCompileLoadedModules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCompileLoadedModules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCompileLoadedModules</name> - <value>290</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCompleteWord {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCompleteWord"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCompleteWord</name> - <value>306</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdConditionalFormatting {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdConditionalFormatting"> - <context kind="enumeration">AcCommand</context> - <name>acCmdConditionalFormatting</name> - <value>500</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdConnection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdConnection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdConnection</name> - <value>383</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdControlWizardsToggle {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdControlWizardsToggle"> - <context kind="enumeration">AcCommand</context> - <name>acCmdControlWizardsToggle</name> - <value>197</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdConvertDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdConvertDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdConvertDatabase</name> - <value>171</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdConvertMacrosToVisualBasic {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdConvertMacrosToVisualBasic"> - <context kind="enumeration">AcCommand</context> - <name>acCmdConvertMacrosToVisualBasic</name> - <value>279</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCopy {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCopy"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCopy</name> - <value>190</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCopyDatabaseFile {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCopyDatabaseFile"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCopyDatabaseFile</name> - <value>516</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCopyHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCopyHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCopyHyperlink</name> - <value>328</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateMenuFromMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateMenuFromMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateMenuFromMacro</name> - <value>334</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateRelationship {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateRelationship"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateRelationship</name> - <value>150</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateReplica {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateReplica"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateReplica</name> - <value>263</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateShortcut {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateShortcut"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateShortcut</name> - <value>219</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateShortcutMenuFromMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateShortcutMenuFromMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateShortcutMenuFromMacro</name> - <value>336</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCreateToolbarFromMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCreateToolbarFromMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCreateToolbarFromMacro</name> - <value>335</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdCut {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdCut"> - <context kind="enumeration">AcCommand</context> - <name>acCmdCut</name> - <value>189</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataAccessPageAddToPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataAccessPageAddToPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataAccessPageAddToPage</name> - <value>480</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataAccessPageBrowse {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataAccessPageBrowse"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataAccessPageBrowse</name> - <value>344</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataAccessPageDesignView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataAccessPageDesignView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataAccessPageDesignView</name> - <value>385</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataAccessPageFieldListRefresh {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataAccessPageFieldListRefresh"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataAccessPageFieldListRefresh</name> - <value>479</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDatabaseProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDatabaseProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDatabaseProperties</name> - <value>256</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDatabaseSplitter {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDatabaseSplitter"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDatabaseSplitter</name> - <value>520</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataEntry {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataEntry"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataEntry</name> - <value>78</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDataOutline {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDataOutline"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDataOutline</name> - <value>468</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDatasheetView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDatasheetView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDatasheetView</name> - <value>282</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDateAndTime {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDateAndTime"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDateAndTime</name> - <value>226</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDebugWindow {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDebugWindow"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDebugWindow</name> - <value>123</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDelete {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDelete"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDelete</name> - <value>337</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteGroup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteGroup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteGroup</name> - <value>493</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeletePage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeletePage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeletePage</name> - <value>332</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteQueryColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteQueryColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteQueryColumn</name> - <value>81</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteRecord {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteRecord"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteRecord</name> - <value>223</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteRows {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteRows"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteRows</name> - <value>188</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteTab {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteTab"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteTab</name> - <value>255</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteTable</name> - <value>489</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteTableColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteTableColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteTableColumn</name> - <value>271</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDeleteWatch {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDeleteWatch"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDeleteWatch</name> - <value>267</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDemote {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDemote"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDemote</name> - <value>388</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDesignView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDesignView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDesignView</name> - <value>183</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramAddRelatedTables {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramAddRelatedTables"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramAddRelatedTables</name> - <value>373</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramAutosizeSelectedTables {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramAutosizeSelectedTables"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramAutosizeSelectedTables</name> - <value>378</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramDeleteRelationship {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramDeleteRelationship"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramDeleteRelationship</name> - <value>382</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramLayoutDiagram {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramLayoutDiagram"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramLayoutDiagram</name> - <value>380</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramLayoutSelection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramLayoutSelection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramLayoutSelection</name> - <value>379</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramModifyUserDefinedView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramModifyUserDefinedView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramModifyUserDefinedView</name> - <value>375</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramNewLabel {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramNewLabel"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramNewLabel</name> - <value>372</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramNewTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramNewTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramNewTable</name> - <value>381</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramRecalculatePageBreaks {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramRecalculatePageBreaks"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramRecalculatePageBreaks</name> - <value>377</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramShowRelationshipLabels {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramShowRelationshipLabels"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramShowRelationshipLabels</name> - <value>374</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDiagramViewPageBreaks {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDiagramViewPageBreaks"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDiagramViewPageBreaks</name> - <value>376</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocMaximize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocMaximize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocMaximize</name> - <value>15</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocMinimize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocMinimize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocMinimize</name> - <value>60</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocMove {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocMove"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocMove</name> - <value>16</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocRestore {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocRestore"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocRestore</name> - <value>14</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocSize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocSize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocSize</name> - <value>17</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDocumenter {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDocumenter"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDocumenter</name> - <value>285</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDropSQLDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDropSQLDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDropSQLDatabase</name> - <value>517</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdDuplicate {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdDuplicate"> - <context kind="enumeration">AcCommand</context> - <name>acCmdDuplicate</name> - <value>34</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEditHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEditHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEditHyperlink</name> - <value>325</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEditingAllowed {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEditingAllowed"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEditingAllowed</name> - <value>70</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEditRelationship {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEditRelationship"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEditRelationship</name> - <value>151</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEditTriggers {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEditTriggers"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEditTriggers</name> - <value>384</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEditWatch {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEditWatch"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEditWatch</name> - <value>202</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEncryptDecryptDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEncryptDecryptDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEncryptDecryptDatabase</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdEnd {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdEnd"> - <context kind="enumeration">AcCommand</context> - <name>acCmdEnd</name> - <value>198</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdExit {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdExit"> - <context kind="enumeration">AcCommand</context> - <name>acCmdExit</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdExport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdExport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdExport</name> - <value>487</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFavoritesAddTo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFavoritesAddTo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFavoritesAddTo</name> - <value>299</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFavoritesOpen {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFavoritesOpen"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFavoritesOpen</name> - <value>298</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFieldList {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFieldList"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFieldList</name> - <value>42</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFilterByForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFilterByForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFilterByForm</name> - <value>207</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFilterBySelection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFilterBySelection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFilterBySelection</name> - <value>208</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFilterExcludingSelection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFilterExcludingSelection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFilterExcludingSelection</name> - <value>277</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFind {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFind"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFind</name> - <value>30</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFindNext {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFindNext"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFindNext</name> - <value>341</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFindNextWordUnderCursor {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFindNextWordUnderCursor"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFindNextWordUnderCursor</name> - <value>313</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFindPrevious {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFindPrevious"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFindPrevious</name> - <value>120</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFindPrevWordUnderCursor {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFindPrevWordUnderCursor"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFindPrevWordUnderCursor</name> - <value>312</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFitToWindow {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFitToWindow"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFitToWindow</name> - <value>245</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFont {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFont"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFont</name> - <value>19</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFormatCells {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFormatCells"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFormatCells</name> - <value>77</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFormHdrFtr {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFormHdrFtr"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFormHdrFtr</name> - <value>36</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFormView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFormView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFormView</name> - <value>281</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdFreezeColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdFreezeColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdFreezeColumn</name> - <value>105</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdGoBack {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdGoBack"> - <context kind="enumeration">AcCommand</context> - <name>acCmdGoBack</name> - <value>294</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdGoContinue {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdGoContinue"> - <context kind="enumeration">AcCommand</context> - <name>acCmdGoContinue</name> - <value>127</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdGoForward {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdGoForward"> - <context kind="enumeration">AcCommand</context> - <name>acCmdGoForward</name> - <value>295</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdGroupByTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdGroupByTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdGroupByTable</name> - <value>387</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdGroupControls {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdGroupControls"> - <context kind="enumeration">AcCommand</context> - <name>acCmdGroupControls</name> - <value>484</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHideColumns {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHideColumns"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHideColumns</name> - <value>79</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHidePane {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHidePane"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHidePane</name> - <value>365</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHideTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHideTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHideTable</name> - <value>147</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHorizontalSpacingDecrease {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHorizontalSpacingDecrease"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHorizontalSpacingDecrease</name> - <value>158</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHorizontalSpacingIncrease {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHorizontalSpacingIncrease"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHorizontalSpacingIncrease</name> - <value>159</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHorizontalSpacingMakeEqual {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHorizontalSpacingMakeEqual"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHorizontalSpacingMakeEqual</name> - <value>157</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdHyperlinkDisplayText {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdHyperlinkDisplayText"> - <context kind="enumeration">AcCommand</context> - <name>acCmdHyperlinkDisplayText</name> - <value>329</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdImport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdImport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdImport</name> - <value>257</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdIndent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdIndent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdIndent</name> - <value>205</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdIndexes {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdIndexes"> - <context kind="enumeration">AcCommand</context> - <name>acCmdIndexes</name> - <value>152</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertActiveXControl {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertActiveXControl"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertActiveXControl</name> - <value>258</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertChart {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertChart"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertChart</name> - <value>293</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertFile {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertFile"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertFile</name> - <value>39</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertFileIntoModule {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertFileIntoModule"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertFileIntoModule</name> - <value>118</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertHyperlink</name> - <value>259</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertLookupColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertLookupColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertLookupColumn</name> - <value>273</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertLookupField {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertLookupField"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertLookupField</name> - <value>291</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertMovieFromFile {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertMovieFromFile"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertMovieFromFile</name> - <value>469</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertObject {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertObject"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertObject</name> - <value>33</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertPage</name> - <value>331</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertPicture {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertPicture"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertPicture</name> - <value>222</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertPivotTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertPivotTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertPivotTable</name> - <value>470</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertProcedure"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertProcedure</name> - <value>262</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertQueryColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertQueryColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertQueryColumn</name> - <value>82</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertRows {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertRows"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertRows</name> - <value>187</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertSpreadsheet {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertSpreadsheet"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertSpreadsheet</name> - <value>471</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertSubdatasheet {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertSubdatasheet"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertSubdatasheet</name> - <value>499</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertTableColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertTableColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertTableColumn</name> - <value>272</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInsertUnboundSection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInsertUnboundSection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInsertUnboundSection</name> - <value>472</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdInvokeBuilder {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdInvokeBuilder"> - <context kind="enumeration">AcCommand</context> - <name>acCmdInvokeBuilder</name> - <value>178</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdJoinProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdJoinProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdJoinProperties</name> - <value>72</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLastPosition {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLastPosition"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLastPosition</name> - <value>339</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLayoutPreview {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLayoutPreview"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLayoutPreview</name> - <value>141</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLineUpIcons {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLineUpIcons"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLineUpIcons</name> - <value>213</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLinkedTableManager {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLinkedTableManager"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLinkedTableManager</name> - <value>519</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLinkTables {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLinkTables"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLinkTables</name> - <value>102</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdListConstants {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdListConstants"> - <context kind="enumeration">AcCommand</context> - <name>acCmdListConstants</name> - <value>303</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdLoadFromQuery {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdLoadFromQuery"> - <context kind="enumeration">AcCommand</context> - <name>acCmdLoadFromQuery</name> - <value>95</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMacroConditions {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMacroConditions"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMacroConditions</name> - <value>87</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMacroNames {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMacroNames"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMacroNames</name> - <value>86</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMakeMDEFile {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMakeMDEFile"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMakeMDEFile</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMaximiumRecords {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMaximiumRecords"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMaximiumRecords</name> - <value>508</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMicrosoftAccessHelpTopics {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMicrosoftAccessHelpTopics"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMicrosoftAccessHelpTopics</name> - <value>100</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMicrosoftOnTheWeb {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMicrosoftOnTheWeb"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMicrosoftOnTheWeb</name> - <value>236</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMicrosoftScriptEditor {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMicrosoftScriptEditor"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMicrosoftScriptEditor</name> - <value>390</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdMoreWindows {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdMoreWindows"> - <context kind="enumeration">AcCommand</context> - <name>acCmdMoreWindows</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewDatabase</name> - <value>26</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewGroup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewGroup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewGroup</name> - <value>491</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectAutoForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectAutoForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectAutoForm</name> - <value>193</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectAutoReport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectAutoReport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectAutoReport</name> - <value>194</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectClassModule {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectClassModule"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectClassModule</name> - <value>140</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectDataAccessPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectDataAccessPage</name> - <value>346</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectDiagram {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectDiagram"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectDiagram</name> - <value>352</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectForm</name> - <value>136</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectFunction {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectFunction"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectFunction</name> - <value>394</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectMacro</name> - <value>138</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectModule {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectModule"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectModule</name> - <value>139</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectQuery {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectQuery"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectQuery</name> - <value>135</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectReport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectReport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectReport</name> - <value>137</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectStoredProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectStoredProcedure"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectStoredProcedure</name> - <value>351</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectTable</name> - <value>134</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdNewObjectView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdNewObjectView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdNewObjectView</name> - <value>350</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjBrwFindWholeWordOnly {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjBrwFindWholeWordOnly"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjBrwFindWholeWordOnly</name> - <value>314</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjBrwGroupMembers {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjBrwGroupMembers"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjBrwGroupMembers</name> - <value>318</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjBrwHelp {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjBrwHelp"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjBrwHelp</name> - <value>316</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjBrwShowHiddenMembers {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjBrwShowHiddenMembers"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjBrwShowHiddenMembers</name> - <value>315</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjBrwViewDefinition {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjBrwViewDefinition"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjBrwViewDefinition</name> - <value>317</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdObjectBrowser {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdObjectBrowser"> - <context kind="enumeration">AcCommand</context> - <name>acCmdObjectBrowser</name> - <value>200</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOfficeClipboard {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOfficeClipboard"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOfficeClipboard</name> - <value>488</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOLEDDELinks {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOLEDDELinks"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOLEDDELinks</name> - <value>27</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOLEObjectConvert {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOLEObjectConvert"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOLEObjectConvert</name> - <value>167</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOLEObjectDefaultVerb {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOLEObjectDefaultVerb"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOLEObjectDefaultVerb</name> - <value>57</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenDatabase</name> - <value>25</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenHyperlink</name> - <value>326</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenNewHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenNewHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenNewHyperlink</name> - <value>327</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenSearchPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenSearchPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenSearchPage</name> - <value>253</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenStartPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenStartPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenStartPage</name> - <value>252</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenTable</name> - <value>221</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOpenURL {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOpenURL"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOpenURL</name> - <value>251</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOptions {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOptions"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOptions</name> - <value>49</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOutdent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOutdent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOutdent</name> - <value>206</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOutputToExcel {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOutputToExcel"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOutputToExcel</name> - <value>175</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOutputToRTF {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOutputToRTF"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOutputToRTF</name> - <value>176</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdOutputToText {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdOutputToText"> - <context kind="enumeration">AcCommand</context> - <name>acCmdOutputToText</name> - <value>177</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPageHdrFtr {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPageHdrFtr"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPageHdrFtr</name> - <value>182</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPageNumber {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPageNumber"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPageNumber</name> - <value>225</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPageProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPageProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPageProperties</name> - <value>467</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPageSetup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPageSetup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPageSetup</name> - <value>32</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdParameterInfo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdParameterInfo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdParameterInfo</name> - <value>305</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPartialReplicaWizard {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPartialReplicaWizard"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPartialReplicaWizard</name> - <value>524</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPaste {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPaste"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPaste</name> - <value>191</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPasteAppend {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPasteAppend"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPasteAppend</name> - <value>38</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPasteAsHyperlink {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPasteAsHyperlink"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPasteAsHyperlink</name> - <value>490</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPasteSpecial {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPasteSpecial"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPasteSpecial</name> - <value>64</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoAverage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoAverage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoAverage</name> - <value>416</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoCount {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoCount"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoCount</name> - <value>413</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoFilter {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoFilter"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoFilter</name> - <value>398</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoMax {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoMax"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoMax</name> - <value>415</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoMin {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoMin"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoMin</name> - <value>414</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoStdDev {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoStdDev"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoStdDev</name> - <value>417</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoStdDevP {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoStdDevP"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoStdDevP</name> - <value>419</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoSum {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoSum"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoSum</name> - <value>412</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoVar {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoVar"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoVar</name> - <value>418</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotAutoVarP {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotAutoVarP"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotAutoVarP</name> - <value>420</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartByRowByColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartByRowByColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartByRowByColumn</name> - <value>456</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartDrillInto {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartDrillInto"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartDrillInto</name> - <value>457</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartDrillOut {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartDrillOut"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartDrillOut</name> - <value>532</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartMultiplePlots {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartMultiplePlots"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartMultiplePlots</name> - <value>458</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartMultiplePlotsUnifiedScale {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartMultiplePlotsUnifiedScale"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartMultiplePlotsUnifiedScale</name> - <value>459</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartShowLegend {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartShowLegend"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartShowLegend</name> - <value>455</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartSortAscByTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartSortAscByTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartSortAscByTotal</name> - <value>534</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartSortDescByTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartSortDescByTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartSortDescByTotal</name> - <value>535</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartType {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartType"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartType</name> - <value>453</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartUndo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartUndo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartUndo</name> - <value>460</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotChartView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotChartView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotChartView</name> - <value>397</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotCollapse {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotCollapse"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotCollapse</name> - <value>400</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotDelete {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotDelete"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotDelete</name> - <value>454</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotDropAreas {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotDropAreas"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotDropAreas</name> - <value>452</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotExpand {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotExpand"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotExpand</name> - <value>401</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotRefresh {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotRefresh"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotRefresh</name> - <value>404</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowAll</name> - <value>461</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom1 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom1"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom1</name> - <value>432</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom10 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom10"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom10</name> - <value>435</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom10Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom10Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom10Percent</name> - <value>440</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom1Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom1Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom1Percent</name> - <value>437</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom2 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom2"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom2</name> - <value>433</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom25 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom25"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom25</name> - <value>436</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom25Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom25Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom25Percent</name> - <value>441</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom2Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom2Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom2Percent</name> - <value>438</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom5 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom5"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom5</name> - <value>434</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottom5Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottom5Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottom5Percent</name> - <value>439</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowBottomOther {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowBottomOther"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowBottomOther</name> - <value>442</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop1 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop1"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop1</name> - <value>421</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop10 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop10"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop10</name> - <value>424</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop10Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop10Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop10Percent</name> - <value>429</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop1Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop1Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop1Percent</name> - <value>426</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop2 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop2"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop2</name> - <value>422</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop25 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop25"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop25</name> - <value>425</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop25Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop25Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop25Percent</name> - <value>430</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop2Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop2Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop2Percent</name> - <value>427</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop5 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop5"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop5</name> - <value>423</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTop5Percent {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTop5Percent"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTop5Percent</name> - <value>428</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotShowTopOther {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotShowTopOther"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotShowTopOther</name> - <value>431</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableClearCustomOrdering {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableClearCustomOrdering"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableClearCustomOrdering</name> - <value>527</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableCreateCalcField {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableCreateCalcField"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableCreateCalcField</name> - <value>444</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableCreateCalcTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableCreateCalcTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableCreateCalcTotal</name> - <value>443</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableDemote {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableDemote"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableDemote</name> - <value>411</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableExpandIndicators {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableExpandIndicators"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableExpandIndicators</name> - <value>451</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableExportToExcel {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableExportToExcel"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableExportToExcel</name> - <value>405</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableFilterBySelection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableFilterBySelection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableFilterBySelection</name> - <value>528</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableGroupItems {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableGroupItems"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableGroupItems</name> - <value>530</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableHideDetails {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableHideDetails"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableHideDetails</name> - <value>402</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableMoveToColumnArea {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableMoveToColumnArea"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableMoveToColumnArea</name> - <value>407</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableMoveToDetailArea {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableMoveToDetailArea"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableMoveToDetailArea</name> - <value>409</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableMoveToFilterArea {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableMoveToFilterArea"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableMoveToFilterArea</name> - <value>408</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableMoveToRowArea {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableMoveToRowArea"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableMoveToRowArea</name> - <value>406</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePercentColumnTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePercentColumnTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePercentColumnTotal</name> - <value>447</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePercentGrandTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePercentGrandTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePercentGrandTotal</name> - <value>450</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePercentParentColumnItem {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePercentParentColumnItem"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePercentParentColumnItem</name> - <value>449</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePercentParentRowItem {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePercentParentRowItem"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePercentParentRowItem</name> - <value>448</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePercentRowTotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePercentRowTotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePercentRowTotal</name> - <value>446</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTablePromote {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTablePromote"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTablePromote</name> - <value>410</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableRemove {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableRemove"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableRemove</name> - <value>529</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableShowAsNormal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableShowAsNormal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableShowAsNormal</name> - <value>445</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableShowDetails {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableShowDetails"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableShowDetails</name> - <value>403</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableSubtotal {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableSubtotal"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableSubtotal</name> - <value>399</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableUngroupItems {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableUngroupItems"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableUngroupItems</name> - <value>531</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPivotTableView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPivotTableView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPivotTableView</name> - <value>396</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPreviewEightPages {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPreviewEightPages"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPreviewEightPages</name> - <value>249</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPreviewFourPages {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPreviewFourPages"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPreviewFourPages</name> - <value>248</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPreviewOnePage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPreviewOnePage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPreviewOnePage</name> - <value>246</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPreviewTwelvePages {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPreviewTwelvePages"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPreviewTwelvePages</name> - <value>250</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPreviewTwoPages {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPreviewTwoPages"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPreviewTwoPages</name> - <value>247</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPrimaryKey {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPrimaryKey"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPrimaryKey</name> - <value>107</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPrint {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPrint"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPrint</name> - <value>340</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPrintPreview {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPrintPreview"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPrintPreview</name> - <value>54</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPrintRelationships {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPrintRelationships"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPrintRelationships</name> - <value>483</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdProcedureDefinition {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdProcedureDefinition"> - <context kind="enumeration">AcCommand</context> - <name>acCmdProcedureDefinition</name> - <value>122</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPromote {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPromote"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPromote</name> - <value>386</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdProperties</name> - <value>287</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdPublishDefaults {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdPublishDefaults"> - <context kind="enumeration">AcCommand</context> - <name>acCmdPublishDefaults</name> - <value>324</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryAddToOutput {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryAddToOutput"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryAddToOutput</name> - <value>362</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryGroupBy {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryGroupBy"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryGroupBy</name> - <value>361</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryParameters {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryParameters"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryParameters</name> - <value>76</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTotals {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTotals"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTotals</name> - <value>73</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeAppend {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeAppend"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeAppend</name> - <value>91</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeCrosstab {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeCrosstab"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeCrosstab</name> - <value>74</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeDelete {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeDelete"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeDelete</name> - <value>92</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeMakeTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeMakeTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeMakeTable</name> - <value>94</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeSelect {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeSelect"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeSelect</name> - <value>89</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeSQLDataDefinition {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeSQLDataDefinition"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeSQLDataDefinition</name> - <value>168</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeSQLPassThrough {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeSQLPassThrough"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeSQLPassThrough</name> - <value>169</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeSQLUnion {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeSQLUnion"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeSQLUnion</name> - <value>180</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQueryTypeUpdate {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQueryTypeUpdate"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQueryTypeUpdate</name> - <value>90</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQuickInfo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQuickInfo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQuickInfo</name> - <value>304</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQuickPrint {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQuickPrint"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQuickPrint</name> - <value>278</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdQuickWatch {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdQuickWatch"> - <context kind="enumeration">AcCommand</context> - <name>acCmdQuickWatch</name> - <value>203</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecordsGoToFirst {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecordsGoToFirst"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecordsGoToFirst</name> - <value>67</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecordsGoToLast {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecordsGoToLast"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecordsGoToLast</name> - <value>68</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecordsGoToNew {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecordsGoToNew"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecordsGoToNew</name> - <value>28</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecordsGoToNext {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecordsGoToNext"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecordsGoToNext</name> - <value>65</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecordsGoToPrevious {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecordsGoToPrevious"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecordsGoToPrevious</name> - <value>66</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRecoverDesignMaster {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRecoverDesignMaster"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRecoverDesignMaster</name> - <value>265</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRedo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRedo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRedo</name> - <value>199</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdReferences {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdReferences"> - <context kind="enumeration">AcCommand</context> - <name>acCmdReferences</name> - <value>260</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRefresh {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRefresh"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRefresh</name> - <value>18</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRefreshPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRefreshPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRefreshPage</name> - <value>297</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRegisterActiveXControls {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRegisterActiveXControls"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRegisterActiveXControls</name> - <value>254</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRelationships {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRelationships"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRelationships</name> - <value>133</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRemove {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRemove"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRemove</name> - <value>366</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRemoveFilterSort {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRemoveFilterSort"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRemoveFilterSort</name> - <value>144</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRemoveTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRemoveTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRemoveTable</name> - <value>84</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRename {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRename"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRename</name> - <value>143</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRenameColumn {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRenameColumn"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRenameColumn</name> - <value>274</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRenameGroup {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRenameGroup"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRenameGroup</name> - <value>492</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRepairDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRepairDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRepairDatabase</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdReplace {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdReplace"> - <context kind="enumeration">AcCommand</context> - <name>acCmdReplace</name> - <value>29</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdReportHdrFtr {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdReportHdrFtr"> - <context kind="enumeration">AcCommand</context> - <name>acCmdReportHdrFtr</name> - <value>37</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdReset {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdReset"> - <context kind="enumeration">AcCommand</context> - <name>acCmdReset</name> - <value>124</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdResolveConflicts {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdResolveConflicts"> - <context kind="enumeration">AcCommand</context> - <name>acCmdResolveConflicts</name> - <value>266</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRestore {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRestore"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRestore</name> - <value>514</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRowHeight {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRowHeight"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRowHeight</name> - <value>116</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRun {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRun"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRun</name> - <value>181</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRunMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRunMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRunMacro</name> - <value>31</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdRunOpenMacro {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdRunOpenMacro"> - <context kind="enumeration">AcCommand</context> - <name>acCmdRunOpenMacro</name> - <value>338</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSave {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSave"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSave</name> - <value>20</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAllModules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAllModules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAllModules</name> - <value>280</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAs {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAs"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAs</name> - <value>21</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsASP {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsASP"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsASP</name> - <value>323</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsDataAccessPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsDataAccessPage</name> - <value>389</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsHTML {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsHTML"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsHTML</name> - <value>321</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsIDC {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsIDC"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsIDC</name> - <value>322</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsQuery {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsQuery"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsQuery</name> - <value>96</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveAsReport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveAsReport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveAsReport</name> - <value>142</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveLayout {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveLayout"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveLayout</name> - <value>145</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveModuleAsText {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveModuleAsText"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveModuleAsText</name> - <value>119</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSaveRecord {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSaveRecord"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSaveRecord</name> - <value>97</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectAll</name> - <value>333</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectAllRecords {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectAllRecords"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectAllRecords</name> - <value>109</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectDataAccessPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectDataAccessPage</name> - <value>347</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectForm</name> - <value>40</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectRecord {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectRecord"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectRecord</name> - <value>50</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSelectReport {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSelectReport"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSelectReport</name> - <value>319</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSend {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSend"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSend</name> - <value>173</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSendToBack {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSendToBack"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSendToBack</name> - <value>53</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdServerFilterByForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdServerFilterByForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdServerFilterByForm</name> - <value>507</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdServerProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdServerProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdServerProperties</name> - <value>496</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSetControlDefaults {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSetControlDefaults"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSetControlDefaults</name> - <value>56</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSetDatabasePassword {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSetDatabasePassword"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSetDatabasePassword</name> - <value>275</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSetNextStatement {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSetNextStatement"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSetNextStatement</name> - <value>129</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowAllRelationships {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowAllRelationships"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowAllRelationships</name> - <value>149</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowDirectRelationships {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowDirectRelationships"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowDirectRelationships</name> - <value>148</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowEnvelope {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowEnvelope"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowEnvelope</name> - <value>533</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowMembers {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowMembers"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowMembers</name> - <value>302</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowNextStatement {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowNextStatement"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowNextStatement</name> - <value>130</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowOnlyWebToolbar {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowOnlyWebToolbar"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowOnlyWebToolbar</name> - <value>300</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdShowTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdShowTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdShowTable</name> - <value>185</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSingleStep {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSingleStep"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSingleStep</name> - <value>88</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSizeToFit {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSizeToFit"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSizeToFit</name> - <value>59</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSizeToFitForm {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSizeToFitForm"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSizeToFitForm</name> - <value>69</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSizeToGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSizeToGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSizeToGrid</name> - <value>48</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSizeToNarrowest {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSizeToNarrowest"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSizeToNarrowest</name> - <value>155</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSizeToWidest {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSizeToWidest"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSizeToWidest</name> - <value>156</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSnapToGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSnapToGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSnapToGrid</name> - <value>62</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSortAscending {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSortAscending"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSortAscending</name> - <value>163</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSortDescending {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSortDescending"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSortDescending</name> - <value>164</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSortingAndGrouping {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSortingAndGrouping"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSortingAndGrouping</name> - <value>51</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSpeech {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSpeech"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSpeech</name> - <value>511</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSpelling {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSpelling"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSpelling</name> - <value>269</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSQLView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSQLView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSQLView</name> - <value>184</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStartupProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStartupProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStartupProperties</name> - <value>224</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStepInto {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStepInto"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStepInto</name> - <value>342</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStepOut {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStepOut"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStepOut</name> - <value>311</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStepOver {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStepOver"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStepOver</name> - <value>128</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStepToCursor {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStepToCursor"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStepToCursor</name> - <value>204</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdStopLoadingPage {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdStopLoadingPage"> - <context kind="enumeration">AcCommand</context> - <name>acCmdStopLoadingPage</name> - <value>296</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubdatasheetCollapseAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubdatasheetCollapseAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubdatasheetCollapseAll</name> - <value>505</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubdatasheetExpandAll {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubdatasheetExpandAll"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubdatasheetExpandAll</name> - <value>504</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubdatasheetRemove {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubdatasheetRemove"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubdatasheetRemove</name> - <value>506</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformDatasheet {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformDatasheet"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformDatasheet</name> - <value>108</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformDatasheetView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformDatasheetView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformDatasheetView</name> - <value>463</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformFormView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformFormView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformFormView</name> - <value>462</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformInNewWindow {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformInNewWindow"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformInNewWindow</name> - <value>495</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformPivotChartView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformPivotChartView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformPivotChartView</name> - <value>465</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSubformPivotTableView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSubformPivotTableView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSubformPivotTableView</name> - <value>464</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSwitchboardManager {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSwitchboardManager"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSwitchboardManager</name> - <value>521</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdSynchronizeNow {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdSynchronizeNow"> - <context kind="enumeration">AcCommand</context> - <name>acCmdSynchronizeNow</name> - <value>264</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTabControlPageOrder {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTabControlPageOrder"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTabControlPageOrder</name> - <value>330</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTableAddTable {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTableAddTable"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTableAddTable</name> - <value>498</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTableCustomView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTableCustomView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTableCustomView</name> - <value>497</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTableNames {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTableNames"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTableNames</name> - <value>75</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTabOrder {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTabOrder"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTabOrder</name> - <value>41</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTestValidationRules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTestValidationRules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTestValidationRules</name> - <value>196</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTileHorizontally {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTileHorizontally"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTileHorizontally</name> - <value>286</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTileVertically {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTileVertically"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTileVertically</name> - <value>23</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdToggleBreakpoint {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdToggleBreakpoint"> - <context kind="enumeration">AcCommand</context> - <name>acCmdToggleBreakpoint</name> - <value>131</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdToggleFilter {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdToggleFilter"> - <context kind="enumeration">AcCommand</context> - <name>acCmdToggleFilter</name> - <value>220</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdToolbarControlProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdToolbarControlProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdToolbarControlProperties</name> - <value>301</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdToolbarsCustomize {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdToolbarsCustomize"> - <context kind="enumeration">AcCommand</context> - <name>acCmdToolbarsCustomize</name> - <value>165</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTransferSQLDatabase {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTransferSQLDatabase"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTransferSQLDatabase</name> - <value>515</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTransparentBackground {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTransparentBackground"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTransparentBackground</name> - <value>288</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdTransparentBorder {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdTransparentBorder"> - <context kind="enumeration">AcCommand</context> - <name>acCmdTransparentBorder</name> - <value>289</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUndo {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUndo"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUndo</name> - <value>292</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUnfreezeAllColumns {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUnfreezeAllColumns"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUnfreezeAllColumns</name> - <value>106</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUngroupControls {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUngroupControls"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUngroupControls</name> - <value>485</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUnhideColumns {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUnhideColumns"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUnhideColumns</name> - <value>80</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUpsizingWizard {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUpsizingWizard"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUpsizingWizard</name> - <value>522</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUserAndGroupAccounts {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUserAndGroupAccounts"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUserAndGroupAccounts</name> - <value>104</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUserAndGroupPermissions {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUserAndGroupPermissions"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUserAndGroupPermissions</name> - <value>103</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdUserLevelSecurityWizard {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdUserLevelSecurityWizard"> - <context kind="enumeration">AcCommand</context> - <name>acCmdUserLevelSecurityWizard</name> - <value>276</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdVerticalSpacingDecrease {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdVerticalSpacingDecrease"> - <context kind="enumeration">AcCommand</context> - <name>acCmdVerticalSpacingDecrease</name> - <value>161</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdVerticalSpacingIncrease {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdVerticalSpacingIncrease"> - <context kind="enumeration">AcCommand</context> - <name>acCmdVerticalSpacingIncrease</name> - <value>162</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdVerticalSpacingMakeEqual {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdVerticalSpacingMakeEqual"> - <context kind="enumeration">AcCommand</context> - <name>acCmdVerticalSpacingMakeEqual</name> - <value>160</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewCode {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewCode"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewCode</name> - <value>170</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewDataAccessPages {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewDataAccessPages"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewDataAccessPages</name> - <value>349</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewDetails {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewDetails"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewDetails</name> - <value>210</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewDiagrams {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewDiagrams"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewDiagrams</name> - <value>354</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewFieldList {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewFieldList"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewFieldList</name> - <value>353</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewForms {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewForms"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewForms</name> - <value>112</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewFunctions {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewFunctions"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewFunctions</name> - <value>395</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewGrid</name> - <value>63</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewLargeIcons {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewLargeIcons"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewLargeIcons</name> - <value>209</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewList {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewList"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewList</name> - <value>212</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewMacros {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewMacros"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewMacros</name> - <value>114</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewModules {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewModules"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewModules</name> - <value>115</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewObjectDependencies {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewObjectDependencies"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewObjectDependencies</name> - <value>536</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewQueries {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewQueries"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewQueries</name> - <value>111</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewReports {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewReports"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewReports</name> - <value>113</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewRuler {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewRuler"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewRuler</name> - <value>61</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewShowPaneDiagram {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewShowPaneDiagram"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewShowPaneDiagram</name> - <value>358</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewShowPaneGrid {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewShowPaneGrid"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewShowPaneGrid</name> - <value>359</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewShowPaneSQL {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewShowPaneSQL"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewShowPaneSQL</name> - <value>357</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewSmallIcons {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewSmallIcons"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewSmallIcons</name> - <value>211</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewStoredProcedures {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewStoredProcedures"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewStoredProcedures</name> - <value>355</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTableColumnNames {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTableColumnNames"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTableColumnNames</name> - <value>363</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTableColumnProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTableColumnProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTableColumnProperties</name> - <value>368</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTableKeys {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTableKeys"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTableKeys</name> - <value>369</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTableNameOnly {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTableNameOnly"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTableNameOnly</name> - <value>364</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTables {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTables"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTables</name> - <value>110</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewTableUserView {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewTableUserView"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewTableUserView</name> - <value>370</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewToolbox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewToolbox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewToolbox</name> - <value>85</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewVerifySQL {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewVerifySQL"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewVerifySQL</name> - <value>360</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdViewViews {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdViewViews"> - <context kind="enumeration">AcCommand</context> - <name>acCmdViewViews</name> - <value>356</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdVisualBasicEditor {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdVisualBasicEditor"> - <context kind="enumeration">AcCommand</context> - <name>acCmdVisualBasicEditor</name> - <value>525</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWebPagePreview {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWebPagePreview"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWebPagePreview</name> - <value>466</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWebPageProperties {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWebPageProperties"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWebPageProperties</name> - <value>486</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWebTheme {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWebTheme"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWebTheme</name> - <value>473</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWindowArrangeIcons {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWindowArrangeIcons"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWindowArrangeIcons</name> - <value>24</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWindowCascade {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWindowCascade"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWindowCascade</name> - <value>22</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWindowHide {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWindowHide"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWindowHide</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWindowSplit {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWindowSplit"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWindowSplit</name> - <value>121</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWindowUnhide {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWindowUnhide"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWindowUnhide</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWordMailMerge {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWordMailMerge"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWordMailMerge</name> - <value>195</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdWorkgroupAdministrator {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdWorkgroupAdministrator"> - <context kind="enumeration">AcCommand</context> - <name>acCmdWorkgroupAdministrator</name> - <value>391</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom10 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom10"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom10</name> - <value>244</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom100 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom100"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom100</name> - <value>240</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom1000 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom1000"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom1000</name> - <value>482</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom150 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom150"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom150</name> - <value>239</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom200 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom200"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom200</name> - <value>238</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom25 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom25"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom25</name> - <value>243</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom50 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom50"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom50</name> - <value>242</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom500 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom500"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom500</name> - <value>481</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoom75 {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoom75"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoom75</name> - <value>241</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoomBox {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoomBox"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoomBox</name> - <value>179</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCmdZoomSelection {Constant}--> - <element type="constant"> - <source id="Access.AcCommand.acCmdZoomSelection"> - <context kind="enumeration">AcCommand</context> - <name>acCmdZoomSelection</name> - <value>371</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcControlType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcControlType"> - <name>AcControlType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acBoundObjectFrame {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acBoundObjectFrame"> - <context kind="enumeration">AcControlType</context> - <name>acBoundObjectFrame</name> - <value>108</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCheckBox {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acCheckBox"> - <context kind="enumeration">AcControlType</context> - <name>acCheckBox</name> - <value>106</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acComboBox {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acComboBox"> - <context kind="enumeration">AcControlType</context> - <name>acComboBox</name> - <value>111</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCommandButton {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acCommandButton"> - <context kind="enumeration">AcControlType</context> - <name>acCommandButton</name> - <value>104</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCustomControl {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acCustomControl"> - <context kind="enumeration">AcControlType</context> - <name>acCustomControl</name> - <value>119</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImage {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acImage"> - <context kind="enumeration">AcControlType</context> - <name>acImage</name> - <value>103</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLabel {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acLabel"> - <context kind="enumeration">AcControlType</context> - <name>acLabel</name> - <value>100</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLine {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acLine"> - <context kind="enumeration">AcControlType</context> - <name>acLine</name> - <value>102</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acListBox {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acListBox"> - <context kind="enumeration">AcControlType</context> - <name>acListBox</name> - <value>110</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acObjectFrame {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acObjectFrame"> - <context kind="enumeration">AcControlType</context> - <name>acObjectFrame</name> - <value>114</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOptionButton {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acOptionButton"> - <context kind="enumeration">AcControlType</context> - <name>acOptionButton</name> - <value>105</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOptionGroup {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acOptionGroup"> - <context kind="enumeration">AcControlType</context> - <name>acOptionGroup</name> - <value>107</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPage {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acPage"> - <context kind="enumeration">AcControlType</context> - <name>acPage</name> - <value>124</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPageBreak {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acPageBreak"> - <context kind="enumeration">AcControlType</context> - <name>acPageBreak</name> - <value>118</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acRectangle {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acRectangle"> - <context kind="enumeration">AcControlType</context> - <name>acRectangle</name> - <value>101</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSubform {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acSubform"> - <context kind="enumeration">AcControlType</context> - <name>acSubform</name> - <value>112</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acTabCtl {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acTabCtl"> - <context kind="enumeration">AcControlType</context> - <name>acTabCtl</name> - <value>123</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acTextBox {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acTextBox"> - <context kind="enumeration">AcControlType</context> - <name>acTextBox</name> - <value>109</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acToggleButton {Constant}--> - <element type="constant"> - <source id="Access.AcControlType.acToggleButton"> - <context kind="enumeration">AcControlType</context> - <name>acToggleButton</name> - <value>122</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acCopy--> - <element type="property"> - <source id="Access.acCopy"> - <name>acCopy</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acCtrlMask--> - <element type="property"> - <source id="Access.acCtrlMask"> - <name>acCtrlMask</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcCurrentView {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcCurrentView"> - <name>AcCurrentView</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewDatasheet {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewDatasheet"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewDatasheet</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewDesign {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewDesign"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewDesign</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewFormBrowse {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewFormBrowse"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewFormBrowse</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewPivotChart {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewPivotChart"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewPivotChart</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewPivotTable {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewPivotTable"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewPivotTable</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurViewPreview {Constant}--> - <element type="constant"> - <source id="Access.AcCurrentView.acCurViewPreview"> - <context kind="enumeration">AcCurrentView</context> - <name>acCurViewPreview</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acCut--> - <element type="property"> - <source id="Access.acCut"> - <name>acCut</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcDataAccessPageView {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcDataAccessPageView"> - <name>AcDataAccessPageView</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataAccessPageBrowse {Constant}--> - <element type="constant"> - <source id="Access.AcDataAccessPageView.acDataAccessPageBrowse"> - <context kind="enumeration">AcDataAccessPageView</context> - <name>acDataAccessPageBrowse</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataAccessPageDesign {Constant}--> - <element type="constant"> - <source id="Access.AcDataAccessPageView.acDataAccessPageDesign"> - <context kind="enumeration">AcDataAccessPageView</context> - <name>acDataAccessPageDesign</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acDataErrAdded--> - <element type="property"> - <source id="Access.acDataErrAdded"> - <name>acDataErrAdded</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acDataErrContinue--> - <element type="property"> - <source id="Access.acDataErrContinue"> - <name>acDataErrContinue</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acDataErrDisplay--> - <element type="property"> - <source id="Access.acDataErrDisplay"> - <name>acDataErrDisplay</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcDataObjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcDataObjectType"> - <name>AcDataObjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acActiveDataObject {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acActiveDataObject"> - <context kind="enumeration">AcDataObjectType</context> - <name>acActiveDataObject</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataForm {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataForm"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataForm</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataFunction {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataFunction"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataFunction</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataQuery {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataQuery"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataQuery</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataServerView {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataServerView"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataServerView</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataStoredProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataStoredProcedure"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataStoredProcedure</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataTable {Constant}--> - <element type="constant"> - <source id="Access.AcDataObjectType.acDataTable"> - <context kind="enumeration">AcDataObjectType</context> - <name>acDataTable</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcDataTransferType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcDataTransferType"> - <name>AcDataTransferType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExport {Constant}--> - <element type="constant"> - <source id="Access.AcDataTransferType.acExport"> - <context kind="enumeration">AcDataTransferType</context> - <name>acExport</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImport {Constant}--> - <element type="constant"> - <source id="Access.AcDataTransferType.acImport"> - <context kind="enumeration">AcDataTransferType</context> - <name>acImport</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLink {Constant}--> - <element type="constant"> - <source id="Access.AcDataTransferType.acLink"> - <context kind="enumeration">AcDataTransferType</context> - <name>acLink</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcDefView {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcDefView"> - <name>AcDefView</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefViewContinuous {Constant}--> - <element type="constant"> - <source id="Access.AcDefView.acDefViewContinuous"> - <context kind="enumeration">AcDefView</context> - <name>acDefViewContinuous</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefViewDatasheet {Constant}--> - <element type="constant"> - <source id="Access.AcDefView.acDefViewDatasheet"> - <context kind="enumeration">AcDefView</context> - <name>acDefViewDatasheet</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefViewPivotChart {Constant}--> - <element type="constant"> - <source id="Access.AcDefView.acDefViewPivotChart"> - <context kind="enumeration">AcDefView</context> - <name>acDefViewPivotChart</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefViewPivotTable {Constant}--> - <element type="constant"> - <source id="Access.AcDefView.acDefViewPivotTable"> - <context kind="enumeration">AcDefView</context> - <name>acDefViewPivotTable</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefViewSingle {Constant}--> - <element type="constant"> - <source id="Access.AcDefView.acDefViewSingle"> - <context kind="enumeration">AcDefView</context> - <name>acDefViewSingle</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acDelete--> - <element type="property"> - <source id="Access.acDelete"> - <name>acDelete</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acDeleteCancel--> - <element type="property"> - <source id="Access.acDeleteCancel"> - <name>acDeleteCancel</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acDeleteOK--> - <element type="property"> - <source id="Access.acDeleteOK"> - <name>acDeleteOK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acDeleteUserCancel--> - <element type="property"> - <source id="Access.acDeleteUserCancel"> - <name>acDeleteUserCancel</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEditMenu--> - <element type="property"> - <source id="Access.acEditMenu"> - <name>acEditMenu</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectChisel--> - <element type="property"> - <source id="Access.acEffectChisel"> - <name>acEffectChisel</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectEtched--> - <element type="property"> - <source id="Access.acEffectEtched"> - <name>acEffectEtched</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectNormal--> - <element type="property"> - <source id="Access.acEffectNormal"> - <name>acEffectNormal</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectRaised--> - <element type="property"> - <source id="Access.acEffectRaised"> - <name>acEffectRaised</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectShadow--> - <element type="property"> - <source id="Access.acEffectShadow"> - <name>acEffectShadow</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acEffectSunken--> - <element type="property"> - <source id="Access.acEffectSunken"> - <name>acEffectSunken</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acExit--> - <element type="property"> - <source id="Access.acExit"> - <name>acExit</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcExportXMLEncoding {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcExportXMLEncoding"> - <name>AcExportXMLEncoding</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acUTF16 {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLEncoding.acUTF16"> - <context kind="enumeration">AcExportXMLEncoding</context> - <name>acUTF16</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acUTF8 {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLEncoding.acUTF8"> - <context kind="enumeration">AcExportXMLEncoding</context> - <name>acUTF8</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcExportXMLObjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcExportXMLObjectType"> - <name>AcExportXMLObjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportForm {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportForm"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportForm</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportFunction {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportFunction"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportFunction</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportQuery {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportQuery"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportQuery</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportReport {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportReport"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportReport</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportServerView {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportServerView"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportServerView</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportStoredProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportStoredProcedure"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportStoredProcedure</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportTable {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLObjectType.acExportTable"> - <context kind="enumeration">AcExportXMLObjectType</context> - <name>acExportTable</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcExportXMLOtherFlags {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcExportXMLOtherFlags"> - <name>AcExportXMLOtherFlags</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acEmbedSchema {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLOtherFlags.acEmbedSchema"> - <context kind="enumeration">AcExportXMLOtherFlags</context> - <name>acEmbedSchema</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExcludePrimaryKeyAndIndexes {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLOtherFlags.acExcludePrimaryKeyAndIndexes"> - <context kind="enumeration">AcExportXMLOtherFlags</context> - <name>acExcludePrimaryKeyAndIndexes</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLiveReportSource {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLOtherFlags.acLiveReportSource"> - <context kind="enumeration">AcExportXMLOtherFlags</context> - <name>acLiveReportSource</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPersistReportML {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLOtherFlags.acPersistReportML"> - <context kind="enumeration">AcExportXMLOtherFlags</context> - <name>acPersistReportML</name> - <value>16</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acRunFromServer {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLOtherFlags.acRunFromServer"> - <context kind="enumeration">AcExportXMLOtherFlags</context> - <name>acRunFromServer</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcExportXMLSchemaFormat {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcExportXMLSchemaFormat"> - <name>AcExportXMLSchemaFormat</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSchemaNone {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLSchemaFormat.acSchemaNone"> - <context kind="enumeration">AcExportXMLSchemaFormat</context> - <name>acSchemaNone</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSchemaXSD {Constant}--> - <element type="constant"> - <source id="Access.AcExportXMLSchemaFormat.acSchemaXSD"> - <context kind="enumeration">AcExportXMLSchemaFormat</context> - <name>acSchemaXSD</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acFile--> - <element type="property"> - <source id="Access.acFile"> - <name>acFile</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFileFormat {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFileFormat"> - <name>AcFileFormat</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFileFormatAccess2 {Constant}--> - <element type="constant"> - <source id="Access.AcFileFormat.acFileFormatAccess2"> - <context kind="enumeration">AcFileFormat</context> - <name>acFileFormatAccess2</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFileFormatAccess2000 {Constant}--> - <element type="constant"> - <source id="Access.AcFileFormat.acFileFormatAccess2000"> - <context kind="enumeration">AcFileFormat</context> - <name>acFileFormatAccess2000</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFileFormatAccess2002 {Constant}--> - <element type="constant"> - <source id="Access.AcFileFormat.acFileFormatAccess2002"> - <context kind="enumeration">AcFileFormat</context> - <name>acFileFormatAccess2002</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFileFormatAccess95 {Constant}--> - <element type="constant"> - <source id="Access.AcFileFormat.acFileFormatAccess95"> - <context kind="enumeration">AcFileFormat</context> - <name>acFileFormatAccess95</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFileFormatAccess97 {Constant}--> - <element type="constant"> - <source id="Access.AcFileFormat.acFileFormatAccess97"> - <context kind="enumeration">AcFileFormat</context> - <name>acFileFormatAccess97</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acFilterAdvanced--> - <element type="property"> - <source id="Access.acFilterAdvanced"> - <name>acFilterAdvanced</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFilterByForm--> - <element type="property"> - <source id="Access.acFilterByForm"> - <name>acFilterByForm</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFilterType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFilterType"> - <name>AcFilterType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFilterNormal {Constant}--> - <element type="constant"> - <source id="Access.AcFilterType.acFilterNormal"> - <context kind="enumeration">AcFilterType</context> - <name>acFilterNormal</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acServerFilter {Constant}--> - <element type="constant"> - <source id="Access.AcFilterType.acServerFilter"> - <context kind="enumeration">AcFilterType</context> - <name>acServerFilter</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFindField {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFindField"> - <name>AcFindField</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acAll {Constant}--> - <element type="constant"> - <source id="Access.AcFindField.acAll"> - <context kind="enumeration">AcFindField</context> - <name>acAll</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acCurrent {Constant}--> - <element type="constant"> - <source id="Access.AcFindField.acCurrent"> - <context kind="enumeration">AcFindField</context> - <name>acCurrent</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFindMatch {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFindMatch"> - <name>AcFindMatch</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acAnywhere {Constant}--> - <element type="constant"> - <source id="Access.AcFindMatch.acAnywhere"> - <context kind="enumeration">AcFindMatch</context> - <name>acAnywhere</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acEntire {Constant}--> - <element type="constant"> - <source id="Access.AcFindMatch.acEntire"> - <context kind="enumeration">AcFindMatch</context> - <name>acEntire</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acStart {Constant}--> - <element type="constant"> - <source id="Access.AcFindMatch.acStart"> - <context kind="enumeration">AcFindMatch</context> - <name>acStart</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatASP--> - <element type="property"> - <source id="Access.acFormatASP"> - <name>acFormatASP</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFormatConditionOperator {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFormatConditionOperator"> - <name>AcFormatConditionOperator</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acBetween {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acBetween"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acBetween</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acEqual {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acEqual"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acEqual</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGreaterThan {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acGreaterThan"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acGreaterThan</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGreaterThanOrEqual {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acGreaterThanOrEqual"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acGreaterThanOrEqual</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLessThan {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acLessThan"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acLessThan</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLessThanOrEqual {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acLessThanOrEqual"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acLessThanOrEqual</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNotBetween {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acNotBetween"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acNotBetween</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNotEqual {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionOperator.acNotEqual"> - <context kind="enumeration">AcFormatConditionOperator</context> - <name>acNotEqual</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFormatConditionType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFormatConditionType"> - <name>AcFormatConditionType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExpression {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionType.acExpression"> - <context kind="enumeration">AcFormatConditionType</context> - <name>acExpression</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFieldHasFocus {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionType.acFieldHasFocus"> - <context kind="enumeration">AcFormatConditionType</context> - <name>acFieldHasFocus</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFieldValue {Constant}--> - <element type="constant"> - <source id="Access.AcFormatConditionType.acFieldValue"> - <context kind="enumeration">AcFormatConditionType</context> - <name>acFieldValue</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatDAP--> - <element type="property"> - <source id="Access.acFormatDAP"> - <name>acFormatDAP</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatHTML--> - <element type="property"> - <source id="Access.acFormatHTML"> - <name>acFormatHTML</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatIIS--> - <element type="property"> - <source id="Access.acFormatIIS"> - <name>acFormatIIS</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatRTF--> - <element type="property"> - <source id="Access.acFormatRTF"> - <name>acFormatRTF</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatSNP--> - <element type="property"> - <source id="Access.acFormatSNP"> - <name>acFormatSNP</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatTXT--> - <element type="property"> - <source id="Access.acFormatTXT"> - <name>acFormatTXT</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormatXLS--> - <element type="property"> - <source id="Access.acFormatXLS"> - <name>acFormatXLS</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acFormBar--> - <element type="property"> - <source id="Access.acFormBar"> - <name>acFormBar</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFormOpenDataMode {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFormOpenDataMode"> - <name>AcFormOpenDataMode</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormAdd {Constant}--> - <element type="constant"> - <source id="Access.AcFormOpenDataMode.acFormAdd"> - <context kind="enumeration">AcFormOpenDataMode</context> - <name>acFormAdd</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormEdit {Constant}--> - <element type="constant"> - <source id="Access.AcFormOpenDataMode.acFormEdit"> - <context kind="enumeration">AcFormOpenDataMode</context> - <name>acFormEdit</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormPropertySettings {Constant}--> - <element type="constant"> - <source id="Access.AcFormOpenDataMode.acFormPropertySettings"> - <context kind="enumeration">AcFormOpenDataMode</context> - <name>acFormPropertySettings</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormReadOnly {Constant}--> - <element type="constant"> - <source id="Access.AcFormOpenDataMode.acFormReadOnly"> - <context kind="enumeration">AcFormOpenDataMode</context> - <name>acFormReadOnly</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcFormView {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcFormView"> - <name>AcFormView</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDesign {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acDesign"> - <context kind="enumeration">AcFormView</context> - <name>acDesign</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormDS {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acFormDS"> - <context kind="enumeration">AcFormView</context> - <name>acFormDS</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormPivotChart {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acFormPivotChart"> - <context kind="enumeration">AcFormView</context> - <name>acFormPivotChart</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFormPivotTable {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acFormPivotTable"> - <context kind="enumeration">AcFormView</context> - <name>acFormPivotTable</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNormal {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acNormal"> - <context kind="enumeration">AcFormView</context> - <name>acNormal</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPreview {Constant}--> - <element type="constant"> - <source id="Access.AcFormView.acPreview"> - <context kind="enumeration">AcFormView</context> - <name>acPreview</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acGridlinesBoth--> - <element type="property"> - <source id="Access.acGridlinesBoth"> - <name>acGridlinesBoth</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acGridlinesBothV2--> - <element type="property"> - <source id="Access.acGridlinesBothV2"> - <name>acGridlinesBothV2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acGridlinesHoriz--> - <element type="property"> - <source id="Access.acGridlinesHoriz"> - <name>acGridlinesHoriz</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acGridlinesNone--> - <element type="property"> - <source id="Access.acGridlinesNone"> - <name>acGridlinesNone</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acGridlinesVert--> - <element type="property"> - <source id="Access.acGridlinesVert"> - <name>acGridlinesVert</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcHyperlinkPart {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcHyperlinkPart"> - <name>AcHyperlinkPart</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acAddress {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acAddress"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acAddress</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDisplayedValue {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acDisplayedValue"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acDisplayedValue</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDisplayText {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acDisplayText"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acDisplayText</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFullAddress {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acFullAddress"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acFullAddress</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acScreenTip {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acScreenTip"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acScreenTip</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSubAddress {Constant}--> - <element type="constant"> - <source id="Access.AcHyperlinkPart.acSubAddress"> - <context kind="enumeration">AcHyperlinkPart</context> - <name>acSubAddress</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcImeMode {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcImeMode"> - <name>AcImeMode</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeAlpha {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeAlpha"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeAlpha</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeAlphaFull {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeAlphaFull"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeAlphaFull</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeDisable {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeDisable"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeDisable</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeHangul {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeHangul"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeHangul</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeHangulFull {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeHangulFull"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeHangulFull</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeHiragana {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeHiragana"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeHiragana</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeKatakana {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeKatakana"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeKatakana</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeKatakanaHalf {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeKatakanaHalf"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeKatakanaHalf</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeNoControl {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeNoControl"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeNoControl</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeOff {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeOff"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeOff</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeModeOn {Constant}--> - <element type="constant"> - <source id="Access.AcImeMode.acImeModeOn"> - <context kind="enumeration">AcImeMode</context> - <name>acImeModeOn</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcImeSentenceMode {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcImeSentenceMode"> - <name>AcImeSentenceMode</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeSentenceModeConversation {Constant}--> - <element type="constant"> - <source id="Access.AcImeSentenceMode.acImeSentenceModeConversation"> - <context kind="enumeration">AcImeSentenceMode</context> - <name>acImeSentenceModeConversation</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeSentenceModeNone {Constant}--> - <element type="constant"> - <source id="Access.AcImeSentenceMode.acImeSentenceModeNone"> - <context kind="enumeration">AcImeSentenceMode</context> - <name>acImeSentenceModeNone</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeSentenceModePhrasePredict {Constant}--> - <element type="constant"> - <source id="Access.AcImeSentenceMode.acImeSentenceModePhrasePredict"> - <context kind="enumeration">AcImeSentenceMode</context> - <name>acImeSentenceModePhrasePredict</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImeSentenceModePluralClause {Constant}--> - <element type="constant"> - <source id="Access.AcImeSentenceMode.acImeSentenceModePluralClause"> - <context kind="enumeration">AcImeSentenceMode</context> - <name>acImeSentenceModePluralClause</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcImportXMLOption {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcImportXMLOption"> - <name>AcImportXMLOption</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acAppendData {Constant}--> - <element type="constant"> - <source id="Access.AcImportXMLOption.acAppendData"> - <context kind="enumeration">AcImportXMLOption</context> - <name>acAppendData</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acStructureAndData {Constant}--> - <element type="constant"> - <source id="Access.AcImportXMLOption.acStructureAndData"> - <context kind="enumeration">AcImportXMLOption</context> - <name>acStructureAndData</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acStructureOnly {Constant}--> - <element type="constant"> - <source id="Access.AcImportXMLOption.acStructureOnly"> - <context kind="enumeration">AcImportXMLOption</context> - <name>acStructureOnly</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBClose--> - <element type="property"> - <source id="Access.acLBClose"> - <name>acLBClose</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBEnd--> - <element type="property"> - <source id="Access.acLBEnd"> - <name>acLBEnd</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBGetColumnCount--> - <element type="property"> - <source id="Access.acLBGetColumnCount"> - <name>acLBGetColumnCount</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBGetColumnWidth--> - <element type="property"> - <source id="Access.acLBGetColumnWidth"> - <name>acLBGetColumnWidth</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBGetFormat--> - <element type="property"> - <source id="Access.acLBGetFormat"> - <name>acLBGetFormat</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBGetRowCount--> - <element type="property"> - <source id="Access.acLBGetRowCount"> - <name>acLBGetRowCount</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBGetValue--> - <element type="property"> - <source id="Access.acLBGetValue"> - <name>acLBGetValue</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBInitialize--> - <element type="property"> - <source id="Access.acLBInitialize"> - <name>acLBInitialize</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLBOpen--> - <element type="property"> - <source id="Access.acLBOpen"> - <name>acLBOpen</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acLeftButton--> - <element type="property"> - <source id="Access.acLeftButton"> - <name>acLeftButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuCheck--> - <element type="property"> - <source id="Access.acMenuCheck"> - <name>acMenuCheck</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuGray--> - <element type="property"> - <source id="Access.acMenuGray"> - <name>acMenuGray</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuUncheck--> - <element type="property"> - <source id="Access.acMenuUncheck"> - <name>acMenuUncheck</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuUngray--> - <element type="property"> - <source id="Access.acMenuUngray"> - <name>acMenuUngray</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuVer1X--> - <element type="property"> - <source id="Access.acMenuVer1X"> - <name>acMenuVer1X</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuVer20--> - <element type="property"> - <source id="Access.acMenuVer20"> - <name>acMenuVer20</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMenuVer70--> - <element type="property"> - <source id="Access.acMenuVer70"> - <name>acMenuVer70</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acMiddleButton--> - <element type="property"> - <source id="Access.acMiddleButton"> - <name>acMiddleButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcModuleType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcModuleType"> - <name>AcModuleType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acClassModule {Constant}--> - <element type="constant"> - <source id="Access.AcModuleType.acClassModule"> - <context kind="enumeration">AcModuleType</context> - <name>acClassModule</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acStandardModule {Constant}--> - <element type="constant"> - <source id="Access.AcModuleType.acStandardModule"> - <context kind="enumeration">AcModuleType</context> - <name>acStandardModule</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acNew--> - <element type="property"> - <source id="Access.acNew"> - <name>acNew</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acObject--> - <element type="property"> - <source id="Access.acObject"> - <name>acObject</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcObjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcObjectType"> - <name>AcObjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acDataAccessPage"> - <context kind="enumeration">AcObjectType</context> - <name>acDataAccessPage</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDefault {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acDefault"> - <context kind="enumeration">AcObjectType</context> - <name>acDefault</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDiagram {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acDiagram"> - <context kind="enumeration">AcObjectType</context> - <name>acDiagram</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acForm {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acForm"> - <context kind="enumeration">AcObjectType</context> - <name>acForm</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFunction {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acFunction"> - <context kind="enumeration">AcObjectType</context> - <name>acFunction</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acMacro {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acMacro"> - <context kind="enumeration">AcObjectType</context> - <name>acMacro</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acModule {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acModule"> - <context kind="enumeration">AcObjectType</context> - <name>acModule</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acQuery {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acQuery"> - <context kind="enumeration">AcObjectType</context> - <name>acQuery</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acReport {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acReport"> - <context kind="enumeration">AcObjectType</context> - <name>acReport</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acServerView {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acServerView"> - <context kind="enumeration">AcObjectType</context> - <name>acServerView</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acStoredProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acStoredProcedure"> - <context kind="enumeration">AcObjectType</context> - <name>acStoredProcedure</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acTable {Constant}--> - <element type="constant"> - <source id="Access.AcObjectType.acTable"> - <context kind="enumeration">AcObjectType</context> - <name>acTable</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acObjectUpdate--> - <element type="property"> - <source id="Access.acObjectUpdate"> - <name>acObjectUpdate</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acObjectVerb--> - <element type="property"> - <source id="Access.acObjectVerb"> - <name>acObjectVerb</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acObjStateDirty--> - <element type="property"> - <source id="Access.acObjStateDirty"> - <name>acObjStateDirty</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acObjStateNew--> - <element type="property"> - <source id="Access.acObjStateNew"> - <name>acObjStateNew</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acObjStateOpen--> - <element type="property"> - <source id="Access.acObjStateOpen"> - <name>acObjStateOpen</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEActivate--> - <element type="property"> - <source id="Access.acOLEActivate"> - <name>acOLEActivate</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEActivateDoubleClick--> - <element type="property"> - <source id="Access.acOLEActivateDoubleClick"> - <name>acOLEActivateDoubleClick</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEActivateGetFocus--> - <element type="property"> - <source id="Access.acOLEActivateGetFocus"> - <name>acOLEActivateGetFocus</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEActivateManual--> - <element type="property"> - <source id="Access.acOLEActivateManual"> - <name>acOLEActivateManual</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEChanged--> - <element type="property"> - <source id="Access.acOLEChanged"> - <name>acOLEChanged</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEClose--> - <element type="property"> - <source id="Access.acOLEClose"> - <name>acOLEClose</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEClosed--> - <element type="property"> - <source id="Access.acOLEClosed"> - <name>acOLEClosed</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLECopy--> - <element type="property"> - <source id="Access.acOLECopy"> - <name>acOLECopy</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLECreateEmbed--> - <element type="property"> - <source id="Access.acOLECreateEmbed"> - <name>acOLECreateEmbed</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLECreateFromFile--> - <element type="property"> - <source id="Access.acOLECreateFromFile"> - <name>acOLECreateFromFile</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLECreateLink--> - <element type="property"> - <source id="Access.acOLECreateLink"> - <name>acOLECreateLink</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLECreateNew--> - <element type="property"> - <source id="Access.acOLECreateNew"> - <name>acOLECreateNew</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEDelete--> - <element type="property"> - <source id="Access.acOLEDelete"> - <name>acOLEDelete</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEDisplayContent--> - <element type="property"> - <source id="Access.acOLEDisplayContent"> - <name>acOLEDisplayContent</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEDisplayIcon--> - <element type="property"> - <source id="Access.acOLEDisplayIcon"> - <name>acOLEDisplayIcon</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEEither--> - <element type="property"> - <source id="Access.acOLEEither"> - <name>acOLEEither</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEEmbedded--> - <element type="property"> - <source id="Access.acOLEEmbedded"> - <name>acOLEEmbedded</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEFetchVerbs--> - <element type="property"> - <source id="Access.acOLEFetchVerbs"> - <name>acOLEFetchVerbs</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEInsertObjDlg--> - <element type="property"> - <source id="Access.acOLEInsertObjDlg"> - <name>acOLEInsertObjDlg</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLELinked--> - <element type="property"> - <source id="Access.acOLELinked"> - <name>acOLELinked</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLENone--> - <element type="property"> - <source id="Access.acOLENone"> - <name>acOLENone</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEPaste--> - <element type="property"> - <source id="Access.acOLEPaste"> - <name>acOLEPaste</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEPasteSpecialDlg--> - <element type="property"> - <source id="Access.acOLEPasteSpecialDlg"> - <name>acOLEPasteSpecialDlg</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLERenamed--> - <element type="property"> - <source id="Access.acOLERenamed"> - <name>acOLERenamed</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLESaved--> - <element type="property"> - <source id="Access.acOLESaved"> - <name>acOLESaved</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLESizeAutoSize--> - <element type="property"> - <source id="Access.acOLESizeAutoSize"> - <name>acOLESizeAutoSize</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLESizeClip--> - <element type="property"> - <source id="Access.acOLESizeClip"> - <name>acOLESizeClip</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLESizeStretch--> - <element type="property"> - <source id="Access.acOLESizeStretch"> - <name>acOLESizeStretch</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLESizeZoom--> - <element type="property"> - <source id="Access.acOLESizeZoom"> - <name>acOLESizeZoom</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEUpdate--> - <element type="property"> - <source id="Access.acOLEUpdate"> - <name>acOLEUpdate</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEUpdateAutomatic--> - <element type="property"> - <source id="Access.acOLEUpdateAutomatic"> - <name>acOLEUpdateAutomatic</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEUpdateFrozen--> - <element type="property"> - <source id="Access.acOLEUpdateFrozen"> - <name>acOLEUpdateFrozen</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEUpdateManual--> - <element type="property"> - <source id="Access.acOLEUpdateManual"> - <name>acOLEUpdateManual</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbHide--> - <element type="property"> - <source id="Access.acOLEVerbHide"> - <name>acOLEVerbHide</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbInPlaceActivate--> - <element type="property"> - <source id="Access.acOLEVerbInPlaceActivate"> - <name>acOLEVerbInPlaceActivate</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbInPlaceUIActivate--> - <element type="property"> - <source id="Access.acOLEVerbInPlaceUIActivate"> - <name>acOLEVerbInPlaceUIActivate</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbOpen--> - <element type="property"> - <source id="Access.acOLEVerbOpen"> - <name>acOLEVerbOpen</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbPrimary--> - <element type="property"> - <source id="Access.acOLEVerbPrimary"> - <name>acOLEVerbPrimary</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acOLEVerbShow--> - <element type="property"> - <source id="Access.acOLEVerbShow"> - <name>acOLEVerbShow</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcOpenDataMode {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcOpenDataMode"> - <name>AcOpenDataMode</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acAdd {Constant}--> - <element type="constant"> - <source id="Access.AcOpenDataMode.acAdd"> - <context kind="enumeration">AcOpenDataMode</context> - <name>acAdd</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acEdit {Constant}--> - <element type="constant"> - <source id="Access.AcOpenDataMode.acEdit"> - <context kind="enumeration">AcOpenDataMode</context> - <name>acEdit</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acReadOnly {Constant}--> - <element type="constant"> - <source id="Access.AcOpenDataMode.acReadOnly"> - <context kind="enumeration">AcOpenDataMode</context> - <name>acReadOnly</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcOutputObjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcOutputObjectType"> - <name>AcOutputObjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputDataAccessPage"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputDataAccessPage</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputForm {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputForm"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputForm</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputFunction {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputFunction"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputFunction</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputModule {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputModule"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputModule</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputQuery {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputQuery"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputQuery</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputReport {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputReport"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputReport</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputServerView {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputServerView"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputServerView</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputStoredProcedure {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputStoredProcedure"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputStoredProcedure</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acOutputTable {Constant}--> - <element type="constant"> - <source id="Access.AcOutputObjectType.acOutputTable"> - <context kind="enumeration">AcOutputObjectType</context> - <name>acOutputTable</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acPaste--> - <element type="property"> - <source id="Access.acPaste"> - <name>acPaste</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintColor {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintColor"> - <name>AcPrintColor</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRCMColor {Constant}--> - <element type="constant"> - <source id="Access.AcPrintColor.acPRCMColor"> - <context kind="enumeration">AcPrintColor</context> - <name>acPRCMColor</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRCMMonochrome {Constant}--> - <element type="constant"> - <source id="Access.AcPrintColor.acPRCMMonochrome"> - <context kind="enumeration">AcPrintColor</context> - <name>acPRCMMonochrome</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintDuplex {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintDuplex"> - <name>AcPrintDuplex</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRDPHorizontal {Constant}--> - <element type="constant"> - <source id="Access.AcPrintDuplex.acPRDPHorizontal"> - <context kind="enumeration">AcPrintDuplex</context> - <name>acPRDPHorizontal</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRDPSimplex {Constant}--> - <element type="constant"> - <source id="Access.AcPrintDuplex.acPRDPSimplex"> - <context kind="enumeration">AcPrintDuplex</context> - <name>acPRDPSimplex</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRDPVertical {Constant}--> - <element type="constant"> - <source id="Access.AcPrintDuplex.acPRDPVertical"> - <context kind="enumeration">AcPrintDuplex</context> - <name>acPRDPVertical</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintItemLayout {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintItemLayout"> - <name>AcPrintItemLayout</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRHorizontalColumnLayout {Constant}--> - <element type="constant"> - <source id="Access.AcPrintItemLayout.acPRHorizontalColumnLayout"> - <context kind="enumeration">AcPrintItemLayout</context> - <name>acPRHorizontalColumnLayout</name> - <value>1953</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRVerticalColumnLayout {Constant}--> - <element type="constant"> - <source id="Access.AcPrintItemLayout.acPRVerticalColumnLayout"> - <context kind="enumeration">AcPrintItemLayout</context> - <name>acPRVerticalColumnLayout</name> - <value>1954</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintObjQuality {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintObjQuality"> - <name>AcPrintObjQuality</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPQDraft {Constant}--> - <element type="constant"> - <source id="Access.AcPrintObjQuality.acPRPQDraft"> - <context kind="enumeration">AcPrintObjQuality</context> - <name>acPRPQDraft</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPQHigh {Constant}--> - <element type="constant"> - <source id="Access.AcPrintObjQuality.acPRPQHigh"> - <context kind="enumeration">AcPrintObjQuality</context> - <name>acPRPQHigh</name> - <value>-4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPQLow {Constant}--> - <element type="constant"> - <source id="Access.AcPrintObjQuality.acPRPQLow"> - <context kind="enumeration">AcPrintObjQuality</context> - <name>acPRPQLow</name> - <value>-2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPQMedium {Constant}--> - <element type="constant"> - <source id="Access.AcPrintObjQuality.acPRPQMedium"> - <context kind="enumeration">AcPrintObjQuality</context> - <name>acPRPQMedium</name> - <value>-3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintOrientation {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintOrientation"> - <name>AcPrintOrientation</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRORLandscape {Constant}--> - <element type="constant"> - <source id="Access.AcPrintOrientation.acPRORLandscape"> - <context kind="enumeration">AcPrintOrientation</context> - <name>acPRORLandscape</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRORPortrait {Constant}--> - <element type="constant"> - <source id="Access.AcPrintOrientation.acPRORPortrait"> - <context kind="enumeration">AcPrintOrientation</context> - <name>acPRORPortrait</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintPaperBin {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintPaperBin"> - <name>AcPrintPaperBin</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNAuto {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNAuto"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNAuto</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNCassette {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNCassette"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNCassette</name> - <value>14</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNEnvelope {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNEnvelope"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNEnvelope</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNEnvManual {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNEnvManual"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNEnvManual</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNFormSource {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNFormSource"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNFormSource</name> - <value>15</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNLargeCapacity {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNLargeCapacity"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNLargeCapacity</name> - <value>11</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNLargeFmt {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNLargeFmt"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNLargeFmt</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNLower {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNLower"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNLower</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNManual {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNManual"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNManual</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNMiddle {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNMiddle"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNMiddle</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNSmallFmt {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNSmallFmt"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNSmallFmt</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNTractor {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNTractor"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNTractor</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRBNUpper {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperBin.acPRBNUpper"> - <context kind="enumeration">AcPrintPaperBin</context> - <name>acPRBNUpper</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintPaperSize {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintPaperSize"> - <name>AcPrintPaperSize</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPS10x14 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPS10x14"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPS10x14</name> - <value>16</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPS11x17 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPS11x17"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPS11x17</name> - <value>17</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSA3 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSA3"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSA3</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSA4 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSA4"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSA4</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSA4Small {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSA4Small"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSA4Small</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSA5 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSA5"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSA5</name> - <value>11</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSB4 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSB4"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSB4</name> - <value>12</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSB5 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSB5"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSB5</name> - <value>13</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSCSheet {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSCSheet"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSCSheet</name> - <value>24</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSDSheet {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSDSheet"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSDSheet</name> - <value>25</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnv10 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnv10"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnv10</name> - <value>20</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnv11 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnv11"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnv11</name> - <value>21</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnv12 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnv12"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnv12</name> - <value>22</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnv14 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnv14"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnv14</name> - <value>23</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnv9 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnv9"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnv9</name> - <value>19</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvB4 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvB4"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvB4</name> - <value>33</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvB5 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvB5"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvB5</name> - <value>34</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvB6 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvB6"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvB6</name> - <value>35</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvC3 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvC3"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvC3</name> - <value>29</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvC4 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvC4"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvC4</name> - <value>30</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvC5 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvC5"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvC5</name> - <value>28</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvC6 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvC6"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvC6</name> - <value>31</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvC65 {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvC65"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvC65</name> - <value>32</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvDL {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvDL"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvDL</name> - <value>27</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvItaly {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvItaly"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvItaly</name> - <value>36</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvMonarch {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvMonarch"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvMonarch</name> - <value>37</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSEnvPersonal {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSEnvPersonal"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSEnvPersonal</name> - <value>38</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSESheet {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSESheet"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSESheet</name> - <value>26</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSExecutive {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSExecutive"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSExecutive</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSFanfoldLglGerman {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSFanfoldLglGerman"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSFanfoldLglGerman</name> - <value>41</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSFanfoldStdGerman {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSFanfoldStdGerman"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSFanfoldStdGerman</name> - <value>40</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSFanfoldUS {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSFanfoldUS"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSFanfoldUS</name> - <value>39</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSFolio {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSFolio"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSFolio</name> - <value>14</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSLedger {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSLedger"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSLedger</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSLegal {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSLegal"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSLegal</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSLetter {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSLetter"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSLetter</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSLetterSmall {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSLetterSmall"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSLetterSmall</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSNote {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSNote"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSNote</name> - <value>18</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSQuarto {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSQuarto"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSQuarto</name> - <value>15</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSStatement {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSStatement"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSStatement</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSTabloid {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSTabloid"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSTabloid</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPRPSUser {Constant}--> - <element type="constant"> - <source id="Access.AcPrintPaperSize.acPRPSUser"> - <context kind="enumeration">AcPrintPaperSize</context> - <name>acPRPSUser</name> - <value>256</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintQuality {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintQuality"> - <name>AcPrintQuality</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDraft {Constant}--> - <element type="constant"> - <source id="Access.AcPrintQuality.acDraft"> - <context kind="enumeration">AcPrintQuality</context> - <name>acDraft</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acHigh {Constant}--> - <element type="constant"> - <source id="Access.AcPrintQuality.acHigh"> - <context kind="enumeration">AcPrintQuality</context> - <name>acHigh</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLow {Constant}--> - <element type="constant"> - <source id="Access.AcPrintQuality.acLow"> - <context kind="enumeration">AcPrintQuality</context> - <name>acLow</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acMedium {Constant}--> - <element type="constant"> - <source id="Access.AcPrintQuality.acMedium"> - <context kind="enumeration">AcPrintQuality</context> - <name>acMedium</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcPrintRange {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcPrintRange"> - <name>AcPrintRange</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPages {Constant}--> - <element type="constant"> - <source id="Access.AcPrintRange.acPages"> - <context kind="enumeration">AcPrintRange</context> - <name>acPages</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPrintAll {Constant}--> - <element type="constant"> - <source id="Access.AcPrintRange.acPrintAll"> - <context kind="enumeration">AcPrintRange</context> - <name>acPrintAll</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSelection {Constant}--> - <element type="constant"> - <source id="Access.AcPrintRange.acSelection"> - <context kind="enumeration">AcPrintRange</context> - <name>acSelection</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcProjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcProjectType"> - <name>AcProjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acADP {Constant}--> - <element type="constant"> - <source id="Access.AcProjectType.acADP"> - <context kind="enumeration">AcProjectType</context> - <name>acADP</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acMDB {Constant}--> - <element type="constant"> - <source id="Access.AcProjectType.acMDB"> - <context kind="enumeration">AcProjectType</context> - <name>acMDB</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNull {Constant}--> - <element type="constant"> - <source id="Access.AcProjectType.acNull"> - <context kind="enumeration">AcProjectType</context> - <name>acNull</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acPrompt--> - <element type="property"> - <source id="Access.acPrompt"> - <name>acPrompt</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acPropCatData--> - <element type="property"> - <source id="Access.acPropCatData"> - <name>acPropCatData</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acPropCatEvent--> - <element type="property"> - <source id="Access.acPropCatEvent"> - <name>acPropCatEvent</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acPropCatLayout--> - <element type="property"> - <source id="Access.acPropCatLayout"> - <name>acPropCatLayout</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acPropCatNA--> - <element type="property"> - <source id="Access.acPropCatNA"> - <name>acPropCatNA</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acPropCatOther--> - <element type="property"> - <source id="Access.acPropCatOther"> - <name>acPropCatOther</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcQuitOption {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcQuitOption"> - <name>AcQuitOption</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acQuitPrompt {Constant}--> - <element type="constant"> - <source id="Access.AcQuitOption.acQuitPrompt"> - <context kind="enumeration">AcQuitOption</context> - <name>acQuitPrompt</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acQuitSaveAll {Constant}--> - <element type="constant"> - <source id="Access.AcQuitOption.acQuitSaveAll"> - <context kind="enumeration">AcQuitOption</context> - <name>acQuitSaveAll</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acQuitSaveNone {Constant}--> - <element type="constant"> - <source id="Access.AcQuitOption.acQuitSaveNone"> - <context kind="enumeration">AcQuitOption</context> - <name>acQuitSaveNone</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcRecord {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcRecord"> - <name>AcRecord</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFirst {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acFirst"> - <context kind="enumeration">AcRecord</context> - <name>acFirst</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGoTo {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acGoTo"> - <context kind="enumeration">AcRecord</context> - <name>acGoTo</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLast {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acLast"> - <context kind="enumeration">AcRecord</context> - <name>acLast</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNewRec {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acNewRec"> - <context kind="enumeration">AcRecord</context> - <name>acNewRec</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acNext {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acNext"> - <context kind="enumeration">AcRecord</context> - <name>acNext</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPrevious {Constant}--> - <element type="constant"> - <source id="Access.AcRecord.acPrevious"> - <context kind="enumeration">AcRecord</context> - <name>acPrevious</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acRecordsMenu--> - <element type="property"> - <source id="Access.acRecordsMenu"> - <name>acRecordsMenu</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acRefresh--> - <element type="property"> - <source id="Access.acRefresh"> - <name>acRefresh</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acRightButton--> - <element type="property"> - <source id="Access.acRightButton"> - <name>acRightButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSave--> - <element type="property"> - <source id="Access.acSave"> - <name>acSave</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSaveForm--> - <element type="property"> - <source id="Access.acSaveForm"> - <name>acSaveForm</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSaveFormAs--> - <element type="property"> - <source id="Access.acSaveFormAs"> - <name>acSaveFormAs</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSaveRecord--> - <element type="property"> - <source id="Access.acSaveRecord"> - <name>acSaveRecord</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcSearchDirection {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcSearchDirection"> - <name>AcSearchDirection</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDown {Constant}--> - <element type="constant"> - <source id="Access.AcSearchDirection.acDown"> - <context kind="enumeration">AcSearchDirection</context> - <name>acDown</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSearchAll {Constant}--> - <element type="constant"> - <source id="Access.AcSearchDirection.acSearchAll"> - <context kind="enumeration">AcSearchDirection</context> - <name>acSearchAll</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acUp {Constant}--> - <element type="constant"> - <source id="Access.AcSearchDirection.acUp"> - <context kind="enumeration">AcSearchDirection</context> - <name>acUp</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecFrmRptExecute--> - <element type="property"> - <source id="Access.acSecFrmRptExecute"> - <name>acSecFrmRptExecute</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecFrmRptReadDef--> - <element type="property"> - <source id="Access.acSecFrmRptReadDef"> - <name>acSecFrmRptReadDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecFrmRptWriteDef--> - <element type="property"> - <source id="Access.acSecFrmRptWriteDef"> - <name>acSecFrmRptWriteDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecMacExecute--> - <element type="property"> - <source id="Access.acSecMacExecute"> - <name>acSecMacExecute</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecMacReadDef--> - <element type="property"> - <source id="Access.acSecMacReadDef"> - <name>acSecMacReadDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecMacWriteDef--> - <element type="property"> - <source id="Access.acSecMacWriteDef"> - <name>acSecMacWriteDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecModReadDef--> - <element type="property"> - <source id="Access.acSecModReadDef"> - <name>acSecModReadDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSecModWriteDef--> - <element type="property"> - <source id="Access.acSecModWriteDef"> - <name>acSecModWriteDef</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcSection {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcSection"> - <name>AcSection</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDetail {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acDetail"> - <context kind="enumeration">AcSection</context> - <name>acDetail</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acFooter {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acFooter"> - <context kind="enumeration">AcSection</context> - <name>acFooter</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGroupLevel1Footer {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acGroupLevel1Footer"> - <context kind="enumeration">AcSection</context> - <name>acGroupLevel1Footer</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGroupLevel1Header {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acGroupLevel1Header"> - <context kind="enumeration">AcSection</context> - <name>acGroupLevel1Header</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGroupLevel2Footer {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acGroupLevel2Footer"> - <context kind="enumeration">AcSection</context> - <name>acGroupLevel2Footer</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acGroupLevel2Header {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acGroupLevel2Header"> - <context kind="enumeration">AcSection</context> - <name>acGroupLevel2Header</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acHeader {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acHeader"> - <context kind="enumeration">AcSection</context> - <name>acHeader</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPageFooter {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acPageFooter"> - <context kind="enumeration">AcSection</context> - <name>acPageFooter</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPageHeader {Constant}--> - <element type="constant"> - <source id="Access.AcSection.acPageHeader"> - <context kind="enumeration">AcSection</context> - <name>acPageHeader</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acSelectAllRecords--> - <element type="property"> - <source id="Access.acSelectAllRecords"> - <name>acSelectAllRecords</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acSelectRecord--> - <element type="property"> - <source id="Access.acSelectRecord"> - <name>acSelectRecord</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcSendObjectType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcSendObjectType"> - <name>AcSendObjectType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendDataAccessPage {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendDataAccessPage"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendDataAccessPage</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendForm {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendForm"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendForm</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendModule {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendModule"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendModule</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendNoObject {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendNoObject"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendNoObject</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendQuery {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendQuery"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendQuery</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendReport {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendReport"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendReport</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSendTable {Constant}--> - <element type="constant"> - <source id="Access.AcSendObjectType.acSendTable"> - <context kind="enumeration">AcSendObjectType</context> - <name>acSendTable</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acServerFilterByForm--> - <element type="property"> - <source id="Access.acServerFilterByForm"> - <name>acServerFilterByForm</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acShiftMask--> - <element type="property"> - <source id="Access.acShiftMask"> - <name>acShiftMask</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::acShowAllRecords--> - <element type="property"> - <source id="Access.acShowAllRecords"> - <name>acShowAllRecords</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcShowToolbar {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcShowToolbar"> - <name>AcShowToolbar</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acToolbarNo {Constant}--> - <element type="constant"> - <source id="Access.AcShowToolbar.acToolbarNo"> - <context kind="enumeration">AcShowToolbar</context> - <name>acToolbarNo</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acToolbarWhereApprop {Constant}--> - <element type="constant"> - <source id="Access.AcShowToolbar.acToolbarWhereApprop"> - <context kind="enumeration">AcShowToolbar</context> - <name>acToolbarWhereApprop</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acToolbarYes {Constant}--> - <element type="constant"> - <source id="Access.AcShowToolbar.acToolbarYes"> - <context kind="enumeration">AcShowToolbar</context> - <name>acToolbarYes</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcSpreadSheetType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcSpreadSheetType"> - <name>AcSpreadSheetType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel3 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel3"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel3</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel4 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel4"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel4</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel5 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel5"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel5</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel7 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel7"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel7</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel8 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel8"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel8</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel9 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel9"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel9</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeExcel97 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeExcel97"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeExcel97</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeLotusWJ2 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeLotusWJ2"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeLotusWJ2</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeLotusWK1 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeLotusWK1"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeLotusWK1</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeLotusWK3 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeLotusWK3"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeLotusWK3</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSpreadsheetTypeLotusWK4 {Constant}--> - <element type="constant"> - <source id="Access.AcSpreadSheetType.acSpreadsheetTypeLotusWK4"> - <context kind="enumeration">AcSpreadSheetType</context> - <name>acSpreadsheetTypeLotusWK4</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcSysCmdAction {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcSysCmdAction"> - <name>AcSysCmdAction</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdAccessDir {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdAccessDir"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdAccessDir</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdAccessVer {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdAccessVer"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdAccessVer</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdClearHelpTopic {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdClearHelpTopic"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdClearHelpTopic</name> - <value>11</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdClearStatus {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdClearStatus"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdClearStatus</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdGetObjectState {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdGetObjectState"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdGetObjectState</name> - <value>10</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdGetWorkgroupFile {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdGetWorkgroupFile"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdGetWorkgroupFile</name> - <value>13</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdIniFile {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdIniFile"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdIniFile</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdInitMeter {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdInitMeter"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdInitMeter</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdProfile {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdProfile"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdProfile</name> - <value>12</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdRemoveMeter {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdRemoveMeter"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdRemoveMeter</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdRuntime {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdRuntime"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdRuntime</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdSetStatus {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdSetStatus"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdSetStatus</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acSysCmdUpdateMeter {Constant}--> - <element type="constant"> - <source id="Access.AcSysCmdAction.acSysCmdUpdateMeter"> - <context kind="enumeration">AcSysCmdAction</context> - <name>acSysCmdUpdateMeter</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcTextTransferType {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcTextTransferType"> - <name>AcTextTransferType</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportDelim {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acExportDelim"> - <context kind="enumeration">AcTextTransferType</context> - <name>acExportDelim</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportFixed {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acExportFixed"> - <context kind="enumeration">AcTextTransferType</context> - <name>acExportFixed</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportHTML {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acExportHTML"> - <context kind="enumeration">AcTextTransferType</context> - <name>acExportHTML</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acExportMerge {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acExportMerge"> - <context kind="enumeration">AcTextTransferType</context> - <name>acExportMerge</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImportDelim {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acImportDelim"> - <context kind="enumeration">AcTextTransferType</context> - <name>acImportDelim</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImportFixed {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acImportFixed"> - <context kind="enumeration">AcTextTransferType</context> - <name>acImportFixed</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acImportHTML {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acImportHTML"> - <context kind="enumeration">AcTextTransferType</context> - <name>acImportHTML</name> - <value>7</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLinkDelim {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acLinkDelim"> - <context kind="enumeration">AcTextTransferType</context> - <name>acLinkDelim</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLinkFixed {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acLinkFixed"> - <context kind="enumeration">AcTextTransferType</context> - <name>acLinkFixed</name> - <value>6</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acLinkHTML {Constant}--> - <element type="constant"> - <source id="Access.AcTextTransferType.acLinkHTML"> - <context kind="enumeration">AcTextTransferType</context> - <name>acLinkHTML</name> - <value>9</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcTransformXMLScriptOption {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcTransformXMLScriptOption"> - <name>AcTransformXMLScriptOption</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDisableScript {Constant}--> - <element type="constant"> - <source id="Access.AcTransformXMLScriptOption.acDisableScript"> - <context kind="enumeration">AcTransformXMLScriptOption</context> - <name>acDisableScript</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acEnableScript {Constant}--> - <element type="constant"> - <source id="Access.AcTransformXMLScriptOption.acEnableScript"> - <context kind="enumeration">AcTransformXMLScriptOption</context> - <name>acEnableScript</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acPromptScript {Constant}--> - <element type="constant"> - <source id="Access.AcTransformXMLScriptOption.acPromptScript"> - <context kind="enumeration">AcTransformXMLScriptOption</context> - <name>acPromptScript</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--property::acUndo--> - <element type="property"> - <source id="Access.acUndo"> - <name>acUndo</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcView {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcView"> - <name>AcView</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acViewDesign {Constant}--> - <element type="constant"> - <source id="Access.AcView.acViewDesign"> - <context kind="enumeration">AcView</context> - <name>acViewDesign</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acViewNormal {Constant}--> - <element type="constant"> - <source id="Access.AcView.acViewNormal"> - <context kind="enumeration">AcView</context> - <name>acViewNormal</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acViewPivotChart {Constant}--> - <element type="constant"> - <source id="Access.AcView.acViewPivotChart"> - <context kind="enumeration">AcView</context> - <name>acViewPivotChart</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acViewPivotTable {Constant}--> - <element type="constant"> - <source id="Access.AcView.acViewPivotTable"> - <context kind="enumeration">AcView</context> - <name>acViewPivotTable</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acViewPreview {Constant}--> - <element type="constant"> - <source id="Access.AcView.acViewPreview"> - <context kind="enumeration">AcView</context> - <name>acViewPreview</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AcWindowMode {Enumeration}--> - <element type="enumeration"> - <source id="Access.AcWindowMode"> - <name>AcWindowMode</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::acDialog {Constant}--> - <element type="constant"> - <source id="Access.AcWindowMode.acDialog"> - <context kind="enumeration">AcWindowMode</context> - <name>acDialog</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acHidden {Constant}--> - <element type="constant"> - <source id="Access.AcWindowMode.acHidden"> - <context kind="enumeration">AcWindowMode</context> - <name>acHidden</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acIcon {Constant}--> - <element type="constant"> - <source id="Access.AcWindowMode.acIcon"> - <context kind="enumeration">AcWindowMode</context> - <name>acIcon</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::acWindowNormal {Constant}--> - <element type="constant"> - <source id="Access.AcWindowMode.acWindowNormal"> - <context kind="enumeration">AcWindowMode</context> - <name>acWindowNormal</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--Class::AdditionalData--> - <element type="class"> - <source id="Access.AdditionalData"> - <name>AdditionalData</name> - </source> - <destination designation="identity" /> - </element> - <!--method::AdditionalData.Add--> - <element type="method"> - <source id="Access.AdditionalData.Add"> - <context kind="class">AdditionalData</context> - <name>Add</name> - <type>_AdditionalData</type> - <parameter-list> - <parameter> - <type>String</type> - <name>var</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AdditionalData.Count {ReadOnly}--> - <element type="property"> - <source id="Access.AdditionalData.Count"> - <context kind="class">AdditionalData</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::AdditionalData.IsMemberSafe--> - <element type="method"> - <source id="Access.AdditionalData.IsMemberSafe"> - <context kind="class">AdditionalData</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AdditionalData.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.AdditionalData.Item"> - <context kind="class">AdditionalData</context> - <name default="true">Item</name> - <type>_AdditionalData</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AdditionalData.Name--> - <element type="property"> - <source id="Access.AdditionalData.Name"> - <context kind="class">AdditionalData</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--Class::AllForms--> - <element type="class"> - <source id="Access.AllForms"> - <name>AllForms</name> - </source> - <destination designation="identity" /> - </element> - <!--property::AllForms.Application {ReadOnly}--> - <element type="property"> - <source id="Access.AllForms.Application"> - <context kind="class">AllForms</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::AllForms.Count {ReadOnly}--> - <element type="property"> - <source id="Access.AllForms.Count"> - <context kind="class">AllForms</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::AllForms.IsMemberSafe--> - <element type="method"> - <source id="Access.AllForms.IsMemberSafe"> - <context kind="class">AllForms</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AllForms.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.AllForms.Item"> - <context kind="class">AllForms</context> - <name default="true">Item</name> - <type>AccessObject</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>var</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::AllForms.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.AllForms.Parent"> - <context kind="class">AllForms</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ALT_MASK--> - <element type="property"> - <source id="Access.ALT_MASK"> - <name>ALT_MASK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::Application--> - <element type="class"> - <source id="Access.Application"> - <name>Application</name> - </source> - <destination designation="identity" /> - </element> - <!--method::Application.AccessError--> - <element type="method"> - <source id="Access.Application.AccessError"> - <context kind="class">Application</context> - <name>AccessError</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ErrorNumber</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.AddAutoCorrect--> - <element type="method"> - <source id="Access.Application.AddAutoCorrect"> - <context kind="class">Application</context> - <name>AddAutoCorrect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ChangeFrom</name> - </parameter> - <parameter> - <type>String</type> - <name>ChangeTo</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.AddToFavorites--> - <element type="method"> - <source id="Access.Application.AddToFavorites"> - <context kind="class">Application</context> - <name>AddToFavorites</name> - <type>void</type> - </source> - </element> - <!--property::Application.ADOConnectString {ReadOnly}--> - <element type="property"> - <source id="Access.Application.ADOConnectString"> - <context kind="class">Application</context> - <name>ADOConnectString</name> - <type>String</type> - </source> - </element> - <!--property::Application.AnswerWizard {ReadOnly}--> - <element type="property"> - <source id="Access.Application.AnswerWizard"> - <context kind="class">Application</context> - <name>AnswerWizard</name> - <type>AnswerWizard</type> - </source> - </element> - <!--property::Application.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Application"> - <context kind="class">Application</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--method::Application.AppLoadString--> - <element type="method"> - <source id="Access.Application.AppLoadString"> - <context kind="class">Application</context> - <name>AppLoadString</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>id</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.Assistant {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Assistant"> - <context kind="class">Application</context> - <name>Assistant</name> - <type>Assistant</type> - </source> - </element> - <!--property::Application.AutoCorrect {ReadOnly}--> - <element type="property"> - <source id="Access.Application.AutoCorrect"> - <context kind="class">Application</context> - <name>AutoCorrect</name> - <type>_AutoCorrect</type> - </source> - </element> - <!--property::Application.AutomationSecurity--> - <element type="property"> - <source id="Access.Application.AutomationSecurity"> - <context kind="class">Application</context> - <name>AutomationSecurity</name> - <type>Integer</type> - </source> - </element> - <!--method::Application.BeginUndoable--> - <element type="method"> - <source id="Access.Application.BeginUndoable"> - <context kind="class">Application</context> - <name>BeginUndoable</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Hwnd</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.BrokenReference {ReadOnly}--> - <element type="property"> - <source id="Access.Application.BrokenReference"> - <context kind="class">Application</context> - <name>BrokenReference</name> - <type>boolean</type> - </source> - </element> - <!--property::Application.Build {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Build"> - <context kind="class">Application</context> - <name>Build</name> - <type>Integer</type> - </source> - </element> - <!--method::Application.BuildCriteria--> - <element type="method"> - <source id="Access.Application.BuildCriteria"> - <context kind="class">Application</context> - <name>BuildCriteria</name> - <type>String</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Field</name> - </parameter> - <parameter> - <type>short</type> - <name>FieldType</name> - </parameter> - <parameter> - <type>String</type> - <name>Expression</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.BuilderString--> - <element type="method"> - <source id="Access.Application.BuilderString"> - <context kind="class">Application</context> - <name>BuilderString</name> - <type>Variant</type> - </source> - </element> - <!--method::Application.CloseCurrentDatabase--> - <element type="method"> - <source id="Access.Application.CloseCurrentDatabase"> - <context kind="class">Application</context> - <name>CloseCurrentDatabase</name> - <type>void</type> - </source> - </element> - <!--property::Application.CodeContextObject {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CodeContextObject"> - <context kind="class">Application</context> - <name>CodeContextObject</name> - <type>Object</type> - </source> - </element> - <!--property::Application.CodeData {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CodeData"> - <context kind="class">Application</context> - <name>CodeData</name> - <type>CodeData</type> - </source> - </element> - <!--method::Application.CodeDb--> - <element type="method"> - <source id="Access.Application.CodeDb"> - <context kind="class">Application</context> - <name>CodeDb</name> - <type>Database</type> - </source> - </element> - <!--property::Application.CodeProject {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CodeProject"> - <context kind="class">Application</context> - <name>CodeProject</name> - <type>CodeProject</type> - </source> - </element> - <!--property::Application.COMAddIns {ReadOnly}--> - <element type="property"> - <source id="Access.Application.COMAddIns"> - <context kind="class">Application</context> - <name>COMAddIns</name> - <type>COMAddIns</type> - </source> - </element> - <!--property::Application.CommandBars {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CommandBars"> - <context kind="class">Application</context> - <name>CommandBars</name> - <type>CommandBars</type> - </source> - </element> - <!--method::Application.CompactRepair--> - <element type="method"> - <source id="Access.Application.CompactRepair"> - <context kind="class">Application</context> - <name>CompactRepair</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>SourceFile</name> - </parameter> - <parameter> - <type>String</type> - <name>DestinationFile</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>LogFile</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.ConvertAccessProject--> - <element type="method"> - <source id="Access.Application.ConvertAccessProject"> - <context kind="class">Application</context> - <name>ConvertAccessProject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>SourceFilename</name> - </parameter> - <parameter> - <type>String</type> - <name>DestinationFilename</name> - </parameter> - <parameter> - <type>Integer</type> - <name>DestinationFileFormat</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateAccessProject--> - <element type="method"> - <source id="Access.Application.CreateAccessProject"> - <context kind="class">Application</context> - <name>CreateAccessProject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Connect</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateAdditionalData--> - <element type="method"> - <source id="Access.Application.CreateAdditionalData"> - <context kind="class">Application</context> - <name>CreateAdditionalData</name> - <type>_AdditionalData</type> - </source> - </element> - <!--method::Application.CreateControl--> - <element type="method"> - <source id="Access.Application.CreateControl"> - <context kind="class">Application</context> - <name>CreateControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FormName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Section</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Parent</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ColumnName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateControlEx--> - <element type="method"> - <source id="Access.Application.CreateControlEx"> - <context kind="class">Application</context> - <name>CreateControlEx</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FormName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Section</name> - </parameter> - <parameter> - <type>String</type> - <name>Parent</name> - </parameter> - <parameter> - <type>String</type> - <name>ControlSource</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Left</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Top</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Width</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateDataAccessPage--> - <element type="method"> - <source id="Access.Application.CreateDataAccessPage"> - <context kind="class">Application</context> - <name>CreateDataAccessPage</name> - <type>DataAccessPage</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>FileName</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>CreateNewFile</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateForm--> - <element type="method"> - <source id="Access.Application.CreateForm"> - <context kind="class">Application</context> - <name>CreateForm</name> - <type>Form</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>Database</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FormTemplate</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateGroupLevel--> - <element type="method"> - <source id="Access.Application.CreateGroupLevel"> - <context kind="class">Application</context> - <name>CreateGroupLevel</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ReportName</name> - </parameter> - <parameter> - <type>String</type> - <name>Expression</name> - </parameter> - <parameter> - <type>short</type> - <name>Header</name> - </parameter> - <parameter> - <type>short</type> - <name>Footer</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateNewWorkgroupFile--> - <element type="method"> - <source id="Access.Application.CreateNewWorkgroupFile"> - <context kind="class">Application</context> - <name>CreateNewWorkgroupFile</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>String</type> - <name>Path</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>Name</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>Company</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>WorkgroupID</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>Replace</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateReport--> - <element type="method"> - <source id="Access.Application.CreateReport"> - <context kind="class">Application</context> - <name>CreateReport</name> - <type>Report</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>Database</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ReportTemplate</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateReportControl--> - <element type="method"> - <source id="Access.Application.CreateReportControl"> - <context kind="class">Application</context> - <name>CreateReportControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ReportName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Section</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Parent</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ColumnName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.CreateReportControlEx--> - <element type="method"> - <source id="Access.Application.CreateReportControlEx"> - <context kind="class">Application</context> - <name>CreateReportControlEx</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ReportName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Section</name> - </parameter> - <parameter> - <type>String</type> - <name>Parent</name> - </parameter> - <parameter> - <type>String</type> - <name>ControlName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Left</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Top</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Width</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.CurrentData {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CurrentData"> - <context kind="class">Application</context> - <name>CurrentData</name> - <type>CurrentData</type> - </source> - </element> - <!--method::Application.CurrentDb--> - <element type="method"> - <source id="Access.Application.CurrentDb"> - <context kind="class">Application</context> - <name>CurrentDb</name> - <type>Database</type> - </source> - </element> - <!--property::Application.CurrentObjectName {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CurrentObjectName"> - <context kind="class">Application</context> - <name>CurrentObjectName</name> - <type>String</type> - </source> - </element> - <!--property::Application.CurrentObjectType {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CurrentObjectType"> - <context kind="class">Application</context> - <name>CurrentObjectType</name> - <type>Integer</type> - </source> - </element> - <!--property::Application.CurrentProject {ReadOnly}--> - <element type="property"> - <source id="Access.Application.CurrentProject"> - <context kind="class">Application</context> - <name>CurrentProject</name> - <type>CurrentProject</type> - </source> - </element> - <!--method::Application.CurrentUser--> - <element type="method"> - <source id="Access.Application.CurrentUser"> - <context kind="class">Application</context> - <name>CurrentUser</name> - <type>String</type> - </source> - </element> - <!--property::Application.DataAccessPages {ReadOnly}--> - <element type="property"> - <source id="Access.Application.DataAccessPages"> - <context kind="class">Application</context> - <name>DataAccessPages</name> - <type>DataAccessPages</type> - </source> - </element> - <!--method::Application.DAvg--> - <element type="method"> - <source id="Access.Application.DAvg"> - <context kind="class">Application</context> - <name>DAvg</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.DBEngine {ReadOnly}--> - <element type="property"> - <source id="Access.Application.DBEngine"> - <context kind="class">Application</context> - <name>DBEngine</name> - <type>DBEngine</type> - </source> - </element> - <!--method::Application.DCount--> - <element type="method"> - <source id="Access.Application.DCount"> - <context kind="class">Application</context> - <name>DCount</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDEExecute--> - <element type="method"> - <source id="Access.Application.DDEExecute"> - <context kind="class">Application</context> - <name>DDEExecute</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ChanNum</name> - </parameter> - <parameter> - <type>String</type> - <name>Command</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDEInitiate--> - <element type="method"> - <source id="Access.Application.DDEInitiate"> - <context kind="class">Application</context> - <name>DDEInitiate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Application</name> - </parameter> - <parameter> - <type>String</type> - <name>Topic</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDEPoke--> - <element type="method"> - <source id="Access.Application.DDEPoke"> - <context kind="class">Application</context> - <name>DDEPoke</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ChanNum</name> - </parameter> - <parameter> - <type>String</type> - <name>Item</name> - </parameter> - <parameter> - <type>String</type> - <name>Data</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDERequest--> - <element type="method"> - <source id="Access.Application.DDERequest"> - <context kind="class">Application</context> - <name>DDERequest</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ChanNum</name> - </parameter> - <parameter> - <type>String</type> - <name>Item</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDETerminate--> - <element type="method"> - <source id="Access.Application.DDETerminate"> - <context kind="class">Application</context> - <name>DDETerminate</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ChanNum</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DDETerminateAll--> - <element type="method"> - <source id="Access.Application.DDETerminateAll"> - <context kind="class">Application</context> - <name>DDETerminateAll</name> - <type>void</type> - </source> - </element> - <!--property::Application.DefaultWebOptions {ReadOnly}--> - <element type="property"> - <source id="Access.Application.DefaultWebOptions"> - <context kind="class">Application</context> - <name>DefaultWebOptions</name> - <type>DefaultWebOptions</type> - </source> - </element> - <!--method::Application.DefaultWorkspaceClone--> - <element type="method"> - <source id="Access.Application.DefaultWorkspaceClone"> - <context kind="class">Application</context> - <name>DefaultWorkspaceClone</name> - <type>Workspace</type> - </source> - </element> - <!--method::Application.DelAutoCorrect--> - <element type="method"> - <source id="Access.Application.DelAutoCorrect"> - <context kind="class">Application</context> - <name>DelAutoCorrect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ChangeFrom</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DeleteControl--> - <element type="method"> - <source id="Access.Application.DeleteControl"> - <context kind="class">Application</context> - <name>DeleteControl</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FormName</name> - </parameter> - <parameter> - <type>String</type> - <name>ControlName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DeleteReportControl--> - <element type="method"> - <source id="Access.Application.DeleteReportControl"> - <context kind="class">Application</context> - <name>DeleteReportControl</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ReportName</name> - </parameter> - <parameter> - <type>String</type> - <name>ControlName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DFirst--> - <element type="method"> - <source id="Access.Application.DFirst"> - <context kind="class">Application</context> - <name>DFirst</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DLast--> - <element type="method"> - <source id="Access.Application.DLast"> - <context kind="class">Application</context> - <name>DLast</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DLookup--> - <element type="method"> - <source id="Access.Application.DLookup"> - <context kind="class">Application</context> - <name>DLookup</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DMax--> - <element type="method"> - <source id="Access.Application.DMax"> - <context kind="class">Application</context> - <name>DMax</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DMin--> - <element type="method"> - <source id="Access.Application.DMin"> - <context kind="class">Application</context> - <name>DMin</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.DoCmd {ReadOnly}--> - <element type="property"> - <source id="Access.Application.DoCmd"> - <context kind="class">Application</context> - <name>DoCmd</name> - <type>DoCmd</type> - </source> - </element> - <!--method::Application.DStDev--> - <element type="method"> - <source id="Access.Application.DStDev"> - <context kind="class">Application</context> - <name>DStDev</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DStDevP--> - <element type="method"> - <source id="Access.Application.DStDevP"> - <context kind="class">Application</context> - <name>DStDevP</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DSum--> - <element type="method"> - <source id="Access.Application.DSum"> - <context kind="class">Application</context> - <name>DSum</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DVar--> - <element type="method"> - <source id="Access.Application.DVar"> - <context kind="class">Application</context> - <name>DVar</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.DVarP--> - <element type="method"> - <source id="Access.Application.DVarP"> - <context kind="class">Application</context> - <name>DVarP</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - <parameter> - <type>String</type> - <name>Domain</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Criteria</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.Echo--> - <element type="method"> - <source id="Access.Application.Echo"> - <context kind="class">Application</context> - <name>Echo</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>EchoOn</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>bstrStatusBarText</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.EuroConvert--> - <element type="method"> - <source id="Access.Application.EuroConvert"> - <context kind="class">Application</context> - <name>EuroConvert</name> - <type>double</type> - <parameter-list> - <parameter> - <type>double</type> - <name>Number</name> - </parameter> - <parameter> - <type>String</type> - <name>SourceCurrency</name> - </parameter> - <parameter> - <type>String</type> - <name>TargetCurrency</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FullPrecision</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TriangulationPrecision</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.Eval--> - <element type="method"> - <source id="Access.Application.Eval"> - <context kind="class">Application</context> - <name>Eval</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>StringExpr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.ExportXML--> - <element type="method"> - <source id="Access.Application.ExportXML"> - <context kind="class">Application</context> - <name>ExportXML</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>DataSource</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>DataTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>SchemaTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>PresentationTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>ImageTarget</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Encoding</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>OtherFlags</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>WhereCondition</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>AdditionalData</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.ExportXMLOld--> - <element type="method"> - <source id="Access.Application.ExportXMLOld"> - <context kind="class">Application</context> - <name>ExportXMLOld</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>DataSource</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>DataTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>SchemaTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>PresentationTarget</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>ImageTarget</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Encoding</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>OtherFlags</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.FeatureInstall--> - <element type="property"> - <source id="Access.Application.FeatureInstall"> - <context kind="class">Application</context> - <name>FeatureInstall</name> - <type>Integer</type> - </source> - </element> - <!--property::Application.FileDialog {ReadOnly}--> - <element type="property"> - <source id="Access.Application.FileDialog"> - <context kind="class">Application</context> - <name>FileDialog</name> - <type>FileDialog</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dialogType</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.FileSearch {ReadOnly}--> - <element type="property"> - <source id="Access.Application.FileSearch"> - <context kind="class">Application</context> - <name>FileSearch</name> - <type>FileSearch</type> - </source> - </element> - <!--method::Application.FollowHyperlink--> - <element type="method"> - <source id="Access.Application.FollowHyperlink"> - <context kind="class">Application</context> - <name>FollowHyperlink</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Address</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>SubAddress</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>NewWindow</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>AddHistory</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ExtraInfo</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Method</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>HeaderInfo</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.Forms {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Forms"> - <context kind="class">Application</context> - <name>Forms</name> - <type>Forms</type> - </source> - </element> - <!--method::Application.GetHiddenAttribute--> - <element type="method"> - <source id="Access.Application.GetHiddenAttribute"> - <context kind="class">Application</context> - <name>GetHiddenAttribute</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.GetOption--> - <element type="method"> - <source id="Access.Application.GetOption"> - <context kind="class">Application</context> - <name>GetOption</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>OptionName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.GUIDFromString--> - <element type="method"> - <source id="Access.Application.GUIDFromString"> - <context kind="class">Application</context> - <name>GUIDFromString</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>String</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.hWndAccessApp--> - <element type="method"> - <source id="Access.Application.hWndAccessApp"> - <context kind="class">Application</context> - <name>hWndAccessApp</name> - <type>Integer</type> - </source> - </element> - <!--method::Application.HyperlinkPart--> - <element type="method"> - <source id="Access.Application.HyperlinkPart"> - <context kind="class">Application</context> - <name>HyperlinkPart</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Hyperlink</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Part</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.ImportXML--> - <element type="method"> - <source id="Access.Application.ImportXML"> - <context kind="class">Application</context> - <name>ImportXML</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>DataSource</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>ImportOptions</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.InsertText--> - <element type="method"> - <source id="Access.Application.InsertText"> - <context kind="class">Application</context> - <name>InsertText</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Text</name> - </parameter> - <parameter> - <type>String</type> - <name>ModuleName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.IsCompiled {ReadOnly}--> - <element type="property"> - <source id="Access.Application.IsCompiled"> - <context kind="class">Application</context> - <name>IsCompiled</name> - <type>boolean</type> - </source> - </element> - <!--method::Application.IsMemberSafe--> - <element type="method"> - <source id="Access.Application.IsMemberSafe"> - <context kind="class">Application</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.LanguageSettings {ReadOnly}--> - <element type="property"> - <source id="Access.Application.LanguageSettings"> - <context kind="class">Application</context> - <name>LanguageSettings</name> - <type>LanguageSettings</type> - </source> - </element> - <!--method::Application.LoadFromText--> - <element type="method"> - <source id="Access.Application.LoadFromText"> - <context kind="class">Application</context> - <name>LoadFromText</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.LoadPicture--> - <element type="method"> - <source id="Access.Application.LoadPicture"> - <context kind="class">Application</context> - <name>LoadPicture</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.MenuBar--> - <element type="property"> - <source id="Access.Application.MenuBar"> - <context kind="class">Application</context> - <name>MenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Application.Modules {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Modules"> - <context kind="class">Application</context> - <name>Modules</name> - <type>Modules</type> - </source> - </element> - <!--property::Application.MsoDebugOptions {ReadOnly}--> - <element type="property"> - <source id="Access.Application.MsoDebugOptions"> - <context kind="class">Application</context> - <name>MsoDebugOptions</name> - <type>MsoDebugOptions</type> - </source> - </element> - <!--property::Application.Name {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Name"> - <context kind="class">Application</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--method::Application.NewAccessProject--> - <element type="method"> - <source id="Access.Application.NewAccessProject"> - <context kind="class">Application</context> - <name>NewAccessProject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Connect</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.NewCurrentDatabase--> - <element type="method"> - <source id="Access.Application.NewCurrentDatabase"> - <context kind="class">Application</context> - <name>NewCurrentDatabase</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.NewFileTaskPane {ReadOnly}--> - <element type="property"> - <source id="Access.Application.NewFileTaskPane"> - <context kind="class">Application</context> - <name>NewFileTaskPane</name> - <type>NewFile</type> - </source> - </element> - <!--method::Application.Nz--> - <element type="method"> - <source id="Access.Application.Nz"> - <context kind="class">Application</context> - <name>Nz</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Value</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ValueIfNull</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.OpenAccessProject--> - <element type="method"> - <source id="Access.Application.OpenAccessProject"> - <context kind="class">Application</context> - <name>OpenAccessProject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>Exclusive</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.OpenCurrentDatabase--> - <element type="method"> - <source id="Access.Application.OpenCurrentDatabase"> - <context kind="class">Application</context> - <name>OpenCurrentDatabase</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>Exclusive</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>bstrPassword</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.OpenCurrentDatabaseOld--> - <element type="method"> - <source id="Access.Application.OpenCurrentDatabaseOld"> - <context kind="class">Application</context> - <name>OpenCurrentDatabaseOld</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>filepath</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>Exclusive</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Parent"> - <context kind="class">Application</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Application.Printer--> - <element type="property"> - <source id="Access.Application.Printer"> - <context kind="class">Application</context> - <name>Printer</name> - <type>_Printer</type> - </source> - </element> - <!--property::Application.Printers {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Printers"> - <context kind="class">Application</context> - <name>Printers</name> - <type>Printers</type> - </source> - </element> - <!--property::Application.ProductCode {ReadOnly}--> - <element type="property"> - <source id="Access.Application.ProductCode"> - <context kind="class">Application</context> - <name>ProductCode</name> - <type>String</type> - </source> - </element> - <!--method::Application.Quit--> - <element type="method"> - <source id="Access.Application.Quit"> - <context kind="class">Application</context> - <name>Quit</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>Option</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.References {ReadOnly}--> - <element type="property"> - <source id="Access.Application.References"> - <context kind="class">Application</context> - <name>References</name> - <type>References</type> - </source> - </element> - <!--method::Application.RefreshDatabaseWindow--> - <element type="method"> - <source id="Access.Application.RefreshDatabaseWindow"> - <context kind="class">Application</context> - <name>RefreshDatabaseWindow</name> - <type>void</type> - </source> - </element> - <!--method::Application.RefreshTitleBar--> - <element type="method"> - <source id="Access.Application.RefreshTitleBar"> - <context kind="class">Application</context> - <name>RefreshTitleBar</name> - <type>void</type> - </source> - </element> - <!--method::Application.ReloadAddIns--> - <element type="method"> - <source id="Access.Application.ReloadAddIns"> - <context kind="class">Application</context> - <name>ReloadAddIns</name> - <type>void</type> - </source> - </element> - <!--method::Application.ReplaceModule--> - <element type="method"> - <source id="Access.Application.ReplaceModule"> - <context kind="class">Application</context> - <name>ReplaceModule</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>objtyp</name> - </parameter> - <parameter> - <type>String</type> - <name>ModuleName</name> - </parameter> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>token</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.Reports {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Reports"> - <context kind="class">Application</context> - <name>Reports</name> - <type>Reports</type> - </source> - </element> - <!--method::Application.Run--> - <element type="method"> - <source id="Access.Application.Run"> - <context kind="class">Application</context> - <name>Run</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Procedure</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg1</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg2</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg3</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg4</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg5</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg6</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg7</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg8</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg9</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg10</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg11</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg12</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg13</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg14</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg15</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg16</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg17</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg18</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg19</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg20</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg21</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg22</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg23</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg24</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg25</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg26</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg27</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg28</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg29</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Arg30</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.RunCommand--> - <element type="method"> - <source id="Access.Application.RunCommand"> - <context kind="class">Application</context> - <name>RunCommand</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Command</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.SaveAsText--> - <element type="method"> - <source id="Access.Application.SaveAsText"> - <context kind="class">Application</context> - <name>SaveAsText</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.Screen {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Screen"> - <context kind="class">Application</context> - <name>Screen</name> - <type>Screen</type> - </source> - </element> - <!--method::Application.SetDefaultWorkgroupFile--> - <element type="method"> - <source id="Access.Application.SetDefaultWorkgroupFile"> - <context kind="class">Application</context> - <name>SetDefaultWorkgroupFile</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Path</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.SetHiddenAttribute--> - <element type="method"> - <source id="Access.Application.SetHiddenAttribute"> - <context kind="class">Application</context> - <name>SetHiddenAttribute</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - <parameter> - <type>boolean</type> - <name>fHidden</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.SetOption--> - <element type="method"> - <source id="Access.Application.SetOption"> - <context kind="class">Application</context> - <name>SetOption</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>OptionName</name> - </parameter> - <parameter> - <type>Variant</type> - <name>Setting</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.SetUndoRecording--> - <element type="method"> - <source id="Access.Application.SetUndoRecording"> - <context kind="class">Application</context> - <name>SetUndoRecording</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>yesno</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Application.ShortcutMenuBar"> - <context kind="class">Application</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::Application.StringFromGUID--> - <element type="method"> - <source id="Access.Application.StringFromGUID"> - <context kind="class">Application</context> - <name>StringFromGUID</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Guid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.SysCmd--> - <element type="method"> - <source id="Access.Application.SysCmd"> - <context kind="class">Application</context> - <name>SysCmd</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Action</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Argument2</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Argument3</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Application.TransformXML--> - <element type="method"> - <source id="Access.Application.TransformXML"> - <context kind="class">Application</context> - <name>TransformXML</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>DataSource</name> - </parameter> - <parameter> - <type>String</type> - <name>TransformSource</name> - </parameter> - <parameter> - <type>String</type> - <name>OutputTarget</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>WellFormedXMLOutput</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>ScriptOption</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Application.UserControl--> - <element type="property"> - <source id="Access.Application.UserControl"> - <context kind="class">Application</context> - <name>UserControl</name> - <type>boolean</type> - </source> - </element> - <!--property::Application.VBE {ReadOnly}--> - <element type="property"> - <source id="Access.Application.VBE"> - <context kind="class">Application</context> - <name>VBE</name> - <type>VBE</type> - </source> - </element> - <!--property::Application.Version {ReadOnly}--> - <element type="property"> - <source id="Access.Application.Version"> - <context kind="class">Application</context> - <name>Version</name> - <type>String</type> - </source> - </element> - <!--property::Application.VGXFrameInterval {ReadOnly}--> - <element type="property"> - <source id="Access.Application.VGXFrameInterval"> - <context kind="class">Application</context> - <name>VGXFrameInterval</name> - <type>Variant</type> - </source> - </element> - <!--property::Application.Visible--> - <element type="property"> - <source id="Access.Application.Visible"> - <context kind="class">Application</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Application.WizHook {ReadOnly}--> - <element type="property"> - <source id="Access.Application.WizHook"> - <context kind="class">Application</context> - <name>WizHook</name> - <type>WizHook</type> - </source> - </element> - <!--Class::AutoCorrect--> - <element type="class"> - <source id="Access.AutoCorrect"> - <name>AutoCorrect</name> - </source> - <destination designation="identity" /> - </element> - <!--property::AutoCorrect.DisplayAutoCorrectOptions--> - <element type="property"> - <source id="Access.AutoCorrect.DisplayAutoCorrectOptions"> - <context kind="class">AutoCorrect</context> - <name>DisplayAutoCorrectOptions</name> - <type>boolean</type> - </source> - </element> - <!--method::AutoCorrect.IsMemberSafe--> - <element type="method"> - <source id="Access.AutoCorrect.IsMemberSafe"> - <context kind="class">AutoCorrect</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::BoundObjectFrame--> - <element type="class"> - <source id="Access.BoundObjectFrame"> - <name>BoundObjectFrame</name> - </source> - <destination designation="identity" /> - </element> - <!--property::BoundObjectFrame.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accChild"> - <context kind="class">BoundObjectFrame</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accChildCount"> - <context kind="class">BoundObjectFrame</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accDefaultAction"> - <context kind="class">BoundObjectFrame</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accDescription"> - <context kind="class">BoundObjectFrame</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::BoundObjectFrame.accDoDefaultAction--> - <element type="method"> - <source id="Access.BoundObjectFrame.accDoDefaultAction"> - <context kind="class">BoundObjectFrame</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accFocus"> - <context kind="class">BoundObjectFrame</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::BoundObjectFrame.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accHelp"> - <context kind="class">BoundObjectFrame</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accHelpTopic"> - <context kind="class">BoundObjectFrame</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::BoundObjectFrame.accHitTest--> - <element type="method"> - <source id="Access.BoundObjectFrame.accHitTest"> - <context kind="class">BoundObjectFrame</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accKeyboardShortcut"> - <context kind="class">BoundObjectFrame</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::BoundObjectFrame.accLocation--> - <element type="method"> - <source id="Access.BoundObjectFrame.accLocation"> - <context kind="class">BoundObjectFrame</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accName--> - <element type="property"> - <source id="Access.BoundObjectFrame.accName"> - <context kind="class">BoundObjectFrame</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::BoundObjectFrame.accNavigate--> - <element type="method"> - <source id="Access.BoundObjectFrame.accNavigate"> - <context kind="class">BoundObjectFrame</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accParent"> - <context kind="class">BoundObjectFrame</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::BoundObjectFrame.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accRole"> - <context kind="class">BoundObjectFrame</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::BoundObjectFrame.accSelect--> - <element type="method"> - <source id="Access.BoundObjectFrame.accSelect"> - <context kind="class">BoundObjectFrame</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accSelection"> - <context kind="class">BoundObjectFrame</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::BoundObjectFrame.accState {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.accState"> - <context kind="class">BoundObjectFrame</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.accValue--> - <element type="property"> - <source id="Access.BoundObjectFrame.accValue"> - <context kind="class">BoundObjectFrame</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.Action--> - <element type="property"> - <source id="Access.BoundObjectFrame.Action"> - <context kind="class">BoundObjectFrame</context> - <name>Action</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.AddColon--> - <element type="property"> - <source id="Access.BoundObjectFrame.AddColon"> - <context kind="class">BoundObjectFrame</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.AfterUpdate--> - <element type="property"> - <source id="Access.BoundObjectFrame.AfterUpdate"> - <context kind="class">BoundObjectFrame</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.Application {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Application"> - <context kind="class">BoundObjectFrame</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::BoundObjectFrame.AutoActivate--> - <element type="property"> - <source id="Access.BoundObjectFrame.AutoActivate"> - <context kind="class">BoundObjectFrame</context> - <name>AutoActivate</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.AutoLabel--> - <element type="property"> - <source id="Access.BoundObjectFrame.AutoLabel"> - <context kind="class">BoundObjectFrame</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.BackColor--> - <element type="property"> - <source id="Access.BoundObjectFrame.BackColor"> - <context kind="class">BoundObjectFrame</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.BackStyle--> - <element type="property"> - <source id="Access.BoundObjectFrame.BackStyle"> - <context kind="class">BoundObjectFrame</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.BeforeUpdate--> - <element type="property"> - <source id="Access.BoundObjectFrame.BeforeUpdate"> - <context kind="class">BoundObjectFrame</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.BorderColor--> - <element type="property"> - <source id="Access.BoundObjectFrame.BorderColor"> - <context kind="class">BoundObjectFrame</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.BorderLineStyle--> - <element type="property"> - <source id="Access.BoundObjectFrame.BorderLineStyle"> - <context kind="class">BoundObjectFrame</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.BorderStyle--> - <element type="property"> - <source id="Access.BoundObjectFrame.BorderStyle"> - <context kind="class">BoundObjectFrame</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.BorderWidth--> - <element type="property"> - <source id="Access.BoundObjectFrame.BorderWidth"> - <context kind="class">BoundObjectFrame</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.Class--> - <element type="property"> - <source id="Access.BoundObjectFrame.Class"> - <context kind="class">BoundObjectFrame</context> - <name>Class</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.ColumnHidden--> - <element type="property"> - <source id="Access.BoundObjectFrame.ColumnHidden"> - <context kind="class">BoundObjectFrame</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.ColumnOrder--> - <element type="property"> - <source id="Access.BoundObjectFrame.ColumnOrder"> - <context kind="class">BoundObjectFrame</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.ColumnWidth--> - <element type="property"> - <source id="Access.BoundObjectFrame.ColumnWidth"> - <context kind="class">BoundObjectFrame</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.ControlName--> - <element type="property"> - <source id="Access.BoundObjectFrame.ControlName"> - <context kind="class">BoundObjectFrame</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Controls"> - <context kind="class">BoundObjectFrame</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::BoundObjectFrame.ControlSource--> - <element type="property"> - <source id="Access.BoundObjectFrame.ControlSource"> - <context kind="class">BoundObjectFrame</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.ControlTipText--> - <element type="property"> - <source id="Access.BoundObjectFrame.ControlTipText"> - <context kind="class">BoundObjectFrame</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.ControlType--> - <element type="property"> - <source id="Access.BoundObjectFrame.ControlType"> - <context kind="class">BoundObjectFrame</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.DisplayType--> - <element type="property"> - <source id="Access.BoundObjectFrame.DisplayType"> - <context kind="class">BoundObjectFrame</context> - <name>DisplayType</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.DisplayWhen--> - <element type="property"> - <source id="Access.BoundObjectFrame.DisplayWhen"> - <context kind="class">BoundObjectFrame</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.Enabled--> - <element type="property"> - <source id="Access.BoundObjectFrame.Enabled"> - <context kind="class">BoundObjectFrame</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.EventProcPrefix--> - <element type="property"> - <source id="Access.BoundObjectFrame.EventProcPrefix"> - <context kind="class">BoundObjectFrame</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::BoundObjectFrame.Goto--> - <element type="method"> - <source id="Access.BoundObjectFrame.Goto"> - <context kind="class">BoundObjectFrame</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::BoundObjectFrame.Height--> - <element type="property"> - <source id="Access.BoundObjectFrame.Height"> - <context kind="class">BoundObjectFrame</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.HelpContextId--> - <element type="property"> - <source id="Access.BoundObjectFrame.HelpContextId"> - <context kind="class">BoundObjectFrame</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.InSelection--> - <element type="property"> - <source id="Access.BoundObjectFrame.InSelection"> - <context kind="class">BoundObjectFrame</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::BoundObjectFrame.IsMemberSafe--> - <element type="method"> - <source id="Access.BoundObjectFrame.IsMemberSafe"> - <context kind="class">BoundObjectFrame</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.IsVisible--> - <element type="property"> - <source id="Access.BoundObjectFrame.IsVisible"> - <context kind="class">BoundObjectFrame</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.LabelAlign--> - <element type="property"> - <source id="Access.BoundObjectFrame.LabelAlign"> - <context kind="class">BoundObjectFrame</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.LabelX--> - <element type="property"> - <source id="Access.BoundObjectFrame.LabelX"> - <context kind="class">BoundObjectFrame</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.LabelY--> - <element type="property"> - <source id="Access.BoundObjectFrame.LabelY"> - <context kind="class">BoundObjectFrame</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.Left--> - <element type="property"> - <source id="Access.BoundObjectFrame.Left"> - <context kind="class">BoundObjectFrame</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.Locked--> - <element type="property"> - <source id="Access.BoundObjectFrame.Locked"> - <context kind="class">BoundObjectFrame</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.LpOleObject--> - <element type="property"> - <source id="Access.BoundObjectFrame.LpOleObject"> - <context kind="class">BoundObjectFrame</context> - <name>LpOleObject</name> - <type>Integer</type> - </source> - </element> - <!--method::BoundObjectFrame.Move--> - <element type="method"> - <source id="Access.BoundObjectFrame.Move"> - <context kind="class">BoundObjectFrame</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.Name--> - <element type="property"> - <source id="Access.BoundObjectFrame.Name"> - <context kind="class">BoundObjectFrame</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.Object {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Object"> - <context kind="class">BoundObjectFrame</context> - <name>Object</name> - <type>Object</type> - </source> - </element> - <!--property::BoundObjectFrame.ObjectPalette--> - <element type="property"> - <source id="Access.BoundObjectFrame.ObjectPalette"> - <context kind="class">BoundObjectFrame</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::BoundObjectFrame.ObjectVerbs {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.ObjectVerbs"> - <context kind="class">BoundObjectFrame</context> - <name>ObjectVerbs</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::BoundObjectFrame.ObjectVerbsCount--> - <element type="property"> - <source id="Access.BoundObjectFrame.ObjectVerbsCount"> - <context kind="class">BoundObjectFrame</context> - <name>ObjectVerbsCount</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.OldBorderStyle--> - <element type="property"> - <source id="Access.BoundObjectFrame.OldBorderStyle"> - <context kind="class">BoundObjectFrame</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.OldValue"> - <context kind="class">BoundObjectFrame</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::BoundObjectFrame.OLEType--> - <element type="property"> - <source id="Access.BoundObjectFrame.OLEType"> - <context kind="class">BoundObjectFrame</context> - <name>OLEType</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.OLETypeAllowed--> - <element type="property"> - <source id="Access.BoundObjectFrame.OLETypeAllowed"> - <context kind="class">BoundObjectFrame</context> - <name>OLETypeAllowed</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.OnClick--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnClick"> - <context kind="class">BoundObjectFrame</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnDblClick--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnDblClick"> - <context kind="class">BoundObjectFrame</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnEnter--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnEnter"> - <context kind="class">BoundObjectFrame</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnExit--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnExit"> - <context kind="class">BoundObjectFrame</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnGotFocus--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnGotFocus"> - <context kind="class">BoundObjectFrame</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnKeyDown--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnKeyDown"> - <context kind="class">BoundObjectFrame</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnKeyPress--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnKeyPress"> - <context kind="class">BoundObjectFrame</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnKeyUp--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnKeyUp"> - <context kind="class">BoundObjectFrame</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnLostFocus--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnLostFocus"> - <context kind="class">BoundObjectFrame</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnMouseDown--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnMouseDown"> - <context kind="class">BoundObjectFrame</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnMouseMove--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnMouseMove"> - <context kind="class">BoundObjectFrame</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnMouseUp--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnMouseUp"> - <context kind="class">BoundObjectFrame</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.OnUpdated--> - <element type="property"> - <source id="Access.BoundObjectFrame.OnUpdated"> - <context kind="class">BoundObjectFrame</context> - <name>OnUpdated</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Parent"> - <context kind="class">BoundObjectFrame</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::BoundObjectFrame.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Properties"> - <context kind="class">BoundObjectFrame</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::BoundObjectFrame.Requery--> - <element type="method"> - <source id="Access.BoundObjectFrame.Requery"> - <context kind="class">BoundObjectFrame</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::BoundObjectFrame.Scaling--> - <element type="property"> - <source id="Access.BoundObjectFrame.Scaling"> - <context kind="class">BoundObjectFrame</context> - <name>Scaling</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.Section--> - <element type="property"> - <source id="Access.BoundObjectFrame.Section"> - <context kind="class">BoundObjectFrame</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::BoundObjectFrame.SetFocus--> - <element type="method"> - <source id="Access.BoundObjectFrame.SetFocus"> - <context kind="class">BoundObjectFrame</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::BoundObjectFrame.ShortcutMenuBar--> - <element type="property"> - <source id="Access.BoundObjectFrame.ShortcutMenuBar"> - <context kind="class">BoundObjectFrame</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.SizeMode--> - <element type="property"> - <source id="Access.BoundObjectFrame.SizeMode"> - <context kind="class">BoundObjectFrame</context> - <name>SizeMode</name> - <type>byte</type> - </source> - </element> - <!--method::BoundObjectFrame.SizeToFit--> - <element type="method"> - <source id="Access.BoundObjectFrame.SizeToFit"> - <context kind="class">BoundObjectFrame</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::BoundObjectFrame.SourceDoc--> - <element type="property"> - <source id="Access.BoundObjectFrame.SourceDoc"> - <context kind="class">BoundObjectFrame</context> - <name>SourceDoc</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.SourceItem--> - <element type="property"> - <source id="Access.BoundObjectFrame.SourceItem"> - <context kind="class">BoundObjectFrame</context> - <name>SourceItem</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.SpecialEffect--> - <element type="property"> - <source id="Access.BoundObjectFrame.SpecialEffect"> - <context kind="class">BoundObjectFrame</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::BoundObjectFrame.StatusBarText--> - <element type="property"> - <source id="Access.BoundObjectFrame.StatusBarText"> - <context kind="class">BoundObjectFrame</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.TabIndex--> - <element type="property"> - <source id="Access.BoundObjectFrame.TabIndex"> - <context kind="class">BoundObjectFrame</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.TabStop--> - <element type="property"> - <source id="Access.BoundObjectFrame.TabStop"> - <context kind="class">BoundObjectFrame</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.Tag--> - <element type="property"> - <source id="Access.BoundObjectFrame.Tag"> - <context kind="class">BoundObjectFrame</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::BoundObjectFrame.Top--> - <element type="property"> - <source id="Access.BoundObjectFrame.Top"> - <context kind="class">BoundObjectFrame</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.UpdateOptions--> - <element type="property"> - <source id="Access.BoundObjectFrame.UpdateOptions"> - <context kind="class">BoundObjectFrame</context> - <name>UpdateOptions</name> - <type>short</type> - </source> - </element> - <!--property::BoundObjectFrame.Value {Default}--> - <element type="property"> - <source id="Access.BoundObjectFrame.Value"> - <context kind="class">BoundObjectFrame</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::BoundObjectFrame.Verb--> - <element type="property"> - <source id="Access.BoundObjectFrame.Verb"> - <context kind="class">BoundObjectFrame</context> - <name>Verb</name> - <type>Integer</type> - </source> - </element> - <!--property::BoundObjectFrame.Visible--> - <element type="property"> - <source id="Access.BoundObjectFrame.Visible"> - <context kind="class">BoundObjectFrame</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::BoundObjectFrame.Width--> - <element type="property"> - <source id="Access.BoundObjectFrame.Width"> - <context kind="class">BoundObjectFrame</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::CheckBox--> - <element type="class"> - <source id="Access.CheckBox"> - <name>CheckBox</name> - </source> - <destination designation="identity" /> - </element> - <!--property::CheckBox.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accChild"> - <context kind="class">CheckBox</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accChildCount"> - <context kind="class">CheckBox</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::CheckBox.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accDefaultAction"> - <context kind="class">CheckBox</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accDescription"> - <context kind="class">CheckBox</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CheckBox.accDoDefaultAction--> - <element type="method"> - <source id="Access.CheckBox.accDoDefaultAction"> - <context kind="class">CheckBox</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accFocus"> - <context kind="class">CheckBox</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::CheckBox.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accHelp"> - <context kind="class">CheckBox</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accHelpTopic"> - <context kind="class">CheckBox</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CheckBox.accHitTest--> - <element type="method"> - <source id="Access.CheckBox.accHitTest"> - <context kind="class">CheckBox</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accKeyboardShortcut"> - <context kind="class">CheckBox</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CheckBox.accLocation--> - <element type="method"> - <source id="Access.CheckBox.accLocation"> - <context kind="class">CheckBox</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accName--> - <element type="property"> - <source id="Access.CheckBox.accName"> - <context kind="class">CheckBox</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CheckBox.accNavigate--> - <element type="method"> - <source id="Access.CheckBox.accNavigate"> - <context kind="class">CheckBox</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accParent"> - <context kind="class">CheckBox</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::CheckBox.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accRole"> - <context kind="class">CheckBox</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CheckBox.accSelect--> - <element type="method"> - <source id="Access.CheckBox.accSelect"> - <context kind="class">CheckBox</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accSelection"> - <context kind="class">CheckBox</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::CheckBox.accState {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.accState"> - <context kind="class">CheckBox</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.accValue--> - <element type="property"> - <source id="Access.CheckBox.accValue"> - <context kind="class">CheckBox</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.AddColon--> - <element type="property"> - <source id="Access.CheckBox.AddColon"> - <context kind="class">CheckBox</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.AfterUpdate--> - <element type="property"> - <source id="Access.CheckBox.AfterUpdate"> - <context kind="class">CheckBox</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.Application {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.Application"> - <context kind="class">CheckBox</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::CheckBox.AutoLabel--> - <element type="property"> - <source id="Access.CheckBox.AutoLabel"> - <context kind="class">CheckBox</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.BeforeUpdate--> - <element type="property"> - <source id="Access.CheckBox.BeforeUpdate"> - <context kind="class">CheckBox</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.BorderColor--> - <element type="property"> - <source id="Access.CheckBox.BorderColor"> - <context kind="class">CheckBox</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::CheckBox.BorderLineStyle--> - <element type="property"> - <source id="Access.CheckBox.BorderLineStyle"> - <context kind="class">CheckBox</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.BorderStyle--> - <element type="property"> - <source id="Access.CheckBox.BorderStyle"> - <context kind="class">CheckBox</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.BorderWidth--> - <element type="property"> - <source id="Access.CheckBox.BorderWidth"> - <context kind="class">CheckBox</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.ColumnHidden--> - <element type="property"> - <source id="Access.CheckBox.ColumnHidden"> - <context kind="class">CheckBox</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.ColumnOrder--> - <element type="property"> - <source id="Access.CheckBox.ColumnOrder"> - <context kind="class">CheckBox</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.ColumnWidth--> - <element type="property"> - <source id="Access.CheckBox.ColumnWidth"> - <context kind="class">CheckBox</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.ControlName--> - <element type="property"> - <source id="Access.CheckBox.ControlName"> - <context kind="class">CheckBox</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.Controls"> - <context kind="class">CheckBox</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::CheckBox.ControlSource--> - <element type="property"> - <source id="Access.CheckBox.ControlSource"> - <context kind="class">CheckBox</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.ControlTipText--> - <element type="property"> - <source id="Access.CheckBox.ControlTipText"> - <context kind="class">CheckBox</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.ControlType--> - <element type="property"> - <source id="Access.CheckBox.ControlType"> - <context kind="class">CheckBox</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.DefaultValue--> - <element type="property"> - <source id="Access.CheckBox.DefaultValue"> - <context kind="class">CheckBox</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.DisplayWhen--> - <element type="property"> - <source id="Access.CheckBox.DisplayWhen"> - <context kind="class">CheckBox</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.Enabled--> - <element type="property"> - <source id="Access.CheckBox.Enabled"> - <context kind="class">CheckBox</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.EventProcPrefix--> - <element type="property"> - <source id="Access.CheckBox.EventProcPrefix"> - <context kind="class">CheckBox</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::CheckBox.Goto--> - <element type="method"> - <source id="Access.CheckBox.Goto"> - <context kind="class">CheckBox</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::CheckBox.Height--> - <element type="property"> - <source id="Access.CheckBox.Height"> - <context kind="class">CheckBox</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.HelpContextId--> - <element type="property"> - <source id="Access.CheckBox.HelpContextId"> - <context kind="class">CheckBox</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::CheckBox.HideDuplicates--> - <element type="property"> - <source id="Access.CheckBox.HideDuplicates"> - <context kind="class">CheckBox</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.InSelection--> - <element type="property"> - <source id="Access.CheckBox.InSelection"> - <context kind="class">CheckBox</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::CheckBox.IsMemberSafe--> - <element type="method"> - <source id="Access.CheckBox.IsMemberSafe"> - <context kind="class">CheckBox</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.IsVisible--> - <element type="property"> - <source id="Access.CheckBox.IsVisible"> - <context kind="class">CheckBox</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.LabelAlign--> - <element type="property"> - <source id="Access.CheckBox.LabelAlign"> - <context kind="class">CheckBox</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.LabelX--> - <element type="property"> - <source id="Access.CheckBox.LabelX"> - <context kind="class">CheckBox</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.LabelY--> - <element type="property"> - <source id="Access.CheckBox.LabelY"> - <context kind="class">CheckBox</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.Left--> - <element type="property"> - <source id="Access.CheckBox.Left"> - <context kind="class">CheckBox</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.Locked--> - <element type="property"> - <source id="Access.CheckBox.Locked"> - <context kind="class">CheckBox</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::CheckBox.Move--> - <element type="method"> - <source id="Access.CheckBox.Move"> - <context kind="class">CheckBox</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CheckBox.Name--> - <element type="property"> - <source id="Access.CheckBox.Name"> - <context kind="class">CheckBox</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OldBorderStyle--> - <element type="property"> - <source id="Access.CheckBox.OldBorderStyle"> - <context kind="class">CheckBox</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.OldValue"> - <context kind="class">CheckBox</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::CheckBox.OnClick--> - <element type="property"> - <source id="Access.CheckBox.OnClick"> - <context kind="class">CheckBox</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnDblClick--> - <element type="property"> - <source id="Access.CheckBox.OnDblClick"> - <context kind="class">CheckBox</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnEnter--> - <element type="property"> - <source id="Access.CheckBox.OnEnter"> - <context kind="class">CheckBox</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnExit--> - <element type="property"> - <source id="Access.CheckBox.OnExit"> - <context kind="class">CheckBox</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnGotFocus--> - <element type="property"> - <source id="Access.CheckBox.OnGotFocus"> - <context kind="class">CheckBox</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnKeyDown--> - <element type="property"> - <source id="Access.CheckBox.OnKeyDown"> - <context kind="class">CheckBox</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnKeyPress--> - <element type="property"> - <source id="Access.CheckBox.OnKeyPress"> - <context kind="class">CheckBox</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnKeyUp--> - <element type="property"> - <source id="Access.CheckBox.OnKeyUp"> - <context kind="class">CheckBox</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnLostFocus--> - <element type="property"> - <source id="Access.CheckBox.OnLostFocus"> - <context kind="class">CheckBox</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnMouseDown--> - <element type="property"> - <source id="Access.CheckBox.OnMouseDown"> - <context kind="class">CheckBox</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnMouseMove--> - <element type="property"> - <source id="Access.CheckBox.OnMouseMove"> - <context kind="class">CheckBox</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OnMouseUp--> - <element type="property"> - <source id="Access.CheckBox.OnMouseUp"> - <context kind="class">CheckBox</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.OptionValue--> - <element type="property"> - <source id="Access.CheckBox.OptionValue"> - <context kind="class">CheckBox</context> - <name>OptionValue</name> - <type>Integer</type> - </source> - </element> - <!--property::CheckBox.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.Parent"> - <context kind="class">CheckBox</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::CheckBox.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.CheckBox.Properties"> - <context kind="class">CheckBox</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::CheckBox.ReadingOrder--> - <element type="property"> - <source id="Access.CheckBox.ReadingOrder"> - <context kind="class">CheckBox</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--method::CheckBox.Requery--> - <element type="method"> - <source id="Access.CheckBox.Requery"> - <context kind="class">CheckBox</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::CheckBox.Section--> - <element type="property"> - <source id="Access.CheckBox.Section"> - <context kind="class">CheckBox</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::CheckBox.SetFocus--> - <element type="method"> - <source id="Access.CheckBox.SetFocus"> - <context kind="class">CheckBox</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::CheckBox.ShortcutMenuBar--> - <element type="property"> - <source id="Access.CheckBox.ShortcutMenuBar"> - <context kind="class">CheckBox</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::CheckBox.SizeToFit--> - <element type="method"> - <source id="Access.CheckBox.SizeToFit"> - <context kind="class">CheckBox</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::CheckBox.SpecialEffect--> - <element type="property"> - <source id="Access.CheckBox.SpecialEffect"> - <context kind="class">CheckBox</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::CheckBox.StatusBarText--> - <element type="property"> - <source id="Access.CheckBox.StatusBarText"> - <context kind="class">CheckBox</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.TabIndex--> - <element type="property"> - <source id="Access.CheckBox.TabIndex"> - <context kind="class">CheckBox</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.TabStop--> - <element type="property"> - <source id="Access.CheckBox.TabStop"> - <context kind="class">CheckBox</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.Tag--> - <element type="property"> - <source id="Access.CheckBox.Tag"> - <context kind="class">CheckBox</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.Top--> - <element type="property"> - <source id="Access.CheckBox.Top"> - <context kind="class">CheckBox</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::CheckBox.TripleState--> - <element type="property"> - <source id="Access.CheckBox.TripleState"> - <context kind="class">CheckBox</context> - <name>TripleState</name> - <type>boolean</type> - </source> - </element> - <!--method::CheckBox.Undo--> - <element type="method"> - <source id="Access.CheckBox.Undo"> - <context kind="class">CheckBox</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::CheckBox.ValidationRule--> - <element type="property"> - <source id="Access.CheckBox.ValidationRule"> - <context kind="class">CheckBox</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.ValidationText--> - <element type="property"> - <source id="Access.CheckBox.ValidationText"> - <context kind="class">CheckBox</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::CheckBox.Value {Default}--> - <element type="property"> - <source id="Access.CheckBox.Value"> - <context kind="class">CheckBox</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::CheckBox.Visible--> - <element type="property"> - <source id="Access.CheckBox.Visible"> - <context kind="class">CheckBox</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::CheckBox.Width--> - <element type="property"> - <source id="Access.CheckBox.Width"> - <context kind="class">CheckBox</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Children--> - <element type="class"> - <source id="Access.Children"> - <name>Children</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Children.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Children.Count"> - <context kind="class">Children</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Children.IsMemberSafe--> - <element type="method"> - <source id="Access.Children.IsMemberSafe"> - <context kind="class">Children</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Children.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Children.Item"> - <context kind="class">Children</context> - <name default="true">Item</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::Class--> - <element type="class"> - <source id="Access.Class"> - <name>Class</name> - </source> - <destination designation="identity" /> - </element> - <!--Class::ComboBox--> - <element type="class"> - <source id="Access.ComboBox"> - <name>ComboBox</name> - </source> - <destination designation="identity" /> - </element> - <!--property::ComboBox.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accChild"> - <context kind="class">ComboBox</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accChildCount"> - <context kind="class">ComboBox</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accDefaultAction"> - <context kind="class">ComboBox</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accDescription"> - <context kind="class">ComboBox</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.accDoDefaultAction--> - <element type="method"> - <source id="Access.ComboBox.accDoDefaultAction"> - <context kind="class">ComboBox</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accFocus"> - <context kind="class">ComboBox</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::ComboBox.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accHelp"> - <context kind="class">ComboBox</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accHelpTopic"> - <context kind="class">ComboBox</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.accHitTest--> - <element type="method"> - <source id="Access.ComboBox.accHitTest"> - <context kind="class">ComboBox</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accKeyboardShortcut"> - <context kind="class">ComboBox</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.accLocation--> - <element type="method"> - <source id="Access.ComboBox.accLocation"> - <context kind="class">ComboBox</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accName--> - <element type="property"> - <source id="Access.ComboBox.accName"> - <context kind="class">ComboBox</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.accNavigate--> - <element type="method"> - <source id="Access.ComboBox.accNavigate"> - <context kind="class">ComboBox</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accParent"> - <context kind="class">ComboBox</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::ComboBox.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accRole"> - <context kind="class">ComboBox</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.accSelect--> - <element type="method"> - <source id="Access.ComboBox.accSelect"> - <context kind="class">ComboBox</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accSelection"> - <context kind="class">ComboBox</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::ComboBox.accState {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.accState"> - <context kind="class">ComboBox</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.accValue--> - <element type="property"> - <source id="Access.ComboBox.accValue"> - <context kind="class">ComboBox</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.AddColon--> - <element type="property"> - <source id="Access.ComboBox.AddColon"> - <context kind="class">ComboBox</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--method::ComboBox.AddItem--> - <element type="method"> - <source id="Access.ComboBox.AddItem"> - <context kind="class">ComboBox</context> - <name>AddItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Item</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.AfterUpdate--> - <element type="property"> - <source id="Access.ComboBox.AfterUpdate"> - <context kind="class">ComboBox</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.AllowAutoCorrect--> - <element type="property"> - <source id="Access.ComboBox.AllowAutoCorrect"> - <context kind="class">ComboBox</context> - <name>AllowAutoCorrect</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.AllowedText--> - <element type="property"> - <source id="Access.ComboBox.AllowedText"> - <context kind="class">ComboBox</context> - <name>AllowedText</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.Application {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Application"> - <context kind="class">ComboBox</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::ComboBox.AutoExpand--> - <element type="property"> - <source id="Access.ComboBox.AutoExpand"> - <context kind="class">ComboBox</context> - <name>AutoExpand</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.AutoLabel--> - <element type="property"> - <source id="Access.ComboBox.AutoLabel"> - <context kind="class">ComboBox</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.BackColor--> - <element type="property"> - <source id="Access.ComboBox.BackColor"> - <context kind="class">ComboBox</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.BackStyle--> - <element type="property"> - <source id="Access.ComboBox.BackStyle"> - <context kind="class">ComboBox</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.BeforeUpdate--> - <element type="property"> - <source id="Access.ComboBox.BeforeUpdate"> - <context kind="class">ComboBox</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.BorderColor--> - <element type="property"> - <source id="Access.ComboBox.BorderColor"> - <context kind="class">ComboBox</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.BorderLineStyle--> - <element type="property"> - <source id="Access.ComboBox.BorderLineStyle"> - <context kind="class">ComboBox</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.BorderStyle--> - <element type="property"> - <source id="Access.ComboBox.BorderStyle"> - <context kind="class">ComboBox</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.BorderWidth--> - <element type="property"> - <source id="Access.ComboBox.BorderWidth"> - <context kind="class">ComboBox</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.BoundColumn--> - <element type="property"> - <source id="Access.ComboBox.BoundColumn"> - <context kind="class">ComboBox</context> - <name>BoundColumn</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.Coltyp--> - <element type="property"> - <source id="Access.ComboBox.Coltyp"> - <context kind="class">ComboBox</context> - <name>Coltyp</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.Column {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Column"> - <context kind="class">ComboBox</context> - <name>Column</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Row</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.ColumnCount--> - <element type="property"> - <source id="Access.ComboBox.ColumnCount"> - <context kind="class">ComboBox</context> - <name>ColumnCount</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.ColumnHeads--> - <element type="property"> - <source id="Access.ComboBox.ColumnHeads"> - <context kind="class">ComboBox</context> - <name>ColumnHeads</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.ColumnHidden--> - <element type="property"> - <source id="Access.ComboBox.ColumnHidden"> - <context kind="class">ComboBox</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.ColumnOrder--> - <element type="property"> - <source id="Access.ComboBox.ColumnOrder"> - <context kind="class">ComboBox</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.ColumnWidth--> - <element type="property"> - <source id="Access.ComboBox.ColumnWidth"> - <context kind="class">ComboBox</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.ColumnWidths--> - <element type="property"> - <source id="Access.ComboBox.ColumnWidths"> - <context kind="class">ComboBox</context> - <name>ColumnWidths</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.ControlName--> - <element type="property"> - <source id="Access.ComboBox.ControlName"> - <context kind="class">ComboBox</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Controls"> - <context kind="class">ComboBox</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::ComboBox.ControlSource--> - <element type="property"> - <source id="Access.ComboBox.ControlSource"> - <context kind="class">ComboBox</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.ControlTipText--> - <element type="property"> - <source id="Access.ComboBox.ControlTipText"> - <context kind="class">ComboBox</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.ControlType--> - <element type="property"> - <source id="Access.ComboBox.ControlType"> - <context kind="class">ComboBox</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.DecimalPlaces--> - <element type="property"> - <source id="Access.ComboBox.DecimalPlaces"> - <context kind="class">ComboBox</context> - <name>DecimalPlaces</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.DefaultValue--> - <element type="property"> - <source id="Access.ComboBox.DefaultValue"> - <context kind="class">ComboBox</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.DisplayWhen--> - <element type="property"> - <source id="Access.ComboBox.DisplayWhen"> - <context kind="class">ComboBox</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--method::ComboBox.Dropdown--> - <element type="method"> - <source id="Access.ComboBox.Dropdown"> - <context kind="class">ComboBox</context> - <name>Dropdown</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.Enabled--> - <element type="property"> - <source id="Access.ComboBox.Enabled"> - <context kind="class">ComboBox</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.EventProcPrefix--> - <element type="property"> - <source id="Access.ComboBox.EventProcPrefix"> - <context kind="class">ComboBox</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.FontBold--> - <element type="property"> - <source id="Access.ComboBox.FontBold"> - <context kind="class">ComboBox</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.FontItalic--> - <element type="property"> - <source id="Access.ComboBox.FontItalic"> - <context kind="class">ComboBox</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.FontName--> - <element type="property"> - <source id="Access.ComboBox.FontName"> - <context kind="class">ComboBox</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.FontSize--> - <element type="property"> - <source id="Access.ComboBox.FontSize"> - <context kind="class">ComboBox</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.FontUnderline--> - <element type="property"> - <source id="Access.ComboBox.FontUnderline"> - <context kind="class">ComboBox</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.FontWeight--> - <element type="property"> - <source id="Access.ComboBox.FontWeight"> - <context kind="class">ComboBox</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.ForeColor--> - <element type="property"> - <source id="Access.ComboBox.ForeColor"> - <context kind="class">ComboBox</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.Format--> - <element type="property"> - <source id="Access.ComboBox.Format"> - <context kind="class">ComboBox</context> - <name>Format</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.FormatConditions {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.FormatConditions"> - <context kind="class">ComboBox</context> - <name>FormatConditions</name> - <type>FormatConditions</type> - </source> - </element> - <!--property::ComboBox.FormatPictureText--> - <element type="property"> - <source id="Access.ComboBox.FormatPictureText"> - <context kind="class">ComboBox</context> - <name>FormatPictureText</name> - <type>String</type> - </source> - </element> - <!--method::ComboBox.Goto--> - <element type="method"> - <source id="Access.ComboBox.Goto"> - <context kind="class">ComboBox</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.Height--> - <element type="property"> - <source id="Access.ComboBox.Height"> - <context kind="class">ComboBox</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.HelpContextId--> - <element type="property"> - <source id="Access.ComboBox.HelpContextId"> - <context kind="class">ComboBox</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.HideDuplicates--> - <element type="property"> - <source id="Access.ComboBox.HideDuplicates"> - <context kind="class">ComboBox</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Hyperlink"> - <context kind="class">ComboBox</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::ComboBox.IMEHold--> - <element type="property"> - <source id="Access.ComboBox.IMEHold"> - <context kind="class">ComboBox</context> - <name>IMEHold</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.IMEMode--> - <element type="property"> - <source id="Access.ComboBox.IMEMode"> - <context kind="class">ComboBox</context> - <name>IMEMode</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.IMESentenceMode--> - <element type="property"> - <source id="Access.ComboBox.IMESentenceMode"> - <context kind="class">ComboBox</context> - <name>IMESentenceMode</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.InputMask--> - <element type="property"> - <source id="Access.ComboBox.InputMask"> - <context kind="class">ComboBox</context> - <name>InputMask</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.InSelection--> - <element type="property"> - <source id="Access.ComboBox.InSelection"> - <context kind="class">ComboBox</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.IsHyperlink--> - <element type="property"> - <source id="Access.ComboBox.IsHyperlink"> - <context kind="class">ComboBox</context> - <name>IsHyperlink</name> - <type>boolean</type> - </source> - </element> - <!--method::ComboBox.IsMemberSafe--> - <element type="method"> - <source id="Access.ComboBox.IsMemberSafe"> - <context kind="class">ComboBox</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.IsVisible--> - <element type="property"> - <source id="Access.ComboBox.IsVisible"> - <context kind="class">ComboBox</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.ItemData {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.ItemData"> - <context kind="class">ComboBox</context> - <name>ItemData</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.KeyboardLanguage--> - <element type="property"> - <source id="Access.ComboBox.KeyboardLanguage"> - <context kind="class">ComboBox</context> - <name>KeyboardLanguage</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.LabelAlign--> - <element type="property"> - <source id="Access.ComboBox.LabelAlign"> - <context kind="class">ComboBox</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.LabelX--> - <element type="property"> - <source id="Access.ComboBox.LabelX"> - <context kind="class">ComboBox</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.LabelY--> - <element type="property"> - <source id="Access.ComboBox.LabelY"> - <context kind="class">ComboBox</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.Left--> - <element type="property"> - <source id="Access.ComboBox.Left"> - <context kind="class">ComboBox</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.LimitToList--> - <element type="property"> - <source id="Access.ComboBox.LimitToList"> - <context kind="class">ComboBox</context> - <name>LimitToList</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.ListCount--> - <element type="property"> - <source id="Access.ComboBox.ListCount"> - <context kind="class">ComboBox</context> - <name>ListCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.ListIndex--> - <element type="property"> - <source id="Access.ComboBox.ListIndex"> - <context kind="class">ComboBox</context> - <name>ListIndex</name> - <type>Integer</type> - </source> - </element> - <!--property::ComboBox.ListRows--> - <element type="property"> - <source id="Access.ComboBox.ListRows"> - <context kind="class">ComboBox</context> - <name>ListRows</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.ListWidth--> - <element type="property"> - <source id="Access.ComboBox.ListWidth"> - <context kind="class">ComboBox</context> - <name>ListWidth</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.Locked--> - <element type="property"> - <source id="Access.ComboBox.Locked"> - <context kind="class">ComboBox</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::ComboBox.Move--> - <element type="method"> - <source id="Access.ComboBox.Move"> - <context kind="class">ComboBox</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ComboBox.Name--> - <element type="property"> - <source id="Access.ComboBox.Name"> - <context kind="class">ComboBox</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.NumeralShapes--> - <element type="property"> - <source id="Access.ComboBox.NumeralShapes"> - <context kind="class">ComboBox</context> - <name>NumeralShapes</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.OldBorderStyle--> - <element type="property"> - <source id="Access.ComboBox.OldBorderStyle"> - <context kind="class">ComboBox</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.OldValue"> - <context kind="class">ComboBox</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::ComboBox.OnChange--> - <element type="property"> - <source id="Access.ComboBox.OnChange"> - <context kind="class">ComboBox</context> - <name>OnChange</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnClick--> - <element type="property"> - <source id="Access.ComboBox.OnClick"> - <context kind="class">ComboBox</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnDblClick--> - <element type="property"> - <source id="Access.ComboBox.OnDblClick"> - <context kind="class">ComboBox</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnDirty--> - <element type="property"> - <source id="Access.ComboBox.OnDirty"> - <context kind="class">ComboBox</context> - <name>OnDirty</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnEnter--> - <element type="property"> - <source id="Access.ComboBox.OnEnter"> - <context kind="class">ComboBox</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnExit--> - <element type="property"> - <source id="Access.ComboBox.OnExit"> - <context kind="class">ComboBox</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnGotFocus--> - <element type="property"> - <source id="Access.ComboBox.OnGotFocus"> - <context kind="class">ComboBox</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnKeyDown--> - <element type="property"> - <source id="Access.ComboBox.OnKeyDown"> - <context kind="class">ComboBox</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnKeyPress--> - <element type="property"> - <source id="Access.ComboBox.OnKeyPress"> - <context kind="class">ComboBox</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnKeyUp--> - <element type="property"> - <source id="Access.ComboBox.OnKeyUp"> - <context kind="class">ComboBox</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnLostFocus--> - <element type="property"> - <source id="Access.ComboBox.OnLostFocus"> - <context kind="class">ComboBox</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnMouseDown--> - <element type="property"> - <source id="Access.ComboBox.OnMouseDown"> - <context kind="class">ComboBox</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnMouseMove--> - <element type="property"> - <source id="Access.ComboBox.OnMouseMove"> - <context kind="class">ComboBox</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnMouseUp--> - <element type="property"> - <source id="Access.ComboBox.OnMouseUp"> - <context kind="class">ComboBox</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnNotInList--> - <element type="property"> - <source id="Access.ComboBox.OnNotInList"> - <context kind="class">ComboBox</context> - <name>OnNotInList</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.OnUndo--> - <element type="property"> - <source id="Access.ComboBox.OnUndo"> - <context kind="class">ComboBox</context> - <name>OnUndo</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Parent"> - <context kind="class">ComboBox</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ComboBox.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Properties"> - <context kind="class">ComboBox</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::ComboBox.ReadingOrder--> - <element type="property"> - <source id="Access.ComboBox.ReadingOrder"> - <context kind="class">ComboBox</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.Recordset {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.Recordset"> - <context kind="class">ComboBox</context> - <name>Recordset</name> - <type>Object</type> - </source> - </element> - <!--method::ComboBox.RemoveItem--> - <element type="method"> - <source id="Access.ComboBox.RemoveItem"> - <context kind="class">ComboBox</context> - <name>RemoveItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ComboBox.Requery--> - <element type="method"> - <source id="Access.ComboBox.Requery"> - <context kind="class">ComboBox</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.RowSource--> - <element type="property"> - <source id="Access.ComboBox.RowSource"> - <context kind="class">ComboBox</context> - <name>RowSource</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.RowSourceType--> - <element type="property"> - <source id="Access.ComboBox.RowSourceType"> - <context kind="class">ComboBox</context> - <name>RowSourceType</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.ScrollBarAlign--> - <element type="property"> - <source id="Access.ComboBox.ScrollBarAlign"> - <context kind="class">ComboBox</context> - <name>ScrollBarAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.Section--> - <element type="property"> - <source id="Access.ComboBox.Section"> - <context kind="class">ComboBox</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.SelLength--> - <element type="property"> - <source id="Access.ComboBox.SelLength"> - <context kind="class">ComboBox</context> - <name>SelLength</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.SelStart--> - <element type="property"> - <source id="Access.ComboBox.SelStart"> - <context kind="class">ComboBox</context> - <name>SelStart</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.SelText--> - <element type="property"> - <source id="Access.ComboBox.SelText"> - <context kind="class">ComboBox</context> - <name>SelText</name> - <type>String</type> - </source> - </element> - <!--method::ComboBox.SetFocus--> - <element type="method"> - <source id="Access.ComboBox.SetFocus"> - <context kind="class">ComboBox</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.ShortcutMenuBar--> - <element type="property"> - <source id="Access.ComboBox.ShortcutMenuBar"> - <context kind="class">ComboBox</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::ComboBox.SizeToFit--> - <element type="method"> - <source id="Access.ComboBox.SizeToFit"> - <context kind="class">ComboBox</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.SmartTags {ReadOnly}--> - <element type="property"> - <source id="Access.ComboBox.SmartTags"> - <context kind="class">ComboBox</context> - <name>SmartTags</name> - <type>_SmartTags</type> - </source> - </element> - <!--property::ComboBox.SpecialEffect--> - <element type="property"> - <source id="Access.ComboBox.SpecialEffect"> - <context kind="class">ComboBox</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.StatusBarText--> - <element type="property"> - <source id="Access.ComboBox.StatusBarText"> - <context kind="class">ComboBox</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.TabIndex--> - <element type="property"> - <source id="Access.ComboBox.TabIndex"> - <context kind="class">ComboBox</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.TabStop--> - <element type="property"> - <source id="Access.ComboBox.TabStop"> - <context kind="class">ComboBox</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.Tag--> - <element type="property"> - <source id="Access.ComboBox.Tag"> - <context kind="class">ComboBox</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.Text--> - <element type="property"> - <source id="Access.ComboBox.Text"> - <context kind="class">ComboBox</context> - <name>Text</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.TextAlign--> - <element type="property"> - <source id="Access.ComboBox.TextAlign"> - <context kind="class">ComboBox</context> - <name>TextAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.TextAlignGeneral--> - <element type="property"> - <source id="Access.ComboBox.TextAlignGeneral"> - <context kind="class">ComboBox</context> - <name>TextAlignGeneral</name> - <type>short</type> - </source> - </element> - <!--property::ComboBox.TextFontCharSet--> - <element type="property"> - <source id="Access.ComboBox.TextFontCharSet"> - <context kind="class">ComboBox</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::ComboBox.Top--> - <element type="property"> - <source id="Access.ComboBox.Top"> - <context kind="class">ComboBox</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--method::ComboBox.Undo--> - <element type="method"> - <source id="Access.ComboBox.Undo"> - <context kind="class">ComboBox</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::ComboBox.ValidationRule--> - <element type="property"> - <source id="Access.ComboBox.ValidationRule"> - <context kind="class">ComboBox</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.ValidationText--> - <element type="property"> - <source id="Access.ComboBox.ValidationText"> - <context kind="class">ComboBox</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::ComboBox.Value {Default}--> - <element type="property"> - <source id="Access.ComboBox.Value"> - <context kind="class">ComboBox</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::ComboBox.Visible--> - <element type="property"> - <source id="Access.ComboBox.Visible"> - <context kind="class">ComboBox</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::ComboBox.Width--> - <element type="property"> - <source id="Access.ComboBox.Width"> - <context kind="class">ComboBox</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::CommandButton--> - <element type="class"> - <source id="Access.CommandButton"> - <name>CommandButton</name> - </source> - <destination designation="identity" /> - </element> - <!--property::CommandButton.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accChild"> - <context kind="class">CommandButton</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accChildCount"> - <context kind="class">CommandButton</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::CommandButton.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accDefaultAction"> - <context kind="class">CommandButton</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accDescription"> - <context kind="class">CommandButton</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CommandButton.accDoDefaultAction--> - <element type="method"> - <source id="Access.CommandButton.accDoDefaultAction"> - <context kind="class">CommandButton</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accFocus"> - <context kind="class">CommandButton</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::CommandButton.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accHelp"> - <context kind="class">CommandButton</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accHelpTopic"> - <context kind="class">CommandButton</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CommandButton.accHitTest--> - <element type="method"> - <source id="Access.CommandButton.accHitTest"> - <context kind="class">CommandButton</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accKeyboardShortcut"> - <context kind="class">CommandButton</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CommandButton.accLocation--> - <element type="method"> - <source id="Access.CommandButton.accLocation"> - <context kind="class">CommandButton</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accName--> - <element type="property"> - <source id="Access.CommandButton.accName"> - <context kind="class">CommandButton</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CommandButton.accNavigate--> - <element type="method"> - <source id="Access.CommandButton.accNavigate"> - <context kind="class">CommandButton</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accParent"> - <context kind="class">CommandButton</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::CommandButton.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accRole"> - <context kind="class">CommandButton</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CommandButton.accSelect--> - <element type="method"> - <source id="Access.CommandButton.accSelect"> - <context kind="class">CommandButton</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accSelection"> - <context kind="class">CommandButton</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::CommandButton.accState {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.accState"> - <context kind="class">CommandButton</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.accValue--> - <element type="property"> - <source id="Access.CommandButton.accValue"> - <context kind="class">CommandButton</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.AddColon--> - <element type="property"> - <source id="Access.CommandButton.AddColon"> - <context kind="class">CommandButton</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Application {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.Application"> - <context kind="class">CommandButton</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::CommandButton.AutoLabel--> - <element type="property"> - <source id="Access.CommandButton.AutoLabel"> - <context kind="class">CommandButton</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.AutoRepeat--> - <element type="property"> - <source id="Access.CommandButton.AutoRepeat"> - <context kind="class">CommandButton</context> - <name>AutoRepeat</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Cancel--> - <element type="property"> - <source id="Access.CommandButton.Cancel"> - <context kind="class">CommandButton</context> - <name>Cancel</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Caption--> - <element type="property"> - <source id="Access.CommandButton.Caption"> - <context kind="class">CommandButton</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.ControlName--> - <element type="property"> - <source id="Access.CommandButton.ControlName"> - <context kind="class">CommandButton</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.Controls"> - <context kind="class">CommandButton</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::CommandButton.ControlTipText--> - <element type="property"> - <source id="Access.CommandButton.ControlTipText"> - <context kind="class">CommandButton</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.ControlType--> - <element type="property"> - <source id="Access.CommandButton.ControlType"> - <context kind="class">CommandButton</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::CommandButton.Default--> - <element type="property"> - <source id="Access.CommandButton.Default"> - <context kind="class">CommandButton</context> - <name>Default</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.DisplayWhen--> - <element type="property"> - <source id="Access.CommandButton.DisplayWhen"> - <context kind="class">CommandButton</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::CommandButton.Enabled--> - <element type="property"> - <source id="Access.CommandButton.Enabled"> - <context kind="class">CommandButton</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.EventProcPrefix--> - <element type="property"> - <source id="Access.CommandButton.EventProcPrefix"> - <context kind="class">CommandButton</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.FontBold--> - <element type="property"> - <source id="Access.CommandButton.FontBold"> - <context kind="class">CommandButton</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.FontItalic--> - <element type="property"> - <source id="Access.CommandButton.FontItalic"> - <context kind="class">CommandButton</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.FontName--> - <element type="property"> - <source id="Access.CommandButton.FontName"> - <context kind="class">CommandButton</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.FontSize--> - <element type="property"> - <source id="Access.CommandButton.FontSize"> - <context kind="class">CommandButton</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.FontUnderline--> - <element type="property"> - <source id="Access.CommandButton.FontUnderline"> - <context kind="class">CommandButton</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.FontWeight--> - <element type="property"> - <source id="Access.CommandButton.FontWeight"> - <context kind="class">CommandButton</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.ForeColor--> - <element type="property"> - <source id="Access.CommandButton.ForeColor"> - <context kind="class">CommandButton</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--method::CommandButton.Goto--> - <element type="method"> - <source id="Access.CommandButton.Goto"> - <context kind="class">CommandButton</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::CommandButton.Height--> - <element type="property"> - <source id="Access.CommandButton.Height"> - <context kind="class">CommandButton</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.HelpContextId--> - <element type="property"> - <source id="Access.CommandButton.HelpContextId"> - <context kind="class">CommandButton</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::CommandButton.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.Hyperlink"> - <context kind="class">CommandButton</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::CommandButton.HyperlinkAddress--> - <element type="property"> - <source id="Access.CommandButton.HyperlinkAddress"> - <context kind="class">CommandButton</context> - <name>HyperlinkAddress</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.HyperlinkSubAddress--> - <element type="property"> - <source id="Access.CommandButton.HyperlinkSubAddress"> - <context kind="class">CommandButton</context> - <name>HyperlinkSubAddress</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.InSelection--> - <element type="property"> - <source id="Access.CommandButton.InSelection"> - <context kind="class">CommandButton</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::CommandButton.IsMemberSafe--> - <element type="method"> - <source id="Access.CommandButton.IsMemberSafe"> - <context kind="class">CommandButton</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.IsVisible--> - <element type="property"> - <source id="Access.CommandButton.IsVisible"> - <context kind="class">CommandButton</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.LabelAlign--> - <element type="property"> - <source id="Access.CommandButton.LabelAlign"> - <context kind="class">CommandButton</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::CommandButton.LabelX--> - <element type="property"> - <source id="Access.CommandButton.LabelX"> - <context kind="class">CommandButton</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.LabelY--> - <element type="property"> - <source id="Access.CommandButton.LabelY"> - <context kind="class">CommandButton</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.Left--> - <element type="property"> - <source id="Access.CommandButton.Left"> - <context kind="class">CommandButton</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::CommandButton.Move--> - <element type="method"> - <source id="Access.CommandButton.Move"> - <context kind="class">CommandButton</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CommandButton.Name--> - <element type="property"> - <source id="Access.CommandButton.Name"> - <context kind="class">CommandButton</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.ObjectPalette--> - <element type="property"> - <source id="Access.CommandButton.ObjectPalette"> - <context kind="class">CommandButton</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::CommandButton.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.OldValue"> - <context kind="class">CommandButton</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::CommandButton.OnClick--> - <element type="property"> - <source id="Access.CommandButton.OnClick"> - <context kind="class">CommandButton</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnDblClick--> - <element type="property"> - <source id="Access.CommandButton.OnDblClick"> - <context kind="class">CommandButton</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnEnter--> - <element type="property"> - <source id="Access.CommandButton.OnEnter"> - <context kind="class">CommandButton</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnExit--> - <element type="property"> - <source id="Access.CommandButton.OnExit"> - <context kind="class">CommandButton</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnGotFocus--> - <element type="property"> - <source id="Access.CommandButton.OnGotFocus"> - <context kind="class">CommandButton</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnKeyDown--> - <element type="property"> - <source id="Access.CommandButton.OnKeyDown"> - <context kind="class">CommandButton</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnKeyPress--> - <element type="property"> - <source id="Access.CommandButton.OnKeyPress"> - <context kind="class">CommandButton</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnKeyUp--> - <element type="property"> - <source id="Access.CommandButton.OnKeyUp"> - <context kind="class">CommandButton</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnLostFocus--> - <element type="property"> - <source id="Access.CommandButton.OnLostFocus"> - <context kind="class">CommandButton</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnMouseDown--> - <element type="property"> - <source id="Access.CommandButton.OnMouseDown"> - <context kind="class">CommandButton</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnMouseMove--> - <element type="property"> - <source id="Access.CommandButton.OnMouseMove"> - <context kind="class">CommandButton</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnMouseUp--> - <element type="property"> - <source id="Access.CommandButton.OnMouseUp"> - <context kind="class">CommandButton</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.OnPush--> - <element type="property"> - <source id="Access.CommandButton.OnPush"> - <context kind="class">CommandButton</context> - <name>OnPush</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.Parent"> - <context kind="class">CommandButton</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::CommandButton.Picture--> - <element type="property"> - <source id="Access.CommandButton.Picture"> - <context kind="class">CommandButton</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.PictureData--> - <element type="property"> - <source id="Access.CommandButton.PictureData"> - <context kind="class">CommandButton</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::CommandButton.PictureType--> - <element type="property"> - <source id="Access.CommandButton.PictureType"> - <context kind="class">CommandButton</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::CommandButton.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.CommandButton.Properties"> - <context kind="class">CommandButton</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::CommandButton.ReadingOrder--> - <element type="property"> - <source id="Access.CommandButton.ReadingOrder"> - <context kind="class">CommandButton</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--method::CommandButton.Requery--> - <element type="method"> - <source id="Access.CommandButton.Requery"> - <context kind="class">CommandButton</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::CommandButton.Section--> - <element type="property"> - <source id="Access.CommandButton.Section"> - <context kind="class">CommandButton</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::CommandButton.SetFocus--> - <element type="method"> - <source id="Access.CommandButton.SetFocus"> - <context kind="class">CommandButton</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::CommandButton.ShortcutMenuBar--> - <element type="property"> - <source id="Access.CommandButton.ShortcutMenuBar"> - <context kind="class">CommandButton</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::CommandButton.SizeToFit--> - <element type="method"> - <source id="Access.CommandButton.SizeToFit"> - <context kind="class">CommandButton</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::CommandButton.StatusBarText--> - <element type="property"> - <source id="Access.CommandButton.StatusBarText"> - <context kind="class">CommandButton</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.TabIndex--> - <element type="property"> - <source id="Access.CommandButton.TabIndex"> - <context kind="class">CommandButton</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.TabStop--> - <element type="property"> - <source id="Access.CommandButton.TabStop"> - <context kind="class">CommandButton</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Tag--> - <element type="property"> - <source id="Access.CommandButton.Tag"> - <context kind="class">CommandButton</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::CommandButton.TextFontCharSet--> - <element type="property"> - <source id="Access.CommandButton.TextFontCharSet"> - <context kind="class">CommandButton</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::CommandButton.Top--> - <element type="property"> - <source id="Access.CommandButton.Top"> - <context kind="class">CommandButton</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::CommandButton.Transparent--> - <element type="property"> - <source id="Access.CommandButton.Transparent"> - <context kind="class">CommandButton</context> - <name>Transparent</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Visible--> - <element type="property"> - <source id="Access.CommandButton.Visible"> - <context kind="class">CommandButton</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::CommandButton.Width--> - <element type="property"> - <source id="Access.CommandButton.Width"> - <context kind="class">CommandButton</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Control--> - <element type="class"> - <source id="Access.Control"> - <name>Control</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Control.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Application"> - <context kind="class">Control</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Control.Column {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Column"> - <context kind="class">Control</context> - <name>Column</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Row</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Control.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Controls"> - <context kind="class">Control</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--method::Control.Dropdown--> - <element type="method"> - <source id="Access.Control.Dropdown"> - <context kind="class">Control</context> - <name>Dropdown</name> - <type>void</type> - </source> - </element> - <!--property::Control.Form {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Form"> - <context kind="class">Control</context> - <name>Form</name> - <type>Form</type> - </source> - </element> - <!--method::Control.Goto--> - <element type="method"> - <source id="Access.Control.Goto"> - <context kind="class">Control</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::Control.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Hyperlink"> - <context kind="class">Control</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--method::Control.IsMemberSafe--> - <element type="method"> - <source id="Access.Control.IsMemberSafe"> - <context kind="class">Control</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Control.ItemData {ReadOnly}--> - <element type="property"> - <source id="Access.Control.ItemData"> - <context kind="class">Control</context> - <name>ItemData</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Control.ItemsSelected {ReadOnly}--> - <element type="property"> - <source id="Access.Control.ItemsSelected"> - <context kind="class">Control</context> - <name>ItemsSelected</name> - <type>_ItemsSelected</type> - </source> - </element> - <!--method::Control.Move--> - <element type="method"> - <source id="Access.Control.Move"> - <context kind="class">Control</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Control.Object {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Object"> - <context kind="class">Control</context> - <name>Object</name> - <type>Object</type> - </source> - </element> - <!--property::Control.ObjectVerbs {ReadOnly}--> - <element type="property"> - <source id="Access.Control.ObjectVerbs"> - <context kind="class">Control</context> - <name>ObjectVerbs</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Control.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.Control.OldValue"> - <context kind="class">Control</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::Control.Pages {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Pages"> - <context kind="class">Control</context> - <name>Pages</name> - <type>Pages</type> - </source> - </element> - <!--property::Control.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Parent"> - <context kind="class">Control</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Control.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Properties"> - <context kind="class">Control</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Control.Report {ReadOnly}--> - <element type="property"> - <source id="Access.Control.Report"> - <context kind="class">Control</context> - <name>Report</name> - <type>Report</type> - </source> - </element> - <!--method::Control.Requery--> - <element type="method"> - <source id="Access.Control.Requery"> - <context kind="class">Control</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::Control.Selected--> - <element type="property"> - <source id="Access.Control.Selected"> - <context kind="class">Control</context> - <name>Selected</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>lRow</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Control.SetFocus--> - <element type="method"> - <source id="Access.Control.SetFocus"> - <context kind="class">Control</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--method::Control.SizeToFit--> - <element type="method"> - <source id="Access.Control.SizeToFit"> - <context kind="class">Control</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Control.SmartTags {ReadOnly}--> - <element type="property"> - <source id="Access.Control.SmartTags"> - <context kind="class">Control</context> - <name>SmartTags</name> - <type>_SmartTags</type> - </source> - </element> - <!--method::Control.Undo--> - <element type="method"> - <source id="Access.Control.Undo"> - <context kind="class">Control</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--Class::Controls--> - <element type="class"> - <source id="Access.Controls"> - <name>Controls</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Controls.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Controls.Application"> - <context kind="class">Controls</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Controls.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Controls.Count"> - <context kind="class">Controls</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Controls.IsMemberSafe--> - <element type="method"> - <source id="Access.Controls.IsMemberSafe"> - <context kind="class">Controls</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Controls.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Controls.Item"> - <context kind="class">Controls</context> - <name default="true">Item</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Controls.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Controls.Parent"> - <context kind="class">Controls</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::CTRL_MASK--> - <element type="property"> - <source id="Access.CTRL_MASK"> - <name>CTRL_MASK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::CurrentData--> - <element type="class"> - <source id="Access.CurrentData"> - <name>CurrentData</name> - </source> - <destination designation="identity" /> - </element> - <!--property::CurrentData.AllDatabaseDiagrams {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllDatabaseDiagrams"> - <context kind="class">CurrentData</context> - <name>AllDatabaseDiagrams</name> - <type>AllDatabaseDiagrams</type> - </source> - </element> - <!--property::CurrentData.AllFunctions {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllFunctions"> - <context kind="class">CurrentData</context> - <name>AllFunctions</name> - <type>AllFunctions</type> - </source> - </element> - <!--property::CurrentData.AllQueries {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllQueries"> - <context kind="class">CurrentData</context> - <name>AllQueries</name> - <type>AllQueries</type> - </source> - </element> - <!--property::CurrentData.AllStoredProcedures {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllStoredProcedures"> - <context kind="class">CurrentData</context> - <name>AllStoredProcedures</name> - <type>AllStoredProcedures</type> - </source> - </element> - <!--property::CurrentData.AllTables {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllTables"> - <context kind="class">CurrentData</context> - <name>AllTables</name> - <type>AllTables</type> - </source> - </element> - <!--property::CurrentData.AllViews {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentData.AllViews"> - <context kind="class">CurrentData</context> - <name>AllViews</name> - <type>AllViews</type> - </source> - </element> - <!--method::CurrentData.IsMemberSafe--> - <element type="method"> - <source id="Access.CurrentData.IsMemberSafe"> - <context kind="class">CurrentData</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::CurrentProject--> - <element type="class"> - <source id="Access.CurrentProject"> - <name>CurrentProject</name> - </source> - <destination designation="identity" /> - </element> - <!--property::CurrentProject.AccessConnection {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AccessConnection"> - <context kind="class">CurrentProject</context> - <name>AccessConnection</name> - <type>Connection</type> - </source> - </element> - <!--property::CurrentProject.AllDataAccessPages {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AllDataAccessPages"> - <context kind="class">CurrentProject</context> - <name>AllDataAccessPages</name> - <type>AllDataAccessPages</type> - </source> - </element> - <!--property::CurrentProject.AllForms {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AllForms"> - <context kind="class">CurrentProject</context> - <name>AllForms</name> - <type>AllForms</type> - </source> - </element> - <!--property::CurrentProject.AllMacros {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AllMacros"> - <context kind="class">CurrentProject</context> - <name>AllMacros</name> - <type>AllMacros</type> - </source> - </element> - <!--property::CurrentProject.AllModules {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AllModules"> - <context kind="class">CurrentProject</context> - <name>AllModules</name> - <type>AllModules</type> - </source> - </element> - <!--property::CurrentProject.AllReports {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.AllReports"> - <context kind="class">CurrentProject</context> - <name>AllReports</name> - <type>AllReports</type> - </source> - </element> - <!--property::CurrentProject.Application {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Application"> - <context kind="class">CurrentProject</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::CurrentProject.BaseConnectionString {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.BaseConnectionString"> - <context kind="class">CurrentProject</context> - <name>BaseConnectionString</name> - <type>String</type> - </source> - </element> - <!--method::CurrentProject.CloseConnection--> - <element type="method"> - <source id="Access.CurrentProject.CloseConnection"> - <context kind="class">CurrentProject</context> - <name>CloseConnection</name> - <type>void</type> - </source> - </element> - <!--property::CurrentProject.Connection {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Connection"> - <context kind="class">CurrentProject</context> - <name>Connection</name> - <type>Connection</type> - </source> - </element> - <!--property::CurrentProject.FileFormat {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.FileFormat"> - <context kind="class">CurrentProject</context> - <name>FileFormat</name> - <type>Integer</type> - </source> - </element> - <!--property::CurrentProject.FullName {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.FullName"> - <context kind="class">CurrentProject</context> - <name>FullName</name> - <type>String</type> - </source> - </element> - <!--property::CurrentProject.IsConnected {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.IsConnected"> - <context kind="class">CurrentProject</context> - <name>IsConnected</name> - <type>boolean</type> - </source> - </element> - <!--method::CurrentProject.IsMemberSafe--> - <element type="method"> - <source id="Access.CurrentProject.IsMemberSafe"> - <context kind="class">CurrentProject</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CurrentProject.Name {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Name"> - <context kind="class">CurrentProject</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--method::CurrentProject.OpenConnection--> - <element type="method"> - <source id="Access.CurrentProject.OpenConnection"> - <context kind="class">CurrentProject</context> - <name>OpenConnection</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>BaseConnectionString</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>UserID</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Password</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CurrentProject.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Parent"> - <context kind="class">CurrentProject</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::CurrentProject.Path {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Path"> - <context kind="class">CurrentProject</context> - <name>Path</name> - <type>String</type> - </source> - </element> - <!--property::CurrentProject.ProjectType {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.ProjectType"> - <context kind="class">CurrentProject</context> - <name>ProjectType</name> - <type>Integer</type> - </source> - </element> - <!--property::CurrentProject.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.CurrentProject.Properties"> - <context kind="class">CurrentProject</context> - <name>Properties</name> - <type>AccessObjectProperties</type> - </source> - </element> - <!--property::CurrentProject.RemovePersonalInformation--> - <element type="property"> - <source id="Access.CurrentProject.RemovePersonalInformation"> - <context kind="class">CurrentProject</context> - <name>RemovePersonalInformation</name> - <type>boolean</type> - </source> - </element> - <!--method::CurrentProject.UpdateDependencyInfo--> - <element type="method"> - <source id="Access.CurrentProject.UpdateDependencyInfo"> - <context kind="class">CurrentProject</context> - <name>UpdateDependencyInfo</name> - <type>void</type> - </source> - </element> - <!--Class::CustomControl--> - <element type="class"> - <source id="Access.CustomControl"> - <name>CustomControl</name> - </source> - <destination designation="identity" /> - </element> - <!--property::CustomControl.About--> - <element type="property"> - <source id="Access.CustomControl.About"> - <context kind="class">CustomControl</context> - <name>About</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accChild"> - <context kind="class">CustomControl</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accChildCount"> - <context kind="class">CustomControl</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::CustomControl.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accDefaultAction"> - <context kind="class">CustomControl</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accDescription"> - <context kind="class">CustomControl</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CustomControl.accDoDefaultAction--> - <element type="method"> - <source id="Access.CustomControl.accDoDefaultAction"> - <context kind="class">CustomControl</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accFocus"> - <context kind="class">CustomControl</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accHelp"> - <context kind="class">CustomControl</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accHelpTopic"> - <context kind="class">CustomControl</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CustomControl.accHitTest--> - <element type="method"> - <source id="Access.CustomControl.accHitTest"> - <context kind="class">CustomControl</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accKeyboardShortcut"> - <context kind="class">CustomControl</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CustomControl.accLocation--> - <element type="method"> - <source id="Access.CustomControl.accLocation"> - <context kind="class">CustomControl</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accName--> - <element type="property"> - <source id="Access.CustomControl.accName"> - <context kind="class">CustomControl</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CustomControl.accNavigate--> - <element type="method"> - <source id="Access.CustomControl.accNavigate"> - <context kind="class">CustomControl</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accParent"> - <context kind="class">CustomControl</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::CustomControl.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accRole"> - <context kind="class">CustomControl</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::CustomControl.accSelect--> - <element type="method"> - <source id="Access.CustomControl.accSelect"> - <context kind="class">CustomControl</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accSelection"> - <context kind="class">CustomControl</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.accState {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.accState"> - <context kind="class">CustomControl</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.accValue--> - <element type="property"> - <source id="Access.CustomControl.accValue"> - <context kind="class">CustomControl</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.Application {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.Application"> - <context kind="class">CustomControl</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::CustomControl.BorderColor--> - <element type="property"> - <source id="Access.CustomControl.BorderColor"> - <context kind="class">CustomControl</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::CustomControl.BorderLineStyle--> - <element type="property"> - <source id="Access.CustomControl.BorderLineStyle"> - <context kind="class">CustomControl</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.BorderStyle--> - <element type="property"> - <source id="Access.CustomControl.BorderStyle"> - <context kind="class">CustomControl</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.BorderWidth--> - <element type="property"> - <source id="Access.CustomControl.BorderWidth"> - <context kind="class">CustomControl</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.Cancel--> - <element type="property"> - <source id="Access.CustomControl.Cancel"> - <context kind="class">CustomControl</context> - <name>Cancel</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.Class--> - <element type="property"> - <source id="Access.CustomControl.Class"> - <context kind="class">CustomControl</context> - <name>Class</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.ControlName--> - <element type="property"> - <source id="Access.CustomControl.ControlName"> - <context kind="class">CustomControl</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.Controls"> - <context kind="class">CustomControl</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::CustomControl.ControlSource--> - <element type="property"> - <source id="Access.CustomControl.ControlSource"> - <context kind="class">CustomControl</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.ControlTipText--> - <element type="property"> - <source id="Access.CustomControl.ControlTipText"> - <context kind="class">CustomControl</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.ControlType--> - <element type="property"> - <source id="Access.CustomControl.ControlType"> - <context kind="class">CustomControl</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.Custom--> - <element type="property"> - <source id="Access.CustomControl.Custom"> - <context kind="class">CustomControl</context> - <name>Custom</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.Default--> - <element type="property"> - <source id="Access.CustomControl.Default"> - <context kind="class">CustomControl</context> - <name>Default</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.DisplayWhen--> - <element type="property"> - <source id="Access.CustomControl.DisplayWhen"> - <context kind="class">CustomControl</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.Enabled--> - <element type="property"> - <source id="Access.CustomControl.Enabled"> - <context kind="class">CustomControl</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.EventProcPrefix--> - <element type="property"> - <source id="Access.CustomControl.EventProcPrefix"> - <context kind="class">CustomControl</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::CustomControl.Goto--> - <element type="method"> - <source id="Access.CustomControl.Goto"> - <context kind="class">CustomControl</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::CustomControl.Height--> - <element type="property"> - <source id="Access.CustomControl.Height"> - <context kind="class">CustomControl</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::CustomControl.HelpContextId--> - <element type="property"> - <source id="Access.CustomControl.HelpContextId"> - <context kind="class">CustomControl</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::CustomControl.InSelection--> - <element type="property"> - <source id="Access.CustomControl.InSelection"> - <context kind="class">CustomControl</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::CustomControl.IsMemberSafe--> - <element type="method"> - <source id="Access.CustomControl.IsMemberSafe"> - <context kind="class">CustomControl</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.IsVisible--> - <element type="property"> - <source id="Access.CustomControl.IsVisible"> - <context kind="class">CustomControl</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.Left--> - <element type="property"> - <source id="Access.CustomControl.Left"> - <context kind="class">CustomControl</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::CustomControl.Locked--> - <element type="property"> - <source id="Access.CustomControl.Locked"> - <context kind="class">CustomControl</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.LpOleObject--> - <element type="property"> - <source id="Access.CustomControl.LpOleObject"> - <context kind="class">CustomControl</context> - <name>LpOleObject</name> - <type>Integer</type> - </source> - </element> - <!--method::CustomControl.Move--> - <element type="method"> - <source id="Access.CustomControl.Move"> - <context kind="class">CustomControl</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.Name--> - <element type="property"> - <source id="Access.CustomControl.Name"> - <context kind="class">CustomControl</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.Object {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.Object"> - <context kind="class">CustomControl</context> - <name>Object</name> - <type>Object</type> - </source> - </element> - <!--property::CustomControl.ObjectPalette--> - <element type="property"> - <source id="Access.CustomControl.ObjectPalette"> - <context kind="class">CustomControl</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.ObjectVerbs {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.ObjectVerbs"> - <context kind="class">CustomControl</context> - <name>ObjectVerbs</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::CustomControl.ObjectVerbsCount--> - <element type="property"> - <source id="Access.CustomControl.ObjectVerbsCount"> - <context kind="class">CustomControl</context> - <name>ObjectVerbsCount</name> - <type>Integer</type> - </source> - </element> - <!--property::CustomControl.OldBorderStyle--> - <element type="property"> - <source id="Access.CustomControl.OldBorderStyle"> - <context kind="class">CustomControl</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.OldValue"> - <context kind="class">CustomControl</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.OLEClass--> - <element type="property"> - <source id="Access.CustomControl.OLEClass"> - <context kind="class">CustomControl</context> - <name>OLEClass</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.OleData--> - <element type="property"> - <source id="Access.CustomControl.OleData"> - <context kind="class">CustomControl</context> - <name>OleData</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.OnEnter--> - <element type="property"> - <source id="Access.CustomControl.OnEnter"> - <context kind="class">CustomControl</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.OnExit--> - <element type="property"> - <source id="Access.CustomControl.OnExit"> - <context kind="class">CustomControl</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.OnGotFocus--> - <element type="property"> - <source id="Access.CustomControl.OnGotFocus"> - <context kind="class">CustomControl</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.OnLostFocus--> - <element type="property"> - <source id="Access.CustomControl.OnLostFocus"> - <context kind="class">CustomControl</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.OnUpdated--> - <element type="property"> - <source id="Access.CustomControl.OnUpdated"> - <context kind="class">CustomControl</context> - <name>OnUpdated</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.Parent"> - <context kind="class">CustomControl</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::CustomControl.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.CustomControl.Properties"> - <context kind="class">CustomControl</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::CustomControl.Requery--> - <element type="method"> - <source id="Access.CustomControl.Requery"> - <context kind="class">CustomControl</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::CustomControl.Section--> - <element type="property"> - <source id="Access.CustomControl.Section"> - <context kind="class">CustomControl</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::CustomControl.SetFocus--> - <element type="method"> - <source id="Access.CustomControl.SetFocus"> - <context kind="class">CustomControl</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--method::CustomControl.SizeToFit--> - <element type="method"> - <source id="Access.CustomControl.SizeToFit"> - <context kind="class">CustomControl</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::CustomControl.SpecialEffect--> - <element type="property"> - <source id="Access.CustomControl.SpecialEffect"> - <context kind="class">CustomControl</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::CustomControl.TabIndex--> - <element type="property"> - <source id="Access.CustomControl.TabIndex"> - <context kind="class">CustomControl</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::CustomControl.TabStop--> - <element type="property"> - <source id="Access.CustomControl.TabStop"> - <context kind="class">CustomControl</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.Tag--> - <element type="property"> - <source id="Access.CustomControl.Tag"> - <context kind="class">CustomControl</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::CustomControl.Top--> - <element type="property"> - <source id="Access.CustomControl.Top"> - <context kind="class">CustomControl</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::CustomControl.Value {Default}--> - <element type="property"> - <source id="Access.CustomControl.Value"> - <context kind="class">CustomControl</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::CustomControl.Verb--> - <element type="property"> - <source id="Access.CustomControl.Verb"> - <context kind="class">CustomControl</context> - <name>Verb</name> - <type>Integer</type> - </source> - </element> - <!--property::CustomControl.Visible--> - <element type="property"> - <source id="Access.CustomControl.Visible"> - <context kind="class">CustomControl</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::CustomControl.Width--> - <element type="property"> - <source id="Access.CustomControl.Width"> - <context kind="class">CustomControl</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::DATA_ERRADDED--> - <element type="property"> - <source id="Access.DATA_ERRADDED"> - <name>DATA_ERRADDED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DATA_ERRCONTINUE--> - <element type="property"> - <source id="Access.DATA_ERRCONTINUE"> - <name>DATA_ERRCONTINUE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DATA_ERRDISPLAY--> - <element type="property"> - <source id="Access.DATA_ERRDISPLAY"> - <name>DATA_ERRDISPLAY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::DataAccessPage--> - <element type="class"> - <source id="Access.DataAccessPage"> - <name>DataAccessPage</name> - </source> - <destination designation="identity" /> - </element> - <!--property::DataAccessPage.Application {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.Application"> - <context kind="class">DataAccessPage</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--method::DataAccessPage.ApplyTheme--> - <element type="method"> - <source id="Access.DataAccessPage.ApplyTheme"> - <context kind="class">DataAccessPage</context> - <name>ApplyTheme</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ThemeName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DataAccessPage.ConnectionString--> - <element type="property"> - <source id="Access.DataAccessPage.ConnectionString"> - <context kind="class">DataAccessPage</context> - <name>ConnectionString</name> - <type>String</type> - </source> - </element> - <!--property::DataAccessPage.CurrentSelection {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.CurrentSelection"> - <context kind="class">DataAccessPage</context> - <name>CurrentSelection</name> - <type>Object</type> - </source> - </element> - <!--property::DataAccessPage.CurrentView {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.CurrentView"> - <context kind="class">DataAccessPage</context> - <name>CurrentView</name> - <type>short</type> - </source> - </element> - <!--property::DataAccessPage.Document {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.Document"> - <context kind="class">DataAccessPage</context> - <name default="true">Document</name> - <type>Object</type> - </source> - </element> - <!--property::DataAccessPage.FieldListConnection {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.FieldListConnection"> - <context kind="class">DataAccessPage</context> - <name>FieldListConnection</name> - <type>Object</type> - </source> - </element> - <!--method::DataAccessPage.IsMemberSafe--> - <element type="method"> - <source id="Access.DataAccessPage.IsMemberSafe"> - <context kind="class">DataAccessPage</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DataAccessPage.MailEnvelope {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.MailEnvelope"> - <context kind="class">DataAccessPage</context> - <name>MailEnvelope</name> - <type>MsoEnvelope</type> - </source> - </element> - <!--property::DataAccessPage.MSODSC {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.MSODSC"> - <context kind="class">DataAccessPage</context> - <name>MSODSC</name> - <type>Object</type> - </source> - </element> - <!--property::DataAccessPage.Name {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.Name"> - <context kind="class">DataAccessPage</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::DataAccessPage.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.Parent"> - <context kind="class">DataAccessPage</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::DataAccessPage.RemovePersonalInformation--> - <element type="property"> - <source id="Access.DataAccessPage.RemovePersonalInformation"> - <context kind="class">DataAccessPage</context> - <name>RemovePersonalInformation</name> - <type>boolean</type> - </source> - </element> - <!--property::DataAccessPage.Tag--> - <element type="property"> - <source id="Access.DataAccessPage.Tag"> - <context kind="class">DataAccessPage</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::DataAccessPage.Visible--> - <element type="property"> - <source id="Access.DataAccessPage.Visible"> - <context kind="class">DataAccessPage</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::DataAccessPage.WebOptions {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.WebOptions"> - <context kind="class">DataAccessPage</context> - <name>WebOptions</name> - <type>WebOptions</type> - </source> - </element> - <!--property::DataAccessPage.WindowHeight {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.WindowHeight"> - <context kind="class">DataAccessPage</context> - <name>WindowHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::DataAccessPage.WindowWidth {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPage.WindowWidth"> - <context kind="class">DataAccessPage</context> - <name>WindowWidth</name> - <type>Integer</type> - </source> - </element> - <!--Class::DataAccessPages--> - <element type="class"> - <source id="Access.DataAccessPages"> - <name>DataAccessPages</name> - </source> - <destination designation="identity" /> - </element> - <!--property::DataAccessPages.Application {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPages.Application"> - <context kind="class">DataAccessPages</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::DataAccessPages.Count {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPages.Count"> - <context kind="class">DataAccessPages</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::DataAccessPages.IsMemberSafe--> - <element type="method"> - <source id="Access.DataAccessPages.IsMemberSafe"> - <context kind="class">DataAccessPages</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DataAccessPages.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPages.Item"> - <context kind="class">DataAccessPages</context> - <name default="true">Item</name> - <type>DataAccessPage</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>var</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DataAccessPages.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.DataAccessPages.Parent"> - <context kind="class">DataAccessPages</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::DB_APPENDONLY--> - <element type="property"> - <source id="Access.DB_APPENDONLY"> - <name>DB_APPENDONLY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_ATTACHEDODBC--> - <element type="property"> - <source id="Access.DB_ATTACHEDODBC"> - <name>DB_ATTACHEDODBC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_ATTACHEDTABLE--> - <element type="property"> - <source id="Access.DB_ATTACHEDTABLE"> - <name>DB_ATTACHEDTABLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_ATTACHEXCLUSIVE--> - <element type="property"> - <source id="Access.DB_ATTACHEXCLUSIVE"> - <name>DB_ATTACHEXCLUSIVE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_ATTACHSAVEPWD--> - <element type="property"> - <source id="Access.DB_ATTACHSAVEPWD"> - <name>DB_ATTACHSAVEPWD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_AUTOINCRFIELD--> - <element type="property"> - <source id="Access.DB_AUTOINCRFIELD"> - <name>DB_AUTOINCRFIELD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_BINARY--> - <element type="property"> - <source id="Access.DB_BINARY"> - <name>DB_BINARY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_BOOLEAN--> - <element type="property"> - <source id="Access.DB_BOOLEAN"> - <name>DB_BOOLEAN</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_BYTE--> - <element type="property"> - <source id="Access.DB_BYTE"> - <name>DB_BYTE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_CONSISTENT--> - <element type="property"> - <source id="Access.DB_CONSISTENT"> - <name>DB_CONSISTENT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_CURRENCY--> - <element type="property"> - <source id="Access.DB_CURRENCY"> - <name>DB_CURRENCY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DATE--> - <element type="property"> - <source id="Access.DB_DATE"> - <name>DB_DATE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DECRYPT--> - <element type="property"> - <source id="Access.DB_DECRYPT"> - <name>DB_DECRYPT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DENYREAD--> - <element type="property"> - <source id="Access.DB_DENYREAD"> - <name>DB_DENYREAD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DENYWRITE--> - <element type="property"> - <source id="Access.DB_DENYWRITE"> - <name>DB_DENYWRITE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DESCENDING--> - <element type="property"> - <source id="Access.DB_DESCENDING"> - <name>DB_DESCENDING</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_DOUBLE--> - <element type="property"> - <source id="Access.DB_DOUBLE"> - <name>DB_DOUBLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_ENCRYPT--> - <element type="property"> - <source id="Access.DB_ENCRYPT"> - <name>DB_ENCRYPT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_FAILONERROR--> - <element type="property"> - <source id="Access.DB_FAILONERROR"> - <name>DB_FAILONERROR</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_FIXEDFIELD--> - <element type="property"> - <source id="Access.DB_FIXEDFIELD"> - <name>DB_FIXEDFIELD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_FORWARDONLY--> - <element type="property"> - <source id="Access.DB_FORWARDONLY"> - <name>DB_FORWARDONLY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_FREELOCKS--> - <element type="property"> - <source id="Access.DB_FREELOCKS"> - <name>DB_FREELOCKS</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_HIDDENOBJECT--> - <element type="property"> - <source id="Access.DB_HIDDENOBJECT"> - <name>DB_HIDDENOBJECT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_IGNORENULL--> - <element type="property"> - <source id="Access.DB_IGNORENULL"> - <name>DB_IGNORENULL</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_INCONSISTENT--> - <element type="property"> - <source id="Access.DB_INCONSISTENT"> - <name>DB_INCONSISTENT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_INTEGER--> - <element type="property"> - <source id="Access.DB_INTEGER"> - <name>DB_INTEGER</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_ARABIC--> - <element type="property"> - <source id="Access.DB_LANG_ARABIC"> - <name>DB_LANG_ARABIC</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_CYRILLIC--> - <element type="property"> - <source id="Access.DB_LANG_CYRILLIC"> - <name>DB_LANG_CYRILLIC</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_CZECH--> - <element type="property"> - <source id="Access.DB_LANG_CZECH"> - <name>DB_LANG_CZECH</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_DUTCH--> - <element type="property"> - <source id="Access.DB_LANG_DUTCH"> - <name>DB_LANG_DUTCH</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_GENERAL--> - <element type="property"> - <source id="Access.DB_LANG_GENERAL"> - <name>DB_LANG_GENERAL</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_GREEK--> - <element type="property"> - <source id="Access.DB_LANG_GREEK"> - <name>DB_LANG_GREEK</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_HEBREW--> - <element type="property"> - <source id="Access.DB_LANG_HEBREW"> - <name>DB_LANG_HEBREW</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_HUNGARIAN--> - <element type="property"> - <source id="Access.DB_LANG_HUNGARIAN"> - <name>DB_LANG_HUNGARIAN</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_ICELANDIC--> - <element type="property"> - <source id="Access.DB_LANG_ICELANDIC"> - <name>DB_LANG_ICELANDIC</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_NORDIC--> - <element type="property"> - <source id="Access.DB_LANG_NORDIC"> - <name>DB_LANG_NORDIC</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_NORWDAN--> - <element type="property"> - <source id="Access.DB_LANG_NORWDAN"> - <name>DB_LANG_NORWDAN</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_POLISH--> - <element type="property"> - <source id="Access.DB_LANG_POLISH"> - <name>DB_LANG_POLISH</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_SPANISH--> - <element type="property"> - <source id="Access.DB_LANG_SPANISH"> - <name>DB_LANG_SPANISH</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_SWEDFIN--> - <element type="property"> - <source id="Access.DB_LANG_SWEDFIN"> - <name>DB_LANG_SWEDFIN</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LANG_TURKISH--> - <element type="property"> - <source id="Access.DB_LANG_TURKISH"> - <name>DB_LANG_TURKISH</name> - <type>String</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LONG--> - <element type="property"> - <source id="Access.DB_LONG"> - <name>DB_LONG</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_LONGBINARY--> - <element type="property"> - <source id="Access.DB_LONGBINARY"> - <name>DB_LONGBINARY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_MEMO--> - <element type="property"> - <source id="Access.DB_MEMO"> - <name>DB_MEMO</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_NONULLS--> - <element type="property"> - <source id="Access.DB_NONULLS"> - <name>DB_NONULLS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_OLE--> - <element type="property"> - <source id="Access.DB_OLE"> - <name>DB_OLE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_OPEN_DYNASET--> - <element type="property"> - <source id="Access.DB_OPEN_DYNASET"> - <name>DB_OPEN_DYNASET</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_OPEN_SNAPSHOT--> - <element type="property"> - <source id="Access.DB_OPEN_SNAPSHOT"> - <name>DB_OPEN_SNAPSHOT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_OPEN_TABLE--> - <element type="property"> - <source id="Access.DB_OPEN_TABLE"> - <name>DB_OPEN_TABLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_OPTIONINIPATH--> - <element type="property"> - <source id="Access.DB_OPTIONINIPATH"> - <name>DB_OPTIONINIPATH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_PRIMARY--> - <element type="property"> - <source id="Access.DB_PRIMARY"> - <name>DB_PRIMARY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_PROHIBITNULL--> - <element type="property"> - <source id="Access.DB_PROHIBITNULL"> - <name>DB_PROHIBITNULL</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QACTION--> - <element type="property"> - <source id="Access.DB_QACTION"> - <name>DB_QACTION</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QAPPEND--> - <element type="property"> - <source id="Access.DB_QAPPEND"> - <name>DB_QAPPEND</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QCROSSTAB--> - <element type="property"> - <source id="Access.DB_QCROSSTAB"> - <name>DB_QCROSSTAB</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QDDL--> - <element type="property"> - <source id="Access.DB_QDDL"> - <name>DB_QDDL</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QDELETE--> - <element type="property"> - <source id="Access.DB_QDELETE"> - <name>DB_QDELETE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QMAKETABLE--> - <element type="property"> - <source id="Access.DB_QMAKETABLE"> - <name>DB_QMAKETABLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QSELECT--> - <element type="property"> - <source id="Access.DB_QSELECT"> - <name>DB_QSELECT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QSETOPERATION--> - <element type="property"> - <source id="Access.DB_QSETOPERATION"> - <name>DB_QSETOPERATION</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QSPTBULK--> - <element type="property"> - <source id="Access.DB_QSPTBULK"> - <name>DB_QSPTBULK</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QSQLPASSTHROUGH--> - <element type="property"> - <source id="Access.DB_QSQLPASSTHROUGH"> - <name>DB_QSQLPASSTHROUGH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QUERYDEF--> - <element type="property"> - <source id="Access.DB_QUERYDEF"> - <name>DB_QUERYDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_QUPDATE--> - <element type="property"> - <source id="Access.DB_QUPDATE"> - <name>DB_QUPDATE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_READONLY--> - <element type="property"> - <source id="Access.DB_READONLY"> - <name>DB_READONLY</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONDELETECASCADE--> - <element type="property"> - <source id="Access.DB_RELATIONDELETECASCADE"> - <name>DB_RELATIONDELETECASCADE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONDONTENFORCE--> - <element type="property"> - <source id="Access.DB_RELATIONDONTENFORCE"> - <name>DB_RELATIONDONTENFORCE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONINHERITED--> - <element type="property"> - <source id="Access.DB_RELATIONINHERITED"> - <name>DB_RELATIONINHERITED</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONLEFT--> - <element type="property"> - <source id="Access.DB_RELATIONLEFT"> - <name>DB_RELATIONLEFT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONRIGHT--> - <element type="property"> - <source id="Access.DB_RELATIONRIGHT"> - <name>DB_RELATIONRIGHT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONUNIQUE--> - <element type="property"> - <source id="Access.DB_RELATIONUNIQUE"> - <name>DB_RELATIONUNIQUE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_RELATIONUPDATECASCADE--> - <element type="property"> - <source id="Access.DB_RELATIONUPDATECASCADE"> - <name>DB_RELATIONUPDATECASCADE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_CREATE--> - <element type="property"> - <source id="Access.DB_SEC_CREATE"> - <name>DB_SEC_CREATE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_DBCREATE--> - <element type="property"> - <source id="Access.DB_SEC_DBCREATE"> - <name>DB_SEC_DBCREATE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_DBEXCLUSIVE--> - <element type="property"> - <source id="Access.DB_SEC_DBEXCLUSIVE"> - <name>DB_SEC_DBEXCLUSIVE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_DBOPEN--> - <element type="property"> - <source id="Access.DB_SEC_DBOPEN"> - <name>DB_SEC_DBOPEN</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_DELETE--> - <element type="property"> - <source id="Access.DB_SEC_DELETE"> - <name>DB_SEC_DELETE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_DELETEDATA--> - <element type="property"> - <source id="Access.DB_SEC_DELETEDATA"> - <name>DB_SEC_DELETEDATA</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_FRMRPT_EXECUTE--> - <element type="property"> - <source id="Access.DB_SEC_FRMRPT_EXECUTE"> - <name>DB_SEC_FRMRPT_EXECUTE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_FRMRPT_READDEF--> - <element type="property"> - <source id="Access.DB_SEC_FRMRPT_READDEF"> - <name>DB_SEC_FRMRPT_READDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_FRMRPT_WRITEDEF--> - <element type="property"> - <source id="Access.DB_SEC_FRMRPT_WRITEDEF"> - <name>DB_SEC_FRMRPT_WRITEDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_FULLACCESS--> - <element type="property"> - <source id="Access.DB_SEC_FULLACCESS"> - <name>DB_SEC_FULLACCESS</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_INSERTDATA--> - <element type="property"> - <source id="Access.DB_SEC_INSERTDATA"> - <name>DB_SEC_INSERTDATA</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_MAC_EXECUTE--> - <element type="property"> - <source id="Access.DB_SEC_MAC_EXECUTE"> - <name>DB_SEC_MAC_EXECUTE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_MAC_READDEF--> - <element type="property"> - <source id="Access.DB_SEC_MAC_READDEF"> - <name>DB_SEC_MAC_READDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_MAC_WRITEDEF--> - <element type="property"> - <source id="Access.DB_SEC_MAC_WRITEDEF"> - <name>DB_SEC_MAC_WRITEDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_MOD_READDEF--> - <element type="property"> - <source id="Access.DB_SEC_MOD_READDEF"> - <name>DB_SEC_MOD_READDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_MOD_WRITEDEF--> - <element type="property"> - <source id="Access.DB_SEC_MOD_WRITEDEF"> - <name>DB_SEC_MOD_WRITEDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_NOACCESS--> - <element type="property"> - <source id="Access.DB_SEC_NOACCESS"> - <name>DB_SEC_NOACCESS</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_READDEF--> - <element type="property"> - <source id="Access.DB_SEC_READDEF"> - <name>DB_SEC_READDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_READSEC--> - <element type="property"> - <source id="Access.DB_SEC_READSEC"> - <name>DB_SEC_READSEC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_REPLACEDATA--> - <element type="property"> - <source id="Access.DB_SEC_REPLACEDATA"> - <name>DB_SEC_REPLACEDATA</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_RETRIEVEDATA--> - <element type="property"> - <source id="Access.DB_SEC_RETRIEVEDATA"> - <name>DB_SEC_RETRIEVEDATA</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_WRITEDEF--> - <element type="property"> - <source id="Access.DB_SEC_WRITEDEF"> - <name>DB_SEC_WRITEDEF</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_WRITEOWNER--> - <element type="property"> - <source id="Access.DB_SEC_WRITEOWNER"> - <name>DB_SEC_WRITEOWNER</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SEC_WRITESEC--> - <element type="property"> - <source id="Access.DB_SEC_WRITESEC"> - <name>DB_SEC_WRITESEC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SINGLE--> - <element type="property"> - <source id="Access.DB_SINGLE"> - <name>DB_SINGLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTARABIC--> - <element type="property"> - <source id="Access.DB_SORTARABIC"> - <name>DB_SORTARABIC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTCYRILLIC--> - <element type="property"> - <source id="Access.DB_SORTCYRILLIC"> - <name>DB_SORTCYRILLIC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTCZECH--> - <element type="property"> - <source id="Access.DB_SORTCZECH"> - <name>DB_SORTCZECH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTDUTCH--> - <element type="property"> - <source id="Access.DB_SORTDUTCH"> - <name>DB_SORTDUTCH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTGENERAL--> - <element type="property"> - <source id="Access.DB_SORTGENERAL"> - <name>DB_SORTGENERAL</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTGREEK--> - <element type="property"> - <source id="Access.DB_SORTGREEK"> - <name>DB_SORTGREEK</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTHEBREW--> - <element type="property"> - <source id="Access.DB_SORTHEBREW"> - <name>DB_SORTHEBREW</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTHUNGARIAN--> - <element type="property"> - <source id="Access.DB_SORTHUNGARIAN"> - <name>DB_SORTHUNGARIAN</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTICELANDIC--> - <element type="property"> - <source id="Access.DB_SORTICELANDIC"> - <name>DB_SORTICELANDIC</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTNORWDAN--> - <element type="property"> - <source id="Access.DB_SORTNORWDAN"> - <name>DB_SORTNORWDAN</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTPDXINTL--> - <element type="property"> - <source id="Access.DB_SORTPDXINTL"> - <name>DB_SORTPDXINTL</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTPDXNOR--> - <element type="property"> - <source id="Access.DB_SORTPDXNOR"> - <name>DB_SORTPDXNOR</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTPDXSWE--> - <element type="property"> - <source id="Access.DB_SORTPDXSWE"> - <name>DB_SORTPDXSWE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTPOLISH--> - <element type="property"> - <source id="Access.DB_SORTPOLISH"> - <name>DB_SORTPOLISH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTSPANISH--> - <element type="property"> - <source id="Access.DB_SORTSPANISH"> - <name>DB_SORTSPANISH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTSWEDFIN--> - <element type="property"> - <source id="Access.DB_SORTSWEDFIN"> - <name>DB_SORTSWEDFIN</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTTURKISH--> - <element type="property"> - <source id="Access.DB_SORTTURKISH"> - <name>DB_SORTTURKISH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SORTUNDEFINED--> - <element type="property"> - <source id="Access.DB_SORTUNDEFINED"> - <name>DB_SORTUNDEFINED</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SQLPASSTHROUGH--> - <element type="property"> - <source id="Access.DB_SQLPASSTHROUGH"> - <name>DB_SQLPASSTHROUGH</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_SYSTEMOBJECT--> - <element type="property"> - <source id="Access.DB_SYSTEMOBJECT"> - <name>DB_SYSTEMOBJECT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_TABLE--> - <element type="property"> - <source id="Access.DB_TABLE"> - <name>DB_TABLE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_TEXT--> - <element type="property"> - <source id="Access.DB_TEXT"> - <name>DB_TEXT</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_UNIQUE--> - <element type="property"> - <source id="Access.DB_UNIQUE"> - <name>DB_UNIQUE</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_UPDATABLEFIELD--> - <element type="property"> - <source id="Access.DB_UPDATABLEFIELD"> - <name>DB_UPDATABLEFIELD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_VARIABLEFIELD--> - <element type="property"> - <source id="Access.DB_VARIABLEFIELD"> - <name>DB_VARIABLEFIELD</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_VERSION10--> - <element type="property"> - <source id="Access.DB_VERSION10"> - <name>DB_VERSION10</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_VERSION11--> - <element type="property"> - <source id="Access.DB_VERSION11"> - <name>DB_VERSION11</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DB_VERSION20--> - <element type="property"> - <source id="Access.DB_VERSION20"> - <name>DB_VERSION20</name> - <type>Integer</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::DefaultWebOptions--> - <element type="class"> - <source id="Access.DefaultWebOptions"> - <name>DefaultWebOptions</name> - </source> - <destination designation="identity" /> - </element> - <!--property::DefaultWebOptions.AlwaysSaveInDefaultEncoding--> - <element type="property"> - <source id="Access.DefaultWebOptions.AlwaysSaveInDefaultEncoding"> - <context kind="class">DefaultWebOptions</context> - <name>AlwaysSaveInDefaultEncoding</name> - <type>boolean</type> - </source> - </element> - <!--property::DefaultWebOptions.Application {ReadOnly}--> - <element type="property"> - <source id="Access.DefaultWebOptions.Application"> - <context kind="class">DefaultWebOptions</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::DefaultWebOptions.CheckIfOfficeIsHTMLEditor--> - <element type="property"> - <source id="Access.DefaultWebOptions.CheckIfOfficeIsHTMLEditor"> - <context kind="class">DefaultWebOptions</context> - <name>CheckIfOfficeIsHTMLEditor</name> - <type>boolean</type> - </source> - </element> - <!--property::DefaultWebOptions.DownloadComponents--> - <element type="property"> - <source id="Access.DefaultWebOptions.DownloadComponents"> - <context kind="class">DefaultWebOptions</context> - <name>DownloadComponents</name> - <type>boolean</type> - </source> - </element> - <!--property::DefaultWebOptions.Encoding--> - <element type="property"> - <source id="Access.DefaultWebOptions.Encoding"> - <context kind="class">DefaultWebOptions</context> - <name>Encoding</name> - <type>Integer</type> - </source> - </element> - <!--property::DefaultWebOptions.FolderSuffix {ReadOnly}--> - <element type="property"> - <source id="Access.DefaultWebOptions.FolderSuffix"> - <context kind="class">DefaultWebOptions</context> - <name>FolderSuffix</name> - <type>String</type> - </source> - </element> - <!--property::DefaultWebOptions.FollowedHyperlinkColor--> - <element type="property"> - <source id="Access.DefaultWebOptions.FollowedHyperlinkColor"> - <context kind="class">DefaultWebOptions</context> - <name>FollowedHyperlinkColor</name> - <type>Integer</type> - </source> - </element> - <!--property::DefaultWebOptions.HyperlinkColor--> - <element type="property"> - <source id="Access.DefaultWebOptions.HyperlinkColor"> - <context kind="class">DefaultWebOptions</context> - <name>HyperlinkColor</name> - <type>Integer</type> - </source> - </element> - <!--method::DefaultWebOptions.IsMemberSafe--> - <element type="method"> - <source id="Access.DefaultWebOptions.IsMemberSafe"> - <context kind="class">DefaultWebOptions</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DefaultWebOptions.LocationOfComponents--> - <element type="property"> - <source id="Access.DefaultWebOptions.LocationOfComponents"> - <context kind="class">DefaultWebOptions</context> - <name>LocationOfComponents</name> - <type>String</type> - </source> - </element> - <!--property::DefaultWebOptions.OrganizeInFolder--> - <element type="property"> - <source id="Access.DefaultWebOptions.OrganizeInFolder"> - <context kind="class">DefaultWebOptions</context> - <name>OrganizeInFolder</name> - <type>boolean</type> - </source> - </element> - <!--property::DefaultWebOptions.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.DefaultWebOptions.Parent"> - <context kind="class">DefaultWebOptions</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::DefaultWebOptions.TargetBrowser--> - <element type="property"> - <source id="Access.DefaultWebOptions.TargetBrowser"> - <context kind="class">DefaultWebOptions</context> - <name>TargetBrowser</name> - <type>Integer</type> - </source> - </element> - <!--property::DefaultWebOptions.UnderlineHyperlinks--> - <element type="property"> - <source id="Access.DefaultWebOptions.UnderlineHyperlinks"> - <context kind="class">DefaultWebOptions</context> - <name>UnderlineHyperlinks</name> - <type>boolean</type> - </source> - </element> - <!--property::DefaultWebOptions.UseLongFileNames--> - <element type="property"> - <source id="Access.DefaultWebOptions.UseLongFileNames"> - <context kind="class">DefaultWebOptions</context> - <name>UseLongFileNames</name> - <type>boolean</type> - </source> - </element> - <!--property::DELETE_CANCEL--> - <element type="property"> - <source id="Access.DELETE_CANCEL"> - <name>DELETE_CANCEL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DELETE_OK--> - <element type="property"> - <source id="Access.DELETE_OK"> - <name>DELETE_OK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::DELETE_USER_CANCEL--> - <element type="property"> - <source id="Access.DELETE_USER_CANCEL"> - <name>DELETE_USER_CANCEL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::DependencyInfo--> - <element type="class"> - <source id="Access.DependencyInfo"> - <name>DependencyInfo</name> - </source> - <destination designation="identity" /> - </element> - <!--property::DependencyInfo.Dependants {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.Dependants"> - <context kind="class">DependencyInfo</context> - <name>Dependants</name> - <type>_DependencyObjects</type> - </source> - </element> - <!--property::DependencyInfo.Dependencies {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.Dependencies"> - <context kind="class">DependencyInfo</context> - <name>Dependencies</name> - <type>_DependencyObjects</type> - </source> - </element> - <!--property::DependencyInfo.InsufficientPermissions {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.InsufficientPermissions"> - <context kind="class">DependencyInfo</context> - <name>InsufficientPermissions</name> - <type>_DependencyObjects</type> - </source> - </element> - <!--method::DependencyInfo.IsMemberSafe--> - <element type="method"> - <source id="Access.DependencyInfo.IsMemberSafe"> - <context kind="class">DependencyInfo</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DependencyInfo.OutOfDateObjects {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.OutOfDateObjects"> - <context kind="class">DependencyInfo</context> - <name>OutOfDateObjects</name> - <type>_DependencyObjects</type> - </source> - </element> - <!--property::DependencyInfo.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.Parent"> - <context kind="class">DependencyInfo</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::DependencyInfo.UnsupportedObjects {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyInfo.UnsupportedObjects"> - <context kind="class">DependencyInfo</context> - <name>UnsupportedObjects</name> - <type>_DependencyObjects</type> - </source> - </element> - <!--Class::DependencyObjects--> - <element type="class"> - <source id="Access.DependencyObjects"> - <name>DependencyObjects</name> - </source> - <destination designation="identity" /> - </element> - <!--property::DependencyObjects.Application {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyObjects.Application"> - <context kind="class">DependencyObjects</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::DependencyObjects.Count {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyObjects.Count"> - <context kind="class">DependencyObjects</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::DependencyObjects.IsMemberSafe--> - <element type="method"> - <source id="Access.DependencyObjects.IsMemberSafe"> - <context kind="class">DependencyObjects</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DependencyObjects.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyObjects.Item"> - <context kind="class">DependencyObjects</context> - <name default="true">Item</name> - <type>AccessObject</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::DependencyObjects.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.DependencyObjects.Parent"> - <context kind="class">DependencyObjects</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::DoCmd--> - <element type="class"> - <source id="Access.DoCmd"> - <name>DoCmd</name> - </source> - <destination designation="identity" /> - </element> - <!--method::DoCmd.AddMenu--> - <element type="method"> - <source id="Access.DoCmd.AddMenu"> - <context kind="class">DoCmd</context> - <name>AddMenu</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>MenuName</name> - </parameter> - <parameter> - <type>Variant</type> - <name>MenuMacroName</name> - </parameter> - <parameter> - <type>Variant</type> - <name>StatusBarText</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.ApplyFilter--> - <element type="method"> - <source id="Access.DoCmd.ApplyFilter"> - <context kind="class">DoCmd</context> - <name>ApplyFilter</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>FilterName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>WhereCondition</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Beep--> - <element type="method"> - <source id="Access.DoCmd.Beep"> - <context kind="class">DoCmd</context> - <name>Beep</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.CancelEvent--> - <element type="method"> - <source id="Access.DoCmd.CancelEvent"> - <context kind="class">DoCmd</context> - <name>CancelEvent</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.Close--> - <element type="method"> - <source id="Access.DoCmd.Close"> - <context kind="class">DoCmd</context> - <name>Close</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Save</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.CopyDatabaseFile--> - <element type="method"> - <source id="Access.DoCmd.CopyDatabaseFile"> - <context kind="class">DoCmd</context> - <name>CopyDatabaseFile</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>DatabaseFileName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OverwriteExistingFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>DisconnectAllUsers</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.CopyObject--> - <element type="method"> - <source id="Access.DoCmd.CopyObject"> - <context kind="class">DoCmd</context> - <name>CopyObject</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>DestinationDatabase</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>NewName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>SourceObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>SourceObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.DeleteObject--> - <element type="method"> - <source id="Access.DoCmd.DeleteObject"> - <context kind="class">DoCmd</context> - <name>DeleteObject</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.DoMenuItem--> - <element type="method"> - <source id="Access.DoCmd.DoMenuItem"> - <context kind="class">DoCmd</context> - <name>DoMenuItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>MenuBar</name> - </parameter> - <parameter> - <type>Variant</type> - <name>MenuName</name> - </parameter> - <parameter> - <type>Variant</type> - <name>Command</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Subcommand</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Version</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Echo--> - <element type="method"> - <source id="Access.DoCmd.Echo"> - <context kind="class">DoCmd</context> - <name>Echo</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>EchoOn</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>StatusBarText</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.FindNext--> - <element type="method"> - <source id="Access.DoCmd.FindNext"> - <context kind="class">DoCmd</context> - <name>FindNext</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.FindRecord--> - <element type="method"> - <source id="Access.DoCmd.FindRecord"> - <context kind="class">DoCmd</context> - <name>FindRecord</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>FindWhat</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Match</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>MatchCase</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Search</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>SearchAsFormatted</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>OnlyCurrentField</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FindFirst</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.GoToControl--> - <element type="method"> - <source id="Access.DoCmd.GoToControl"> - <context kind="class">DoCmd</context> - <name>GoToControl</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ControlName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.GoToPage--> - <element type="method"> - <source id="Access.DoCmd.GoToPage"> - <context kind="class">DoCmd</context> - <name>GoToPage</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>PageNumber</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Right</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Down</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.GoToRecord--> - <element type="method"> - <source id="Access.DoCmd.GoToRecord"> - <context kind="class">DoCmd</context> - <name>GoToRecord</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Record</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Offset</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Hourglass--> - <element type="method"> - <source id="Access.DoCmd.Hourglass"> - <context kind="class">DoCmd</context> - <name>Hourglass</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>HourglassOn</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Maximize--> - <element type="method"> - <source id="Access.DoCmd.Maximize"> - <context kind="class">DoCmd</context> - <name>Maximize</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.Minimize--> - <element type="method"> - <source id="Access.DoCmd.Minimize"> - <context kind="class">DoCmd</context> - <name>Minimize</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.MoveSize--> - <element type="method"> - <source id="Access.DoCmd.MoveSize"> - <context kind="class">DoCmd</context> - <name>MoveSize</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>Right</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Down</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenDataAccessPage--> - <element type="method"> - <source id="Access.DoCmd.OpenDataAccessPage"> - <context kind="class">DoCmd</context> - <name>OpenDataAccessPage</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>DataAccessPageName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenDiagram--> - <element type="method"> - <source id="Access.DoCmd.OpenDiagram"> - <context kind="class">DoCmd</context> - <name>OpenDiagram</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>DiagramName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenForm--> - <element type="method"> - <source id="Access.DoCmd.OpenForm"> - <context kind="class">DoCmd</context> - <name>OpenForm</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>FormName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FilterName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>WhereCondition</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>WindowMode</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OpenArgs</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenFunction--> - <element type="method"> - <source id="Access.DoCmd.OpenFunction"> - <context kind="class">DoCmd</context> - <name>OpenFunction</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>FunctionName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenModule--> - <element type="method"> - <source id="Access.DoCmd.OpenModule"> - <context kind="class">DoCmd</context> - <name>OpenModule</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>ModuleName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ProcedureName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenQuery--> - <element type="method"> - <source id="Access.DoCmd.OpenQuery"> - <context kind="class">DoCmd</context> - <name>OpenQuery</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>QueryName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenReport--> - <element type="method"> - <source id="Access.DoCmd.OpenReport"> - <context kind="class">DoCmd</context> - <name>OpenReport</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ReportName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FilterName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>WhereCondition</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>WindowMode</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OpenArgs</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenReportOld0--> - <element type="method"> - <source id="Access.DoCmd.OpenReportOld0"> - <context kind="class">DoCmd</context> - <name>OpenReportOld0</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ReportName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FilterName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>WhereCondition</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenStoredProcedure--> - <element type="method"> - <source id="Access.DoCmd.OpenStoredProcedure"> - <context kind="class">DoCmd</context> - <name>OpenStoredProcedure</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ProcedureName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenTable--> - <element type="method"> - <source id="Access.DoCmd.OpenTable"> - <context kind="class">DoCmd</context> - <name>OpenTable</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>TableName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OpenView--> - <element type="method"> - <source id="Access.DoCmd.OpenView"> - <context kind="class">DoCmd</context> - <name>OpenView</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ViewName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>DataMode</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OutputTo--> - <element type="method"> - <source id="Access.DoCmd.OutputTo"> - <context kind="class">DoCmd</context> - <name>OutputTo</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OutputFormat</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OutputFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>AutoStart</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TemplateFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Encoding</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.OutputToOld0--> - <element type="method"> - <source id="Access.DoCmd.OutputToOld0"> - <context kind="class">DoCmd</context> - <name>OutputToOld0</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OutputFormat</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OutputFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>AutoStart</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TemplateFile</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.PrintOut--> - <element type="method"> - <source id="Access.DoCmd.PrintOut"> - <context kind="class">DoCmd</context> - <name>PrintOut</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>PrintRange</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>PageFrom</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>PageTo</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>PrintQuality</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Copies</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>CollateCopies</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Quit--> - <element type="method"> - <source id="Access.DoCmd.Quit"> - <context kind="class">DoCmd</context> - <name>Quit</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Rename--> - <element type="method"> - <source id="Access.DoCmd.Rename"> - <context kind="class">DoCmd</context> - <name>Rename</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>NewName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OldName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.RepaintObject--> - <element type="method"> - <source id="Access.DoCmd.RepaintObject"> - <context kind="class">DoCmd</context> - <name>RepaintObject</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Requery--> - <element type="method"> - <source id="Access.DoCmd.Requery"> - <context kind="class">DoCmd</context> - <name>Requery</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>ControlName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Restore--> - <element type="method"> - <source id="Access.DoCmd.Restore"> - <context kind="class">DoCmd</context> - <name>Restore</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.RunCommand--> - <element type="method"> - <source id="Access.DoCmd.RunCommand"> - <context kind="class">DoCmd</context> - <name>RunCommand</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Command</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.RunMacro--> - <element type="method"> - <source id="Access.DoCmd.RunMacro"> - <context kind="class">DoCmd</context> - <name>RunMacro</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>MacroName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>RepeatCount</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>RepeatExpression</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.RunSQL--> - <element type="method"> - <source id="Access.DoCmd.RunSQL"> - <context kind="class">DoCmd</context> - <name>RunSQL</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>SQLStatement</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>UseTransaction</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.Save--> - <element type="method"> - <source id="Access.DoCmd.Save"> - <context kind="class">DoCmd</context> - <name>Save</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.SelectObject--> - <element type="method"> - <source id="Access.DoCmd.SelectObject"> - <context kind="class">DoCmd</context> - <name>SelectObject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>InDatabaseWindow</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.SendObject--> - <element type="method"> - <source id="Access.DoCmd.SendObject"> - <context kind="class">DoCmd</context> - <name>SendObject</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ObjectName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>OutputFormat</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>To</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Cc</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Bcc</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Subject</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>MessageText</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>EditMessage</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TemplateFile</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.SetMenuItem--> - <element type="method"> - <source id="Access.DoCmd.SetMenuItem"> - <context kind="class">DoCmd</context> - <name>SetMenuItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>MenuIndex</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>CommandIndex</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>SubcommandIndex</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Flag</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.SetWarnings--> - <element type="method"> - <source id="Access.DoCmd.SetWarnings"> - <context kind="class">DoCmd</context> - <name>SetWarnings</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>WarningsOn</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.ShowAllRecords--> - <element type="method"> - <source id="Access.DoCmd.ShowAllRecords"> - <context kind="class">DoCmd</context> - <name>ShowAllRecords</name> - <type>void</type> - </source> - </element> - <!--method::DoCmd.ShowToolbar--> - <element type="method"> - <source id="Access.DoCmd.ShowToolbar"> - <context kind="class">DoCmd</context> - <name>ShowToolbar</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>ToolbarName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Show</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.TransferDatabase--> - <element type="method"> - <source id="Access.DoCmd.TransferDatabase"> - <context kind="class">DoCmd</context> - <name>TransferDatabase</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>TransferType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>DatabaseType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>DatabaseName</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>ObjectType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Source</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Destination</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>StructureOnly</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>StoreLogin</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.TransferSpreadsheet--> - <element type="method"> - <source id="Access.DoCmd.TransferSpreadsheet"> - <context kind="class">DoCmd</context> - <name>TransferSpreadsheet</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>TransferType</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>SpreadsheetType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TableName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FileName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>HasFieldNames</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Range</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>UseOA</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.TransferSQLDatabase--> - <element type="method"> - <source id="Access.DoCmd.TransferSQLDatabase"> - <context kind="class">DoCmd</context> - <name>TransferSQLDatabase</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Server</name> - </parameter> - <parameter> - <type>Variant</type> - <name>Database</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>UseTrustedConnection</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Login</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Password</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TransferCopyData</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::DoCmd.TransferText--> - <element type="method"> - <source id="Access.DoCmd.TransferText"> - <context kind="class">DoCmd</context> - <name>TransferText</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Integer</type> - <name>TransferType</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>SpecificationName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>TableName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>FileName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>HasFieldNames</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>HTMLTableName</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>CodePage</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::Form--> - <element type="class"> - <source id="Access.Form"> - <name>Form</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Form.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accChild"> - <context kind="class">Form</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accChildCount"> - <context kind="class">Form</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accDefaultAction"> - <context kind="class">Form</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accDescription"> - <context kind="class">Form</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Form.accDoDefaultAction--> - <element type="method"> - <source id="Access.Form.accDoDefaultAction"> - <context kind="class">Form</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accFocus"> - <context kind="class">Form</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accHelp"> - <context kind="class">Form</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accHelpTopic"> - <context kind="class">Form</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Form.accHitTest--> - <element type="method"> - <source id="Access.Form.accHitTest"> - <context kind="class">Form</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accKeyboardShortcut"> - <context kind="class">Form</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Form.accLocation--> - <element type="method"> - <source id="Access.Form.accLocation"> - <context kind="class">Form</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accName--> - <element type="property"> - <source id="Access.Form.accName"> - <context kind="class">Form</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Form.accNavigate--> - <element type="method"> - <source id="Access.Form.accNavigate"> - <context kind="class">Form</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accParent"> - <context kind="class">Form</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::Form.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accRole"> - <context kind="class">Form</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Form.accSelect--> - <element type="method"> - <source id="Access.Form.accSelect"> - <context kind="class">Form</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accSelection"> - <context kind="class">Form</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.accState {ReadOnly}--> - <element type="property"> - <source id="Access.Form.accState"> - <context kind="class">Form</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.accValue--> - <element type="property"> - <source id="Access.Form.accValue"> - <context kind="class">Form</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.acHiddenCurrentPage--> - <element type="property"> - <source id="Access.Form.acHiddenCurrentPage"> - <context kind="class">Form</context> - <name>acHiddenCurrentPage</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.ActiveControl {ReadOnly}--> - <element type="property"> - <source id="Access.Form.ActiveControl"> - <context kind="class">Form</context> - <name>ActiveControl</name> - <type>Control</type> - </source> - </element> - <!--property::Form.AfterBeginTransaction--> - <element type="property"> - <source id="Access.Form.AfterBeginTransaction"> - <context kind="class">Form</context> - <name>AfterBeginTransaction</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterCommitTransaction--> - <element type="property"> - <source id="Access.Form.AfterCommitTransaction"> - <context kind="class">Form</context> - <name>AfterCommitTransaction</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterDelConfirm--> - <element type="property"> - <source id="Access.Form.AfterDelConfirm"> - <context kind="class">Form</context> - <name>AfterDelConfirm</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterFinalRender--> - <element type="property"> - <source id="Access.Form.AfterFinalRender"> - <context kind="class">Form</context> - <name>AfterFinalRender</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterInsert--> - <element type="property"> - <source id="Access.Form.AfterInsert"> - <context kind="class">Form</context> - <name>AfterInsert</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterLayout--> - <element type="property"> - <source id="Access.Form.AfterLayout"> - <context kind="class">Form</context> - <name>AfterLayout</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterRender--> - <element type="property"> - <source id="Access.Form.AfterRender"> - <context kind="class">Form</context> - <name>AfterRender</name> - <type>String</type> - </source> - </element> - <!--property::Form.AfterUpdate--> - <element type="property"> - <source id="Access.Form.AfterUpdate"> - <context kind="class">Form</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::Form.AllowAdditions--> - <element type="property"> - <source id="Access.Form.AllowAdditions"> - <context kind="class">Form</context> - <name>AllowAdditions</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowDatasheetView--> - <element type="property"> - <source id="Access.Form.AllowDatasheetView"> - <context kind="class">Form</context> - <name>AllowDatasheetView</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowDeletions--> - <element type="property"> - <source id="Access.Form.AllowDeletions"> - <context kind="class">Form</context> - <name>AllowDeletions</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowDesignChanges--> - <element type="property"> - <source id="Access.Form.AllowDesignChanges"> - <context kind="class">Form</context> - <name>AllowDesignChanges</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowEditing--> - <element type="property"> - <source id="Access.Form.AllowEditing"> - <context kind="class">Form</context> - <name>AllowEditing</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowEdits--> - <element type="property"> - <source id="Access.Form.AllowEdits"> - <context kind="class">Form</context> - <name>AllowEdits</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowFilters--> - <element type="property"> - <source id="Access.Form.AllowFilters"> - <context kind="class">Form</context> - <name>AllowFilters</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowFormView--> - <element type="property"> - <source id="Access.Form.AllowFormView"> - <context kind="class">Form</context> - <name>AllowFormView</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowPivotChartView--> - <element type="property"> - <source id="Access.Form.AllowPivotChartView"> - <context kind="class">Form</context> - <name>AllowPivotChartView</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowPivotTableView--> - <element type="property"> - <source id="Access.Form.AllowPivotTableView"> - <context kind="class">Form</context> - <name>AllowPivotTableView</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AllowUpdating--> - <element type="property"> - <source id="Access.Form.AllowUpdating"> - <context kind="class">Form</context> - <name>AllowUpdating</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Application"> - <context kind="class">Form</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Form.AutoCenter--> - <element type="property"> - <source id="Access.Form.AutoCenter"> - <context kind="class">Form</context> - <name>AutoCenter</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.AutoResize--> - <element type="property"> - <source id="Access.Form.AutoResize"> - <context kind="class">Form</context> - <name>AutoResize</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.BatchUpdates--> - <element type="property"> - <source id="Access.Form.BatchUpdates"> - <context kind="class">Form</context> - <name>BatchUpdates</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.BeforeBeginTransaction--> - <element type="property"> - <source id="Access.Form.BeforeBeginTransaction"> - <context kind="class">Form</context> - <name>BeforeBeginTransaction</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeCommitTransaction--> - <element type="property"> - <source id="Access.Form.BeforeCommitTransaction"> - <context kind="class">Form</context> - <name>BeforeCommitTransaction</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeDelConfirm--> - <element type="property"> - <source id="Access.Form.BeforeDelConfirm"> - <context kind="class">Form</context> - <name>BeforeDelConfirm</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeInsert--> - <element type="property"> - <source id="Access.Form.BeforeInsert"> - <context kind="class">Form</context> - <name>BeforeInsert</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeQuery--> - <element type="property"> - <source id="Access.Form.BeforeQuery"> - <context kind="class">Form</context> - <name>BeforeQuery</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeRender--> - <element type="property"> - <source id="Access.Form.BeforeRender"> - <context kind="class">Form</context> - <name>BeforeRender</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeScreenTip--> - <element type="property"> - <source id="Access.Form.BeforeScreenTip"> - <context kind="class">Form</context> - <name>BeforeScreenTip</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeforeUpdate--> - <element type="property"> - <source id="Access.Form.BeforeUpdate"> - <context kind="class">Form</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::Form.BeginBatchEdit--> - <element type="property"> - <source id="Access.Form.BeginBatchEdit"> - <context kind="class">Form</context> - <name>BeginBatchEdit</name> - <type>String</type> - </source> - </element> - <!--property::Form.Bookmark--> - <element type="property"> - <source id="Access.Form.Bookmark"> - <context kind="class">Form</context> - <name>Bookmark</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.BorderStyle--> - <element type="property"> - <source id="Access.Form.BorderStyle"> - <context kind="class">Form</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Caption--> - <element type="property"> - <source id="Access.Form.Caption"> - <context kind="class">Form</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::Form.ChartSpace {ReadOnly}--> - <element type="property"> - <source id="Access.Form.ChartSpace"> - <context kind="class">Form</context> - <name>ChartSpace</name> - <type>Object</type> - </source> - </element> - <!--property::Form.CloseButton--> - <element type="property"> - <source id="Access.Form.CloseButton"> - <context kind="class">Form</context> - <name>CloseButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.CommandBeforeExecute--> - <element type="property"> - <source id="Access.Form.CommandBeforeExecute"> - <context kind="class">Form</context> - <name>CommandBeforeExecute</name> - <type>String</type> - </source> - </element> - <!--property::Form.CommandChecked--> - <element type="property"> - <source id="Access.Form.CommandChecked"> - <context kind="class">Form</context> - <name>CommandChecked</name> - <type>String</type> - </source> - </element> - <!--property::Form.CommandEnabled--> - <element type="property"> - <source id="Access.Form.CommandEnabled"> - <context kind="class">Form</context> - <name>CommandEnabled</name> - <type>String</type> - </source> - </element> - <!--property::Form.CommandExecute--> - <element type="property"> - <source id="Access.Form.CommandExecute"> - <context kind="class">Form</context> - <name>CommandExecute</name> - <type>String</type> - </source> - </element> - <!--property::Form.CommitOnClose--> - <element type="property"> - <source id="Access.Form.CommitOnClose"> - <context kind="class">Form</context> - <name>CommitOnClose</name> - <type>byte</type> - </source> - </element> - <!--property::Form.CommitOnNavigation--> - <element type="property"> - <source id="Access.Form.CommitOnNavigation"> - <context kind="class">Form</context> - <name>CommitOnNavigation</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.ConnectControl {ReadOnly}--> - <element type="property"> - <source id="Access.Form.ConnectControl"> - <context kind="class">Form</context> - <name>ConnectControl</name> - <type>Control</type> - </source> - </element> - <!--property::Form.ConnectSynch--> - <element type="property"> - <source id="Access.Form.ConnectSynch"> - <context kind="class">Form</context> - <name>ConnectSynch</name> - <type>short</type> - </source> - </element> - <!--property::Form.ControlBox--> - <element type="property"> - <source id="Access.Form.ControlBox"> - <context kind="class">Form</context> - <name>ControlBox</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Controls {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Controls"> - <context kind="class">Form</context> - <name default="true">Controls</name> - <type>Controls</type> - </source> - </element> - <!--property::Form.Count--> - <element type="property"> - <source id="Access.Form.Count"> - <context kind="class">Form</context> - <name>Count</name> - <type>short</type> - </source> - </element> - <!--property::Form.CurrentRecord--> - <element type="property"> - <source id="Access.Form.CurrentRecord"> - <context kind="class">Form</context> - <name>CurrentRecord</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.CurrentSectionLeft--> - <element type="property"> - <source id="Access.Form.CurrentSectionLeft"> - <context kind="class">Form</context> - <name>CurrentSectionLeft</name> - <type>short</type> - </source> - </element> - <!--property::Form.CurrentSectionTop--> - <element type="property"> - <source id="Access.Form.CurrentSectionTop"> - <context kind="class">Form</context> - <name>CurrentSectionTop</name> - <type>short</type> - </source> - </element> - <!--property::Form.CurrentView--> - <element type="property"> - <source id="Access.Form.CurrentView"> - <context kind="class">Form</context> - <name>CurrentView</name> - <type>short</type> - </source> - </element> - <!--property::Form.Cycle--> - <element type="property"> - <source id="Access.Form.Cycle"> - <context kind="class">Form</context> - <name>Cycle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.DataChange--> - <element type="property"> - <source id="Access.Form.DataChange"> - <context kind="class">Form</context> - <name>DataChange</name> - <type>String</type> - </source> - </element> - <!--property::Form.DataEntry--> - <element type="property"> - <source id="Access.Form.DataEntry"> - <context kind="class">Form</context> - <name>DataEntry</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.DataSetChange--> - <element type="property"> - <source id="Access.Form.DataSetChange"> - <context kind="class">Form</context> - <name>DataSetChange</name> - <type>String</type> - </source> - </element> - <!--property::Form.DatasheetBackColor--> - <element type="property"> - <source id="Access.Form.DatasheetBackColor"> - <context kind="class">Form</context> - <name>DatasheetBackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.DatasheetBorderLineStyle--> - <element type="property"> - <source id="Access.Form.DatasheetBorderLineStyle"> - <context kind="class">Form</context> - <name>DatasheetBorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.DatasheetCellsEffect--> - <element type="property"> - <source id="Access.Form.DatasheetCellsEffect"> - <context kind="class">Form</context> - <name>DatasheetCellsEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Form.DatasheetColumnHeaderUnderlineStyle--> - <element type="property"> - <source id="Access.Form.DatasheetColumnHeaderUnderlineStyle"> - <context kind="class">Form</context> - <name>DatasheetColumnHeaderUnderlineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.DatasheetFontHeight--> - <element type="property"> - <source id="Access.Form.DatasheetFontHeight"> - <context kind="class">Form</context> - <name>DatasheetFontHeight</name> - <type>short</type> - </source> - </element> - <!--property::Form.DatasheetFontItalic--> - <element type="property"> - <source id="Access.Form.DatasheetFontItalic"> - <context kind="class">Form</context> - <name>DatasheetFontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.DatasheetFontName--> - <element type="property"> - <source id="Access.Form.DatasheetFontName"> - <context kind="class">Form</context> - <name>DatasheetFontName</name> - <type>String</type> - </source> - </element> - <!--property::Form.DatasheetFontUnderline--> - <element type="property"> - <source id="Access.Form.DatasheetFontUnderline"> - <context kind="class">Form</context> - <name>DatasheetFontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.DatasheetFontWeight--> - <element type="property"> - <source id="Access.Form.DatasheetFontWeight"> - <context kind="class">Form</context> - <name>DatasheetFontWeight</name> - <type>short</type> - </source> - </element> - <!--property::Form.DatasheetForeColor--> - <element type="property"> - <source id="Access.Form.DatasheetForeColor"> - <context kind="class">Form</context> - <name>DatasheetForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.DatasheetGridlinesBehavior--> - <element type="property"> - <source id="Access.Form.DatasheetGridlinesBehavior"> - <context kind="class">Form</context> - <name>DatasheetGridlinesBehavior</name> - <type>byte</type> - </source> - </element> - <!--property::Form.DatasheetGridlinesColor--> - <element type="property"> - <source id="Access.Form.DatasheetGridlinesColor"> - <context kind="class">Form</context> - <name>DatasheetGridlinesColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.DefaultControl {ReadOnly}--> - <element type="property"> - <source id="Access.Form.DefaultControl"> - <context kind="class">Form</context> - <name>DefaultControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.DefaultEditing--> - <element type="property"> - <source id="Access.Form.DefaultEditing"> - <context kind="class">Form</context> - <name>DefaultEditing</name> - <type>short</type> - </source> - </element> - <!--property::Form.DefaultView--> - <element type="property"> - <source id="Access.Form.DefaultView"> - <context kind="class">Form</context> - <name>DefaultView</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Dirty--> - <element type="property"> - <source id="Access.Form.Dirty"> - <context kind="class">Form</context> - <name>Dirty</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.DividingLines--> - <element type="property"> - <source id="Access.Form.DividingLines"> - <context kind="class">Form</context> - <name>DividingLines</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Dynaset {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Dynaset"> - <context kind="class">Form</context> - <name>Dynaset</name> - <type>Object</type> - </source> - </element> - <!--property::Form.FastLaserPrinting--> - <element type="property"> - <source id="Access.Form.FastLaserPrinting"> - <context kind="class">Form</context> - <name>FastLaserPrinting</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.FetchDefaults--> - <element type="property"> - <source id="Access.Form.FetchDefaults"> - <context kind="class">Form</context> - <name>FetchDefaults</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Filter--> - <element type="property"> - <source id="Access.Form.Filter"> - <context kind="class">Form</context> - <name>Filter</name> - <type>String</type> - </source> - </element> - <!--property::Form.FilterOn--> - <element type="property"> - <source id="Access.Form.FilterOn"> - <context kind="class">Form</context> - <name>FilterOn</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Form {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Form"> - <context kind="class">Form</context> - <name>Form</name> - <type>Form</type> - </source> - </element> - <!--property::Form.FormName--> - <element type="property"> - <source id="Access.Form.FormName"> - <context kind="class">Form</context> - <name>FormName</name> - <type>String</type> - </source> - </element> - <!--property::Form.FrozenColumns--> - <element type="property"> - <source id="Access.Form.FrozenColumns"> - <context kind="class">Form</context> - <name>FrozenColumns</name> - <type>short</type> - </source> - </element> - <!--method::Form.GoToPage--> - <element type="method"> - <source id="Access.Form.GoToPage"> - <context kind="class">Form</context> - <name>GoToPage</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>PageNumber</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Right</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Down</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.GridX--> - <element type="property"> - <source id="Access.Form.GridX"> - <context kind="class">Form</context> - <name>GridX</name> - <type>short</type> - </source> - </element> - <!--property::Form.GridY--> - <element type="property"> - <source id="Access.Form.GridY"> - <context kind="class">Form</context> - <name>GridY</name> - <type>short</type> - </source> - </element> - <!--property::Form.HasModule--> - <element type="property"> - <source id="Access.Form.HasModule"> - <context kind="class">Form</context> - <name>HasModule</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.HelpContextId--> - <element type="property"> - <source id="Access.Form.HelpContextId"> - <context kind="class">Form</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.HelpFile--> - <element type="property"> - <source id="Access.Form.HelpFile"> - <context kind="class">Form</context> - <name>HelpFile</name> - <type>String</type> - </source> - </element> - <!--property::Form.HorizontalDatasheetGridlineStyle--> - <element type="property"> - <source id="Access.Form.HorizontalDatasheetGridlineStyle"> - <context kind="class">Form</context> - <name>HorizontalDatasheetGridlineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Hwnd--> - <element type="property"> - <source id="Access.Form.Hwnd"> - <context kind="class">Form</context> - <name>Hwnd</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.InputParameters--> - <element type="property"> - <source id="Access.Form.InputParameters"> - <context kind="class">Form</context> - <name>InputParameters</name> - <type>String</type> - </source> - </element> - <!--property::Form.InsideHeight--> - <element type="property"> - <source id="Access.Form.InsideHeight"> - <context kind="class">Form</context> - <name>InsideHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.InsideWidth--> - <element type="property"> - <source id="Access.Form.InsideWidth"> - <context kind="class">Form</context> - <name>InsideWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.KeyPreview--> - <element type="property"> - <source id="Access.Form.KeyPreview"> - <context kind="class">Form</context> - <name>KeyPreview</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.LayoutForPrint--> - <element type="property"> - <source id="Access.Form.LayoutForPrint"> - <context kind="class">Form</context> - <name>LayoutForPrint</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.LogicalPageHeight--> - <element type="property"> - <source id="Access.Form.LogicalPageHeight"> - <context kind="class">Form</context> - <name>LogicalPageHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.LogicalPageWidth--> - <element type="property"> - <source id="Access.Form.LogicalPageWidth"> - <context kind="class">Form</context> - <name>LogicalPageWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.MaxButton--> - <element type="property"> - <source id="Access.Form.MaxButton"> - <context kind="class">Form</context> - <name>MaxButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.MaxRecButton--> - <element type="property"> - <source id="Access.Form.MaxRecButton"> - <context kind="class">Form</context> - <name>MaxRecButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.MaxRecords--> - <element type="property"> - <source id="Access.Form.MaxRecords"> - <context kind="class">Form</context> - <name>MaxRecords</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.MenuBar--> - <element type="property"> - <source id="Access.Form.MenuBar"> - <context kind="class">Form</context> - <name>MenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Form.MinButton--> - <element type="property"> - <source id="Access.Form.MinButton"> - <context kind="class">Form</context> - <name>MinButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.MinMaxButtons--> - <element type="property"> - <source id="Access.Form.MinMaxButtons"> - <context kind="class">Form</context> - <name>MinMaxButtons</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Modal--> - <element type="property"> - <source id="Access.Form.Modal"> - <context kind="class">Form</context> - <name>Modal</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Module {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Module"> - <context kind="class">Form</context> - <name>Module</name> - <type>Module</type> - </source> - </element> - <!--property::Form.MouseWheel--> - <element type="property"> - <source id="Access.Form.MouseWheel"> - <context kind="class">Form</context> - <name>MouseWheel</name> - <type>String</type> - </source> - </element> - <!--method::Form.Move--> - <element type="method"> - <source id="Access.Form.Move"> - <context kind="class">Form</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.Moveable--> - <element type="property"> - <source id="Access.Form.Moveable"> - <context kind="class">Form</context> - <name>Moveable</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Name--> - <element type="property"> - <source id="Access.Form.Name"> - <context kind="class">Form</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Form.NavigationButtons--> - <element type="property"> - <source id="Access.Form.NavigationButtons"> - <context kind="class">Form</context> - <name>NavigationButtons</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.NewRecord {ReadOnly}--> - <element type="property"> - <source id="Access.Form.NewRecord"> - <context kind="class">Form</context> - <name>NewRecord</name> - <type>short</type> - </source> - </element> - <!--property::Form.OnActivate--> - <element type="property"> - <source id="Access.Form.OnActivate"> - <context kind="class">Form</context> - <name>OnActivate</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnApplyFilter--> - <element type="property"> - <source id="Access.Form.OnApplyFilter"> - <context kind="class">Form</context> - <name>OnApplyFilter</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnClick--> - <element type="property"> - <source id="Access.Form.OnClick"> - <context kind="class">Form</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnClose--> - <element type="property"> - <source id="Access.Form.OnClose"> - <context kind="class">Form</context> - <name>OnClose</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnConnect--> - <element type="property"> - <source id="Access.Form.OnConnect"> - <context kind="class">Form</context> - <name>OnConnect</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnCurrent--> - <element type="property"> - <source id="Access.Form.OnCurrent"> - <context kind="class">Form</context> - <name>OnCurrent</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnDblClick--> - <element type="property"> - <source id="Access.Form.OnDblClick"> - <context kind="class">Form</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnDeactivate--> - <element type="property"> - <source id="Access.Form.OnDeactivate"> - <context kind="class">Form</context> - <name>OnDeactivate</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnDelete--> - <element type="property"> - <source id="Access.Form.OnDelete"> - <context kind="class">Form</context> - <name>OnDelete</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnDirty--> - <element type="property"> - <source id="Access.Form.OnDirty"> - <context kind="class">Form</context> - <name>OnDirty</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnDisconnect--> - <element type="property"> - <source id="Access.Form.OnDisconnect"> - <context kind="class">Form</context> - <name>OnDisconnect</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnError--> - <element type="property"> - <source id="Access.Form.OnError"> - <context kind="class">Form</context> - <name>OnError</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnFilter--> - <element type="property"> - <source id="Access.Form.OnFilter"> - <context kind="class">Form</context> - <name>OnFilter</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnGotFocus--> - <element type="property"> - <source id="Access.Form.OnGotFocus"> - <context kind="class">Form</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnInsert--> - <element type="property"> - <source id="Access.Form.OnInsert"> - <context kind="class">Form</context> - <name>OnInsert</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnKeyDown--> - <element type="property"> - <source id="Access.Form.OnKeyDown"> - <context kind="class">Form</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnKeyPress--> - <element type="property"> - <source id="Access.Form.OnKeyPress"> - <context kind="class">Form</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnKeyUp--> - <element type="property"> - <source id="Access.Form.OnKeyUp"> - <context kind="class">Form</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnLoad--> - <element type="property"> - <source id="Access.Form.OnLoad"> - <context kind="class">Form</context> - <name>OnLoad</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnLostFocus--> - <element type="property"> - <source id="Access.Form.OnLostFocus"> - <context kind="class">Form</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnMenu--> - <element type="property"> - <source id="Access.Form.OnMenu"> - <context kind="class">Form</context> - <name>OnMenu</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnMouseDown--> - <element type="property"> - <source id="Access.Form.OnMouseDown"> - <context kind="class">Form</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnMouseMove--> - <element type="property"> - <source id="Access.Form.OnMouseMove"> - <context kind="class">Form</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnMouseUp--> - <element type="property"> - <source id="Access.Form.OnMouseUp"> - <context kind="class">Form</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnOpen--> - <element type="property"> - <source id="Access.Form.OnOpen"> - <context kind="class">Form</context> - <name>OnOpen</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnRecordExit--> - <element type="property"> - <source id="Access.Form.OnRecordExit"> - <context kind="class">Form</context> - <name>OnRecordExit</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnResize--> - <element type="property"> - <source id="Access.Form.OnResize"> - <context kind="class">Form</context> - <name>OnResize</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnTimer--> - <element type="property"> - <source id="Access.Form.OnTimer"> - <context kind="class">Form</context> - <name>OnTimer</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnUndo--> - <element type="property"> - <source id="Access.Form.OnUndo"> - <context kind="class">Form</context> - <name>OnUndo</name> - <type>String</type> - </source> - </element> - <!--property::Form.OnUnload--> - <element type="property"> - <source id="Access.Form.OnUnload"> - <context kind="class">Form</context> - <name>OnUnload</name> - <type>String</type> - </source> - </element> - <!--property::Form.OpenArgs--> - <element type="property"> - <source id="Access.Form.OpenArgs"> - <context kind="class">Form</context> - <name>OpenArgs</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.OrderBy--> - <element type="property"> - <source id="Access.Form.OrderBy"> - <context kind="class">Form</context> - <name>OrderBy</name> - <type>String</type> - </source> - </element> - <!--property::Form.OrderByOn--> - <element type="property"> - <source id="Access.Form.OrderByOn"> - <context kind="class">Form</context> - <name>OrderByOn</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Orientation--> - <element type="property"> - <source id="Access.Form.Orientation"> - <context kind="class">Form</context> - <name>Orientation</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Page--> - <element type="property"> - <source id="Access.Form.Page"> - <context kind="class">Form</context> - <name>Page</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.Pages--> - <element type="property"> - <source id="Access.Form.Pages"> - <context kind="class">Form</context> - <name>Pages</name> - <type>short</type> - </source> - </element> - <!--property::Form.Painting--> - <element type="property"> - <source id="Access.Form.Painting"> - <context kind="class">Form</context> - <name>Painting</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.PaintPalette--> - <element type="property"> - <source id="Access.Form.PaintPalette"> - <context kind="class">Form</context> - <name>PaintPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.PaletteSource--> - <element type="property"> - <source id="Access.Form.PaletteSource"> - <context kind="class">Form</context> - <name>PaletteSource</name> - <type>String</type> - </source> - </element> - <!--property::Form.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Parent"> - <context kind="class">Form</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Form.Picture--> - <element type="property"> - <source id="Access.Form.Picture"> - <context kind="class">Form</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::Form.PictureAlignment--> - <element type="property"> - <source id="Access.Form.PictureAlignment"> - <context kind="class">Form</context> - <name>PictureAlignment</name> - <type>byte</type> - </source> - </element> - <!--property::Form.PictureData--> - <element type="property"> - <source id="Access.Form.PictureData"> - <context kind="class">Form</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.PicturePalette--> - <element type="property"> - <source id="Access.Form.PicturePalette"> - <context kind="class">Form</context> - <name>PicturePalette</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.PictureSizeMode--> - <element type="property"> - <source id="Access.Form.PictureSizeMode"> - <context kind="class">Form</context> - <name>PictureSizeMode</name> - <type>byte</type> - </source> - </element> - <!--property::Form.PictureTiling--> - <element type="property"> - <source id="Access.Form.PictureTiling"> - <context kind="class">Form</context> - <name>PictureTiling</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.PictureType--> - <element type="property"> - <source id="Access.Form.PictureType"> - <context kind="class">Form</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::Form.PivotTable {ReadOnly}--> - <element type="property"> - <source id="Access.Form.PivotTable"> - <context kind="class">Form</context> - <name>PivotTable</name> - <type>Object</type> - </source> - </element> - <!--property::Form.PivotTableChange--> - <element type="property"> - <source id="Access.Form.PivotTableChange"> - <context kind="class">Form</context> - <name>PivotTableChange</name> - <type>String</type> - </source> - </element> - <!--property::Form.PopUp--> - <element type="property"> - <source id="Access.Form.PopUp"> - <context kind="class">Form</context> - <name>PopUp</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Printer--> - <element type="property"> - <source id="Access.Form.Printer"> - <context kind="class">Form</context> - <name>Printer</name> - <type>_Printer</type> - </source> - </element> - <!--property::Form.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Properties"> - <context kind="class">Form</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Form.PrtDevMode--> - <element type="property"> - <source id="Access.Form.PrtDevMode"> - <context kind="class">Form</context> - <name>PrtDevMode</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.PrtDevNames--> - <element type="property"> - <source id="Access.Form.PrtDevNames"> - <context kind="class">Form</context> - <name>PrtDevNames</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.PrtMip--> - <element type="property"> - <source id="Access.Form.PrtMip"> - <context kind="class">Form</context> - <name>PrtMip</name> - <type>Variant</type> - </source> - </element> - <!--property::Form.Query--> - <element type="property"> - <source id="Access.Form.Query"> - <context kind="class">Form</context> - <name>Query</name> - <type>String</type> - </source> - </element> - <!--method::Form.Recalc--> - <element type="method"> - <source id="Access.Form.Recalc"> - <context kind="class">Form</context> - <name>Recalc</name> - <type>void</type> - </source> - </element> - <!--property::Form.RecordLocks--> - <element type="property"> - <source id="Access.Form.RecordLocks"> - <context kind="class">Form</context> - <name>RecordLocks</name> - <type>byte</type> - </source> - </element> - <!--property::Form.RecordSelectors--> - <element type="property"> - <source id="Access.Form.RecordSelectors"> - <context kind="class">Form</context> - <name>RecordSelectors</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Recordset {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Recordset"> - <context kind="class">Form</context> - <name>Recordset</name> - <type>Object</type> - </source> - </element> - <!--property::Form.RecordsetClone {ReadOnly}--> - <element type="property"> - <source id="Access.Form.RecordsetClone"> - <context kind="class">Form</context> - <name>RecordsetClone</name> - <type>Object</type> - </source> - </element> - <!--property::Form.RecordsetType--> - <element type="property"> - <source id="Access.Form.RecordsetType"> - <context kind="class">Form</context> - <name>RecordsetType</name> - <type>byte</type> - </source> - </element> - <!--property::Form.RecordSource--> - <element type="property"> - <source id="Access.Form.RecordSource"> - <context kind="class">Form</context> - <name>RecordSource</name> - <type>String</type> - </source> - </element> - <!--property::Form.RecordSourceQualifier--> - <element type="property"> - <source id="Access.Form.RecordSourceQualifier"> - <context kind="class">Form</context> - <name>RecordSourceQualifier</name> - <type>String</type> - </source> - </element> - <!--method::Form.Refresh--> - <element type="method"> - <source id="Access.Form.Refresh"> - <context kind="class">Form</context> - <name>Refresh</name> - <type>void</type> - </source> - </element> - <!--method::Form.Repaint--> - <element type="method"> - <source id="Access.Form.Repaint"> - <context kind="class">Form</context> - <name>Repaint</name> - <type>void</type> - </source> - </element> - <!--method::Form.Requery--> - <element type="method"> - <source id="Access.Form.Requery"> - <context kind="class">Form</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::Form.ResyncCommand--> - <element type="property"> - <source id="Access.Form.ResyncCommand"> - <context kind="class">Form</context> - <name>ResyncCommand</name> - <type>String</type> - </source> - </element> - <!--property::Form.RollbackTransaction--> - <element type="property"> - <source id="Access.Form.RollbackTransaction"> - <context kind="class">Form</context> - <name>RollbackTransaction</name> - <type>String</type> - </source> - </element> - <!--property::Form.RowHeight--> - <element type="property"> - <source id="Access.Form.RowHeight"> - <context kind="class">Form</context> - <name>RowHeight</name> - <type>short</type> - </source> - </element> - <!--property::Form.ScrollBars--> - <element type="property"> - <source id="Access.Form.ScrollBars"> - <context kind="class">Form</context> - <name>ScrollBars</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Section {ReadOnly}--> - <element type="property"> - <source id="Access.Form.Section"> - <context kind="class">Form</context> - <name>Section</name> - <type>Section</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Form.SelectionChange--> - <element type="property"> - <source id="Access.Form.SelectionChange"> - <context kind="class">Form</context> - <name>SelectionChange</name> - <type>String</type> - </source> - </element> - <!--property::Form.SelHeight--> - <element type="property"> - <source id="Access.Form.SelHeight"> - <context kind="class">Form</context> - <name>SelHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.SelLeft--> - <element type="property"> - <source id="Access.Form.SelLeft"> - <context kind="class">Form</context> - <name>SelLeft</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.SelTop--> - <element type="property"> - <source id="Access.Form.SelTop"> - <context kind="class">Form</context> - <name>SelTop</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.SelWidth--> - <element type="property"> - <source id="Access.Form.SelWidth"> - <context kind="class">Form</context> - <name>SelWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.ServerFilter--> - <element type="property"> - <source id="Access.Form.ServerFilter"> - <context kind="class">Form</context> - <name>ServerFilter</name> - <type>String</type> - </source> - </element> - <!--property::Form.ServerFilterByForm--> - <element type="property"> - <source id="Access.Form.ServerFilterByForm"> - <context kind="class">Form</context> - <name>ServerFilterByForm</name> - <type>boolean</type> - </source> - </element> - <!--method::Form.SetFocus--> - <element type="method"> - <source id="Access.Form.SetFocus"> - <context kind="class">Form</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::Form.ShortcutMenu--> - <element type="property"> - <source id="Access.Form.ShortcutMenu"> - <context kind="class">Form</context> - <name>ShortcutMenu</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Form.ShortcutMenuBar"> - <context kind="class">Form</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Form.ShowGrid--> - <element type="property"> - <source id="Access.Form.ShowGrid"> - <context kind="class">Form</context> - <name>ShowGrid</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.SubdatasheetExpanded--> - <element type="property"> - <source id="Access.Form.SubdatasheetExpanded"> - <context kind="class">Form</context> - <name>SubdatasheetExpanded</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.SubdatasheetHeight--> - <element type="property"> - <source id="Access.Form.SubdatasheetHeight"> - <context kind="class">Form</context> - <name>SubdatasheetHeight</name> - <type>short</type> - </source> - </element> - <!--property::Form.TabularCharSet--> - <element type="property"> - <source id="Access.Form.TabularCharSet"> - <context kind="class">Form</context> - <name>TabularCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::Form.TabularFamily--> - <element type="property"> - <source id="Access.Form.TabularFamily"> - <context kind="class">Form</context> - <name>TabularFamily</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Tag--> - <element type="property"> - <source id="Access.Form.Tag"> - <context kind="class">Form</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Form.TimerInterval--> - <element type="property"> - <source id="Access.Form.TimerInterval"> - <context kind="class">Form</context> - <name>TimerInterval</name> - <type>Integer</type> - </source> - </element> - <!--property::Form.Toolbar--> - <element type="property"> - <source id="Access.Form.Toolbar"> - <context kind="class">Form</context> - <name>Toolbar</name> - <type>String</type> - </source> - </element> - <!--method::Form.Undo--> - <element type="method"> - <source id="Access.Form.Undo"> - <context kind="class">Form</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::Form.UndoBatchEdit--> - <element type="property"> - <source id="Access.Form.UndoBatchEdit"> - <context kind="class">Form</context> - <name>UndoBatchEdit</name> - <type>String</type> - </source> - </element> - <!--property::Form.UniqueTable--> - <element type="property"> - <source id="Access.Form.UniqueTable"> - <context kind="class">Form</context> - <name>UniqueTable</name> - <type>String</type> - </source> - </element> - <!--property::Form.UseDefaultPrinter--> - <element type="property"> - <source id="Access.Form.UseDefaultPrinter"> - <context kind="class">Form</context> - <name>UseDefaultPrinter</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.VerticalDatasheetGridlineStyle--> - <element type="property"> - <source id="Access.Form.VerticalDatasheetGridlineStyle"> - <context kind="class">Form</context> - <name>VerticalDatasheetGridlineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Form.ViewChange--> - <element type="property"> - <source id="Access.Form.ViewChange"> - <context kind="class">Form</context> - <name>ViewChange</name> - <type>String</type> - </source> - </element> - <!--property::Form.ViewsAllowed--> - <element type="property"> - <source id="Access.Form.ViewsAllowed"> - <context kind="class">Form</context> - <name>ViewsAllowed</name> - <type>byte</type> - </source> - </element> - <!--property::Form.Visible--> - <element type="property"> - <source id="Access.Form.Visible"> - <context kind="class">Form</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.WhatsThisButton--> - <element type="property"> - <source id="Access.Form.WhatsThisButton"> - <context kind="class">Form</context> - <name>WhatsThisButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Form.Width--> - <element type="property"> - <source id="Access.Form.Width"> - <context kind="class">Form</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::Form.WindowHeight--> - <element type="property"> - <source id="Access.Form.WindowHeight"> - <context kind="class">Form</context> - <name>WindowHeight</name> - <type>short</type> - </source> - </element> - <!--property::Form.WindowLeft {ReadOnly}--> - <element type="property"> - <source id="Access.Form.WindowLeft"> - <context kind="class">Form</context> - <name>WindowLeft</name> - <type>short</type> - </source> - </element> - <!--property::Form.WindowTop {ReadOnly}--> - <element type="property"> - <source id="Access.Form.WindowTop"> - <context kind="class">Form</context> - <name>WindowTop</name> - <type>short</type> - </source> - </element> - <!--property::Form.WindowWidth--> - <element type="property"> - <source id="Access.Form.WindowWidth"> - <context kind="class">Form</context> - <name>WindowWidth</name> - <type>short</type> - </source> - </element> - <!--property::Form.ZoomControl--> - <element type="property"> - <source id="Access.Form.ZoomControl"> - <context kind="class">Form</context> - <name>ZoomControl</name> - <type>Integer</type> - </source> - </element> - <!--Class::FormatCondition--> - <element type="class"> - <source id="Access.FormatCondition"> - <name>FormatCondition</name> - </source> - <destination designation="identity" /> - </element> - <!--property::FormatCondition.BackColor--> - <element type="property"> - <source id="Access.FormatCondition.BackColor"> - <context kind="class">FormatCondition</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--method::FormatCondition.Delete--> - <element type="method"> - <source id="Access.FormatCondition.Delete"> - <context kind="class">FormatCondition</context> - <name>Delete</name> - <type>void</type> - </source> - </element> - <!--property::FormatCondition.Enabled--> - <element type="property"> - <source id="Access.FormatCondition.Enabled"> - <context kind="class">FormatCondition</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::FormatCondition.Expression1 {ReadOnly}--> - <element type="property"> - <source id="Access.FormatCondition.Expression1"> - <context kind="class">FormatCondition</context> - <name>Expression1</name> - <type>String</type> - </source> - </element> - <!--property::FormatCondition.Expression2 {ReadOnly}--> - <element type="property"> - <source id="Access.FormatCondition.Expression2"> - <context kind="class">FormatCondition</context> - <name>Expression2</name> - <type>String</type> - </source> - </element> - <!--property::FormatCondition.FontBold--> - <element type="property"> - <source id="Access.FormatCondition.FontBold"> - <context kind="class">FormatCondition</context> - <name>FontBold</name> - <type>boolean</type> - </source> - </element> - <!--property::FormatCondition.FontItalic--> - <element type="property"> - <source id="Access.FormatCondition.FontItalic"> - <context kind="class">FormatCondition</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::FormatCondition.FontUnderline--> - <element type="property"> - <source id="Access.FormatCondition.FontUnderline"> - <context kind="class">FormatCondition</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::FormatCondition.ForeColor--> - <element type="property"> - <source id="Access.FormatCondition.ForeColor"> - <context kind="class">FormatCondition</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--method::FormatCondition.IsMemberSafe--> - <element type="method"> - <source id="Access.FormatCondition.IsMemberSafe"> - <context kind="class">FormatCondition</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormatCondition.Modify--> - <element type="method"> - <source id="Access.FormatCondition.Modify"> - <context kind="class">FormatCondition</context> - <name>Modify</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Type</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Operator</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Expression1</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Expression2</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormatCondition.Operator {ReadOnly}--> - <element type="property"> - <source id="Access.FormatCondition.Operator"> - <context kind="class">FormatCondition</context> - <name>Operator</name> - <type>Integer</type> - </source> - </element> - <!--property::FormatCondition.Type {ReadOnly}--> - <element type="property"> - <source id="Access.FormatCondition.Type"> - <context kind="class">FormatCondition</context> - <name>Type</name> - <type>Integer</type> - </source> - </element> - <!--Class::FormatConditions--> - <element type="class"> - <source id="Access.FormatConditions"> - <name>FormatConditions</name> - </source> - <destination designation="identity" /> - </element> - <!--method::FormatConditions.Add--> - <element type="method"> - <source id="Access.FormatConditions.Add"> - <context kind="class">FormatConditions</context> - <name>Add</name> - <type>_FormatCondition</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Type</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Operator</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Expression1</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Expression2</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormatConditions.Application {ReadOnly}--> - <element type="property"> - <source id="Access.FormatConditions.Application"> - <context kind="class">FormatConditions</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::FormatConditions.Count {ReadOnly}--> - <element type="property"> - <source id="Access.FormatConditions.Count"> - <context kind="class">FormatConditions</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::FormatConditions.Delete--> - <element type="method"> - <source id="Access.FormatConditions.Delete"> - <context kind="class">FormatConditions</context> - <name>Delete</name> - <type>void</type> - </source> - </element> - <!--method::FormatConditions.IsMemberSafe--> - <element type="method"> - <source id="Access.FormatConditions.IsMemberSafe"> - <context kind="class">FormatConditions</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormatConditions.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.FormatConditions.Item"> - <context kind="class">FormatConditions</context> - <name default="true">Item</name> - <type>_FormatCondition</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormatConditions.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.FormatConditions.Parent"> - <context kind="class">FormatConditions</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::FormOld--> - <element type="class"> - <source id="Access.FormOld"> - <name>FormOld</name> - </source> - <destination designation="identity" /> - </element> - <!--property::FormOld.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accChild"> - <context kind="class">FormOld</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accChildCount"> - <context kind="class">FormOld</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accDefaultAction"> - <context kind="class">FormOld</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accDescription"> - <context kind="class">FormOld</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormOld.accDoDefaultAction--> - <element type="method"> - <source id="Access.FormOld.accDoDefaultAction"> - <context kind="class">FormOld</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accFocus"> - <context kind="class">FormOld</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accHelp"> - <context kind="class">FormOld</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accHelpTopic"> - <context kind="class">FormOld</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormOld.accHitTest--> - <element type="method"> - <source id="Access.FormOld.accHitTest"> - <context kind="class">FormOld</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accKeyboardShortcut"> - <context kind="class">FormOld</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormOld.accLocation--> - <element type="method"> - <source id="Access.FormOld.accLocation"> - <context kind="class">FormOld</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accName--> - <element type="property"> - <source id="Access.FormOld.accName"> - <context kind="class">FormOld</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormOld.accNavigate--> - <element type="method"> - <source id="Access.FormOld.accNavigate"> - <context kind="class">FormOld</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accParent"> - <context kind="class">FormOld</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::FormOld.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accRole"> - <context kind="class">FormOld</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::FormOld.accSelect--> - <element type="method"> - <source id="Access.FormOld.accSelect"> - <context kind="class">FormOld</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accSelection"> - <context kind="class">FormOld</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.accState {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.accState"> - <context kind="class">FormOld</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.accValue--> - <element type="property"> - <source id="Access.FormOld.accValue"> - <context kind="class">FormOld</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.acHiddenCurrentPage--> - <element type="property"> - <source id="Access.FormOld.acHiddenCurrentPage"> - <context kind="class">FormOld</context> - <name>acHiddenCurrentPage</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.ActiveControl {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.ActiveControl"> - <context kind="class">FormOld</context> - <name>ActiveControl</name> - <type>Control</type> - </source> - </element> - <!--property::FormOld.AfterDelConfirm--> - <element type="property"> - <source id="Access.FormOld.AfterDelConfirm"> - <context kind="class">FormOld</context> - <name>AfterDelConfirm</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.AfterInsert--> - <element type="property"> - <source id="Access.FormOld.AfterInsert"> - <context kind="class">FormOld</context> - <name>AfterInsert</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.AfterUpdate--> - <element type="property"> - <source id="Access.FormOld.AfterUpdate"> - <context kind="class">FormOld</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.AllowAdditions--> - <element type="property"> - <source id="Access.FormOld.AllowAdditions"> - <context kind="class">FormOld</context> - <name>AllowAdditions</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowDeletions--> - <element type="property"> - <source id="Access.FormOld.AllowDeletions"> - <context kind="class">FormOld</context> - <name>AllowDeletions</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowDesignChanges--> - <element type="property"> - <source id="Access.FormOld.AllowDesignChanges"> - <context kind="class">FormOld</context> - <name>AllowDesignChanges</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowEditing--> - <element type="property"> - <source id="Access.FormOld.AllowEditing"> - <context kind="class">FormOld</context> - <name>AllowEditing</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowEdits--> - <element type="property"> - <source id="Access.FormOld.AllowEdits"> - <context kind="class">FormOld</context> - <name>AllowEdits</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowFilters--> - <element type="property"> - <source id="Access.FormOld.AllowFilters"> - <context kind="class">FormOld</context> - <name>AllowFilters</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AllowUpdating--> - <element type="property"> - <source id="Access.FormOld.AllowUpdating"> - <context kind="class">FormOld</context> - <name>AllowUpdating</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Application {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Application"> - <context kind="class">FormOld</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::FormOld.AutoCenter--> - <element type="property"> - <source id="Access.FormOld.AutoCenter"> - <context kind="class">FormOld</context> - <name>AutoCenter</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.AutoResize--> - <element type="property"> - <source id="Access.FormOld.AutoResize"> - <context kind="class">FormOld</context> - <name>AutoResize</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.BeforeDelConfirm--> - <element type="property"> - <source id="Access.FormOld.BeforeDelConfirm"> - <context kind="class">FormOld</context> - <name>BeforeDelConfirm</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.BeforeInsert--> - <element type="property"> - <source id="Access.FormOld.BeforeInsert"> - <context kind="class">FormOld</context> - <name>BeforeInsert</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.BeforeUpdate--> - <element type="property"> - <source id="Access.FormOld.BeforeUpdate"> - <context kind="class">FormOld</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.Bookmark--> - <element type="property"> - <source id="Access.FormOld.Bookmark"> - <context kind="class">FormOld</context> - <name>Bookmark</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.BorderStyle--> - <element type="property"> - <source id="Access.FormOld.BorderStyle"> - <context kind="class">FormOld</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Caption--> - <element type="property"> - <source id="Access.FormOld.Caption"> - <context kind="class">FormOld</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.CloseButton--> - <element type="property"> - <source id="Access.FormOld.CloseButton"> - <context kind="class">FormOld</context> - <name>CloseButton</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.ConnectControl {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.ConnectControl"> - <context kind="class">FormOld</context> - <name>ConnectControl</name> - <type>Control</type> - </source> - </element> - <!--property::FormOld.ConnectSynch--> - <element type="property"> - <source id="Access.FormOld.ConnectSynch"> - <context kind="class">FormOld</context> - <name>ConnectSynch</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.ControlBox--> - <element type="property"> - <source id="Access.FormOld.ControlBox"> - <context kind="class">FormOld</context> - <name>ControlBox</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Controls {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Controls"> - <context kind="class">FormOld</context> - <name default="true">Controls</name> - <type>Controls</type> - </source> - </element> - <!--property::FormOld.Count--> - <element type="property"> - <source id="Access.FormOld.Count"> - <context kind="class">FormOld</context> - <name>Count</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.CurrentRecord--> - <element type="property"> - <source id="Access.FormOld.CurrentRecord"> - <context kind="class">FormOld</context> - <name>CurrentRecord</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.CurrentSectionLeft--> - <element type="property"> - <source id="Access.FormOld.CurrentSectionLeft"> - <context kind="class">FormOld</context> - <name>CurrentSectionLeft</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.CurrentSectionTop--> - <element type="property"> - <source id="Access.FormOld.CurrentSectionTop"> - <context kind="class">FormOld</context> - <name>CurrentSectionTop</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.CurrentView--> - <element type="property"> - <source id="Access.FormOld.CurrentView"> - <context kind="class">FormOld</context> - <name>CurrentView</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.Cycle--> - <element type="property"> - <source id="Access.FormOld.Cycle"> - <context kind="class">FormOld</context> - <name>Cycle</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.DataEntry--> - <element type="property"> - <source id="Access.FormOld.DataEntry"> - <context kind="class">FormOld</context> - <name>DataEntry</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.DatasheetBackColor--> - <element type="property"> - <source id="Access.FormOld.DatasheetBackColor"> - <context kind="class">FormOld</context> - <name>DatasheetBackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.DatasheetCellsEffect--> - <element type="property"> - <source id="Access.FormOld.DatasheetCellsEffect"> - <context kind="class">FormOld</context> - <name>DatasheetCellsEffect</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.DatasheetFontHeight--> - <element type="property"> - <source id="Access.FormOld.DatasheetFontHeight"> - <context kind="class">FormOld</context> - <name>DatasheetFontHeight</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.DatasheetFontItalic--> - <element type="property"> - <source id="Access.FormOld.DatasheetFontItalic"> - <context kind="class">FormOld</context> - <name>DatasheetFontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.DatasheetFontName--> - <element type="property"> - <source id="Access.FormOld.DatasheetFontName"> - <context kind="class">FormOld</context> - <name>DatasheetFontName</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.DatasheetFontUnderline--> - <element type="property"> - <source id="Access.FormOld.DatasheetFontUnderline"> - <context kind="class">FormOld</context> - <name>DatasheetFontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.DatasheetFontWeight--> - <element type="property"> - <source id="Access.FormOld.DatasheetFontWeight"> - <context kind="class">FormOld</context> - <name>DatasheetFontWeight</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.DatasheetForeColor--> - <element type="property"> - <source id="Access.FormOld.DatasheetForeColor"> - <context kind="class">FormOld</context> - <name>DatasheetForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.DatasheetGridlinesBehavior--> - <element type="property"> - <source id="Access.FormOld.DatasheetGridlinesBehavior"> - <context kind="class">FormOld</context> - <name>DatasheetGridlinesBehavior</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.DatasheetGridlinesColor--> - <element type="property"> - <source id="Access.FormOld.DatasheetGridlinesColor"> - <context kind="class">FormOld</context> - <name>DatasheetGridlinesColor</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.DefaultControl {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.DefaultControl"> - <context kind="class">FormOld</context> - <name>DefaultControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.DefaultEditing--> - <element type="property"> - <source id="Access.FormOld.DefaultEditing"> - <context kind="class">FormOld</context> - <name>DefaultEditing</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.DefaultView--> - <element type="property"> - <source id="Access.FormOld.DefaultView"> - <context kind="class">FormOld</context> - <name>DefaultView</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Dirty--> - <element type="property"> - <source id="Access.FormOld.Dirty"> - <context kind="class">FormOld</context> - <name>Dirty</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.DividingLines--> - <element type="property"> - <source id="Access.FormOld.DividingLines"> - <context kind="class">FormOld</context> - <name>DividingLines</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Dynaset {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Dynaset"> - <context kind="class">FormOld</context> - <name>Dynaset</name> - <type>Object</type> - </source> - </element> - <!--property::FormOld.FastLaserPrinting--> - <element type="property"> - <source id="Access.FormOld.FastLaserPrinting"> - <context kind="class">FormOld</context> - <name>FastLaserPrinting</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Filter--> - <element type="property"> - <source id="Access.FormOld.Filter"> - <context kind="class">FormOld</context> - <name>Filter</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.FilterOn--> - <element type="property"> - <source id="Access.FormOld.FilterOn"> - <context kind="class">FormOld</context> - <name>FilterOn</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Form {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Form"> - <context kind="class">FormOld</context> - <name>Form</name> - <type>Form</type> - </source> - </element> - <!--property::FormOld.FormName--> - <element type="property"> - <source id="Access.FormOld.FormName"> - <context kind="class">FormOld</context> - <name>FormName</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.FrozenColumns--> - <element type="property"> - <source id="Access.FormOld.FrozenColumns"> - <context kind="class">FormOld</context> - <name>FrozenColumns</name> - <type>short</type> - </source> - </element> - <!--method::FormOld.GoToPage--> - <element type="method"> - <source id="Access.FormOld.GoToPage"> - <context kind="class">FormOld</context> - <name>GoToPage</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>PageNumber</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Right</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Down</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.GridX--> - <element type="property"> - <source id="Access.FormOld.GridX"> - <context kind="class">FormOld</context> - <name>GridX</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.GridY--> - <element type="property"> - <source id="Access.FormOld.GridY"> - <context kind="class">FormOld</context> - <name>GridY</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.HasModule--> - <element type="property"> - <source id="Access.FormOld.HasModule"> - <context kind="class">FormOld</context> - <name>HasModule</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.HelpContextId--> - <element type="property"> - <source id="Access.FormOld.HelpContextId"> - <context kind="class">FormOld</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.HelpFile--> - <element type="property"> - <source id="Access.FormOld.HelpFile"> - <context kind="class">FormOld</context> - <name>HelpFile</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.Hwnd--> - <element type="property"> - <source id="Access.FormOld.Hwnd"> - <context kind="class">FormOld</context> - <name>Hwnd</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.InputParameters--> - <element type="property"> - <source id="Access.FormOld.InputParameters"> - <context kind="class">FormOld</context> - <name>InputParameters</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.InsideHeight--> - <element type="property"> - <source id="Access.FormOld.InsideHeight"> - <context kind="class">FormOld</context> - <name>InsideHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.InsideWidth--> - <element type="property"> - <source id="Access.FormOld.InsideWidth"> - <context kind="class">FormOld</context> - <name>InsideWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.KeyPreview--> - <element type="property"> - <source id="Access.FormOld.KeyPreview"> - <context kind="class">FormOld</context> - <name>KeyPreview</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.LayoutForPrint--> - <element type="property"> - <source id="Access.FormOld.LayoutForPrint"> - <context kind="class">FormOld</context> - <name>LayoutForPrint</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.LogicalPageHeight--> - <element type="property"> - <source id="Access.FormOld.LogicalPageHeight"> - <context kind="class">FormOld</context> - <name>LogicalPageHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.LogicalPageWidth--> - <element type="property"> - <source id="Access.FormOld.LogicalPageWidth"> - <context kind="class">FormOld</context> - <name>LogicalPageWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.MaxButton--> - <element type="property"> - <source id="Access.FormOld.MaxButton"> - <context kind="class">FormOld</context> - <name>MaxButton</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.MaxRecButton--> - <element type="property"> - <source id="Access.FormOld.MaxRecButton"> - <context kind="class">FormOld</context> - <name>MaxRecButton</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.MaxRecords--> - <element type="property"> - <source id="Access.FormOld.MaxRecords"> - <context kind="class">FormOld</context> - <name>MaxRecords</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.MenuBar--> - <element type="property"> - <source id="Access.FormOld.MenuBar"> - <context kind="class">FormOld</context> - <name>MenuBar</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.MinButton--> - <element type="property"> - <source id="Access.FormOld.MinButton"> - <context kind="class">FormOld</context> - <name>MinButton</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.MinMaxButtons--> - <element type="property"> - <source id="Access.FormOld.MinMaxButtons"> - <context kind="class">FormOld</context> - <name>MinMaxButtons</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Modal--> - <element type="property"> - <source id="Access.FormOld.Modal"> - <context kind="class">FormOld</context> - <name>Modal</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Module {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Module"> - <context kind="class">FormOld</context> - <name>Module</name> - <type>Module</type> - </source> - </element> - <!--property::FormOld.Name--> - <element type="property"> - <source id="Access.FormOld.Name"> - <context kind="class">FormOld</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.NavigationButtons--> - <element type="property"> - <source id="Access.FormOld.NavigationButtons"> - <context kind="class">FormOld</context> - <name>NavigationButtons</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.NewRecord {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.NewRecord"> - <context kind="class">FormOld</context> - <name>NewRecord</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.OnActivate--> - <element type="property"> - <source id="Access.FormOld.OnActivate"> - <context kind="class">FormOld</context> - <name>OnActivate</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnApplyFilter--> - <element type="property"> - <source id="Access.FormOld.OnApplyFilter"> - <context kind="class">FormOld</context> - <name>OnApplyFilter</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnClick--> - <element type="property"> - <source id="Access.FormOld.OnClick"> - <context kind="class">FormOld</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnClose--> - <element type="property"> - <source id="Access.FormOld.OnClose"> - <context kind="class">FormOld</context> - <name>OnClose</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnCurrent--> - <element type="property"> - <source id="Access.FormOld.OnCurrent"> - <context kind="class">FormOld</context> - <name>OnCurrent</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnDblClick--> - <element type="property"> - <source id="Access.FormOld.OnDblClick"> - <context kind="class">FormOld</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnDeactivate--> - <element type="property"> - <source id="Access.FormOld.OnDeactivate"> - <context kind="class">FormOld</context> - <name>OnDeactivate</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnDelete--> - <element type="property"> - <source id="Access.FormOld.OnDelete"> - <context kind="class">FormOld</context> - <name>OnDelete</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnDirty--> - <element type="property"> - <source id="Access.FormOld.OnDirty"> - <context kind="class">FormOld</context> - <name>OnDirty</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnError--> - <element type="property"> - <source id="Access.FormOld.OnError"> - <context kind="class">FormOld</context> - <name>OnError</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnFilter--> - <element type="property"> - <source id="Access.FormOld.OnFilter"> - <context kind="class">FormOld</context> - <name>OnFilter</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnGotFocus--> - <element type="property"> - <source id="Access.FormOld.OnGotFocus"> - <context kind="class">FormOld</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnInsert--> - <element type="property"> - <source id="Access.FormOld.OnInsert"> - <context kind="class">FormOld</context> - <name>OnInsert</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnKeyDown--> - <element type="property"> - <source id="Access.FormOld.OnKeyDown"> - <context kind="class">FormOld</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnKeyPress--> - <element type="property"> - <source id="Access.FormOld.OnKeyPress"> - <context kind="class">FormOld</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnKeyUp--> - <element type="property"> - <source id="Access.FormOld.OnKeyUp"> - <context kind="class">FormOld</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnLoad--> - <element type="property"> - <source id="Access.FormOld.OnLoad"> - <context kind="class">FormOld</context> - <name>OnLoad</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnLostFocus--> - <element type="property"> - <source id="Access.FormOld.OnLostFocus"> - <context kind="class">FormOld</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnMenu--> - <element type="property"> - <source id="Access.FormOld.OnMenu"> - <context kind="class">FormOld</context> - <name>OnMenu</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnMouseDown--> - <element type="property"> - <source id="Access.FormOld.OnMouseDown"> - <context kind="class">FormOld</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnMouseMove--> - <element type="property"> - <source id="Access.FormOld.OnMouseMove"> - <context kind="class">FormOld</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnMouseUp--> - <element type="property"> - <source id="Access.FormOld.OnMouseUp"> - <context kind="class">FormOld</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnOpen--> - <element type="property"> - <source id="Access.FormOld.OnOpen"> - <context kind="class">FormOld</context> - <name>OnOpen</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnResize--> - <element type="property"> - <source id="Access.FormOld.OnResize"> - <context kind="class">FormOld</context> - <name>OnResize</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnTimer--> - <element type="property"> - <source id="Access.FormOld.OnTimer"> - <context kind="class">FormOld</context> - <name>OnTimer</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OnUnload--> - <element type="property"> - <source id="Access.FormOld.OnUnload"> - <context kind="class">FormOld</context> - <name>OnUnload</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OpenArgs--> - <element type="property"> - <source id="Access.FormOld.OpenArgs"> - <context kind="class">FormOld</context> - <name>OpenArgs</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.OrderBy--> - <element type="property"> - <source id="Access.FormOld.OrderBy"> - <context kind="class">FormOld</context> - <name>OrderBy</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.OrderByOn--> - <element type="property"> - <source id="Access.FormOld.OrderByOn"> - <context kind="class">FormOld</context> - <name>OrderByOn</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Orientation--> - <element type="property"> - <source id="Access.FormOld.Orientation"> - <context kind="class">FormOld</context> - <name>Orientation</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Page--> - <element type="property"> - <source id="Access.FormOld.Page"> - <context kind="class">FormOld</context> - <name>Page</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.Pages--> - <element type="property"> - <source id="Access.FormOld.Pages"> - <context kind="class">FormOld</context> - <name>Pages</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.Painting--> - <element type="property"> - <source id="Access.FormOld.Painting"> - <context kind="class">FormOld</context> - <name>Painting</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.PaintPalette--> - <element type="property"> - <source id="Access.FormOld.PaintPalette"> - <context kind="class">FormOld</context> - <name>PaintPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.PaletteSource--> - <element type="property"> - <source id="Access.FormOld.PaletteSource"> - <context kind="class">FormOld</context> - <name>PaletteSource</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Parent"> - <context kind="class">FormOld</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::FormOld.Picture--> - <element type="property"> - <source id="Access.FormOld.Picture"> - <context kind="class">FormOld</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.PictureAlignment--> - <element type="property"> - <source id="Access.FormOld.PictureAlignment"> - <context kind="class">FormOld</context> - <name>PictureAlignment</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.PictureData--> - <element type="property"> - <source id="Access.FormOld.PictureData"> - <context kind="class">FormOld</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.PicturePalette--> - <element type="property"> - <source id="Access.FormOld.PicturePalette"> - <context kind="class">FormOld</context> - <name>PicturePalette</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.PictureSizeMode--> - <element type="property"> - <source id="Access.FormOld.PictureSizeMode"> - <context kind="class">FormOld</context> - <name>PictureSizeMode</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.PictureTiling--> - <element type="property"> - <source id="Access.FormOld.PictureTiling"> - <context kind="class">FormOld</context> - <name>PictureTiling</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.PictureType--> - <element type="property"> - <source id="Access.FormOld.PictureType"> - <context kind="class">FormOld</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.PopUp--> - <element type="property"> - <source id="Access.FormOld.PopUp"> - <context kind="class">FormOld</context> - <name>PopUp</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Properties"> - <context kind="class">FormOld</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::FormOld.PrtDevMode--> - <element type="property"> - <source id="Access.FormOld.PrtDevMode"> - <context kind="class">FormOld</context> - <name>PrtDevMode</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.PrtDevNames--> - <element type="property"> - <source id="Access.FormOld.PrtDevNames"> - <context kind="class">FormOld</context> - <name>PrtDevNames</name> - <type>Variant</type> - </source> - </element> - <!--property::FormOld.PrtMip--> - <element type="property"> - <source id="Access.FormOld.PrtMip"> - <context kind="class">FormOld</context> - <name>PrtMip</name> - <type>Variant</type> - </source> - </element> - <!--method::FormOld.Recalc--> - <element type="method"> - <source id="Access.FormOld.Recalc"> - <context kind="class">FormOld</context> - <name>Recalc</name> - <type>void</type> - </source> - </element> - <!--property::FormOld.RecordLocks--> - <element type="property"> - <source id="Access.FormOld.RecordLocks"> - <context kind="class">FormOld</context> - <name>RecordLocks</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.RecordSelectors--> - <element type="property"> - <source id="Access.FormOld.RecordSelectors"> - <context kind="class">FormOld</context> - <name>RecordSelectors</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Recordset {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Recordset"> - <context kind="class">FormOld</context> - <name>Recordset</name> - <type>Object</type> - </source> - </element> - <!--property::FormOld.RecordsetClone {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.RecordsetClone"> - <context kind="class">FormOld</context> - <name>RecordsetClone</name> - <type>Object</type> - </source> - </element> - <!--property::FormOld.RecordsetType--> - <element type="property"> - <source id="Access.FormOld.RecordsetType"> - <context kind="class">FormOld</context> - <name>RecordsetType</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.RecordSource--> - <element type="property"> - <source id="Access.FormOld.RecordSource"> - <context kind="class">FormOld</context> - <name>RecordSource</name> - <type>String</type> - </source> - </element> - <!--method::FormOld.Refresh--> - <element type="method"> - <source id="Access.FormOld.Refresh"> - <context kind="class">FormOld</context> - <name>Refresh</name> - <type>void</type> - </source> - </element> - <!--method::FormOld.Repaint--> - <element type="method"> - <source id="Access.FormOld.Repaint"> - <context kind="class">FormOld</context> - <name>Repaint</name> - <type>void</type> - </source> - </element> - <!--method::FormOld.Requery--> - <element type="method"> - <source id="Access.FormOld.Requery"> - <context kind="class">FormOld</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::FormOld.ResyncCommand--> - <element type="property"> - <source id="Access.FormOld.ResyncCommand"> - <context kind="class">FormOld</context> - <name>ResyncCommand</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.RowHeight--> - <element type="property"> - <source id="Access.FormOld.RowHeight"> - <context kind="class">FormOld</context> - <name>RowHeight</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.ScrollBars--> - <element type="property"> - <source id="Access.FormOld.ScrollBars"> - <context kind="class">FormOld</context> - <name>ScrollBars</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Section {ReadOnly}--> - <element type="property"> - <source id="Access.FormOld.Section"> - <context kind="class">FormOld</context> - <name>Section</name> - <type>Section</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::FormOld.SelHeight--> - <element type="property"> - <source id="Access.FormOld.SelHeight"> - <context kind="class">FormOld</context> - <name>SelHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.SelLeft--> - <element type="property"> - <source id="Access.FormOld.SelLeft"> - <context kind="class">FormOld</context> - <name>SelLeft</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.SelTop--> - <element type="property"> - <source id="Access.FormOld.SelTop"> - <context kind="class">FormOld</context> - <name>SelTop</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.SelWidth--> - <element type="property"> - <source id="Access.FormOld.SelWidth"> - <context kind="class">FormOld</context> - <name>SelWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.ServerFilter--> - <element type="property"> - <source id="Access.FormOld.ServerFilter"> - <context kind="class">FormOld</context> - <name>ServerFilter</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.ServerFilterByForm--> - <element type="property"> - <source id="Access.FormOld.ServerFilterByForm"> - <context kind="class">FormOld</context> - <name>ServerFilterByForm</name> - <type>boolean</type> - </source> - </element> - <!--method::FormOld.SetFocus--> - <element type="method"> - <source id="Access.FormOld.SetFocus"> - <context kind="class">FormOld</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::FormOld.ShortcutMenu--> - <element type="property"> - <source id="Access.FormOld.ShortcutMenu"> - <context kind="class">FormOld</context> - <name>ShortcutMenu</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.ShortcutMenuBar--> - <element type="property"> - <source id="Access.FormOld.ShortcutMenuBar"> - <context kind="class">FormOld</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.ShowGrid--> - <element type="property"> - <source id="Access.FormOld.ShowGrid"> - <context kind="class">FormOld</context> - <name>ShowGrid</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.SubdatasheetExpanded--> - <element type="property"> - <source id="Access.FormOld.SubdatasheetExpanded"> - <context kind="class">FormOld</context> - <name>SubdatasheetExpanded</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.SubdatasheetHeight--> - <element type="property"> - <source id="Access.FormOld.SubdatasheetHeight"> - <context kind="class">FormOld</context> - <name>SubdatasheetHeight</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.TabularCharSet--> - <element type="property"> - <source id="Access.FormOld.TabularCharSet"> - <context kind="class">FormOld</context> - <name>TabularCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.TabularFamily--> - <element type="property"> - <source id="Access.FormOld.TabularFamily"> - <context kind="class">FormOld</context> - <name>TabularFamily</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Tag--> - <element type="property"> - <source id="Access.FormOld.Tag"> - <context kind="class">FormOld</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.TimerInterval--> - <element type="property"> - <source id="Access.FormOld.TimerInterval"> - <context kind="class">FormOld</context> - <name>TimerInterval</name> - <type>Integer</type> - </source> - </element> - <!--property::FormOld.Toolbar--> - <element type="property"> - <source id="Access.FormOld.Toolbar"> - <context kind="class">FormOld</context> - <name>Toolbar</name> - <type>String</type> - </source> - </element> - <!--method::FormOld.Undo--> - <element type="method"> - <source id="Access.FormOld.Undo"> - <context kind="class">FormOld</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::FormOld.UniqueTable--> - <element type="property"> - <source id="Access.FormOld.UniqueTable"> - <context kind="class">FormOld</context> - <name>UniqueTable</name> - <type>String</type> - </source> - </element> - <!--property::FormOld.ViewsAllowed--> - <element type="property"> - <source id="Access.FormOld.ViewsAllowed"> - <context kind="class">FormOld</context> - <name>ViewsAllowed</name> - <type>byte</type> - </source> - </element> - <!--property::FormOld.Visible--> - <element type="property"> - <source id="Access.FormOld.Visible"> - <context kind="class">FormOld</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.WhatsThisButton--> - <element type="property"> - <source id="Access.FormOld.WhatsThisButton"> - <context kind="class">FormOld</context> - <name>WhatsThisButton</name> - <type>boolean</type> - </source> - </element> - <!--property::FormOld.Width--> - <element type="property"> - <source id="Access.FormOld.Width"> - <context kind="class">FormOld</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.WindowHeight--> - <element type="property"> - <source id="Access.FormOld.WindowHeight"> - <context kind="class">FormOld</context> - <name>WindowHeight</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.WindowWidth--> - <element type="property"> - <source id="Access.FormOld.WindowWidth"> - <context kind="class">FormOld</context> - <name>WindowWidth</name> - <type>short</type> - </source> - </element> - <!--property::FormOld.ZoomControl--> - <element type="property"> - <source id="Access.FormOld.ZoomControl"> - <context kind="class">FormOld</context> - <name>ZoomControl</name> - <type>Integer</type> - </source> - </element> - <!--Class::Forms--> - <element type="class"> - <source id="Access.Forms"> - <name>Forms</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Forms.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Forms.Application"> - <context kind="class">Forms</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Forms.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Forms.Count"> - <context kind="class">Forms</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Forms.IsMemberSafe--> - <element type="method"> - <source id="Access.Forms.IsMemberSafe"> - <context kind="class">Forms</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Forms.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Forms.Item"> - <context kind="class">Forms</context> - <name default="true">Item</name> - <type>Form</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Forms.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Forms.Parent"> - <context kind="class">Forms</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::GroupLevel--> - <element type="class"> - <source id="Access.GroupLevel"> - <name>GroupLevel</name> - </source> - <destination designation="identity" /> - </element> - <!--property::GroupLevel.Application {ReadOnly}--> - <element type="property"> - <source id="Access.GroupLevel.Application"> - <context kind="class">GroupLevel</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::GroupLevel.ControlSource--> - <element type="property"> - <source id="Access.GroupLevel.ControlSource"> - <context kind="class">GroupLevel</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::GroupLevel.GroupFooter--> - <element type="property"> - <source id="Access.GroupLevel.GroupFooter"> - <context kind="class">GroupLevel</context> - <name>GroupFooter</name> - <type>boolean</type> - </source> - </element> - <!--property::GroupLevel.GroupHeader--> - <element type="property"> - <source id="Access.GroupLevel.GroupHeader"> - <context kind="class">GroupLevel</context> - <name>GroupHeader</name> - <type>boolean</type> - </source> - </element> - <!--property::GroupLevel.GroupInterval--> - <element type="property"> - <source id="Access.GroupLevel.GroupInterval"> - <context kind="class">GroupLevel</context> - <name>GroupInterval</name> - <type>Integer</type> - </source> - </element> - <!--property::GroupLevel.GroupOn--> - <element type="property"> - <source id="Access.GroupLevel.GroupOn"> - <context kind="class">GroupLevel</context> - <name>GroupOn</name> - <type>short</type> - </source> - </element> - <!--method::GroupLevel.IsMemberSafe--> - <element type="method"> - <source id="Access.GroupLevel.IsMemberSafe"> - <context kind="class">GroupLevel</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::GroupLevel.KeepTogether--> - <element type="property"> - <source id="Access.GroupLevel.KeepTogether"> - <context kind="class">GroupLevel</context> - <name>KeepTogether</name> - <type>byte</type> - </source> - </element> - <!--property::GroupLevel.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.GroupLevel.Parent"> - <context kind="class">GroupLevel</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::GroupLevel.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.GroupLevel.Properties"> - <context kind="class">GroupLevel</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::GroupLevel.SortOrder--> - <element type="property"> - <source id="Access.GroupLevel.SortOrder"> - <context kind="class">GroupLevel</context> - <name>SortOrder</name> - <type>boolean</type> - </source> - </element> - <!--Class::Hyperlink--> - <element type="class"> - <source id="Access.Hyperlink"> - <name>Hyperlink</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Hyperlink.Address--> - <element type="property"> - <source id="Access.Hyperlink.Address"> - <context kind="class">Hyperlink</context> - <name>Address</name> - <type>String</type> - </source> - </element> - <!--method::Hyperlink.AddToFavorites--> - <element type="method"> - <source id="Access.Hyperlink.AddToFavorites"> - <context kind="class">Hyperlink</context> - <name>AddToFavorites</name> - <type>void</type> - </source> - </element> - <!--method::Hyperlink.CreateNewDocument--> - <element type="method"> - <source id="Access.Hyperlink.CreateNewDocument"> - <context kind="class">Hyperlink</context> - <name>CreateNewDocument</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - <parameter> - <type>boolean</type> - <name>EditNow</name> - </parameter> - <parameter> - <type>boolean</type> - <name>Overwrite</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Hyperlink.EmailSubject--> - <element type="property"> - <source id="Access.Hyperlink.EmailSubject"> - <context kind="class">Hyperlink</context> - <name>EmailSubject</name> - <type>String</type> - </source> - </element> - <!--method::Hyperlink.Follow--> - <element type="method"> - <source id="Access.Hyperlink.Follow"> - <context kind="class">Hyperlink</context> - <name>Follow</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>boolean</type> - <name>NewWindow</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>AddHistory</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>ExtraInfo</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Method</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>HeaderInfo</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Hyperlink.IsMemberSafe--> - <element type="method"> - <source id="Access.Hyperlink.IsMemberSafe"> - <context kind="class">Hyperlink</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Hyperlink.ScreenTip--> - <element type="property"> - <source id="Access.Hyperlink.ScreenTip"> - <context kind="class">Hyperlink</context> - <name>ScreenTip</name> - <type>String</type> - </source> - </element> - <!--property::Hyperlink.SubAddress--> - <element type="property"> - <source id="Access.Hyperlink.SubAddress"> - <context kind="class">Hyperlink</context> - <name>SubAddress</name> - <type>String</type> - </source> - </element> - <!--property::Hyperlink.TextToDisplay--> - <element type="property"> - <source id="Access.Hyperlink.TextToDisplay"> - <context kind="class">Hyperlink</context> - <name>TextToDisplay</name> - <type>String</type> - </source> - </element> - <!--Class::Image--> - <element type="class"> - <source id="Access.Image"> - <name>Image</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Image.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Image.Application"> - <context kind="class">Image</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Image.BackColor--> - <element type="property"> - <source id="Access.Image.BackColor"> - <context kind="class">Image</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Image.BackStyle--> - <element type="property"> - <source id="Access.Image.BackStyle"> - <context kind="class">Image</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Image.BorderColor--> - <element type="property"> - <source id="Access.Image.BorderColor"> - <context kind="class">Image</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Image.BorderLineStyle--> - <element type="property"> - <source id="Access.Image.BorderLineStyle"> - <context kind="class">Image</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Image.BorderStyle--> - <element type="property"> - <source id="Access.Image.BorderStyle"> - <context kind="class">Image</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Image.BorderWidth--> - <element type="property"> - <source id="Access.Image.BorderWidth"> - <context kind="class">Image</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::Image.ControlName--> - <element type="property"> - <source id="Access.Image.ControlName"> - <context kind="class">Image</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::Image.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.Image.Controls"> - <context kind="class">Image</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::Image.ControlTipText--> - <element type="property"> - <source id="Access.Image.ControlTipText"> - <context kind="class">Image</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::Image.ControlType--> - <element type="property"> - <source id="Access.Image.ControlType"> - <context kind="class">Image</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::Image.DisplayWhen--> - <element type="property"> - <source id="Access.Image.DisplayWhen"> - <context kind="class">Image</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::Image.EventProcPrefix--> - <element type="property"> - <source id="Access.Image.EventProcPrefix"> - <context kind="class">Image</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::Image.Goto--> - <element type="method"> - <source id="Access.Image.Goto"> - <context kind="class">Image</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::Image.Height--> - <element type="property"> - <source id="Access.Image.Height"> - <context kind="class">Image</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Image.HelpContextId--> - <element type="property"> - <source id="Access.Image.HelpContextId"> - <context kind="class">Image</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::Image.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.Image.Hyperlink"> - <context kind="class">Image</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::Image.HyperlinkAddress--> - <element type="property"> - <source id="Access.Image.HyperlinkAddress"> - <context kind="class">Image</context> - <name>HyperlinkAddress</name> - <type>String</type> - </source> - </element> - <!--property::Image.HyperlinkSubAddress--> - <element type="property"> - <source id="Access.Image.HyperlinkSubAddress"> - <context kind="class">Image</context> - <name>HyperlinkSubAddress</name> - <type>String</type> - </source> - </element> - <!--property::Image.ImageHeight--> - <element type="property"> - <source id="Access.Image.ImageHeight"> - <context kind="class">Image</context> - <name>ImageHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Image.ImageWidth--> - <element type="property"> - <source id="Access.Image.ImageWidth"> - <context kind="class">Image</context> - <name>ImageWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Image.InSelection--> - <element type="property"> - <source id="Access.Image.InSelection"> - <context kind="class">Image</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Image.IsMemberSafe--> - <element type="method"> - <source id="Access.Image.IsMemberSafe"> - <context kind="class">Image</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Image.IsVisible--> - <element type="property"> - <source id="Access.Image.IsVisible"> - <context kind="class">Image</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::Image.Left--> - <element type="property"> - <source id="Access.Image.Left"> - <context kind="class">Image</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::Image.Move--> - <element type="method"> - <source id="Access.Image.Move"> - <context kind="class">Image</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Image.Name--> - <element type="property"> - <source id="Access.Image.Name"> - <context kind="class">Image</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Image.ObjectPalette--> - <element type="property"> - <source id="Access.Image.ObjectPalette"> - <context kind="class">Image</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::Image.OldBorderStyle--> - <element type="property"> - <source id="Access.Image.OldBorderStyle"> - <context kind="class">Image</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Image.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.Image.OldValue"> - <context kind="class">Image</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::Image.OnClick--> - <element type="property"> - <source id="Access.Image.OnClick"> - <context kind="class">Image</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Image.OnDblClick--> - <element type="property"> - <source id="Access.Image.OnDblClick"> - <context kind="class">Image</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Image.OnMouseDown--> - <element type="property"> - <source id="Access.Image.OnMouseDown"> - <context kind="class">Image</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Image.OnMouseMove--> - <element type="property"> - <source id="Access.Image.OnMouseMove"> - <context kind="class">Image</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Image.OnMouseUp--> - <element type="property"> - <source id="Access.Image.OnMouseUp"> - <context kind="class">Image</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Image.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Image.Parent"> - <context kind="class">Image</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Image.Picture--> - <element type="property"> - <source id="Access.Image.Picture"> - <context kind="class">Image</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::Image.PictureAlignment--> - <element type="property"> - <source id="Access.Image.PictureAlignment"> - <context kind="class">Image</context> - <name>PictureAlignment</name> - <type>byte</type> - </source> - </element> - <!--property::Image.PictureData--> - <element type="property"> - <source id="Access.Image.PictureData"> - <context kind="class">Image</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::Image.PictureTiling--> - <element type="property"> - <source id="Access.Image.PictureTiling"> - <context kind="class">Image</context> - <name>PictureTiling</name> - <type>boolean</type> - </source> - </element> - <!--property::Image.PictureType--> - <element type="property"> - <source id="Access.Image.PictureType"> - <context kind="class">Image</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::Image.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Image.Properties"> - <context kind="class">Image</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::Image.Requery--> - <element type="method"> - <source id="Access.Image.Requery"> - <context kind="class">Image</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::Image.Section--> - <element type="property"> - <source id="Access.Image.Section"> - <context kind="class">Image</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::Image.SetFocus--> - <element type="method"> - <source id="Access.Image.SetFocus"> - <context kind="class">Image</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::Image.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Image.ShortcutMenuBar"> - <context kind="class">Image</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Image.SizeMode--> - <element type="property"> - <source id="Access.Image.SizeMode"> - <context kind="class">Image</context> - <name>SizeMode</name> - <type>byte</type> - </source> - </element> - <!--method::Image.SizeToFit--> - <element type="method"> - <source id="Access.Image.SizeToFit"> - <context kind="class">Image</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Image.SpecialEffect--> - <element type="property"> - <source id="Access.Image.SpecialEffect"> - <context kind="class">Image</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Image.Tag--> - <element type="property"> - <source id="Access.Image.Tag"> - <context kind="class">Image</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Image.Top--> - <element type="property"> - <source id="Access.Image.Top"> - <context kind="class">Image</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::Image.Visible--> - <element type="property"> - <source id="Access.Image.Visible"> - <context kind="class">Image</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Image.Width--> - <element type="property"> - <source id="Access.Image.Width"> - <context kind="class">Image</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Label--> - <element type="class"> - <source id="Access.Label"> - <name>Label</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Label.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accChild"> - <context kind="class">Label</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accChildCount"> - <context kind="class">Label</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::Label.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accDefaultAction"> - <context kind="class">Label</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accDescription"> - <context kind="class">Label</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Label.accDoDefaultAction--> - <element type="method"> - <source id="Access.Label.accDoDefaultAction"> - <context kind="class">Label</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accFocus"> - <context kind="class">Label</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::Label.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accHelp"> - <context kind="class">Label</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accHelpTopic"> - <context kind="class">Label</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Label.accHitTest--> - <element type="method"> - <source id="Access.Label.accHitTest"> - <context kind="class">Label</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accKeyboardShortcut"> - <context kind="class">Label</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Label.accLocation--> - <element type="method"> - <source id="Access.Label.accLocation"> - <context kind="class">Label</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accName--> - <element type="property"> - <source id="Access.Label.accName"> - <context kind="class">Label</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Label.accNavigate--> - <element type="method"> - <source id="Access.Label.accNavigate"> - <context kind="class">Label</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accParent"> - <context kind="class">Label</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::Label.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accRole"> - <context kind="class">Label</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Label.accSelect--> - <element type="method"> - <source id="Access.Label.accSelect"> - <context kind="class">Label</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accSelection"> - <context kind="class">Label</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::Label.accState {ReadOnly}--> - <element type="property"> - <source id="Access.Label.accState"> - <context kind="class">Label</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.accValue--> - <element type="property"> - <source id="Access.Label.accValue"> - <context kind="class">Label</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Label.Application"> - <context kind="class">Label</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Label.BackColor--> - <element type="property"> - <source id="Access.Label.BackColor"> - <context kind="class">Label</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Label.BackStyle--> - <element type="property"> - <source id="Access.Label.BackStyle"> - <context kind="class">Label</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Label.BorderColor--> - <element type="property"> - <source id="Access.Label.BorderColor"> - <context kind="class">Label</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Label.BorderLineStyle--> - <element type="property"> - <source id="Access.Label.BorderLineStyle"> - <context kind="class">Label</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Label.BorderStyle--> - <element type="property"> - <source id="Access.Label.BorderStyle"> - <context kind="class">Label</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Label.BorderWidth--> - <element type="property"> - <source id="Access.Label.BorderWidth"> - <context kind="class">Label</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::Label.BottomMargin--> - <element type="property"> - <source id="Access.Label.BottomMargin"> - <context kind="class">Label</context> - <name>BottomMargin</name> - <type>short</type> - </source> - </element> - <!--property::Label.Caption--> - <element type="property"> - <source id="Access.Label.Caption"> - <context kind="class">Label</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::Label.ControlName--> - <element type="property"> - <source id="Access.Label.ControlName"> - <context kind="class">Label</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::Label.ControlTipText--> - <element type="property"> - <source id="Access.Label.ControlTipText"> - <context kind="class">Label</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::Label.ControlType--> - <element type="property"> - <source id="Access.Label.ControlType"> - <context kind="class">Label</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::Label.DisplayWhen--> - <element type="property"> - <source id="Access.Label.DisplayWhen"> - <context kind="class">Label</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::Label.EventProcPrefix--> - <element type="property"> - <source id="Access.Label.EventProcPrefix"> - <context kind="class">Label</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::Label.FontBold--> - <element type="property"> - <source id="Access.Label.FontBold"> - <context kind="class">Label</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::Label.FontItalic--> - <element type="property"> - <source id="Access.Label.FontItalic"> - <context kind="class">Label</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::Label.FontName--> - <element type="property"> - <source id="Access.Label.FontName"> - <context kind="class">Label</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::Label.FontSize--> - <element type="property"> - <source id="Access.Label.FontSize"> - <context kind="class">Label</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::Label.FontUnderline--> - <element type="property"> - <source id="Access.Label.FontUnderline"> - <context kind="class">Label</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::Label.FontWeight--> - <element type="property"> - <source id="Access.Label.FontWeight"> - <context kind="class">Label</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::Label.ForeColor--> - <element type="property"> - <source id="Access.Label.ForeColor"> - <context kind="class">Label</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Label.Height--> - <element type="property"> - <source id="Access.Label.Height"> - <context kind="class">Label</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Label.HelpContextId--> - <element type="property"> - <source id="Access.Label.HelpContextId"> - <context kind="class">Label</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::Label.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.Label.Hyperlink"> - <context kind="class">Label</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::Label.HyperlinkAddress--> - <element type="property"> - <source id="Access.Label.HyperlinkAddress"> - <context kind="class">Label</context> - <name>HyperlinkAddress</name> - <type>String</type> - </source> - </element> - <!--property::Label.HyperlinkSubAddress--> - <element type="property"> - <source id="Access.Label.HyperlinkSubAddress"> - <context kind="class">Label</context> - <name>HyperlinkSubAddress</name> - <type>String</type> - </source> - </element> - <!--property::Label.InSelection--> - <element type="property"> - <source id="Access.Label.InSelection"> - <context kind="class">Label</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Label.IsMemberSafe--> - <element type="method"> - <source id="Access.Label.IsMemberSafe"> - <context kind="class">Label</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.IsVisible--> - <element type="property"> - <source id="Access.Label.IsVisible"> - <context kind="class">Label</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::Label.Left--> - <element type="property"> - <source id="Access.Label.Left"> - <context kind="class">Label</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::Label.LeftMargin--> - <element type="property"> - <source id="Access.Label.LeftMargin"> - <context kind="class">Label</context> - <name>LeftMargin</name> - <type>short</type> - </source> - </element> - <!--property::Label.LineSpacing--> - <element type="property"> - <source id="Access.Label.LineSpacing"> - <context kind="class">Label</context> - <name>LineSpacing</name> - <type>short</type> - </source> - </element> - <!--method::Label.Move--> - <element type="method"> - <source id="Access.Label.Move"> - <context kind="class">Label</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Label.Name--> - <element type="property"> - <source id="Access.Label.Name"> - <context kind="class">Label</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Label.NumeralShapes--> - <element type="property"> - <source id="Access.Label.NumeralShapes"> - <context kind="class">Label</context> - <name>NumeralShapes</name> - <type>byte</type> - </source> - </element> - <!--property::Label.OldBorderStyle--> - <element type="property"> - <source id="Access.Label.OldBorderStyle"> - <context kind="class">Label</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Label.OnClick--> - <element type="property"> - <source id="Access.Label.OnClick"> - <context kind="class">Label</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Label.OnDblClick--> - <element type="property"> - <source id="Access.Label.OnDblClick"> - <context kind="class">Label</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Label.OnMouseDown--> - <element type="property"> - <source id="Access.Label.OnMouseDown"> - <context kind="class">Label</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Label.OnMouseMove--> - <element type="property"> - <source id="Access.Label.OnMouseMove"> - <context kind="class">Label</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Label.OnMouseUp--> - <element type="property"> - <source id="Access.Label.OnMouseUp"> - <context kind="class">Label</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Label.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Label.Parent"> - <context kind="class">Label</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Label.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Label.Properties"> - <context kind="class">Label</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Label.ReadingOrder--> - <element type="property"> - <source id="Access.Label.ReadingOrder"> - <context kind="class">Label</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--property::Label.RightMargin--> - <element type="property"> - <source id="Access.Label.RightMargin"> - <context kind="class">Label</context> - <name>RightMargin</name> - <type>short</type> - </source> - </element> - <!--property::Label.Section--> - <element type="property"> - <source id="Access.Label.Section"> - <context kind="class">Label</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--property::Label.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Label.ShortcutMenuBar"> - <context kind="class">Label</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::Label.SizeToFit--> - <element type="method"> - <source id="Access.Label.SizeToFit"> - <context kind="class">Label</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Label.SmartTags {ReadOnly}--> - <element type="property"> - <source id="Access.Label.SmartTags"> - <context kind="class">Label</context> - <name>SmartTags</name> - <type>_SmartTags</type> - </source> - </element> - <!--property::Label.SpecialEffect--> - <element type="property"> - <source id="Access.Label.SpecialEffect"> - <context kind="class">Label</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Label.Tag--> - <element type="property"> - <source id="Access.Label.Tag"> - <context kind="class">Label</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Label.TextAlign--> - <element type="property"> - <source id="Access.Label.TextAlign"> - <context kind="class">Label</context> - <name>TextAlign</name> - <type>byte</type> - </source> - </element> - <!--property::Label.TextFontCharSet--> - <element type="property"> - <source id="Access.Label.TextFontCharSet"> - <context kind="class">Label</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::Label.Top--> - <element type="property"> - <source id="Access.Label.Top"> - <context kind="class">Label</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::Label.TopMargin--> - <element type="property"> - <source id="Access.Label.TopMargin"> - <context kind="class">Label</context> - <name>TopMargin</name> - <type>short</type> - </source> - </element> - <!--property::Label.Vertical--> - <element type="property"> - <source id="Access.Label.Vertical"> - <context kind="class">Label</context> - <name>Vertical</name> - <type>boolean</type> - </source> - </element> - <!--property::Label.Visible--> - <element type="property"> - <source id="Access.Label.Visible"> - <context kind="class">Label</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Label.Width--> - <element type="property"> - <source id="Access.Label.Width"> - <context kind="class">Label</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::LB_CLOSE--> - <element type="property"> - <source id="Access.LB_CLOSE"> - <name>LB_CLOSE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_END--> - <element type="property"> - <source id="Access.LB_END"> - <name>LB_END</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_GETCOLUMNCOUNT--> - <element type="property"> - <source id="Access.LB_GETCOLUMNCOUNT"> - <name>LB_GETCOLUMNCOUNT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_GETCOLUMNWIDTH--> - <element type="property"> - <source id="Access.LB_GETCOLUMNWIDTH"> - <name>LB_GETCOLUMNWIDTH</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_GETFORMAT--> - <element type="property"> - <source id="Access.LB_GETFORMAT"> - <name>LB_GETFORMAT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_GETROWCOUNT--> - <element type="property"> - <source id="Access.LB_GETROWCOUNT"> - <name>LB_GETROWCOUNT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_GETVALUE--> - <element type="property"> - <source id="Access.LB_GETVALUE"> - <name>LB_GETVALUE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_INITIALIZE--> - <element type="property"> - <source id="Access.LB_INITIALIZE"> - <name>LB_INITIALIZE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LB_OPEN--> - <element type="property"> - <source id="Access.LB_OPEN"> - <name>LB_OPEN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::LEFT_BUTTON--> - <element type="property"> - <source id="Access.LEFT_BUTTON"> - <name>LEFT_BUTTON</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::Line--> - <element type="class"> - <source id="Access.Line"> - <name>Line</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Line.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Line.Application"> - <context kind="class">Line</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Line.BorderColor--> - <element type="property"> - <source id="Access.Line.BorderColor"> - <context kind="class">Line</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Line.BorderLineStyle--> - <element type="property"> - <source id="Access.Line.BorderLineStyle"> - <context kind="class">Line</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Line.BorderStyle--> - <element type="property"> - <source id="Access.Line.BorderStyle"> - <context kind="class">Line</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Line.BorderWidth--> - <element type="property"> - <source id="Access.Line.BorderWidth"> - <context kind="class">Line</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::Line.ControlName--> - <element type="property"> - <source id="Access.Line.ControlName"> - <context kind="class">Line</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::Line.ControlType--> - <element type="property"> - <source id="Access.Line.ControlType"> - <context kind="class">Line</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::Line.DisplayWhen--> - <element type="property"> - <source id="Access.Line.DisplayWhen"> - <context kind="class">Line</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::Line.EventProcPrefix--> - <element type="property"> - <source id="Access.Line.EventProcPrefix"> - <context kind="class">Line</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::Line.Height--> - <element type="property"> - <source id="Access.Line.Height"> - <context kind="class">Line</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Line.InSelection--> - <element type="property"> - <source id="Access.Line.InSelection"> - <context kind="class">Line</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Line.IsMemberSafe--> - <element type="method"> - <source id="Access.Line.IsMemberSafe"> - <context kind="class">Line</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Line.IsVisible--> - <element type="property"> - <source id="Access.Line.IsVisible"> - <context kind="class">Line</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::Line.Left--> - <element type="property"> - <source id="Access.Line.Left"> - <context kind="class">Line</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::Line.LineSlant--> - <element type="property"> - <source id="Access.Line.LineSlant"> - <context kind="class">Line</context> - <name>LineSlant</name> - <type>boolean</type> - </source> - </element> - <!--method::Line.Move--> - <element type="method"> - <source id="Access.Line.Move"> - <context kind="class">Line</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Line.Name--> - <element type="property"> - <source id="Access.Line.Name"> - <context kind="class">Line</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Line.OldBorderStyle--> - <element type="property"> - <source id="Access.Line.OldBorderStyle"> - <context kind="class">Line</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Line.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Line.Parent"> - <context kind="class">Line</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Line.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Line.Properties"> - <context kind="class">Line</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Line.Section--> - <element type="property"> - <source id="Access.Line.Section"> - <context kind="class">Line</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::Line.SizeToFit--> - <element type="method"> - <source id="Access.Line.SizeToFit"> - <context kind="class">Line</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Line.SpecialEffect--> - <element type="property"> - <source id="Access.Line.SpecialEffect"> - <context kind="class">Line</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Line.Tag--> - <element type="property"> - <source id="Access.Line.Tag"> - <context kind="class">Line</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Line.Top--> - <element type="property"> - <source id="Access.Line.Top"> - <context kind="class">Line</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::Line.Visible--> - <element type="property"> - <source id="Access.Line.Visible"> - <context kind="class">Line</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Line.Width--> - <element type="property"> - <source id="Access.Line.Width"> - <context kind="class">Line</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::ListBox--> - <element type="class"> - <source id="Access.ListBox"> - <name>ListBox</name> - </source> - <destination designation="identity" /> - </element> - <!--property::ListBox.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accChild"> - <context kind="class">ListBox</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accChildCount"> - <context kind="class">ListBox</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accDefaultAction"> - <context kind="class">ListBox</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accDescription"> - <context kind="class">ListBox</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.accDoDefaultAction--> - <element type="method"> - <source id="Access.ListBox.accDoDefaultAction"> - <context kind="class">ListBox</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accFocus"> - <context kind="class">ListBox</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::ListBox.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accHelp"> - <context kind="class">ListBox</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accHelpTopic"> - <context kind="class">ListBox</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.accHitTest--> - <element type="method"> - <source id="Access.ListBox.accHitTest"> - <context kind="class">ListBox</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accKeyboardShortcut"> - <context kind="class">ListBox</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.accLocation--> - <element type="method"> - <source id="Access.ListBox.accLocation"> - <context kind="class">ListBox</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accName--> - <element type="property"> - <source id="Access.ListBox.accName"> - <context kind="class">ListBox</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.accNavigate--> - <element type="method"> - <source id="Access.ListBox.accNavigate"> - <context kind="class">ListBox</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accParent"> - <context kind="class">ListBox</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::ListBox.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accRole"> - <context kind="class">ListBox</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.accSelect--> - <element type="method"> - <source id="Access.ListBox.accSelect"> - <context kind="class">ListBox</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accSelection"> - <context kind="class">ListBox</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::ListBox.accState {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.accState"> - <context kind="class">ListBox</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.accValue--> - <element type="property"> - <source id="Access.ListBox.accValue"> - <context kind="class">ListBox</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.AddColon--> - <element type="property"> - <source id="Access.ListBox.AddColon"> - <context kind="class">ListBox</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--method::ListBox.AddItem--> - <element type="method"> - <source id="Access.ListBox.AddItem"> - <context kind="class">ListBox</context> - <name>AddItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Item</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.AfterUpdate--> - <element type="property"> - <source id="Access.ListBox.AfterUpdate"> - <context kind="class">ListBox</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.Application {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Application"> - <context kind="class">ListBox</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::ListBox.AutoLabel--> - <element type="property"> - <source id="Access.ListBox.AutoLabel"> - <context kind="class">ListBox</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.BackColor--> - <element type="property"> - <source id="Access.ListBox.BackColor"> - <context kind="class">ListBox</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.BeforeUpdate--> - <element type="property"> - <source id="Access.ListBox.BeforeUpdate"> - <context kind="class">ListBox</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.BorderColor--> - <element type="property"> - <source id="Access.ListBox.BorderColor"> - <context kind="class">ListBox</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.BorderLineStyle--> - <element type="property"> - <source id="Access.ListBox.BorderLineStyle"> - <context kind="class">ListBox</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.BorderStyle--> - <element type="property"> - <source id="Access.ListBox.BorderStyle"> - <context kind="class">ListBox</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.BorderWidth--> - <element type="property"> - <source id="Access.ListBox.BorderWidth"> - <context kind="class">ListBox</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.BoundColumn--> - <element type="property"> - <source id="Access.ListBox.BoundColumn"> - <context kind="class">ListBox</context> - <name>BoundColumn</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.Column {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Column"> - <context kind="class">ListBox</context> - <name>Column</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Row</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.ColumnCount--> - <element type="property"> - <source id="Access.ListBox.ColumnCount"> - <context kind="class">ListBox</context> - <name>ColumnCount</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.ColumnHeads--> - <element type="property"> - <source id="Access.ListBox.ColumnHeads"> - <context kind="class">ListBox</context> - <name>ColumnHeads</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.ColumnHidden--> - <element type="property"> - <source id="Access.ListBox.ColumnHidden"> - <context kind="class">ListBox</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.ColumnOrder--> - <element type="property"> - <source id="Access.ListBox.ColumnOrder"> - <context kind="class">ListBox</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.ColumnWidth--> - <element type="property"> - <source id="Access.ListBox.ColumnWidth"> - <context kind="class">ListBox</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.ColumnWidths--> - <element type="property"> - <source id="Access.ListBox.ColumnWidths"> - <context kind="class">ListBox</context> - <name>ColumnWidths</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.ControlName--> - <element type="property"> - <source id="Access.ListBox.ControlName"> - <context kind="class">ListBox</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Controls"> - <context kind="class">ListBox</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::ListBox.ControlSource--> - <element type="property"> - <source id="Access.ListBox.ControlSource"> - <context kind="class">ListBox</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.ControlTipText--> - <element type="property"> - <source id="Access.ListBox.ControlTipText"> - <context kind="class">ListBox</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.ControlType--> - <element type="property"> - <source id="Access.ListBox.ControlType"> - <context kind="class">ListBox</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.DefaultValue--> - <element type="property"> - <source id="Access.ListBox.DefaultValue"> - <context kind="class">ListBox</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.DisplayWhen--> - <element type="property"> - <source id="Access.ListBox.DisplayWhen"> - <context kind="class">ListBox</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.Enabled--> - <element type="property"> - <source id="Access.ListBox.Enabled"> - <context kind="class">ListBox</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.EventProcPrefix--> - <element type="property"> - <source id="Access.ListBox.EventProcPrefix"> - <context kind="class">ListBox</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.FontBold--> - <element type="property"> - <source id="Access.ListBox.FontBold"> - <context kind="class">ListBox</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.FontItalic--> - <element type="property"> - <source id="Access.ListBox.FontItalic"> - <context kind="class">ListBox</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.FontName--> - <element type="property"> - <source id="Access.ListBox.FontName"> - <context kind="class">ListBox</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.FontSize--> - <element type="property"> - <source id="Access.ListBox.FontSize"> - <context kind="class">ListBox</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.FontUnderline--> - <element type="property"> - <source id="Access.ListBox.FontUnderline"> - <context kind="class">ListBox</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.FontWeight--> - <element type="property"> - <source id="Access.ListBox.FontWeight"> - <context kind="class">ListBox</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.ForeColor--> - <element type="property"> - <source id="Access.ListBox.ForeColor"> - <context kind="class">ListBox</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--method::ListBox.Goto--> - <element type="method"> - <source id="Access.ListBox.Goto"> - <context kind="class">ListBox</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::ListBox.Height--> - <element type="property"> - <source id="Access.ListBox.Height"> - <context kind="class">ListBox</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.HelpContextId--> - <element type="property"> - <source id="Access.ListBox.HelpContextId"> - <context kind="class">ListBox</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.HideDuplicates--> - <element type="property"> - <source id="Access.ListBox.HideDuplicates"> - <context kind="class">ListBox</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Hyperlink"> - <context kind="class">ListBox</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::ListBox.IMEHold--> - <element type="property"> - <source id="Access.ListBox.IMEHold"> - <context kind="class">ListBox</context> - <name>IMEHold</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.IMEMode--> - <element type="property"> - <source id="Access.ListBox.IMEMode"> - <context kind="class">ListBox</context> - <name>IMEMode</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.IMESentenceMode--> - <element type="property"> - <source id="Access.ListBox.IMESentenceMode"> - <context kind="class">ListBox</context> - <name>IMESentenceMode</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.InSelection--> - <element type="property"> - <source id="Access.ListBox.InSelection"> - <context kind="class">ListBox</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::ListBox.IsMemberSafe--> - <element type="method"> - <source id="Access.ListBox.IsMemberSafe"> - <context kind="class">ListBox</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.IsVisible--> - <element type="property"> - <source id="Access.ListBox.IsVisible"> - <context kind="class">ListBox</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.ItemData {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.ItemData"> - <context kind="class">ListBox</context> - <name>ItemData</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.ItemsSelected {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.ItemsSelected"> - <context kind="class">ListBox</context> - <name>ItemsSelected</name> - <type>_ItemsSelected</type> - </source> - </element> - <!--property::ListBox.LabelAlign--> - <element type="property"> - <source id="Access.ListBox.LabelAlign"> - <context kind="class">ListBox</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.LabelX--> - <element type="property"> - <source id="Access.ListBox.LabelX"> - <context kind="class">ListBox</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.LabelY--> - <element type="property"> - <source id="Access.ListBox.LabelY"> - <context kind="class">ListBox</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.Left--> - <element type="property"> - <source id="Access.ListBox.Left"> - <context kind="class">ListBox</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.ListCount--> - <element type="property"> - <source id="Access.ListBox.ListCount"> - <context kind="class">ListBox</context> - <name>ListCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.ListIndex--> - <element type="property"> - <source id="Access.ListBox.ListIndex"> - <context kind="class">ListBox</context> - <name>ListIndex</name> - <type>Integer</type> - </source> - </element> - <!--property::ListBox.Locked--> - <element type="property"> - <source id="Access.ListBox.Locked"> - <context kind="class">ListBox</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::ListBox.Move--> - <element type="method"> - <source id="Access.ListBox.Move"> - <context kind="class">ListBox</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ListBox.MultiSelect--> - <element type="property"> - <source id="Access.ListBox.MultiSelect"> - <context kind="class">ListBox</context> - <name>MultiSelect</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.Name--> - <element type="property"> - <source id="Access.ListBox.Name"> - <context kind="class">ListBox</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.NumeralShapes--> - <element type="property"> - <source id="Access.ListBox.NumeralShapes"> - <context kind="class">ListBox</context> - <name>NumeralShapes</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.OldBorderStyle--> - <element type="property"> - <source id="Access.ListBox.OldBorderStyle"> - <context kind="class">ListBox</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.OldValue"> - <context kind="class">ListBox</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::ListBox.OnClick--> - <element type="property"> - <source id="Access.ListBox.OnClick"> - <context kind="class">ListBox</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnDblClick--> - <element type="property"> - <source id="Access.ListBox.OnDblClick"> - <context kind="class">ListBox</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnEnter--> - <element type="property"> - <source id="Access.ListBox.OnEnter"> - <context kind="class">ListBox</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnExit--> - <element type="property"> - <source id="Access.ListBox.OnExit"> - <context kind="class">ListBox</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnGotFocus--> - <element type="property"> - <source id="Access.ListBox.OnGotFocus"> - <context kind="class">ListBox</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnKeyDown--> - <element type="property"> - <source id="Access.ListBox.OnKeyDown"> - <context kind="class">ListBox</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnKeyPress--> - <element type="property"> - <source id="Access.ListBox.OnKeyPress"> - <context kind="class">ListBox</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnKeyUp--> - <element type="property"> - <source id="Access.ListBox.OnKeyUp"> - <context kind="class">ListBox</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnLostFocus--> - <element type="property"> - <source id="Access.ListBox.OnLostFocus"> - <context kind="class">ListBox</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnMouseDown--> - <element type="property"> - <source id="Access.ListBox.OnMouseDown"> - <context kind="class">ListBox</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnMouseMove--> - <element type="property"> - <source id="Access.ListBox.OnMouseMove"> - <context kind="class">ListBox</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.OnMouseUp--> - <element type="property"> - <source id="Access.ListBox.OnMouseUp"> - <context kind="class">ListBox</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Parent"> - <context kind="class">ListBox</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ListBox.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Properties"> - <context kind="class">ListBox</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::ListBox.ReadingOrder--> - <element type="property"> - <source id="Access.ListBox.ReadingOrder"> - <context kind="class">ListBox</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.Recordset {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.Recordset"> - <context kind="class">ListBox</context> - <name>Recordset</name> - <type>Object</type> - </source> - </element> - <!--method::ListBox.RemoveItem--> - <element type="method"> - <source id="Access.ListBox.RemoveItem"> - <context kind="class">ListBox</context> - <name>RemoveItem</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.Requery--> - <element type="method"> - <source id="Access.ListBox.Requery"> - <context kind="class">ListBox</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::ListBox.RowSource--> - <element type="property"> - <source id="Access.ListBox.RowSource"> - <context kind="class">ListBox</context> - <name>RowSource</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.RowSourceType--> - <element type="property"> - <source id="Access.ListBox.RowSourceType"> - <context kind="class">ListBox</context> - <name>RowSourceType</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.ScrollBarAlign--> - <element type="property"> - <source id="Access.ListBox.ScrollBarAlign"> - <context kind="class">ListBox</context> - <name>ScrollBarAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.Section--> - <element type="property"> - <source id="Access.ListBox.Section"> - <context kind="class">ListBox</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.Selected--> - <element type="property"> - <source id="Access.ListBox.Selected"> - <context kind="class">ListBox</context> - <name>Selected</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>lRow</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ListBox.SetFocus--> - <element type="method"> - <source id="Access.ListBox.SetFocus"> - <context kind="class">ListBox</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::ListBox.ShortcutMenuBar--> - <element type="property"> - <source id="Access.ListBox.ShortcutMenuBar"> - <context kind="class">ListBox</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::ListBox.SizeToFit--> - <element type="method"> - <source id="Access.ListBox.SizeToFit"> - <context kind="class">ListBox</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::ListBox.SmartTags {ReadOnly}--> - <element type="property"> - <source id="Access.ListBox.SmartTags"> - <context kind="class">ListBox</context> - <name>SmartTags</name> - <type>_SmartTags</type> - </source> - </element> - <!--property::ListBox.SpecialEffect--> - <element type="property"> - <source id="Access.ListBox.SpecialEffect"> - <context kind="class">ListBox</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.StatusBarText--> - <element type="property"> - <source id="Access.ListBox.StatusBarText"> - <context kind="class">ListBox</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.TabIndex--> - <element type="property"> - <source id="Access.ListBox.TabIndex"> - <context kind="class">ListBox</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::ListBox.TabStop--> - <element type="property"> - <source id="Access.ListBox.TabStop"> - <context kind="class">ListBox</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.Tag--> - <element type="property"> - <source id="Access.ListBox.Tag"> - <context kind="class">ListBox</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.TextAlign--> - <element type="property"> - <source id="Access.ListBox.TextAlign"> - <context kind="class">ListBox</context> - <name>TextAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.TextFontCharSet--> - <element type="property"> - <source id="Access.ListBox.TextFontCharSet"> - <context kind="class">ListBox</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::ListBox.Top--> - <element type="property"> - <source id="Access.ListBox.Top"> - <context kind="class">ListBox</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--method::ListBox.Undo--> - <element type="method"> - <source id="Access.ListBox.Undo"> - <context kind="class">ListBox</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::ListBox.ValidationRule--> - <element type="property"> - <source id="Access.ListBox.ValidationRule"> - <context kind="class">ListBox</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.ValidationText--> - <element type="property"> - <source id="Access.ListBox.ValidationText"> - <context kind="class">ListBox</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::ListBox.Value {Default}--> - <element type="property"> - <source id="Access.ListBox.Value"> - <context kind="class">ListBox</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::ListBox.Visible--> - <element type="property"> - <source id="Access.ListBox.Visible"> - <context kind="class">ListBox</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::ListBox.Width--> - <element type="property"> - <source id="Access.ListBox.Width"> - <context kind="class">ListBox</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::MIDDLE_BUTTON--> - <element type="property"> - <source id="Access.MIDDLE_BUTTON"> - <name>MIDDLE_BUTTON</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::Module--> - <element type="class"> - <source id="Access.Module"> - <name>Module</name> - </source> - <destination designation="identity" /> - </element> - <!--method::Module.AddFromFile--> - <element type="method"> - <source id="Access.Module.AddFromFile"> - <context kind="class">Module</context> - <name>AddFromFile</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.AddFromString--> - <element type="method"> - <source id="Access.Module.AddFromString"> - <context kind="class">Module</context> - <name>AddFromString</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>String</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Module.Application"> - <context kind="class">Module</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Module.CountOfDeclarationLines {ReadOnly}--> - <element type="property"> - <source id="Access.Module.CountOfDeclarationLines"> - <context kind="class">Module</context> - <name>CountOfDeclarationLines</name> - <type>Integer</type> - </source> - </element> - <!--property::Module.CountOfLines {ReadOnly}--> - <element type="property"> - <source id="Access.Module.CountOfLines"> - <context kind="class">Module</context> - <name>CountOfLines</name> - <type>Integer</type> - </source> - </element> - <!--method::Module.CreateEventProc--> - <element type="method"> - <source id="Access.Module.CreateEventProc"> - <context kind="class">Module</context> - <name>CreateEventProc</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>EventName</name> - </parameter> - <parameter> - <type>String</type> - <name>ObjectName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.DeleteLines--> - <element type="method"> - <source id="Access.Module.DeleteLines"> - <context kind="class">Module</context> - <name>DeleteLines</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>StartLine</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Count</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.Find--> - <element type="method"> - <source id="Access.Module.Find"> - <context kind="class">Module</context> - <name>Find</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Target</name> - </parameter> - <parameter> - <type>int[]</type> - <name>StartLine</name> - </parameter> - <parameter> - <type>int[]</type> - <name>StartColumn</name> - </parameter> - <parameter> - <type>int[]</type> - <name>EndLine</name> - </parameter> - <parameter> - <type>int[]</type> - <name>EndColumn</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>WholeWord</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>MatchCase</name> - </parameter> - <parameter optional="true"> - <type>boolean</type> - <name>PatternSearch</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.InsertLines--> - <element type="method"> - <source id="Access.Module.InsertLines"> - <context kind="class">Module</context> - <name>InsertLines</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Line</name> - </parameter> - <parameter> - <type>String</type> - <name>String</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.InsertText--> - <element type="method"> - <source id="Access.Module.InsertText"> - <context kind="class">Module</context> - <name>InsertText</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Text</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.IsMemberSafe--> - <element type="method"> - <source id="Access.Module.IsMemberSafe"> - <context kind="class">Module</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.Lines {ReadOnly}--> - <element type="property"> - <source id="Access.Module.Lines"> - <context kind="class">Module</context> - <name>Lines</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Line</name> - </parameter> - <parameter> - <type>Integer</type> - <name>NumLines</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.Name {Default}--> - <element type="property"> - <source id="Access.Module.Name"> - <context kind="class">Module</context> - <name default="true">Name</name> - <type>String</type> - </source> - </element> - <!--property::Module.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Module.Parent"> - <context kind="class">Module</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Module.ProcBodyLine {ReadOnly}--> - <element type="property"> - <source id="Access.Module.ProcBodyLine"> - <context kind="class">Module</context> - <name>ProcBodyLine</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ProcName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ProcKind</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.ProcCountLines {ReadOnly}--> - <element type="property"> - <source id="Access.Module.ProcCountLines"> - <context kind="class">Module</context> - <name>ProcCountLines</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ProcName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ProcKind</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.ProcOfLine {ReadOnly}--> - <element type="property"> - <source id="Access.Module.ProcOfLine"> - <context kind="class">Module</context> - <name>ProcOfLine</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Line</name> - </parameter> - <parameter> - <type>vbext_ProcKind</type> - <name>pprockind</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.ProcStartLine {ReadOnly}--> - <element type="property"> - <source id="Access.Module.ProcStartLine"> - <context kind="class">Module</context> - <name>ProcStartLine</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>ProcName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ProcKind</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Module.ReplaceLine--> - <element type="method"> - <source id="Access.Module.ReplaceLine"> - <context kind="class">Module</context> - <name>ReplaceLine</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Line</name> - </parameter> - <parameter> - <type>String</type> - <name>String</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Module.Type {ReadOnly}--> - <element type="property"> - <source id="Access.Module.Type"> - <context kind="class">Module</context> - <name>Type</name> - <type>Integer</type> - </source> - </element> - <!--Class::Modules--> - <element type="class"> - <source id="Access.Modules"> - <name>Modules</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Modules.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Modules.Application"> - <context kind="class">Modules</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Modules.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Modules.Count"> - <context kind="class">Modules</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Modules.IsMemberSafe--> - <element type="method"> - <source id="Access.Modules.IsMemberSafe"> - <context kind="class">Modules</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Modules.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Modules.Item"> - <context kind="class">Modules</context> - <name default="true">Item</name> - <type>Module</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Modules.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Modules.Parent"> - <context kind="class">Modules</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::ObjectFrame--> - <element type="class"> - <source id="Access.ObjectFrame"> - <name>ObjectFrame</name> - </source> - <destination designation="identity" /> - </element> - <!--property::ObjectFrame.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accChild"> - <context kind="class">ObjectFrame</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accChildCount"> - <context kind="class">ObjectFrame</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accDefaultAction"> - <context kind="class">ObjectFrame</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accDescription"> - <context kind="class">ObjectFrame</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ObjectFrame.accDoDefaultAction--> - <element type="method"> - <source id="Access.ObjectFrame.accDoDefaultAction"> - <context kind="class">ObjectFrame</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accFocus"> - <context kind="class">ObjectFrame</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::ObjectFrame.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accHelp"> - <context kind="class">ObjectFrame</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accHelpTopic"> - <context kind="class">ObjectFrame</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ObjectFrame.accHitTest--> - <element type="method"> - <source id="Access.ObjectFrame.accHitTest"> - <context kind="class">ObjectFrame</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accKeyboardShortcut"> - <context kind="class">ObjectFrame</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ObjectFrame.accLocation--> - <element type="method"> - <source id="Access.ObjectFrame.accLocation"> - <context kind="class">ObjectFrame</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accName--> - <element type="property"> - <source id="Access.ObjectFrame.accName"> - <context kind="class">ObjectFrame</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ObjectFrame.accNavigate--> - <element type="method"> - <source id="Access.ObjectFrame.accNavigate"> - <context kind="class">ObjectFrame</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accParent"> - <context kind="class">ObjectFrame</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::ObjectFrame.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accRole"> - <context kind="class">ObjectFrame</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ObjectFrame.accSelect--> - <element type="method"> - <source id="Access.ObjectFrame.accSelect"> - <context kind="class">ObjectFrame</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accSelection"> - <context kind="class">ObjectFrame</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::ObjectFrame.accState {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.accState"> - <context kind="class">ObjectFrame</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.accValue--> - <element type="property"> - <source id="Access.ObjectFrame.accValue"> - <context kind="class">ObjectFrame</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.Action--> - <element type="property"> - <source id="Access.ObjectFrame.Action"> - <context kind="class">ObjectFrame</context> - <name>Action</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.Application {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.Application"> - <context kind="class">ObjectFrame</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::ObjectFrame.AutoActivate--> - <element type="property"> - <source id="Access.ObjectFrame.AutoActivate"> - <context kind="class">ObjectFrame</context> - <name>AutoActivate</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.BackColor--> - <element type="property"> - <source id="Access.ObjectFrame.BackColor"> - <context kind="class">ObjectFrame</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.BackStyle--> - <element type="property"> - <source id="Access.ObjectFrame.BackStyle"> - <context kind="class">ObjectFrame</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.BorderColor--> - <element type="property"> - <source id="Access.ObjectFrame.BorderColor"> - <context kind="class">ObjectFrame</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.BorderLineStyle--> - <element type="property"> - <source id="Access.ObjectFrame.BorderLineStyle"> - <context kind="class">ObjectFrame</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.BorderStyle--> - <element type="property"> - <source id="Access.ObjectFrame.BorderStyle"> - <context kind="class">ObjectFrame</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.BorderWidth--> - <element type="property"> - <source id="Access.ObjectFrame.BorderWidth"> - <context kind="class">ObjectFrame</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.Class--> - <element type="property"> - <source id="Access.ObjectFrame.Class"> - <context kind="class">ObjectFrame</context> - <name>Class</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.ColumnCount--> - <element type="property"> - <source id="Access.ObjectFrame.ColumnCount"> - <context kind="class">ObjectFrame</context> - <name>ColumnCount</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.ColumnHeads--> - <element type="property"> - <source id="Access.ObjectFrame.ColumnHeads"> - <context kind="class">ObjectFrame</context> - <name>ColumnHeads</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.ControlName--> - <element type="property"> - <source id="Access.ObjectFrame.ControlName"> - <context kind="class">ObjectFrame</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.Controls"> - <context kind="class">ObjectFrame</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::ObjectFrame.ControlTipText--> - <element type="property"> - <source id="Access.ObjectFrame.ControlTipText"> - <context kind="class">ObjectFrame</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.ControlType--> - <element type="property"> - <source id="Access.ObjectFrame.ControlType"> - <context kind="class">ObjectFrame</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.Data--> - <element type="property"> - <source id="Access.ObjectFrame.Data"> - <context kind="class">ObjectFrame</context> - <name>Data</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.DisplayType--> - <element type="property"> - <source id="Access.ObjectFrame.DisplayType"> - <context kind="class">ObjectFrame</context> - <name>DisplayType</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.DisplayWhen--> - <element type="property"> - <source id="Access.ObjectFrame.DisplayWhen"> - <context kind="class">ObjectFrame</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.Enabled--> - <element type="property"> - <source id="Access.ObjectFrame.Enabled"> - <context kind="class">ObjectFrame</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.EventProcPrefix--> - <element type="property"> - <source id="Access.ObjectFrame.EventProcPrefix"> - <context kind="class">ObjectFrame</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::ObjectFrame.Goto--> - <element type="method"> - <source id="Access.ObjectFrame.Goto"> - <context kind="class">ObjectFrame</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::ObjectFrame.Height--> - <element type="property"> - <source id="Access.ObjectFrame.Height"> - <context kind="class">ObjectFrame</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.HelpContextId--> - <element type="property"> - <source id="Access.ObjectFrame.HelpContextId"> - <context kind="class">ObjectFrame</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.InSelection--> - <element type="property"> - <source id="Access.ObjectFrame.InSelection"> - <context kind="class">ObjectFrame</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::ObjectFrame.IsMemberSafe--> - <element type="method"> - <source id="Access.ObjectFrame.IsMemberSafe"> - <context kind="class">ObjectFrame</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.IsVisible--> - <element type="property"> - <source id="Access.ObjectFrame.IsVisible"> - <context kind="class">ObjectFrame</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.Item--> - <element type="property"> - <source id="Access.ObjectFrame.Item"> - <context kind="class">ObjectFrame</context> - <name>Item</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Left--> - <element type="property"> - <source id="Access.ObjectFrame.Left"> - <context kind="class">ObjectFrame</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.LinkChildFields--> - <element type="property"> - <source id="Access.ObjectFrame.LinkChildFields"> - <context kind="class">ObjectFrame</context> - <name>LinkChildFields</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.LinkMasterFields--> - <element type="property"> - <source id="Access.ObjectFrame.LinkMasterFields"> - <context kind="class">ObjectFrame</context> - <name>LinkMasterFields</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Locked--> - <element type="property"> - <source id="Access.ObjectFrame.Locked"> - <context kind="class">ObjectFrame</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.LpOleObject--> - <element type="property"> - <source id="Access.ObjectFrame.LpOleObject"> - <context kind="class">ObjectFrame</context> - <name>LpOleObject</name> - <type>Integer</type> - </source> - </element> - <!--method::ObjectFrame.Move--> - <element type="method"> - <source id="Access.ObjectFrame.Move"> - <context kind="class">ObjectFrame</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.Name--> - <element type="property"> - <source id="Access.ObjectFrame.Name"> - <context kind="class">ObjectFrame</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Object {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.Object"> - <context kind="class">ObjectFrame</context> - <name>Object</name> - <type>Object</type> - </source> - </element> - <!--property::ObjectFrame.ObjectPalette--> - <element type="property"> - <source id="Access.ObjectFrame.ObjectPalette"> - <context kind="class">ObjectFrame</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::ObjectFrame.ObjectVerbs {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.ObjectVerbs"> - <context kind="class">ObjectFrame</context> - <name>ObjectVerbs</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ObjectFrame.ObjectVerbsCount--> - <element type="property"> - <source id="Access.ObjectFrame.ObjectVerbsCount"> - <context kind="class">ObjectFrame</context> - <name>ObjectVerbsCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.OldBorderStyle--> - <element type="property"> - <source id="Access.ObjectFrame.OldBorderStyle"> - <context kind="class">ObjectFrame</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.OldValue"> - <context kind="class">ObjectFrame</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::ObjectFrame.OLEClass--> - <element type="property"> - <source id="Access.ObjectFrame.OLEClass"> - <context kind="class">ObjectFrame</context> - <name>OLEClass</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OleData--> - <element type="property"> - <source id="Access.ObjectFrame.OleData"> - <context kind="class">ObjectFrame</context> - <name>OleData</name> - <type>Variant</type> - </source> - </element> - <!--property::ObjectFrame.OLEType--> - <element type="property"> - <source id="Access.ObjectFrame.OLEType"> - <context kind="class">ObjectFrame</context> - <name>OLEType</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.OLETypeAllowed--> - <element type="property"> - <source id="Access.ObjectFrame.OLETypeAllowed"> - <context kind="class">ObjectFrame</context> - <name>OLETypeAllowed</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.OnClick--> - <element type="property"> - <source id="Access.ObjectFrame.OnClick"> - <context kind="class">ObjectFrame</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnDblClick--> - <element type="property"> - <source id="Access.ObjectFrame.OnDblClick"> - <context kind="class">ObjectFrame</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnEnter--> - <element type="property"> - <source id="Access.ObjectFrame.OnEnter"> - <context kind="class">ObjectFrame</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnExit--> - <element type="property"> - <source id="Access.ObjectFrame.OnExit"> - <context kind="class">ObjectFrame</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnGotFocus--> - <element type="property"> - <source id="Access.ObjectFrame.OnGotFocus"> - <context kind="class">ObjectFrame</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnLostFocus--> - <element type="property"> - <source id="Access.ObjectFrame.OnLostFocus"> - <context kind="class">ObjectFrame</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnMouseDown--> - <element type="property"> - <source id="Access.ObjectFrame.OnMouseDown"> - <context kind="class">ObjectFrame</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnMouseMove--> - <element type="property"> - <source id="Access.ObjectFrame.OnMouseMove"> - <context kind="class">ObjectFrame</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnMouseUp--> - <element type="property"> - <source id="Access.ObjectFrame.OnMouseUp"> - <context kind="class">ObjectFrame</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.OnUpdated--> - <element type="property"> - <source id="Access.ObjectFrame.OnUpdated"> - <context kind="class">ObjectFrame</context> - <name>OnUpdated</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.Parent"> - <context kind="class">ObjectFrame</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ObjectFrame.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.ObjectFrame.Properties"> - <context kind="class">ObjectFrame</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::ObjectFrame.Requery--> - <element type="method"> - <source id="Access.ObjectFrame.Requery"> - <context kind="class">ObjectFrame</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::ObjectFrame.RowSource--> - <element type="property"> - <source id="Access.ObjectFrame.RowSource"> - <context kind="class">ObjectFrame</context> - <name>RowSource</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.RowSourceType--> - <element type="property"> - <source id="Access.ObjectFrame.RowSourceType"> - <context kind="class">ObjectFrame</context> - <name>RowSourceType</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Scaling--> - <element type="property"> - <source id="Access.ObjectFrame.Scaling"> - <context kind="class">ObjectFrame</context> - <name>Scaling</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.Section--> - <element type="property"> - <source id="Access.ObjectFrame.Section"> - <context kind="class">ObjectFrame</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::ObjectFrame.SetFocus--> - <element type="method"> - <source id="Access.ObjectFrame.SetFocus"> - <context kind="class">ObjectFrame</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::ObjectFrame.ShortcutMenuBar--> - <element type="property"> - <source id="Access.ObjectFrame.ShortcutMenuBar"> - <context kind="class">ObjectFrame</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.SizeMode--> - <element type="property"> - <source id="Access.ObjectFrame.SizeMode"> - <context kind="class">ObjectFrame</context> - <name>SizeMode</name> - <type>byte</type> - </source> - </element> - <!--method::ObjectFrame.SizeToFit--> - <element type="method"> - <source id="Access.ObjectFrame.SizeToFit"> - <context kind="class">ObjectFrame</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::ObjectFrame.SourceDoc--> - <element type="property"> - <source id="Access.ObjectFrame.SourceDoc"> - <context kind="class">ObjectFrame</context> - <name>SourceDoc</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.SourceItem--> - <element type="property"> - <source id="Access.ObjectFrame.SourceItem"> - <context kind="class">ObjectFrame</context> - <name>SourceItem</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.SourceObject--> - <element type="property"> - <source id="Access.ObjectFrame.SourceObject"> - <context kind="class">ObjectFrame</context> - <name>SourceObject</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.SpecialEffect--> - <element type="property"> - <source id="Access.ObjectFrame.SpecialEffect"> - <context kind="class">ObjectFrame</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::ObjectFrame.StatusBarText--> - <element type="property"> - <source id="Access.ObjectFrame.StatusBarText"> - <context kind="class">ObjectFrame</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.TabIndex--> - <element type="property"> - <source id="Access.ObjectFrame.TabIndex"> - <context kind="class">ObjectFrame</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.TabStop--> - <element type="property"> - <source id="Access.ObjectFrame.TabStop"> - <context kind="class">ObjectFrame</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.Tag--> - <element type="property"> - <source id="Access.ObjectFrame.Tag"> - <context kind="class">ObjectFrame</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::ObjectFrame.Top--> - <element type="property"> - <source id="Access.ObjectFrame.Top"> - <context kind="class">ObjectFrame</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.UpdateMethod--> - <element type="property"> - <source id="Access.ObjectFrame.UpdateMethod"> - <context kind="class">ObjectFrame</context> - <name>UpdateMethod</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.UpdateOptions--> - <element type="property"> - <source id="Access.ObjectFrame.UpdateOptions"> - <context kind="class">ObjectFrame</context> - <name>UpdateOptions</name> - <type>short</type> - </source> - </element> - <!--property::ObjectFrame.Verb--> - <element type="property"> - <source id="Access.ObjectFrame.Verb"> - <context kind="class">ObjectFrame</context> - <name>Verb</name> - <type>Integer</type> - </source> - </element> - <!--property::ObjectFrame.Visible--> - <element type="property"> - <source id="Access.ObjectFrame.Visible"> - <context kind="class">ObjectFrame</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::ObjectFrame.Width--> - <element type="property"> - <source id="Access.ObjectFrame.Width"> - <context kind="class">ObjectFrame</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::OBJSTATE_DIRTY--> - <element type="property"> - <source id="Access.OBJSTATE_DIRTY"> - <name>OBJSTATE_DIRTY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OBJSTATE_NEW--> - <element type="property"> - <source id="Access.OBJSTATE_NEW"> - <name>OBJSTATE_NEW</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OBJSTATE_OPEN--> - <element type="property"> - <source id="Access.OBJSTATE_OPEN"> - <name>OBJSTATE_OPEN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OLE_CHANGED--> - <element type="property"> - <source id="Access.OLE_CHANGED"> - <name>OLE_CHANGED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OLE_CLOSED--> - <element type="property"> - <source id="Access.OLE_CLOSED"> - <name>OLE_CLOSED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OLE_RELEASE--> - <element type="property"> - <source id="Access.OLE_RELEASE"> - <name>OLE_RELEASE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OLE_RENAMED--> - <element type="property"> - <source id="Access.OLE_RENAMED"> - <name>OLE_RENAMED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::OLE_SAVED--> - <element type="property"> - <source id="Access.OLE_SAVED"> - <name>OLE_SAVED</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::OptionButton--> - <element type="class"> - <source id="Access.OptionButton"> - <name>OptionButton</name> - </source> - <destination designation="identity" /> - </element> - <!--property::OptionButton.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accChild"> - <context kind="class">OptionButton</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accChildCount"> - <context kind="class">OptionButton</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionButton.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accDefaultAction"> - <context kind="class">OptionButton</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accDescription"> - <context kind="class">OptionButton</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionButton.accDoDefaultAction--> - <element type="method"> - <source id="Access.OptionButton.accDoDefaultAction"> - <context kind="class">OptionButton</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accFocus"> - <context kind="class">OptionButton</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionButton.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accHelp"> - <context kind="class">OptionButton</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accHelpTopic"> - <context kind="class">OptionButton</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionButton.accHitTest--> - <element type="method"> - <source id="Access.OptionButton.accHitTest"> - <context kind="class">OptionButton</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accKeyboardShortcut"> - <context kind="class">OptionButton</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionButton.accLocation--> - <element type="method"> - <source id="Access.OptionButton.accLocation"> - <context kind="class">OptionButton</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accName--> - <element type="property"> - <source id="Access.OptionButton.accName"> - <context kind="class">OptionButton</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionButton.accNavigate--> - <element type="method"> - <source id="Access.OptionButton.accNavigate"> - <context kind="class">OptionButton</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accParent"> - <context kind="class">OptionButton</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::OptionButton.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accRole"> - <context kind="class">OptionButton</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionButton.accSelect--> - <element type="method"> - <source id="Access.OptionButton.accSelect"> - <context kind="class">OptionButton</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accSelection"> - <context kind="class">OptionButton</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionButton.accState {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.accState"> - <context kind="class">OptionButton</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.accValue--> - <element type="property"> - <source id="Access.OptionButton.accValue"> - <context kind="class">OptionButton</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.AddColon--> - <element type="property"> - <source id="Access.OptionButton.AddColon"> - <context kind="class">OptionButton</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.AfterUpdate--> - <element type="property"> - <source id="Access.OptionButton.AfterUpdate"> - <context kind="class">OptionButton</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.Application {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.Application"> - <context kind="class">OptionButton</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::OptionButton.AutoLabel--> - <element type="property"> - <source id="Access.OptionButton.AutoLabel"> - <context kind="class">OptionButton</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.BeforeUpdate--> - <element type="property"> - <source id="Access.OptionButton.BeforeUpdate"> - <context kind="class">OptionButton</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.BorderColor--> - <element type="property"> - <source id="Access.OptionButton.BorderColor"> - <context kind="class">OptionButton</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionButton.BorderLineStyle--> - <element type="property"> - <source id="Access.OptionButton.BorderLineStyle"> - <context kind="class">OptionButton</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.BorderStyle--> - <element type="property"> - <source id="Access.OptionButton.BorderStyle"> - <context kind="class">OptionButton</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.BorderWidth--> - <element type="property"> - <source id="Access.OptionButton.BorderWidth"> - <context kind="class">OptionButton</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.ColumnHidden--> - <element type="property"> - <source id="Access.OptionButton.ColumnHidden"> - <context kind="class">OptionButton</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.ColumnOrder--> - <element type="property"> - <source id="Access.OptionButton.ColumnOrder"> - <context kind="class">OptionButton</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.ColumnWidth--> - <element type="property"> - <source id="Access.OptionButton.ColumnWidth"> - <context kind="class">OptionButton</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.ControlName--> - <element type="property"> - <source id="Access.OptionButton.ControlName"> - <context kind="class">OptionButton</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.Controls"> - <context kind="class">OptionButton</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::OptionButton.ControlSource--> - <element type="property"> - <source id="Access.OptionButton.ControlSource"> - <context kind="class">OptionButton</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.ControlTipText--> - <element type="property"> - <source id="Access.OptionButton.ControlTipText"> - <context kind="class">OptionButton</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.ControlType--> - <element type="property"> - <source id="Access.OptionButton.ControlType"> - <context kind="class">OptionButton</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.DefaultValue--> - <element type="property"> - <source id="Access.OptionButton.DefaultValue"> - <context kind="class">OptionButton</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.DisplayWhen--> - <element type="property"> - <source id="Access.OptionButton.DisplayWhen"> - <context kind="class">OptionButton</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.Enabled--> - <element type="property"> - <source id="Access.OptionButton.Enabled"> - <context kind="class">OptionButton</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.EventProcPrefix--> - <element type="property"> - <source id="Access.OptionButton.EventProcPrefix"> - <context kind="class">OptionButton</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::OptionButton.Goto--> - <element type="method"> - <source id="Access.OptionButton.Goto"> - <context kind="class">OptionButton</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::OptionButton.Height--> - <element type="property"> - <source id="Access.OptionButton.Height"> - <context kind="class">OptionButton</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.HelpContextId--> - <element type="property"> - <source id="Access.OptionButton.HelpContextId"> - <context kind="class">OptionButton</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionButton.HideDuplicates--> - <element type="property"> - <source id="Access.OptionButton.HideDuplicates"> - <context kind="class">OptionButton</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.InSelection--> - <element type="property"> - <source id="Access.OptionButton.InSelection"> - <context kind="class">OptionButton</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::OptionButton.IsMemberSafe--> - <element type="method"> - <source id="Access.OptionButton.IsMemberSafe"> - <context kind="class">OptionButton</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.IsVisible--> - <element type="property"> - <source id="Access.OptionButton.IsVisible"> - <context kind="class">OptionButton</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.LabelAlign--> - <element type="property"> - <source id="Access.OptionButton.LabelAlign"> - <context kind="class">OptionButton</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.LabelX--> - <element type="property"> - <source id="Access.OptionButton.LabelX"> - <context kind="class">OptionButton</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.LabelY--> - <element type="property"> - <source id="Access.OptionButton.LabelY"> - <context kind="class">OptionButton</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.Left--> - <element type="property"> - <source id="Access.OptionButton.Left"> - <context kind="class">OptionButton</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.Locked--> - <element type="property"> - <source id="Access.OptionButton.Locked"> - <context kind="class">OptionButton</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::OptionButton.Move--> - <element type="method"> - <source id="Access.OptionButton.Move"> - <context kind="class">OptionButton</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionButton.Name--> - <element type="property"> - <source id="Access.OptionButton.Name"> - <context kind="class">OptionButton</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OldBorderStyle--> - <element type="property"> - <source id="Access.OptionButton.OldBorderStyle"> - <context kind="class">OptionButton</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.OldValue"> - <context kind="class">OptionButton</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionButton.OnClick--> - <element type="property"> - <source id="Access.OptionButton.OnClick"> - <context kind="class">OptionButton</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnDblClick--> - <element type="property"> - <source id="Access.OptionButton.OnDblClick"> - <context kind="class">OptionButton</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnEnter--> - <element type="property"> - <source id="Access.OptionButton.OnEnter"> - <context kind="class">OptionButton</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnExit--> - <element type="property"> - <source id="Access.OptionButton.OnExit"> - <context kind="class">OptionButton</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnGotFocus--> - <element type="property"> - <source id="Access.OptionButton.OnGotFocus"> - <context kind="class">OptionButton</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnKeyDown--> - <element type="property"> - <source id="Access.OptionButton.OnKeyDown"> - <context kind="class">OptionButton</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnKeyPress--> - <element type="property"> - <source id="Access.OptionButton.OnKeyPress"> - <context kind="class">OptionButton</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnKeyUp--> - <element type="property"> - <source id="Access.OptionButton.OnKeyUp"> - <context kind="class">OptionButton</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnLostFocus--> - <element type="property"> - <source id="Access.OptionButton.OnLostFocus"> - <context kind="class">OptionButton</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnMouseDown--> - <element type="property"> - <source id="Access.OptionButton.OnMouseDown"> - <context kind="class">OptionButton</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnMouseMove--> - <element type="property"> - <source id="Access.OptionButton.OnMouseMove"> - <context kind="class">OptionButton</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OnMouseUp--> - <element type="property"> - <source id="Access.OptionButton.OnMouseUp"> - <context kind="class">OptionButton</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.OptionValue--> - <element type="property"> - <source id="Access.OptionButton.OptionValue"> - <context kind="class">OptionButton</context> - <name>OptionValue</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionButton.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.Parent"> - <context kind="class">OptionButton</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::OptionButton.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.OptionButton.Properties"> - <context kind="class">OptionButton</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::OptionButton.ReadingOrder--> - <element type="property"> - <source id="Access.OptionButton.ReadingOrder"> - <context kind="class">OptionButton</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--method::OptionButton.Requery--> - <element type="method"> - <source id="Access.OptionButton.Requery"> - <context kind="class">OptionButton</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::OptionButton.Section--> - <element type="property"> - <source id="Access.OptionButton.Section"> - <context kind="class">OptionButton</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::OptionButton.SetFocus--> - <element type="method"> - <source id="Access.OptionButton.SetFocus"> - <context kind="class">OptionButton</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::OptionButton.ShortcutMenuBar--> - <element type="property"> - <source id="Access.OptionButton.ShortcutMenuBar"> - <context kind="class">OptionButton</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::OptionButton.SizeToFit--> - <element type="method"> - <source id="Access.OptionButton.SizeToFit"> - <context kind="class">OptionButton</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::OptionButton.SpecialEffect--> - <element type="property"> - <source id="Access.OptionButton.SpecialEffect"> - <context kind="class">OptionButton</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::OptionButton.StatusBarText--> - <element type="property"> - <source id="Access.OptionButton.StatusBarText"> - <context kind="class">OptionButton</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.TabIndex--> - <element type="property"> - <source id="Access.OptionButton.TabIndex"> - <context kind="class">OptionButton</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.TabStop--> - <element type="property"> - <source id="Access.OptionButton.TabStop"> - <context kind="class">OptionButton</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.Tag--> - <element type="property"> - <source id="Access.OptionButton.Tag"> - <context kind="class">OptionButton</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.Top--> - <element type="property"> - <source id="Access.OptionButton.Top"> - <context kind="class">OptionButton</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::OptionButton.TripleState--> - <element type="property"> - <source id="Access.OptionButton.TripleState"> - <context kind="class">OptionButton</context> - <name>TripleState</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.ValidationRule--> - <element type="property"> - <source id="Access.OptionButton.ValidationRule"> - <context kind="class">OptionButton</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.ValidationText--> - <element type="property"> - <source id="Access.OptionButton.ValidationText"> - <context kind="class">OptionButton</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::OptionButton.Value {Default}--> - <element type="property"> - <source id="Access.OptionButton.Value"> - <context kind="class">OptionButton</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionButton.Visible--> - <element type="property"> - <source id="Access.OptionButton.Visible"> - <context kind="class">OptionButton</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionButton.Width--> - <element type="property"> - <source id="Access.OptionButton.Width"> - <context kind="class">OptionButton</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::OptionGroup--> - <element type="class"> - <source id="Access.OptionGroup"> - <name>OptionGroup</name> - </source> - <destination designation="identity" /> - </element> - <!--property::OptionGroup.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accChild"> - <context kind="class">OptionGroup</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accChildCount"> - <context kind="class">OptionGroup</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionGroup.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accDefaultAction"> - <context kind="class">OptionGroup</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accDescription"> - <context kind="class">OptionGroup</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionGroup.accDoDefaultAction--> - <element type="method"> - <source id="Access.OptionGroup.accDoDefaultAction"> - <context kind="class">OptionGroup</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accFocus"> - <context kind="class">OptionGroup</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionGroup.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accHelp"> - <context kind="class">OptionGroup</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accHelpTopic"> - <context kind="class">OptionGroup</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionGroup.accHitTest--> - <element type="method"> - <source id="Access.OptionGroup.accHitTest"> - <context kind="class">OptionGroup</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accKeyboardShortcut"> - <context kind="class">OptionGroup</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionGroup.accLocation--> - <element type="method"> - <source id="Access.OptionGroup.accLocation"> - <context kind="class">OptionGroup</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accName--> - <element type="property"> - <source id="Access.OptionGroup.accName"> - <context kind="class">OptionGroup</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionGroup.accNavigate--> - <element type="method"> - <source id="Access.OptionGroup.accNavigate"> - <context kind="class">OptionGroup</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accParent"> - <context kind="class">OptionGroup</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::OptionGroup.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accRole"> - <context kind="class">OptionGroup</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::OptionGroup.accSelect--> - <element type="method"> - <source id="Access.OptionGroup.accSelect"> - <context kind="class">OptionGroup</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accSelection"> - <context kind="class">OptionGroup</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionGroup.accState {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.accState"> - <context kind="class">OptionGroup</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.accValue--> - <element type="property"> - <source id="Access.OptionGroup.accValue"> - <context kind="class">OptionGroup</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.AddColon--> - <element type="property"> - <source id="Access.OptionGroup.AddColon"> - <context kind="class">OptionGroup</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.AfterUpdate--> - <element type="property"> - <source id="Access.OptionGroup.AfterUpdate"> - <context kind="class">OptionGroup</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.Application {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.Application"> - <context kind="class">OptionGroup</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::OptionGroup.AutoLabel--> - <element type="property"> - <source id="Access.OptionGroup.AutoLabel"> - <context kind="class">OptionGroup</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.BackColor--> - <element type="property"> - <source id="Access.OptionGroup.BackColor"> - <context kind="class">OptionGroup</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionGroup.BackStyle--> - <element type="property"> - <source id="Access.OptionGroup.BackStyle"> - <context kind="class">OptionGroup</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.BeforeUpdate--> - <element type="property"> - <source id="Access.OptionGroup.BeforeUpdate"> - <context kind="class">OptionGroup</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.BorderColor--> - <element type="property"> - <source id="Access.OptionGroup.BorderColor"> - <context kind="class">OptionGroup</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionGroup.BorderLineStyle--> - <element type="property"> - <source id="Access.OptionGroup.BorderLineStyle"> - <context kind="class">OptionGroup</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.BorderStyle--> - <element type="property"> - <source id="Access.OptionGroup.BorderStyle"> - <context kind="class">OptionGroup</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.BorderWidth--> - <element type="property"> - <source id="Access.OptionGroup.BorderWidth"> - <context kind="class">OptionGroup</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.ColumnHidden--> - <element type="property"> - <source id="Access.OptionGroup.ColumnHidden"> - <context kind="class">OptionGroup</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.ColumnOrder--> - <element type="property"> - <source id="Access.OptionGroup.ColumnOrder"> - <context kind="class">OptionGroup</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.ColumnWidth--> - <element type="property"> - <source id="Access.OptionGroup.ColumnWidth"> - <context kind="class">OptionGroup</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.ControlName--> - <element type="property"> - <source id="Access.OptionGroup.ControlName"> - <context kind="class">OptionGroup</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.Controls"> - <context kind="class">OptionGroup</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::OptionGroup.ControlSource--> - <element type="property"> - <source id="Access.OptionGroup.ControlSource"> - <context kind="class">OptionGroup</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.ControlTipText--> - <element type="property"> - <source id="Access.OptionGroup.ControlTipText"> - <context kind="class">OptionGroup</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.ControlType--> - <element type="property"> - <source id="Access.OptionGroup.ControlType"> - <context kind="class">OptionGroup</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.DefaultValue--> - <element type="property"> - <source id="Access.OptionGroup.DefaultValue"> - <context kind="class">OptionGroup</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.DisplayWhen--> - <element type="property"> - <source id="Access.OptionGroup.DisplayWhen"> - <context kind="class">OptionGroup</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.Enabled--> - <element type="property"> - <source id="Access.OptionGroup.Enabled"> - <context kind="class">OptionGroup</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.EventProcPrefix--> - <element type="property"> - <source id="Access.OptionGroup.EventProcPrefix"> - <context kind="class">OptionGroup</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::OptionGroup.Goto--> - <element type="method"> - <source id="Access.OptionGroup.Goto"> - <context kind="class">OptionGroup</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::OptionGroup.Height--> - <element type="property"> - <source id="Access.OptionGroup.Height"> - <context kind="class">OptionGroup</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.HelpContextId--> - <element type="property"> - <source id="Access.OptionGroup.HelpContextId"> - <context kind="class">OptionGroup</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::OptionGroup.HideDuplicates--> - <element type="property"> - <source id="Access.OptionGroup.HideDuplicates"> - <context kind="class">OptionGroup</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.InSelection--> - <element type="property"> - <source id="Access.OptionGroup.InSelection"> - <context kind="class">OptionGroup</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::OptionGroup.IsMemberSafe--> - <element type="method"> - <source id="Access.OptionGroup.IsMemberSafe"> - <context kind="class">OptionGroup</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.IsVisible--> - <element type="property"> - <source id="Access.OptionGroup.IsVisible"> - <context kind="class">OptionGroup</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.LabelAlign--> - <element type="property"> - <source id="Access.OptionGroup.LabelAlign"> - <context kind="class">OptionGroup</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.LabelX--> - <element type="property"> - <source id="Access.OptionGroup.LabelX"> - <context kind="class">OptionGroup</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.LabelY--> - <element type="property"> - <source id="Access.OptionGroup.LabelY"> - <context kind="class">OptionGroup</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.Left--> - <element type="property"> - <source id="Access.OptionGroup.Left"> - <context kind="class">OptionGroup</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.Locked--> - <element type="property"> - <source id="Access.OptionGroup.Locked"> - <context kind="class">OptionGroup</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::OptionGroup.Move--> - <element type="method"> - <source id="Access.OptionGroup.Move"> - <context kind="class">OptionGroup</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::OptionGroup.Name--> - <element type="property"> - <source id="Access.OptionGroup.Name"> - <context kind="class">OptionGroup</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OldBorderStyle--> - <element type="property"> - <source id="Access.OptionGroup.OldBorderStyle"> - <context kind="class">OptionGroup</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.OldValue"> - <context kind="class">OptionGroup</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionGroup.OnClick--> - <element type="property"> - <source id="Access.OptionGroup.OnClick"> - <context kind="class">OptionGroup</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnDblClick--> - <element type="property"> - <source id="Access.OptionGroup.OnDblClick"> - <context kind="class">OptionGroup</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnEnter--> - <element type="property"> - <source id="Access.OptionGroup.OnEnter"> - <context kind="class">OptionGroup</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnExit--> - <element type="property"> - <source id="Access.OptionGroup.OnExit"> - <context kind="class">OptionGroup</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnMouseDown--> - <element type="property"> - <source id="Access.OptionGroup.OnMouseDown"> - <context kind="class">OptionGroup</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnMouseMove--> - <element type="property"> - <source id="Access.OptionGroup.OnMouseMove"> - <context kind="class">OptionGroup</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.OnMouseUp--> - <element type="property"> - <source id="Access.OptionGroup.OnMouseUp"> - <context kind="class">OptionGroup</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.Parent"> - <context kind="class">OptionGroup</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::OptionGroup.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.OptionGroup.Properties"> - <context kind="class">OptionGroup</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::OptionGroup.Requery--> - <element type="method"> - <source id="Access.OptionGroup.Requery"> - <context kind="class">OptionGroup</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::OptionGroup.Section--> - <element type="property"> - <source id="Access.OptionGroup.Section"> - <context kind="class">OptionGroup</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::OptionGroup.SetFocus--> - <element type="method"> - <source id="Access.OptionGroup.SetFocus"> - <context kind="class">OptionGroup</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::OptionGroup.ShortcutMenuBar--> - <element type="property"> - <source id="Access.OptionGroup.ShortcutMenuBar"> - <context kind="class">OptionGroup</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::OptionGroup.SizeToFit--> - <element type="method"> - <source id="Access.OptionGroup.SizeToFit"> - <context kind="class">OptionGroup</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::OptionGroup.SpecialEffect--> - <element type="property"> - <source id="Access.OptionGroup.SpecialEffect"> - <context kind="class">OptionGroup</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::OptionGroup.StatusBarText--> - <element type="property"> - <source id="Access.OptionGroup.StatusBarText"> - <context kind="class">OptionGroup</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.TabIndex--> - <element type="property"> - <source id="Access.OptionGroup.TabIndex"> - <context kind="class">OptionGroup</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::OptionGroup.TabStop--> - <element type="property"> - <source id="Access.OptionGroup.TabStop"> - <context kind="class">OptionGroup</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.Tag--> - <element type="property"> - <source id="Access.OptionGroup.Tag"> - <context kind="class">OptionGroup</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.Top--> - <element type="property"> - <source id="Access.OptionGroup.Top"> - <context kind="class">OptionGroup</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--method::OptionGroup.Undo--> - <element type="method"> - <source id="Access.OptionGroup.Undo"> - <context kind="class">OptionGroup</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::OptionGroup.ValidationRule--> - <element type="property"> - <source id="Access.OptionGroup.ValidationRule"> - <context kind="class">OptionGroup</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.ValidationText--> - <element type="property"> - <source id="Access.OptionGroup.ValidationText"> - <context kind="class">OptionGroup</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::OptionGroup.Value {Default}--> - <element type="property"> - <source id="Access.OptionGroup.Value"> - <context kind="class">OptionGroup</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::OptionGroup.Visible--> - <element type="property"> - <source id="Access.OptionGroup.Visible"> - <context kind="class">OptionGroup</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::OptionGroup.Width--> - <element type="property"> - <source id="Access.OptionGroup.Width"> - <context kind="class">OptionGroup</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Page--> - <element type="class"> - <source id="Access.Page"> - <name>Page</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Page.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accChild"> - <context kind="class">Page</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accChildCount"> - <context kind="class">Page</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::Page.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accDefaultAction"> - <context kind="class">Page</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accDescription"> - <context kind="class">Page</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Page.accDoDefaultAction--> - <element type="method"> - <source id="Access.Page.accDoDefaultAction"> - <context kind="class">Page</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accFocus"> - <context kind="class">Page</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::Page.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accHelp"> - <context kind="class">Page</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accHelpTopic"> - <context kind="class">Page</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Page.accHitTest--> - <element type="method"> - <source id="Access.Page.accHitTest"> - <context kind="class">Page</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accKeyboardShortcut"> - <context kind="class">Page</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Page.accLocation--> - <element type="method"> - <source id="Access.Page.accLocation"> - <context kind="class">Page</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accName--> - <element type="property"> - <source id="Access.Page.accName"> - <context kind="class">Page</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Page.accNavigate--> - <element type="method"> - <source id="Access.Page.accNavigate"> - <context kind="class">Page</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accParent"> - <context kind="class">Page</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::Page.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accRole"> - <context kind="class">Page</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Page.accSelect--> - <element type="method"> - <source id="Access.Page.accSelect"> - <context kind="class">Page</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accSelection"> - <context kind="class">Page</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::Page.accState {ReadOnly}--> - <element type="property"> - <source id="Access.Page.accState"> - <context kind="class">Page</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.accValue--> - <element type="property"> - <source id="Access.Page.accValue"> - <context kind="class">Page</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Page.Application"> - <context kind="class">Page</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Page.Caption--> - <element type="property"> - <source id="Access.Page.Caption"> - <context kind="class">Page</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::Page.ControlName--> - <element type="property"> - <source id="Access.Page.ControlName"> - <context kind="class">Page</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::Page.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.Page.Controls"> - <context kind="class">Page</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::Page.ControlTipText--> - <element type="property"> - <source id="Access.Page.ControlTipText"> - <context kind="class">Page</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::Page.ControlType--> - <element type="property"> - <source id="Access.Page.ControlType"> - <context kind="class">Page</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::Page.Enabled--> - <element type="property"> - <source id="Access.Page.Enabled"> - <context kind="class">Page</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::Page.EventProcPrefix--> - <element type="property"> - <source id="Access.Page.EventProcPrefix"> - <context kind="class">Page</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::Page.Goto--> - <element type="method"> - <source id="Access.Page.Goto"> - <context kind="class">Page</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::Page.Height--> - <element type="property"> - <source id="Access.Page.Height"> - <context kind="class">Page</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Page.HelpContextId--> - <element type="property"> - <source id="Access.Page.HelpContextId"> - <context kind="class">Page</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::Page.InSelection--> - <element type="property"> - <source id="Access.Page.InSelection"> - <context kind="class">Page</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Page.IsMemberSafe--> - <element type="method"> - <source id="Access.Page.IsMemberSafe"> - <context kind="class">Page</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.IsVisible--> - <element type="property"> - <source id="Access.Page.IsVisible"> - <context kind="class">Page</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::Page.Left--> - <element type="property"> - <source id="Access.Page.Left"> - <context kind="class">Page</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::Page.Move--> - <element type="method"> - <source id="Access.Page.Move"> - <context kind="class">Page</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Page.Name--> - <element type="property"> - <source id="Access.Page.Name"> - <context kind="class">Page</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Page.OnClick--> - <element type="property"> - <source id="Access.Page.OnClick"> - <context kind="class">Page</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Page.OnDblClick--> - <element type="property"> - <source id="Access.Page.OnDblClick"> - <context kind="class">Page</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Page.OnMouseDown--> - <element type="property"> - <source id="Access.Page.OnMouseDown"> - <context kind="class">Page</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Page.OnMouseMove--> - <element type="property"> - <source id="Access.Page.OnMouseMove"> - <context kind="class">Page</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Page.OnMouseUp--> - <element type="property"> - <source id="Access.Page.OnMouseUp"> - <context kind="class">Page</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Page.PageIndex--> - <element type="property"> - <source id="Access.Page.PageIndex"> - <context kind="class">Page</context> - <name>PageIndex</name> - <type>short</type> - </source> - </element> - <!--property::Page.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Page.Parent"> - <context kind="class">Page</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Page.Picture--> - <element type="property"> - <source id="Access.Page.Picture"> - <context kind="class">Page</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::Page.PictureData--> - <element type="property"> - <source id="Access.Page.PictureData"> - <context kind="class">Page</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::Page.PictureType--> - <element type="property"> - <source id="Access.Page.PictureType"> - <context kind="class">Page</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::Page.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Page.Properties"> - <context kind="class">Page</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::Page.Requery--> - <element type="method"> - <source id="Access.Page.Requery"> - <context kind="class">Page</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::Page.Section--> - <element type="property"> - <source id="Access.Page.Section"> - <context kind="class">Page</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::Page.SetFocus--> - <element type="method"> - <source id="Access.Page.SetFocus"> - <context kind="class">Page</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::Page.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Page.ShortcutMenuBar"> - <context kind="class">Page</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::Page.SizeToFit--> - <element type="method"> - <source id="Access.Page.SizeToFit"> - <context kind="class">Page</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Page.StatusBarText--> - <element type="property"> - <source id="Access.Page.StatusBarText"> - <context kind="class">Page</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::Page.Tag--> - <element type="property"> - <source id="Access.Page.Tag"> - <context kind="class">Page</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Page.Top--> - <element type="property"> - <source id="Access.Page.Top"> - <context kind="class">Page</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::Page.Visible--> - <element type="property"> - <source id="Access.Page.Visible"> - <context kind="class">Page</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Page.Width--> - <element type="property"> - <source id="Access.Page.Width"> - <context kind="class">Page</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::PageBreak--> - <element type="class"> - <source id="Access.PageBreak"> - <name>PageBreak</name> - </source> - <destination designation="identity" /> - </element> - <!--property::PageBreak.Application {ReadOnly}--> - <element type="property"> - <source id="Access.PageBreak.Application"> - <context kind="class">PageBreak</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::PageBreak.ControlName--> - <element type="property"> - <source id="Access.PageBreak.ControlName"> - <context kind="class">PageBreak</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::PageBreak.ControlType--> - <element type="property"> - <source id="Access.PageBreak.ControlType"> - <context kind="class">PageBreak</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::PageBreak.EventProcPrefix--> - <element type="property"> - <source id="Access.PageBreak.EventProcPrefix"> - <context kind="class">PageBreak</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::PageBreak.InSelection--> - <element type="property"> - <source id="Access.PageBreak.InSelection"> - <context kind="class">PageBreak</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::PageBreak.IsMemberSafe--> - <element type="method"> - <source id="Access.PageBreak.IsMemberSafe"> - <context kind="class">PageBreak</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::PageBreak.IsVisible--> - <element type="property"> - <source id="Access.PageBreak.IsVisible"> - <context kind="class">PageBreak</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::PageBreak.Left--> - <element type="property"> - <source id="Access.PageBreak.Left"> - <context kind="class">PageBreak</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::PageBreak.Move--> - <element type="method"> - <source id="Access.PageBreak.Move"> - <context kind="class">PageBreak</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::PageBreak.Name--> - <element type="property"> - <source id="Access.PageBreak.Name"> - <context kind="class">PageBreak</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::PageBreak.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.PageBreak.Parent"> - <context kind="class">PageBreak</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::PageBreak.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.PageBreak.Properties"> - <context kind="class">PageBreak</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::PageBreak.Section--> - <element type="property"> - <source id="Access.PageBreak.Section"> - <context kind="class">PageBreak</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::PageBreak.SizeToFit--> - <element type="method"> - <source id="Access.PageBreak.SizeToFit"> - <context kind="class">PageBreak</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::PageBreak.Tag--> - <element type="property"> - <source id="Access.PageBreak.Tag"> - <context kind="class">PageBreak</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::PageBreak.Top--> - <element type="property"> - <source id="Access.PageBreak.Top"> - <context kind="class">PageBreak</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::PageBreak.Visible--> - <element type="property"> - <source id="Access.PageBreak.Visible"> - <context kind="class">PageBreak</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--Class::Pages--> - <element type="class"> - <source id="Access.Pages"> - <name>Pages</name> - </source> - <destination designation="identity" /> - </element> - <!--method::Pages.Add--> - <element type="method"> - <source id="Access.Pages.Add"> - <context kind="class">Pages</context> - <name>Add</name> - <type>Page</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>Before</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Pages.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Pages.Count"> - <context kind="class">Pages</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Pages.IsMemberSafe--> - <element type="method"> - <source id="Access.Pages.IsMemberSafe"> - <context kind="class">Pages</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Pages.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Pages.Item"> - <context kind="class">Pages</context> - <name default="true">Item</name> - <type>Page</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Pages.Remove--> - <element type="method"> - <source id="Access.Pages.Remove"> - <context kind="class">Pages</context> - <name>Remove</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>Item</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::PaletteButton--> - <element type="class"> - <source id="Access.PaletteButton"> - <name>PaletteButton</name> - </source> - <destination designation="identity" /> - </element> - <!--property::PaletteButton.AddColon--> - <element type="property"> - <source id="Access.PaletteButton.AddColon"> - <context kind="class">PaletteButton</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.AfterUpdate--> - <element type="property"> - <source id="Access.PaletteButton.AfterUpdate"> - <context kind="class">PaletteButton</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.Application {ReadOnly}--> - <element type="property"> - <source id="Access.PaletteButton.Application"> - <context kind="class">PaletteButton</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::PaletteButton.AutoLabel--> - <element type="property"> - <source id="Access.PaletteButton.AutoLabel"> - <context kind="class">PaletteButton</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.BackColor--> - <element type="property"> - <source id="Access.PaletteButton.BackColor"> - <context kind="class">PaletteButton</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::PaletteButton.BackStyle--> - <element type="property"> - <source id="Access.PaletteButton.BackStyle"> - <context kind="class">PaletteButton</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::PaletteButton.BeforeUpdate--> - <element type="property"> - <source id="Access.PaletteButton.BeforeUpdate"> - <context kind="class">PaletteButton</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.ColumnHidden--> - <element type="property"> - <source id="Access.PaletteButton.ColumnHidden"> - <context kind="class">PaletteButton</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.ColumnOrder--> - <element type="property"> - <source id="Access.PaletteButton.ColumnOrder"> - <context kind="class">PaletteButton</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.ColumnWidth--> - <element type="property"> - <source id="Access.PaletteButton.ColumnWidth"> - <context kind="class">PaletteButton</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.ControlName--> - <element type="property"> - <source id="Access.PaletteButton.ControlName"> - <context kind="class">PaletteButton</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.PaletteButton.Controls"> - <context kind="class">PaletteButton</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::PaletteButton.ControlSource--> - <element type="property"> - <source id="Access.PaletteButton.ControlSource"> - <context kind="class">PaletteButton</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.ControlTipText--> - <element type="property"> - <source id="Access.PaletteButton.ControlTipText"> - <context kind="class">PaletteButton</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.ControlType--> - <element type="property"> - <source id="Access.PaletteButton.ControlType"> - <context kind="class">PaletteButton</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::PaletteButton.DefaultValue--> - <element type="property"> - <source id="Access.PaletteButton.DefaultValue"> - <context kind="class">PaletteButton</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.DisplayWhen--> - <element type="property"> - <source id="Access.PaletteButton.DisplayWhen"> - <context kind="class">PaletteButton</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::PaletteButton.Enabled--> - <element type="property"> - <source id="Access.PaletteButton.Enabled"> - <context kind="class">PaletteButton</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.EventProcPrefix--> - <element type="property"> - <source id="Access.PaletteButton.EventProcPrefix"> - <context kind="class">PaletteButton</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--method::PaletteButton.Goto--> - <element type="method"> - <source id="Access.PaletteButton.Goto"> - <context kind="class">PaletteButton</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::PaletteButton.Height--> - <element type="property"> - <source id="Access.PaletteButton.Height"> - <context kind="class">PaletteButton</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.HelpContextId--> - <element type="property"> - <source id="Access.PaletteButton.HelpContextId"> - <context kind="class">PaletteButton</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::PaletteButton.HideDuplicates--> - <element type="property"> - <source id="Access.PaletteButton.HideDuplicates"> - <context kind="class">PaletteButton</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.InSelection--> - <element type="property"> - <source id="Access.PaletteButton.InSelection"> - <context kind="class">PaletteButton</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::PaletteButton.IsMemberSafe--> - <element type="method"> - <source id="Access.PaletteButton.IsMemberSafe"> - <context kind="class">PaletteButton</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::PaletteButton.IsVisible--> - <element type="property"> - <source id="Access.PaletteButton.IsVisible"> - <context kind="class">PaletteButton</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.LabelAlign--> - <element type="property"> - <source id="Access.PaletteButton.LabelAlign"> - <context kind="class">PaletteButton</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::PaletteButton.LabelX--> - <element type="property"> - <source id="Access.PaletteButton.LabelX"> - <context kind="class">PaletteButton</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.LabelY--> - <element type="property"> - <source id="Access.PaletteButton.LabelY"> - <context kind="class">PaletteButton</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.Left--> - <element type="property"> - <source id="Access.PaletteButton.Left"> - <context kind="class">PaletteButton</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.Locked--> - <element type="property"> - <source id="Access.PaletteButton.Locked"> - <context kind="class">PaletteButton</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::PaletteButton.Move--> - <element type="method"> - <source id="Access.PaletteButton.Move"> - <context kind="class">PaletteButton</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::PaletteButton.Name--> - <element type="property"> - <source id="Access.PaletteButton.Name"> - <context kind="class">PaletteButton</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.PaletteButton.OldValue"> - <context kind="class">PaletteButton</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::PaletteButton.OnClick--> - <element type="property"> - <source id="Access.PaletteButton.OnClick"> - <context kind="class">PaletteButton</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnDblClick--> - <element type="property"> - <source id="Access.PaletteButton.OnDblClick"> - <context kind="class">PaletteButton</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnEnter--> - <element type="property"> - <source id="Access.PaletteButton.OnEnter"> - <context kind="class">PaletteButton</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnExit--> - <element type="property"> - <source id="Access.PaletteButton.OnExit"> - <context kind="class">PaletteButton</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnGotFocus--> - <element type="property"> - <source id="Access.PaletteButton.OnGotFocus"> - <context kind="class">PaletteButton</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnKeyDown--> - <element type="property"> - <source id="Access.PaletteButton.OnKeyDown"> - <context kind="class">PaletteButton</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnKeyPress--> - <element type="property"> - <source id="Access.PaletteButton.OnKeyPress"> - <context kind="class">PaletteButton</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnKeyUp--> - <element type="property"> - <source id="Access.PaletteButton.OnKeyUp"> - <context kind="class">PaletteButton</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnLostFocus--> - <element type="property"> - <source id="Access.PaletteButton.OnLostFocus"> - <context kind="class">PaletteButton</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnMouseDown--> - <element type="property"> - <source id="Access.PaletteButton.OnMouseDown"> - <context kind="class">PaletteButton</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnMouseMove--> - <element type="property"> - <source id="Access.PaletteButton.OnMouseMove"> - <context kind="class">PaletteButton</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OnMouseUp--> - <element type="property"> - <source id="Access.PaletteButton.OnMouseUp"> - <context kind="class">PaletteButton</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.OptionValue--> - <element type="property"> - <source id="Access.PaletteButton.OptionValue"> - <context kind="class">PaletteButton</context> - <name>OptionValue</name> - <type>Integer</type> - </source> - </element> - <!--property::PaletteButton.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.PaletteButton.Parent"> - <context kind="class">PaletteButton</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::PaletteButton.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.PaletteButton.Properties"> - <context kind="class">PaletteButton</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--method::PaletteButton.Requery--> - <element type="method"> - <source id="Access.PaletteButton.Requery"> - <context kind="class">PaletteButton</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::PaletteButton.Section--> - <element type="property"> - <source id="Access.PaletteButton.Section"> - <context kind="class">PaletteButton</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::PaletteButton.SetFocus--> - <element type="method"> - <source id="Access.PaletteButton.SetFocus"> - <context kind="class">PaletteButton</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::PaletteButton.ShortcutMenuBar--> - <element type="property"> - <source id="Access.PaletteButton.ShortcutMenuBar"> - <context kind="class">PaletteButton</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::PaletteButton.SizeToFit--> - <element type="method"> - <source id="Access.PaletteButton.SizeToFit"> - <context kind="class">PaletteButton</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::PaletteButton.StatusBarText--> - <element type="property"> - <source id="Access.PaletteButton.StatusBarText"> - <context kind="class">PaletteButton</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.TabIndex--> - <element type="property"> - <source id="Access.PaletteButton.TabIndex"> - <context kind="class">PaletteButton</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.TabStop--> - <element type="property"> - <source id="Access.PaletteButton.TabStop"> - <context kind="class">PaletteButton</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.Tag--> - <element type="property"> - <source id="Access.PaletteButton.Tag"> - <context kind="class">PaletteButton</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.Top--> - <element type="property"> - <source id="Access.PaletteButton.Top"> - <context kind="class">PaletteButton</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::PaletteButton.TripleState--> - <element type="property"> - <source id="Access.PaletteButton.TripleState"> - <context kind="class">PaletteButton</context> - <name>TripleState</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.ValidationRule--> - <element type="property"> - <source id="Access.PaletteButton.ValidationRule"> - <context kind="class">PaletteButton</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.ValidationText--> - <element type="property"> - <source id="Access.PaletteButton.ValidationText"> - <context kind="class">PaletteButton</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::PaletteButton.Value {Default}--> - <element type="property"> - <source id="Access.PaletteButton.Value"> - <context kind="class">PaletteButton</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::PaletteButton.Visible--> - <element type="property"> - <source id="Access.PaletteButton.Visible"> - <context kind="class">PaletteButton</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::PaletteButton.Width--> - <element type="property"> - <source id="Access.PaletteButton.Width"> - <context kind="class">PaletteButton</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Printer--> - <element type="class"> - <source id="Access.Printer"> - <name>Printer</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Printer.BottomMargin--> - <element type="property"> - <source id="Access.Printer.BottomMargin"> - <context kind="class">Printer</context> - <name>BottomMargin</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.ColorMode--> - <element type="property"> - <source id="Access.Printer.ColorMode"> - <context kind="class">Printer</context> - <name>ColorMode</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.ColumnSpacing--> - <element type="property"> - <source id="Access.Printer.ColumnSpacing"> - <context kind="class">Printer</context> - <name>ColumnSpacing</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.Copies--> - <element type="property"> - <source id="Access.Printer.Copies"> - <context kind="class">Printer</context> - <name>Copies</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.DataOnly--> - <element type="property"> - <source id="Access.Printer.DataOnly"> - <context kind="class">Printer</context> - <name>DataOnly</name> - <type>boolean</type> - </source> - </element> - <!--property::Printer.DefaultSize--> - <element type="property"> - <source id="Access.Printer.DefaultSize"> - <context kind="class">Printer</context> - <name>DefaultSize</name> - <type>boolean</type> - </source> - </element> - <!--property::Printer.DeviceName {ReadOnly}--> - <element type="property"> - <source id="Access.Printer.DeviceName"> - <context kind="class">Printer</context> - <name>DeviceName</name> - <type>String</type> - </source> - </element> - <!--property::Printer.DriverName {ReadOnly}--> - <element type="property"> - <source id="Access.Printer.DriverName"> - <context kind="class">Printer</context> - <name>DriverName</name> - <type>String</type> - </source> - </element> - <!--property::Printer.Duplex--> - <element type="property"> - <source id="Access.Printer.Duplex"> - <context kind="class">Printer</context> - <name>Duplex</name> - <type>Integer</type> - </source> - </element> - <!--method::Printer.IsMemberSafe--> - <element type="method"> - <source id="Access.Printer.IsMemberSafe"> - <context kind="class">Printer</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Printer.ItemLayout--> - <element type="property"> - <source id="Access.Printer.ItemLayout"> - <context kind="class">Printer</context> - <name>ItemLayout</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.ItemsAcross--> - <element type="property"> - <source id="Access.Printer.ItemsAcross"> - <context kind="class">Printer</context> - <name>ItemsAcross</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.ItemSizeHeight--> - <element type="property"> - <source id="Access.Printer.ItemSizeHeight"> - <context kind="class">Printer</context> - <name>ItemSizeHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.ItemSizeWidth--> - <element type="property"> - <source id="Access.Printer.ItemSizeWidth"> - <context kind="class">Printer</context> - <name>ItemSizeWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.LeftMargin--> - <element type="property"> - <source id="Access.Printer.LeftMargin"> - <context kind="class">Printer</context> - <name>LeftMargin</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.Orientation--> - <element type="property"> - <source id="Access.Printer.Orientation"> - <context kind="class">Printer</context> - <name>Orientation</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.PaperBin--> - <element type="property"> - <source id="Access.Printer.PaperBin"> - <context kind="class">Printer</context> - <name>PaperBin</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.PaperSize--> - <element type="property"> - <source id="Access.Printer.PaperSize"> - <context kind="class">Printer</context> - <name>PaperSize</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.Port {ReadOnly}--> - <element type="property"> - <source id="Access.Printer.Port"> - <context kind="class">Printer</context> - <name>Port</name> - <type>String</type> - </source> - </element> - <!--property::Printer.PrintQuality--> - <element type="property"> - <source id="Access.Printer.PrintQuality"> - <context kind="class">Printer</context> - <name>PrintQuality</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.RightMargin--> - <element type="property"> - <source id="Access.Printer.RightMargin"> - <context kind="class">Printer</context> - <name>RightMargin</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.RowSpacing--> - <element type="property"> - <source id="Access.Printer.RowSpacing"> - <context kind="class">Printer</context> - <name>RowSpacing</name> - <type>Integer</type> - </source> - </element> - <!--property::Printer.TopMargin--> - <element type="property"> - <source id="Access.Printer.TopMargin"> - <context kind="class">Printer</context> - <name>TopMargin</name> - <type>Integer</type> - </source> - </element> - <!--Class::Printers--> - <element type="class"> - <source id="Access.Printers"> - <name>Printers</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Printers.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Printers.Application"> - <context kind="class">Printers</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Printers.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Printers.Count"> - <context kind="class">Printers</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Printers.IsMemberSafe--> - <element type="method"> - <source id="Access.Printers.IsMemberSafe"> - <context kind="class">Printers</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Printers.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Printers.Item"> - <context kind="class">Printers</context> - <name default="true">Item</name> - <type>_Printer</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Printers.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Printers.Parent"> - <context kind="class">Printers</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--enum::ProcKind {Enumeration}--> - <element type="enumeration"> - <source id="Access.ProcKind"> - <name>ProcKind</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::Get {Constant}--> - <element type="constant"> - <source id="Access.ProcKind.Get"> - <context kind="enumeration">ProcKind</context> - <name>Get</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::Let {Constant}--> - <element type="constant"> - <source id="Access.ProcKind.Let"> - <context kind="enumeration">ProcKind</context> - <name>Let</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::Proc {Constant}--> - <element type="constant"> - <source id="Access.ProcKind.Proc"> - <context kind="enumeration">ProcKind</context> - <name>Proc</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::Set {Constant}--> - <element type="constant"> - <source id="Access.ProcKind.Set"> - <context kind="enumeration">ProcKind</context> - <name>Set</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--Class::Properties--> - <element type="class"> - <source id="Access.Properties"> - <name>Properties</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Properties.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Properties.Application"> - <context kind="class">Properties</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Properties.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Properties.Count"> - <context kind="class">Properties</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Properties.IsMemberSafe--> - <element type="method"> - <source id="Access.Properties.IsMemberSafe"> - <context kind="class">Properties</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Properties.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Properties.Item"> - <context kind="class">Properties</context> - <name default="true">Item</name> - <type>Propertie</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Properties.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Properties.Parent"> - <context kind="class">Properties</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::Rectangle--> - <element type="class"> - <source id="Access.Rectangle"> - <name>Rectangle</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Rectangle.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Rectangle.Application"> - <context kind="class">Rectangle</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Rectangle.BackColor--> - <element type="property"> - <source id="Access.Rectangle.BackColor"> - <context kind="class">Rectangle</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Rectangle.BackStyle--> - <element type="property"> - <source id="Access.Rectangle.BackStyle"> - <context kind="class">Rectangle</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.BorderColor--> - <element type="property"> - <source id="Access.Rectangle.BorderColor"> - <context kind="class">Rectangle</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Rectangle.BorderLineStyle--> - <element type="property"> - <source id="Access.Rectangle.BorderLineStyle"> - <context kind="class">Rectangle</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.BorderStyle--> - <element type="property"> - <source id="Access.Rectangle.BorderStyle"> - <context kind="class">Rectangle</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.BorderWidth--> - <element type="property"> - <source id="Access.Rectangle.BorderWidth"> - <context kind="class">Rectangle</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.ControlName--> - <element type="property"> - <source id="Access.Rectangle.ControlName"> - <context kind="class">Rectangle</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.ControlType--> - <element type="property"> - <source id="Access.Rectangle.ControlType"> - <context kind="class">Rectangle</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.DisplayWhen--> - <element type="property"> - <source id="Access.Rectangle.DisplayWhen"> - <context kind="class">Rectangle</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.EventProcPrefix--> - <element type="property"> - <source id="Access.Rectangle.EventProcPrefix"> - <context kind="class">Rectangle</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.Height--> - <element type="property"> - <source id="Access.Rectangle.Height"> - <context kind="class">Rectangle</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Rectangle.InSelection--> - <element type="property"> - <source id="Access.Rectangle.InSelection"> - <context kind="class">Rectangle</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Rectangle.IsMemberSafe--> - <element type="method"> - <source id="Access.Rectangle.IsMemberSafe"> - <context kind="class">Rectangle</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Rectangle.IsVisible--> - <element type="property"> - <source id="Access.Rectangle.IsVisible"> - <context kind="class">Rectangle</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::Rectangle.Left--> - <element type="property"> - <source id="Access.Rectangle.Left"> - <context kind="class">Rectangle</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::Rectangle.Move--> - <element type="method"> - <source id="Access.Rectangle.Move"> - <context kind="class">Rectangle</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Rectangle.Name--> - <element type="property"> - <source id="Access.Rectangle.Name"> - <context kind="class">Rectangle</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.OldBorderStyle--> - <element type="property"> - <source id="Access.Rectangle.OldBorderStyle"> - <context kind="class">Rectangle</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.OnClick--> - <element type="property"> - <source id="Access.Rectangle.OnClick"> - <context kind="class">Rectangle</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.OnDblClick--> - <element type="property"> - <source id="Access.Rectangle.OnDblClick"> - <context kind="class">Rectangle</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.OnMouseDown--> - <element type="property"> - <source id="Access.Rectangle.OnMouseDown"> - <context kind="class">Rectangle</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.OnMouseMove--> - <element type="property"> - <source id="Access.Rectangle.OnMouseMove"> - <context kind="class">Rectangle</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.OnMouseUp--> - <element type="property"> - <source id="Access.Rectangle.OnMouseUp"> - <context kind="class">Rectangle</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Rectangle.Parent"> - <context kind="class">Rectangle</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Rectangle.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Rectangle.Properties"> - <context kind="class">Rectangle</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Rectangle.Section--> - <element type="property"> - <source id="Access.Rectangle.Section"> - <context kind="class">Rectangle</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::Rectangle.SizeToFit--> - <element type="method"> - <source id="Access.Rectangle.SizeToFit"> - <context kind="class">Rectangle</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::Rectangle.SpecialEffect--> - <element type="property"> - <source id="Access.Rectangle.SpecialEffect"> - <context kind="class">Rectangle</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Rectangle.Tag--> - <element type="property"> - <source id="Access.Rectangle.Tag"> - <context kind="class">Rectangle</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Rectangle.Top--> - <element type="property"> - <source id="Access.Rectangle.Top"> - <context kind="class">Rectangle</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::Rectangle.Visible--> - <element type="property"> - <source id="Access.Rectangle.Visible"> - <context kind="class">Rectangle</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Rectangle.Width--> - <element type="property"> - <source id="Access.Rectangle.Width"> - <context kind="class">Rectangle</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::Reference--> - <element type="class"> - <source id="Access.Reference"> - <name>Reference</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Reference.BuiltIn {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.BuiltIn"> - <context kind="class">Reference</context> - <name>BuiltIn</name> - <type>boolean</type> - </source> - </element> - <!--property::Reference.Collection {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Collection"> - <context kind="class">Reference</context> - <name>Collection</name> - <type>References</type> - </source> - </element> - <!--property::Reference.FullPath {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.FullPath"> - <context kind="class">Reference</context> - <name>FullPath</name> - <type>String</type> - </source> - </element> - <!--property::Reference.Guid {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Guid"> - <context kind="class">Reference</context> - <name>Guid</name> - <type>String</type> - </source> - </element> - <!--property::Reference.IsBroken {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.IsBroken"> - <context kind="class">Reference</context> - <name>IsBroken</name> - <type>boolean</type> - </source> - </element> - <!--method::Reference.IsMemberSafe--> - <element type="method"> - <source id="Access.Reference.IsMemberSafe"> - <context kind="class">Reference</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Reference.Kind {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Kind"> - <context kind="class">Reference</context> - <name>Kind</name> - <type>Integer</type> - </source> - </element> - <!--property::Reference.Major {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Major"> - <context kind="class">Reference</context> - <name>Major</name> - <type>Integer</type> - </source> - </element> - <!--property::Reference.Minor {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Minor"> - <context kind="class">Reference</context> - <name>Minor</name> - <type>Integer</type> - </source> - </element> - <!--property::Reference.Name {ReadOnly}--> - <element type="property"> - <source id="Access.Reference.Name"> - <context kind="class">Reference</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--Class::References--> - <element type="class"> - <source id="Access.References"> - <name>References</name> - </source> - <destination designation="identity" /> - </element> - <!--method::References.AddFromFile--> - <element type="method"> - <source id="Access.References.AddFromFile"> - <context kind="class">References</context> - <name>AddFromFile</name> - <type>Reference</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FileName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::References.AddFromGuid--> - <element type="method"> - <source id="Access.References.AddFromGuid"> - <context kind="class">References</context> - <name>AddFromGuid</name> - <type>Reference</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Guid</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Major</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Minor</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::References.Count {ReadOnly}--> - <element type="property"> - <source id="Access.References.Count"> - <context kind="class">References</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::References.IsMemberSafe--> - <element type="method"> - <source id="Access.References.IsMemberSafe"> - <context kind="class">References</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::References.Item {Default}--> - <element type="method"> - <source id="Access.References.Item"> - <context kind="class">References</context> - <name default="true">Item</name> - <type>Reference</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>var</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::References.ItemAdded {Default}--> - <element type="method"> - <source id="Access.References.ItemAdded"> - <context kind="class">References</context> - <name default="true">ItemAdded</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Reference</type> - <name>Reference</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::References.ItemRemoved--> - <element type="method"> - <source id="Access.References.ItemRemoved"> - <context kind="class">References</context> - <name>ItemRemoved</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Reference</type> - <name>Reference</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::References.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.References.Parent"> - <context kind="class">References</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--method::References.Remove--> - <element type="method"> - <source id="Access.References.Remove"> - <context kind="class">References</context> - <name>Remove</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Reference</type> - <name>Reference</name> - </parameter> - </parameter-list> - </source> - </element> - <!--enum::RefKind {Enumeration}--> - <element type="enumeration"> - <source id="Access.RefKind"> - <name>RefKind</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::Project {Constant}--> - <element type="constant"> - <source id="Access.RefKind.Project"> - <context kind="enumeration">RefKind</context> - <name>Project</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::TypeLib {Constant}--> - <element type="constant"> - <source id="Access.RefKind.TypeLib"> - <context kind="enumeration">RefKind</context> - <name>TypeLib</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--Class::Report--> - <element type="class"> - <source id="Access.Report"> - <name>Report</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Report.acHiddenCurrentPage--> - <element type="property"> - <source id="Access.Report.acHiddenCurrentPage"> - <context kind="class">Report</context> - <name>acHiddenCurrentPage</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.ActiveControl {ReadOnly}--> - <element type="property"> - <source id="Access.Report.ActiveControl"> - <context kind="class">Report</context> - <name>ActiveControl</name> - <type>Control</type> - </source> - </element> - <!--property::Report.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Application"> - <context kind="class">Report</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Report.AutoCenter--> - <element type="property"> - <source id="Access.Report.AutoCenter"> - <context kind="class">Report</context> - <name>AutoCenter</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.AutoResize--> - <element type="property"> - <source id="Access.Report.AutoResize"> - <context kind="class">Report</context> - <name>AutoResize</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.BorderStyle--> - <element type="property"> - <source id="Access.Report.BorderStyle"> - <context kind="class">Report</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::Report.Caption--> - <element type="property"> - <source id="Access.Report.Caption"> - <context kind="class">Report</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--method::Report.Circle--> - <element type="method"> - <source id="Access.Report.Circle"> - <context kind="class">Report</context> - <name>Circle</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>X</name> - </parameter> - <parameter> - <type>Single</type> - <name>Y</name> - </parameter> - <parameter> - <type>Single</type> - <name>radius</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - <parameter> - <type>Single</type> - <name>start</name> - </parameter> - <parameter> - <type>Single</type> - <name>end</name> - </parameter> - <parameter> - <type>Single</type> - <name>aspect</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.CloseButton--> - <element type="property"> - <source id="Access.Report.CloseButton"> - <context kind="class">Report</context> - <name>CloseButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.ControlBox--> - <element type="property"> - <source id="Access.Report.ControlBox"> - <context kind="class">Report</context> - <name>ControlBox</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Controls {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Controls"> - <context kind="class">Report</context> - <name default="true">Controls</name> - <type>Controls</type> - </source> - </element> - <!--property::Report.Count--> - <element type="property"> - <source id="Access.Report.Count"> - <context kind="class">Report</context> - <name>Count</name> - <type>short</type> - </source> - </element> - <!--property::Report.CurrentRecord--> - <element type="property"> - <source id="Access.Report.CurrentRecord"> - <context kind="class">Report</context> - <name>CurrentRecord</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.CurrentX--> - <element type="property"> - <source id="Access.Report.CurrentX"> - <context kind="class">Report</context> - <name>CurrentX</name> - <type>Single</type> - </source> - </element> - <!--property::Report.CurrentY--> - <element type="property"> - <source id="Access.Report.CurrentY"> - <context kind="class">Report</context> - <name>CurrentY</name> - <type>Single</type> - </source> - </element> - <!--property::Report.DateGrouping--> - <element type="property"> - <source id="Access.Report.DateGrouping"> - <context kind="class">Report</context> - <name>DateGrouping</name> - <type>byte</type> - </source> - </element> - <!--property::Report.DefaultControl {ReadOnly}--> - <element type="property"> - <source id="Access.Report.DefaultControl"> - <context kind="class">Report</context> - <name>DefaultControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.Dirty--> - <element type="property"> - <source id="Access.Report.Dirty"> - <context kind="class">Report</context> - <name>Dirty</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.DrawMode--> - <element type="property"> - <source id="Access.Report.DrawMode"> - <context kind="class">Report</context> - <name>DrawMode</name> - <type>short</type> - </source> - </element> - <!--property::Report.DrawStyle--> - <element type="property"> - <source id="Access.Report.DrawStyle"> - <context kind="class">Report</context> - <name>DrawStyle</name> - <type>short</type> - </source> - </element> - <!--property::Report.DrawWidth--> - <element type="property"> - <source id="Access.Report.DrawWidth"> - <context kind="class">Report</context> - <name>DrawWidth</name> - <type>short</type> - </source> - </element> - <!--property::Report.FastLaserPrinting--> - <element type="property"> - <source id="Access.Report.FastLaserPrinting"> - <context kind="class">Report</context> - <name>FastLaserPrinting</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.FillColor--> - <element type="property"> - <source id="Access.Report.FillColor"> - <context kind="class">Report</context> - <name>FillColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.FillStyle--> - <element type="property"> - <source id="Access.Report.FillStyle"> - <context kind="class">Report</context> - <name>FillStyle</name> - <type>short</type> - </source> - </element> - <!--property::Report.Filter--> - <element type="property"> - <source id="Access.Report.Filter"> - <context kind="class">Report</context> - <name>Filter</name> - <type>String</type> - </source> - </element> - <!--property::Report.FilterOn--> - <element type="property"> - <source id="Access.Report.FilterOn"> - <context kind="class">Report</context> - <name>FilterOn</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.FontBold--> - <element type="property"> - <source id="Access.Report.FontBold"> - <context kind="class">Report</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::Report.FontItalic--> - <element type="property"> - <source id="Access.Report.FontItalic"> - <context kind="class">Report</context> - <name>FontItalic</name> - <type>short</type> - </source> - </element> - <!--property::Report.FontName--> - <element type="property"> - <source id="Access.Report.FontName"> - <context kind="class">Report</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::Report.FontSize--> - <element type="property"> - <source id="Access.Report.FontSize"> - <context kind="class">Report</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::Report.FontUnderline--> - <element type="property"> - <source id="Access.Report.FontUnderline"> - <context kind="class">Report</context> - <name>FontUnderline</name> - <type>short</type> - </source> - </element> - <!--property::Report.ForeColor--> - <element type="property"> - <source id="Access.Report.ForeColor"> - <context kind="class">Report</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.FormatCount--> - <element type="property"> - <source id="Access.Report.FormatCount"> - <context kind="class">Report</context> - <name>FormatCount</name> - <type>short</type> - </source> - </element> - <!--property::Report.FormName--> - <element type="property"> - <source id="Access.Report.FormName"> - <context kind="class">Report</context> - <name>FormName</name> - <type>String</type> - </source> - </element> - <!--property::Report.GridX--> - <element type="property"> - <source id="Access.Report.GridX"> - <context kind="class">Report</context> - <name>GridX</name> - <type>short</type> - </source> - </element> - <!--property::Report.GridY--> - <element type="property"> - <source id="Access.Report.GridY"> - <context kind="class">Report</context> - <name>GridY</name> - <type>short</type> - </source> - </element> - <!--property::Report.GroupLevel {ReadOnly}--> - <element type="property"> - <source id="Access.Report.GroupLevel"> - <context kind="class">Report</context> - <name>GroupLevel</name> - <type>GroupLevel</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.GrpKeepTogether--> - <element type="property"> - <source id="Access.Report.GrpKeepTogether"> - <context kind="class">Report</context> - <name>GrpKeepTogether</name> - <type>byte</type> - </source> - </element> - <!--property::Report.HasData--> - <element type="property"> - <source id="Access.Report.HasData"> - <context kind="class">Report</context> - <name>HasData</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.HasModule--> - <element type="property"> - <source id="Access.Report.HasModule"> - <context kind="class">Report</context> - <name>HasModule</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Height--> - <element type="property"> - <source id="Access.Report.Height"> - <context kind="class">Report</context> - <name>Height</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.HelpContextId--> - <element type="property"> - <source id="Access.Report.HelpContextId"> - <context kind="class">Report</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.HelpFile--> - <element type="property"> - <source id="Access.Report.HelpFile"> - <context kind="class">Report</context> - <name>HelpFile</name> - <type>String</type> - </source> - </element> - <!--property::Report.Hwnd--> - <element type="property"> - <source id="Access.Report.Hwnd"> - <context kind="class">Report</context> - <name>Hwnd</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.InputParameters--> - <element type="property"> - <source id="Access.Report.InputParameters"> - <context kind="class">Report</context> - <name>InputParameters</name> - <type>String</type> - </source> - </element> - <!--property::Report.LayoutForPrint--> - <element type="property"> - <source id="Access.Report.LayoutForPrint"> - <context kind="class">Report</context> - <name>LayoutForPrint</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Left--> - <element type="property"> - <source id="Access.Report.Left"> - <context kind="class">Report</context> - <name>Left</name> - <type>Integer</type> - </source> - </element> - <!--method::Report.Line--> - <element type="method"> - <source id="Access.Report.Line"> - <context kind="class">Report</context> - <name>Line</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>x1</name> - </parameter> - <parameter> - <type>Single</type> - <name>y1</name> - </parameter> - <parameter> - <type>Single</type> - <name>x2</name> - </parameter> - <parameter> - <type>Single</type> - <name>y2</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.LogicalPageHeight--> - <element type="property"> - <source id="Access.Report.LogicalPageHeight"> - <context kind="class">Report</context> - <name>LogicalPageHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.LogicalPageWidth--> - <element type="property"> - <source id="Access.Report.LogicalPageWidth"> - <context kind="class">Report</context> - <name>LogicalPageWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.MaxButton--> - <element type="property"> - <source id="Access.Report.MaxButton"> - <context kind="class">Report</context> - <name>MaxButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.MenuBar--> - <element type="property"> - <source id="Access.Report.MenuBar"> - <context kind="class">Report</context> - <name>MenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Report.MinButton--> - <element type="property"> - <source id="Access.Report.MinButton"> - <context kind="class">Report</context> - <name>MinButton</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.MinMaxButtons--> - <element type="property"> - <source id="Access.Report.MinMaxButtons"> - <context kind="class">Report</context> - <name>MinMaxButtons</name> - <type>byte</type> - </source> - </element> - <!--property::Report.Modal--> - <element type="property"> - <source id="Access.Report.Modal"> - <context kind="class">Report</context> - <name>Modal</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Module {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Module"> - <context kind="class">Report</context> - <name>Module</name> - <type>Module</type> - </source> - </element> - <!--method::Report.Move--> - <element type="method"> - <source id="Access.Report.Move"> - <context kind="class">Report</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.Moveable--> - <element type="property"> - <source id="Access.Report.Moveable"> - <context kind="class">Report</context> - <name>Moveable</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.MoveLayout--> - <element type="property"> - <source id="Access.Report.MoveLayout"> - <context kind="class">Report</context> - <name>MoveLayout</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Name--> - <element type="property"> - <source id="Access.Report.Name"> - <context kind="class">Report</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Report.NextRecord--> - <element type="property"> - <source id="Access.Report.NextRecord"> - <context kind="class">Report</context> - <name>NextRecord</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.OnActivate--> - <element type="property"> - <source id="Access.Report.OnActivate"> - <context kind="class">Report</context> - <name>OnActivate</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnClose--> - <element type="property"> - <source id="Access.Report.OnClose"> - <context kind="class">Report</context> - <name>OnClose</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnDeactivate--> - <element type="property"> - <source id="Access.Report.OnDeactivate"> - <context kind="class">Report</context> - <name>OnDeactivate</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnError--> - <element type="property"> - <source id="Access.Report.OnError"> - <context kind="class">Report</context> - <name>OnError</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnMenu--> - <element type="property"> - <source id="Access.Report.OnMenu"> - <context kind="class">Report</context> - <name>OnMenu</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnNoData--> - <element type="property"> - <source id="Access.Report.OnNoData"> - <context kind="class">Report</context> - <name>OnNoData</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnOpen--> - <element type="property"> - <source id="Access.Report.OnOpen"> - <context kind="class">Report</context> - <name>OnOpen</name> - <type>String</type> - </source> - </element> - <!--property::Report.OnPage--> - <element type="property"> - <source id="Access.Report.OnPage"> - <context kind="class">Report</context> - <name>OnPage</name> - <type>String</type> - </source> - </element> - <!--property::Report.OpenArgs--> - <element type="property"> - <source id="Access.Report.OpenArgs"> - <context kind="class">Report</context> - <name>OpenArgs</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.OrderBy--> - <element type="property"> - <source id="Access.Report.OrderBy"> - <context kind="class">Report</context> - <name>OrderBy</name> - <type>String</type> - </source> - </element> - <!--property::Report.OrderByOn--> - <element type="property"> - <source id="Access.Report.OrderByOn"> - <context kind="class">Report</context> - <name>OrderByOn</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Orientation--> - <element type="property"> - <source id="Access.Report.Orientation"> - <context kind="class">Report</context> - <name>Orientation</name> - <type>byte</type> - </source> - </element> - <!--property::Report.Page--> - <element type="property"> - <source id="Access.Report.Page"> - <context kind="class">Report</context> - <name>Page</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.PageFooter--> - <element type="property"> - <source id="Access.Report.PageFooter"> - <context kind="class">Report</context> - <name>PageFooter</name> - <type>byte</type> - </source> - </element> - <!--property::Report.PageHeader--> - <element type="property"> - <source id="Access.Report.PageHeader"> - <context kind="class">Report</context> - <name>PageHeader</name> - <type>byte</type> - </source> - </element> - <!--property::Report.Pages--> - <element type="property"> - <source id="Access.Report.Pages"> - <context kind="class">Report</context> - <name>Pages</name> - <type>short</type> - </source> - </element> - <!--property::Report.Painting--> - <element type="property"> - <source id="Access.Report.Painting"> - <context kind="class">Report</context> - <name>Painting</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.PaintPalette--> - <element type="property"> - <source id="Access.Report.PaintPalette"> - <context kind="class">Report</context> - <name>PaintPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.PaletteSource--> - <element type="property"> - <source id="Access.Report.PaletteSource"> - <context kind="class">Report</context> - <name>PaletteSource</name> - <type>String</type> - </source> - </element> - <!--property::Report.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Parent"> - <context kind="class">Report</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Report.Picture--> - <element type="property"> - <source id="Access.Report.Picture"> - <context kind="class">Report</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::Report.PictureAlignment--> - <element type="property"> - <source id="Access.Report.PictureAlignment"> - <context kind="class">Report</context> - <name>PictureAlignment</name> - <type>byte</type> - </source> - </element> - <!--property::Report.PictureData--> - <element type="property"> - <source id="Access.Report.PictureData"> - <context kind="class">Report</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.PicturePages--> - <element type="property"> - <source id="Access.Report.PicturePages"> - <context kind="class">Report</context> - <name>PicturePages</name> - <type>byte</type> - </source> - </element> - <!--property::Report.PicturePalette--> - <element type="property"> - <source id="Access.Report.PicturePalette"> - <context kind="class">Report</context> - <name>PicturePalette</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.PictureSizeMode--> - <element type="property"> - <source id="Access.Report.PictureSizeMode"> - <context kind="class">Report</context> - <name>PictureSizeMode</name> - <type>byte</type> - </source> - </element> - <!--property::Report.PictureTiling--> - <element type="property"> - <source id="Access.Report.PictureTiling"> - <context kind="class">Report</context> - <name>PictureTiling</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.PictureType--> - <element type="property"> - <source id="Access.Report.PictureType"> - <context kind="class">Report</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::Report.PopUp--> - <element type="property"> - <source id="Access.Report.PopUp"> - <context kind="class">Report</context> - <name>PopUp</name> - <type>boolean</type> - </source> - </element> - <!--method::Report.Print--> - <element type="method"> - <source id="Access.Report.Print"> - <context kind="class">Report</context> - <name>Print</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.PrintCount--> - <element type="property"> - <source id="Access.Report.PrintCount"> - <context kind="class">Report</context> - <name>PrintCount</name> - <type>short</type> - </source> - </element> - <!--property::Report.Printer--> - <element type="property"> - <source id="Access.Report.Printer"> - <context kind="class">Report</context> - <name>Printer</name> - <type>_Printer</type> - </source> - </element> - <!--property::Report.PrintSection--> - <element type="property"> - <source id="Access.Report.PrintSection"> - <context kind="class">Report</context> - <name>PrintSection</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Properties"> - <context kind="class">Report</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Report.PrtDevMode--> - <element type="property"> - <source id="Access.Report.PrtDevMode"> - <context kind="class">Report</context> - <name>PrtDevMode</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.PrtDevNames--> - <element type="property"> - <source id="Access.Report.PrtDevNames"> - <context kind="class">Report</context> - <name>PrtDevNames</name> - <type>Variant</type> - </source> - </element> - <!--property::Report.PrtMip--> - <element type="property"> - <source id="Access.Report.PrtMip"> - <context kind="class">Report</context> - <name>PrtMip</name> - <type>Variant</type> - </source> - </element> - <!--method::Report.PSet--> - <element type="method"> - <source id="Access.Report.PSet"> - <context kind="class">Report</context> - <name>PSet</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>X</name> - </parameter> - <parameter> - <type>Single</type> - <name>Y</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.RecordLocks--> - <element type="property"> - <source id="Access.Report.RecordLocks"> - <context kind="class">Report</context> - <name>RecordLocks</name> - <type>byte</type> - </source> - </element> - <!--property::Report.Recordset {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Recordset"> - <context kind="class">Report</context> - <name>Recordset</name> - <type>Object</type> - </source> - </element> - <!--property::Report.RecordSource--> - <element type="property"> - <source id="Access.Report.RecordSource"> - <context kind="class">Report</context> - <name>RecordSource</name> - <type>String</type> - </source> - </element> - <!--property::Report.RecordSourceQualifier--> - <element type="property"> - <source id="Access.Report.RecordSourceQualifier"> - <context kind="class">Report</context> - <name>RecordSourceQualifier</name> - <type>String</type> - </source> - </element> - <!--property::Report.Report {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Report"> - <context kind="class">Report</context> - <name>Report</name> - <type>Report</type> - </source> - </element> - <!--method::Report.Scale--> - <element type="method"> - <source id="Access.Report.Scale"> - <context kind="class">Report</context> - <name>Scale</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>x1</name> - </parameter> - <parameter> - <type>Single</type> - <name>y1</name> - </parameter> - <parameter> - <type>Single</type> - <name>x2</name> - </parameter> - <parameter> - <type>Single</type> - <name>y2</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.ScaleHeight--> - <element type="property"> - <source id="Access.Report.ScaleHeight"> - <context kind="class">Report</context> - <name>ScaleHeight</name> - <type>Single</type> - </source> - </element> - <!--property::Report.ScaleLeft--> - <element type="property"> - <source id="Access.Report.ScaleLeft"> - <context kind="class">Report</context> - <name>ScaleLeft</name> - <type>Single</type> - </source> - </element> - <!--property::Report.ScaleMode--> - <element type="property"> - <source id="Access.Report.ScaleMode"> - <context kind="class">Report</context> - <name>ScaleMode</name> - <type>short</type> - </source> - </element> - <!--property::Report.ScaleTop--> - <element type="property"> - <source id="Access.Report.ScaleTop"> - <context kind="class">Report</context> - <name>ScaleTop</name> - <type>Single</type> - </source> - </element> - <!--property::Report.ScaleWidth--> - <element type="property"> - <source id="Access.Report.ScaleWidth"> - <context kind="class">Report</context> - <name>ScaleWidth</name> - <type>Single</type> - </source> - </element> - <!--property::Report.Section {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Section"> - <context kind="class">Report</context> - <name>Section</name> - <type>Section</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.ServerFilter--> - <element type="property"> - <source id="Access.Report.ServerFilter"> - <context kind="class">Report</context> - <name>ServerFilter</name> - <type>String</type> - </source> - </element> - <!--property::Report.Shape {ReadOnly}--> - <element type="property"> - <source id="Access.Report.Shape"> - <context kind="class">Report</context> - <name>Shape</name> - <type>String</type> - </source> - </element> - <!--property::Report.ShortcutMenuBar--> - <element type="property"> - <source id="Access.Report.ShortcutMenuBar"> - <context kind="class">Report</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::Report.Tag--> - <element type="property"> - <source id="Access.Report.Tag"> - <context kind="class">Report</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--method::Report.TextHeight--> - <element type="method"> - <source id="Access.Report.TextHeight"> - <context kind="class">Report</context> - <name>TextHeight</name> - <type>Single</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Report.TextWidth--> - <element type="method"> - <source id="Access.Report.TextWidth"> - <context kind="class">Report</context> - <name>TextWidth</name> - <type>Single</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Report.Toolbar--> - <element type="property"> - <source id="Access.Report.Toolbar"> - <context kind="class">Report</context> - <name>Toolbar</name> - <type>String</type> - </source> - </element> - <!--property::Report.Top--> - <element type="property"> - <source id="Access.Report.Top"> - <context kind="class">Report</context> - <name>Top</name> - <type>Integer</type> - </source> - </element> - <!--property::Report.UseDefaultPrinter--> - <element type="property"> - <source id="Access.Report.UseDefaultPrinter"> - <context kind="class">Report</context> - <name>UseDefaultPrinter</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Visible--> - <element type="property"> - <source id="Access.Report.Visible"> - <context kind="class">Report</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Report.Width--> - <element type="property"> - <source id="Access.Report.Width"> - <context kind="class">Report</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::Report.WindowHeight--> - <element type="property"> - <source id="Access.Report.WindowHeight"> - <context kind="class">Report</context> - <name>WindowHeight</name> - <type>short</type> - </source> - </element> - <!--property::Report.WindowLeft {ReadOnly}--> - <element type="property"> - <source id="Access.Report.WindowLeft"> - <context kind="class">Report</context> - <name>WindowLeft</name> - <type>short</type> - </source> - </element> - <!--property::Report.WindowTop {ReadOnly}--> - <element type="property"> - <source id="Access.Report.WindowTop"> - <context kind="class">Report</context> - <name>WindowTop</name> - <type>short</type> - </source> - </element> - <!--property::Report.WindowWidth--> - <element type="property"> - <source id="Access.Report.WindowWidth"> - <context kind="class">Report</context> - <name>WindowWidth</name> - <type>short</type> - </source> - </element> - <!--property::Report.ZoomControl--> - <element type="property"> - <source id="Access.Report.ZoomControl"> - <context kind="class">Report</context> - <name>ZoomControl</name> - <type>Integer</type> - </source> - </element> - <!--Class::ReportOld--> - <element type="class"> - <source id="Access.ReportOld"> - <name>ReportOld</name> - </source> - <destination designation="identity" /> - </element> - <!--property::ReportOld.acHiddenCurrentPage--> - <element type="property"> - <source id="Access.ReportOld.acHiddenCurrentPage"> - <context kind="class">ReportOld</context> - <name>acHiddenCurrentPage</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.ActiveControl {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.ActiveControl"> - <context kind="class">ReportOld</context> - <name>ActiveControl</name> - <type>Control</type> - </source> - </element> - <!--property::ReportOld.Application {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Application"> - <context kind="class">ReportOld</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::ReportOld.Caption--> - <element type="property"> - <source id="Access.ReportOld.Caption"> - <context kind="class">ReportOld</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--method::ReportOld.Circle--> - <element type="method"> - <source id="Access.ReportOld.Circle"> - <context kind="class">ReportOld</context> - <name>Circle</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>X</name> - </parameter> - <parameter> - <type>Single</type> - <name>Y</name> - </parameter> - <parameter> - <type>Single</type> - <name>radius</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - <parameter> - <type>Single</type> - <name>start</name> - </parameter> - <parameter> - <type>Single</type> - <name>end</name> - </parameter> - <parameter> - <type>Single</type> - <name>aspect</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.Controls {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Controls"> - <context kind="class">ReportOld</context> - <name default="true">Controls</name> - <type>Controls</type> - </source> - </element> - <!--property::ReportOld.Count--> - <element type="property"> - <source id="Access.ReportOld.Count"> - <context kind="class">ReportOld</context> - <name>Count</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.CurrentRecord--> - <element type="property"> - <source id="Access.ReportOld.CurrentRecord"> - <context kind="class">ReportOld</context> - <name>CurrentRecord</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.CurrentX--> - <element type="property"> - <source id="Access.ReportOld.CurrentX"> - <context kind="class">ReportOld</context> - <name>CurrentX</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.CurrentY--> - <element type="property"> - <source id="Access.ReportOld.CurrentY"> - <context kind="class">ReportOld</context> - <name>CurrentY</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.DateGrouping--> - <element type="property"> - <source id="Access.ReportOld.DateGrouping"> - <context kind="class">ReportOld</context> - <name>DateGrouping</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.DefaultControl {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.DefaultControl"> - <context kind="class">ReportOld</context> - <name>DefaultControl</name> - <type>Control</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>ControlType</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.Dirty--> - <element type="property"> - <source id="Access.ReportOld.Dirty"> - <context kind="class">ReportOld</context> - <name>Dirty</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.DrawMode--> - <element type="property"> - <source id="Access.ReportOld.DrawMode"> - <context kind="class">ReportOld</context> - <name>DrawMode</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.DrawStyle--> - <element type="property"> - <source id="Access.ReportOld.DrawStyle"> - <context kind="class">ReportOld</context> - <name>DrawStyle</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.DrawWidth--> - <element type="property"> - <source id="Access.ReportOld.DrawWidth"> - <context kind="class">ReportOld</context> - <name>DrawWidth</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.FastLaserPrinting--> - <element type="property"> - <source id="Access.ReportOld.FastLaserPrinting"> - <context kind="class">ReportOld</context> - <name>FastLaserPrinting</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.FillColor--> - <element type="property"> - <source id="Access.ReportOld.FillColor"> - <context kind="class">ReportOld</context> - <name>FillColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.FillStyle--> - <element type="property"> - <source id="Access.ReportOld.FillStyle"> - <context kind="class">ReportOld</context> - <name>FillStyle</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.Filter--> - <element type="property"> - <source id="Access.ReportOld.Filter"> - <context kind="class">ReportOld</context> - <name>Filter</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.FilterOn--> - <element type="property"> - <source id="Access.ReportOld.FilterOn"> - <context kind="class">ReportOld</context> - <name>FilterOn</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.FontBold--> - <element type="property"> - <source id="Access.ReportOld.FontBold"> - <context kind="class">ReportOld</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.FontItalic--> - <element type="property"> - <source id="Access.ReportOld.FontItalic"> - <context kind="class">ReportOld</context> - <name>FontItalic</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.FontName--> - <element type="property"> - <source id="Access.ReportOld.FontName"> - <context kind="class">ReportOld</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.FontSize--> - <element type="property"> - <source id="Access.ReportOld.FontSize"> - <context kind="class">ReportOld</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.FontUnderline--> - <element type="property"> - <source id="Access.ReportOld.FontUnderline"> - <context kind="class">ReportOld</context> - <name>FontUnderline</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.ForeColor--> - <element type="property"> - <source id="Access.ReportOld.ForeColor"> - <context kind="class">ReportOld</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.FormatCount--> - <element type="property"> - <source id="Access.ReportOld.FormatCount"> - <context kind="class">ReportOld</context> - <name>FormatCount</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.FormName--> - <element type="property"> - <source id="Access.ReportOld.FormName"> - <context kind="class">ReportOld</context> - <name>FormName</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.GridX--> - <element type="property"> - <source id="Access.ReportOld.GridX"> - <context kind="class">ReportOld</context> - <name>GridX</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.GridY--> - <element type="property"> - <source id="Access.ReportOld.GridY"> - <context kind="class">ReportOld</context> - <name>GridY</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.GroupLevel {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.GroupLevel"> - <context kind="class">ReportOld</context> - <name>GroupLevel</name> - <type>GroupLevel</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.GrpKeepTogether--> - <element type="property"> - <source id="Access.ReportOld.GrpKeepTogether"> - <context kind="class">ReportOld</context> - <name>GrpKeepTogether</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.HasData--> - <element type="property"> - <source id="Access.ReportOld.HasData"> - <context kind="class">ReportOld</context> - <name>HasData</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.HasModule--> - <element type="property"> - <source id="Access.ReportOld.HasModule"> - <context kind="class">ReportOld</context> - <name>HasModule</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Height--> - <element type="property"> - <source id="Access.ReportOld.Height"> - <context kind="class">ReportOld</context> - <name>Height</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.HelpContextId--> - <element type="property"> - <source id="Access.ReportOld.HelpContextId"> - <context kind="class">ReportOld</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.HelpFile--> - <element type="property"> - <source id="Access.ReportOld.HelpFile"> - <context kind="class">ReportOld</context> - <name>HelpFile</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.Hwnd--> - <element type="property"> - <source id="Access.ReportOld.Hwnd"> - <context kind="class">ReportOld</context> - <name>Hwnd</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.InputParameters--> - <element type="property"> - <source id="Access.ReportOld.InputParameters"> - <context kind="class">ReportOld</context> - <name>InputParameters</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.LayoutForPrint--> - <element type="property"> - <source id="Access.ReportOld.LayoutForPrint"> - <context kind="class">ReportOld</context> - <name>LayoutForPrint</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Left--> - <element type="property"> - <source id="Access.ReportOld.Left"> - <context kind="class">ReportOld</context> - <name>Left</name> - <type>Integer</type> - </source> - </element> - <!--method::ReportOld.Line--> - <element type="method"> - <source id="Access.ReportOld.Line"> - <context kind="class">ReportOld</context> - <name>Line</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>x1</name> - </parameter> - <parameter> - <type>Single</type> - <name>y1</name> - </parameter> - <parameter> - <type>Single</type> - <name>x2</name> - </parameter> - <parameter> - <type>Single</type> - <name>y2</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.LogicalPageHeight--> - <element type="property"> - <source id="Access.ReportOld.LogicalPageHeight"> - <context kind="class">ReportOld</context> - <name>LogicalPageHeight</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.LogicalPageWidth--> - <element type="property"> - <source id="Access.ReportOld.LogicalPageWidth"> - <context kind="class">ReportOld</context> - <name>LogicalPageWidth</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.MaxButton--> - <element type="property"> - <source id="Access.ReportOld.MaxButton"> - <context kind="class">ReportOld</context> - <name>MaxButton</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.MenuBar--> - <element type="property"> - <source id="Access.ReportOld.MenuBar"> - <context kind="class">ReportOld</context> - <name>MenuBar</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.MinButton--> - <element type="property"> - <source id="Access.ReportOld.MinButton"> - <context kind="class">ReportOld</context> - <name>MinButton</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Module {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Module"> - <context kind="class">ReportOld</context> - <name>Module</name> - <type>Module</type> - </source> - </element> - <!--property::ReportOld.MoveLayout--> - <element type="property"> - <source id="Access.ReportOld.MoveLayout"> - <context kind="class">ReportOld</context> - <name>MoveLayout</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Name--> - <element type="property"> - <source id="Access.ReportOld.Name"> - <context kind="class">ReportOld</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.NextRecord--> - <element type="property"> - <source id="Access.ReportOld.NextRecord"> - <context kind="class">ReportOld</context> - <name>NextRecord</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.OnActivate--> - <element type="property"> - <source id="Access.ReportOld.OnActivate"> - <context kind="class">ReportOld</context> - <name>OnActivate</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnClose--> - <element type="property"> - <source id="Access.ReportOld.OnClose"> - <context kind="class">ReportOld</context> - <name>OnClose</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnDeactivate--> - <element type="property"> - <source id="Access.ReportOld.OnDeactivate"> - <context kind="class">ReportOld</context> - <name>OnDeactivate</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnError--> - <element type="property"> - <source id="Access.ReportOld.OnError"> - <context kind="class">ReportOld</context> - <name>OnError</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnMenu--> - <element type="property"> - <source id="Access.ReportOld.OnMenu"> - <context kind="class">ReportOld</context> - <name>OnMenu</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnNoData--> - <element type="property"> - <source id="Access.ReportOld.OnNoData"> - <context kind="class">ReportOld</context> - <name>OnNoData</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnOpen--> - <element type="property"> - <source id="Access.ReportOld.OnOpen"> - <context kind="class">ReportOld</context> - <name>OnOpen</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OnPage--> - <element type="property"> - <source id="Access.ReportOld.OnPage"> - <context kind="class">ReportOld</context> - <name>OnPage</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OrderBy--> - <element type="property"> - <source id="Access.ReportOld.OrderBy"> - <context kind="class">ReportOld</context> - <name>OrderBy</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.OrderByOn--> - <element type="property"> - <source id="Access.ReportOld.OrderByOn"> - <context kind="class">ReportOld</context> - <name>OrderByOn</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Orientation--> - <element type="property"> - <source id="Access.ReportOld.Orientation"> - <context kind="class">ReportOld</context> - <name>Orientation</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.Page--> - <element type="property"> - <source id="Access.ReportOld.Page"> - <context kind="class">ReportOld</context> - <name>Page</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.PageFooter--> - <element type="property"> - <source id="Access.ReportOld.PageFooter"> - <context kind="class">ReportOld</context> - <name>PageFooter</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.PageHeader--> - <element type="property"> - <source id="Access.ReportOld.PageHeader"> - <context kind="class">ReportOld</context> - <name>PageHeader</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.Pages--> - <element type="property"> - <source id="Access.ReportOld.Pages"> - <context kind="class">ReportOld</context> - <name>Pages</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.Painting--> - <element type="property"> - <source id="Access.ReportOld.Painting"> - <context kind="class">ReportOld</context> - <name>Painting</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.PaintPalette--> - <element type="property"> - <source id="Access.ReportOld.PaintPalette"> - <context kind="class">ReportOld</context> - <name>PaintPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::ReportOld.PaletteSource--> - <element type="property"> - <source id="Access.ReportOld.PaletteSource"> - <context kind="class">ReportOld</context> - <name>PaletteSource</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Parent"> - <context kind="class">ReportOld</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ReportOld.Picture--> - <element type="property"> - <source id="Access.ReportOld.Picture"> - <context kind="class">ReportOld</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.PictureAlignment--> - <element type="property"> - <source id="Access.ReportOld.PictureAlignment"> - <context kind="class">ReportOld</context> - <name>PictureAlignment</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.PictureData--> - <element type="property"> - <source id="Access.ReportOld.PictureData"> - <context kind="class">ReportOld</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::ReportOld.PicturePages--> - <element type="property"> - <source id="Access.ReportOld.PicturePages"> - <context kind="class">ReportOld</context> - <name>PicturePages</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.PicturePalette--> - <element type="property"> - <source id="Access.ReportOld.PicturePalette"> - <context kind="class">ReportOld</context> - <name>PicturePalette</name> - <type>Variant</type> - </source> - </element> - <!--property::ReportOld.PictureSizeMode--> - <element type="property"> - <source id="Access.ReportOld.PictureSizeMode"> - <context kind="class">ReportOld</context> - <name>PictureSizeMode</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.PictureTiling--> - <element type="property"> - <source id="Access.ReportOld.PictureTiling"> - <context kind="class">ReportOld</context> - <name>PictureTiling</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.PictureType--> - <element type="property"> - <source id="Access.ReportOld.PictureType"> - <context kind="class">ReportOld</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--method::ReportOld.Print--> - <element type="method"> - <source id="Access.ReportOld.Print"> - <context kind="class">ReportOld</context> - <name>Print</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.PrintCount--> - <element type="property"> - <source id="Access.ReportOld.PrintCount"> - <context kind="class">ReportOld</context> - <name>PrintCount</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.PrintSection--> - <element type="property"> - <source id="Access.ReportOld.PrintSection"> - <context kind="class">ReportOld</context> - <name>PrintSection</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Properties"> - <context kind="class">ReportOld</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::ReportOld.PrtDevMode--> - <element type="property"> - <source id="Access.ReportOld.PrtDevMode"> - <context kind="class">ReportOld</context> - <name>PrtDevMode</name> - <type>Variant</type> - </source> - </element> - <!--property::ReportOld.PrtDevNames--> - <element type="property"> - <source id="Access.ReportOld.PrtDevNames"> - <context kind="class">ReportOld</context> - <name>PrtDevNames</name> - <type>Variant</type> - </source> - </element> - <!--property::ReportOld.PrtMip--> - <element type="property"> - <source id="Access.ReportOld.PrtMip"> - <context kind="class">ReportOld</context> - <name>PrtMip</name> - <type>Variant</type> - </source> - </element> - <!--method::ReportOld.PSet--> - <element type="method"> - <source id="Access.ReportOld.PSet"> - <context kind="class">ReportOld</context> - <name>PSet</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>X</name> - </parameter> - <parameter> - <type>Single</type> - <name>Y</name> - </parameter> - <parameter> - <type>Integer</type> - <name>color</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.RecordLocks--> - <element type="property"> - <source id="Access.ReportOld.RecordLocks"> - <context kind="class">ReportOld</context> - <name>RecordLocks</name> - <type>byte</type> - </source> - </element> - <!--property::ReportOld.RecordSource--> - <element type="property"> - <source id="Access.ReportOld.RecordSource"> - <context kind="class">ReportOld</context> - <name>RecordSource</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.Report {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Report"> - <context kind="class">ReportOld</context> - <name>Report</name> - <type>Report</type> - </source> - </element> - <!--method::ReportOld.Scale--> - <element type="method"> - <source id="Access.ReportOld.Scale"> - <context kind="class">ReportOld</context> - <name>Scale</name> - <type>void</type> - <parameter-list> - <parameter> - <type>short</type> - <name>flags</name> - </parameter> - <parameter> - <type>Single</type> - <name>x1</name> - </parameter> - <parameter> - <type>Single</type> - <name>y1</name> - </parameter> - <parameter> - <type>Single</type> - <name>x2</name> - </parameter> - <parameter> - <type>Single</type> - <name>y2</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.ScaleHeight--> - <element type="property"> - <source id="Access.ReportOld.ScaleHeight"> - <context kind="class">ReportOld</context> - <name>ScaleHeight</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.ScaleLeft--> - <element type="property"> - <source id="Access.ReportOld.ScaleLeft"> - <context kind="class">ReportOld</context> - <name>ScaleLeft</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.ScaleMode--> - <element type="property"> - <source id="Access.ReportOld.ScaleMode"> - <context kind="class">ReportOld</context> - <name>ScaleMode</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.ScaleTop--> - <element type="property"> - <source id="Access.ReportOld.ScaleTop"> - <context kind="class">ReportOld</context> - <name>ScaleTop</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.ScaleWidth--> - <element type="property"> - <source id="Access.ReportOld.ScaleWidth"> - <context kind="class">ReportOld</context> - <name>ScaleWidth</name> - <type>Single</type> - </source> - </element> - <!--property::ReportOld.Section {ReadOnly}--> - <element type="property"> - <source id="Access.ReportOld.Section"> - <context kind="class">ReportOld</context> - <name>Section</name> - <type>Section</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.ServerFilter--> - <element type="property"> - <source id="Access.ReportOld.ServerFilter"> - <context kind="class">ReportOld</context> - <name>ServerFilter</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.ShortcutMenuBar--> - <element type="property"> - <source id="Access.ReportOld.ShortcutMenuBar"> - <context kind="class">ReportOld</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.Tag--> - <element type="property"> - <source id="Access.ReportOld.Tag"> - <context kind="class">ReportOld</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--method::ReportOld.TextHeight--> - <element type="method"> - <source id="Access.ReportOld.TextHeight"> - <context kind="class">ReportOld</context> - <name>TextHeight</name> - <type>Single</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ReportOld.TextWidth--> - <element type="method"> - <source id="Access.ReportOld.TextWidth"> - <context kind="class">ReportOld</context> - <name>TextWidth</name> - <type>Single</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Expr</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ReportOld.Toolbar--> - <element type="property"> - <source id="Access.ReportOld.Toolbar"> - <context kind="class">ReportOld</context> - <name>Toolbar</name> - <type>String</type> - </source> - </element> - <!--property::ReportOld.Top--> - <element type="property"> - <source id="Access.ReportOld.Top"> - <context kind="class">ReportOld</context> - <name>Top</name> - <type>Integer</type> - </source> - </element> - <!--property::ReportOld.Visible--> - <element type="property"> - <source id="Access.ReportOld.Visible"> - <context kind="class">ReportOld</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::ReportOld.Width--> - <element type="property"> - <source id="Access.ReportOld.Width"> - <context kind="class">ReportOld</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::ReportOld.ZoomControl--> - <element type="property"> - <source id="Access.ReportOld.ZoomControl"> - <context kind="class">ReportOld</context> - <name>ZoomControl</name> - <type>Integer</type> - </source> - </element> - <!--Class::Reports--> - <element type="class"> - <source id="Access.Reports"> - <name>Reports</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Reports.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Reports.Application"> - <context kind="class">Reports</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Reports.Count {ReadOnly}--> - <element type="property"> - <source id="Access.Reports.Count"> - <context kind="class">Reports</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::Reports.IsMemberSafe--> - <element type="method"> - <source id="Access.Reports.IsMemberSafe"> - <context kind="class">Reports</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Reports.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.Reports.Item"> - <context kind="class">Reports</context> - <name default="true">Item</name> - <type>Report</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Reports.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Reports.Parent"> - <context kind="class">Reports</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::RIGHT_BUTTON--> - <element type="property"> - <source id="Access.RIGHT_BUTTON"> - <name>RIGHT_BUTTON</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::Screen--> - <element type="class"> - <source id="Access.Screen"> - <name>Screen</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Screen.ActiveControl {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.ActiveControl"> - <context kind="class">Screen</context> - <name>ActiveControl</name> - <type>Control</type> - </source> - </element> - <!--property::Screen.ActiveDataAccessPage {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.ActiveDataAccessPage"> - <context kind="class">Screen</context> - <name>ActiveDataAccessPage</name> - <type>DataAccessPage</type> - </source> - </element> - <!--property::Screen.ActiveDatasheet {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.ActiveDatasheet"> - <context kind="class">Screen</context> - <name>ActiveDatasheet</name> - <type>Form</type> - </source> - </element> - <!--property::Screen.ActiveForm {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.ActiveForm"> - <context kind="class">Screen</context> - <name>ActiveForm</name> - <type>Form</type> - </source> - </element> - <!--property::Screen.ActiveReport {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.ActiveReport"> - <context kind="class">Screen</context> - <name>ActiveReport</name> - <type>Report</type> - </source> - </element> - <!--property::Screen.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.Application"> - <context kind="class">Screen</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--method::Screen.IsMemberSafe--> - <element type="method"> - <source id="Access.Screen.IsMemberSafe"> - <context kind="class">Screen</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Screen.MousePointer--> - <element type="property"> - <source id="Access.Screen.MousePointer"> - <context kind="class">Screen</context> - <name>MousePointer</name> - <type>short</type> - </source> - </element> - <!--property::Screen.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.Parent"> - <context kind="class">Screen</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Screen.PreviousControl {ReadOnly}--> - <element type="property"> - <source id="Access.Screen.PreviousControl"> - <context kind="class">Screen</context> - <name>PreviousControl</name> - <type>Control</type> - </source> - </element> - <!--Class::Section--> - <element type="class"> - <source id="Access.Section"> - <name>Section</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Section.Application {ReadOnly}--> - <element type="property"> - <source id="Access.Section.Application"> - <context kind="class">Section</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::Section.BackColor--> - <element type="property"> - <source id="Access.Section.BackColor"> - <context kind="class">Section</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::Section.CanGrow--> - <element type="property"> - <source id="Access.Section.CanGrow"> - <context kind="class">Section</context> - <name>CanGrow</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.CanShrink--> - <element type="property"> - <source id="Access.Section.CanShrink"> - <context kind="class">Section</context> - <name>CanShrink</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.Section.Controls"> - <context kind="class">Section</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::Section.DisplayWhen--> - <element type="property"> - <source id="Access.Section.DisplayWhen"> - <context kind="class">Section</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::Section.EventProcPrefix--> - <element type="property"> - <source id="Access.Section.EventProcPrefix"> - <context kind="class">Section</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::Section.ForceNewPage--> - <element type="property"> - <source id="Access.Section.ForceNewPage"> - <context kind="class">Section</context> - <name>ForceNewPage</name> - <type>byte</type> - </source> - </element> - <!--property::Section.HasContinued--> - <element type="property"> - <source id="Access.Section.HasContinued"> - <context kind="class">Section</context> - <name>HasContinued</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.Height--> - <element type="property"> - <source id="Access.Section.Height"> - <context kind="class">Section</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::Section.InSelection--> - <element type="property"> - <source id="Access.Section.InSelection"> - <context kind="class">Section</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::Section.IsMemberSafe--> - <element type="method"> - <source id="Access.Section.IsMemberSafe"> - <context kind="class">Section</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Section.KeepTogether--> - <element type="property"> - <source id="Access.Section.KeepTogether"> - <context kind="class">Section</context> - <name>KeepTogether</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.Name--> - <element type="property"> - <source id="Access.Section.Name"> - <context kind="class">Section</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Section.NewRowOrCol--> - <element type="property"> - <source id="Access.Section.NewRowOrCol"> - <context kind="class">Section</context> - <name>NewRowOrCol</name> - <type>byte</type> - </source> - </element> - <!--property::Section.OnClick--> - <element type="property"> - <source id="Access.Section.OnClick"> - <context kind="class">Section</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnDblClick--> - <element type="property"> - <source id="Access.Section.OnDblClick"> - <context kind="class">Section</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnFormat--> - <element type="property"> - <source id="Access.Section.OnFormat"> - <context kind="class">Section</context> - <name>OnFormat</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnMouseDown--> - <element type="property"> - <source id="Access.Section.OnMouseDown"> - <context kind="class">Section</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnMouseMove--> - <element type="property"> - <source id="Access.Section.OnMouseMove"> - <context kind="class">Section</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnMouseUp--> - <element type="property"> - <source id="Access.Section.OnMouseUp"> - <context kind="class">Section</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnPrint--> - <element type="property"> - <source id="Access.Section.OnPrint"> - <context kind="class">Section</context> - <name>OnPrint</name> - <type>String</type> - </source> - </element> - <!--property::Section.OnRetreat--> - <element type="property"> - <source id="Access.Section.OnRetreat"> - <context kind="class">Section</context> - <name>OnRetreat</name> - <type>String</type> - </source> - </element> - <!--property::Section.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.Section.Parent"> - <context kind="class">Section</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::Section.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.Section.Properties"> - <context kind="class">Section</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Section.RepeatSection--> - <element type="property"> - <source id="Access.Section.RepeatSection"> - <context kind="class">Section</context> - <name>RepeatSection</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.SpecialEffect--> - <element type="property"> - <source id="Access.Section.SpecialEffect"> - <context kind="class">Section</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::Section.Tag--> - <element type="property"> - <source id="Access.Section.Tag"> - <context kind="class">Section</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::Section.Visible--> - <element type="property"> - <source id="Access.Section.Visible"> - <context kind="class">Section</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::Section.WillContinue--> - <element type="property"> - <source id="Access.Section.WillContinue"> - <context kind="class">Section</context> - <name>WillContinue</name> - <type>boolean</type> - </source> - </element> - <!--property::SHIFT_MASK--> - <element type="property"> - <source id="Access.SHIFT_MASK"> - <name>SHIFT_MASK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::SmartTag--> - <element type="class"> - <source id="Access.SmartTag"> - <name>SmartTag</name> - </source> - <destination designation="identity" /> - </element> - <!--property::SmartTag.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.Application"> - <context kind="class">SmartTag</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--method::SmartTag.Delete--> - <element type="method"> - <source id="Access.SmartTag.Delete"> - <context kind="class">SmartTag</context> - <name>Delete</name> - <type>void</type> - </source> - </element> - <!--method::SmartTag.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTag.IsMemberSafe"> - <context kind="class">SmartTag</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTag.IsMissing {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.IsMissing"> - <context kind="class">SmartTag</context> - <name>IsMissing</name> - <type>boolean</type> - </source> - </element> - <!--property::SmartTag.Name {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.Name"> - <context kind="class">SmartTag</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::SmartTag.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.Parent"> - <context kind="class">SmartTag</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::SmartTag.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.Properties"> - <context kind="class">SmartTag</context> - <name>Properties</name> - <type>_SmartTagProperties</type> - </source> - </element> - <!--property::SmartTag.SmartTagActions {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.SmartTagActions"> - <context kind="class">SmartTag</context> - <name>SmartTagActions</name> - <type>_SmartTagActions</type> - </source> - </element> - <!--property::SmartTag.XML {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTag.XML"> - <context kind="class">SmartTag</context> - <name>XML</name> - <type>String</type> - </source> - </element> - <!--Class::SmartTagAction--> - <element type="class"> - <source id="Access.SmartTagAction"> - <name>SmartTagAction</name> - </source> - <destination designation="identity" /> - </element> - <!--property::SmartTagAction.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagAction.Application"> - <context kind="class">SmartTagAction</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--method::SmartTagAction.Execute--> - <element type="method"> - <source id="Access.SmartTagAction.Execute"> - <context kind="class">SmartTagAction</context> - <name>Execute</name> - <type>void</type> - </source> - </element> - <!--method::SmartTagAction.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTagAction.IsMemberSafe"> - <context kind="class">SmartTagAction</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagAction.Name {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagAction.Name"> - <context kind="class">SmartTagAction</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::SmartTagAction.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagAction.Parent"> - <context kind="class">SmartTagAction</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::SmartTagActions--> - <element type="class"> - <source id="Access.SmartTagActions"> - <name>SmartTagActions</name> - </source> - <destination designation="identity" /> - </element> - <!--property::SmartTagActions.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagActions.Application"> - <context kind="class">SmartTagActions</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::SmartTagActions.Count {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagActions.Count"> - <context kind="class">SmartTagActions</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::SmartTagActions.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTagActions.IsMemberSafe"> - <context kind="class">SmartTagActions</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagActions.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagActions.Item"> - <context kind="class">SmartTagActions</context> - <name default="true">Item</name> - <type>_SmartTagAction</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagActions.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagActions.Parent"> - <context kind="class">SmartTagActions</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::SmartTagProperties--> - <element type="class"> - <source id="Access.SmartTagProperties"> - <name>SmartTagProperties</name> - </source> - <destination designation="identity" /> - </element> - <!--method::SmartTagProperties.Add--> - <element type="method"> - <source id="Access.SmartTagProperties.Add"> - <context kind="class">SmartTagProperties</context> - <name>Add</name> - <type>_SmartTagProperty</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Name</name> - </parameter> - <parameter> - <type>Variant</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagProperties.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagProperties.Application"> - <context kind="class">SmartTagProperties</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::SmartTagProperties.Count {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagProperties.Count"> - <context kind="class">SmartTagProperties</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::SmartTagProperties.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTagProperties.IsMemberSafe"> - <context kind="class">SmartTagProperties</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagProperties.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagProperties.Item"> - <context kind="class">SmartTagProperties</context> - <name default="true">Item</name> - <type>_SmartTagProperty</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagProperties.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTagProperties.Parent"> - <context kind="class">SmartTagProperties</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::SmartTagProperty--> - <element type="class"> - <source id="Access.SmartTagProperty"> - <name>SmartTagProperty</name> - </source> - <destination designation="identity" /> - </element> - <!--method::SmartTagProperty.Delete--> - <element type="method"> - <source id="Access.SmartTagProperty.Delete"> - <context kind="class">SmartTagProperty</context> - <name>Delete</name> - <type>void</type> - </source> - </element> - <!--method::SmartTagProperty.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTagProperty.IsMemberSafe"> - <context kind="class">SmartTagProperty</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTagProperty.Name--> - <element type="property"> - <source id="Access.SmartTagProperty.Name"> - <context kind="class">SmartTagProperty</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::SmartTagProperty.Value {Default}--> - <element type="property"> - <source id="Access.SmartTagProperty.Value"> - <context kind="class">SmartTagProperty</context> - <name default="true">Value</name> - <type>String</type> - </source> - </element> - <!--Class::SmartTags--> - <element type="class"> - <source id="Access.SmartTags"> - <name>SmartTags</name> - </source> - <destination designation="identity" /> - </element> - <!--method::SmartTags.Add--> - <element type="method"> - <source id="Access.SmartTags.Add"> - <context kind="class">SmartTags</context> - <name>Add</name> - <type>_SmartTag</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Name</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTags.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTags.Application"> - <context kind="class">SmartTags</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::SmartTags.Count {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTags.Count"> - <context kind="class">SmartTags</context> - <name>Count</name> - <type>Integer</type> - </source> - </element> - <!--method::SmartTags.IsMemberSafe--> - <element type="method"> - <source id="Access.SmartTags.IsMemberSafe"> - <context kind="class">SmartTags</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTags.Item {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTags.Item"> - <context kind="class">SmartTags</context> - <name default="true">Item</name> - <type>_SmartTag</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Index</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SmartTags.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SmartTags.Parent"> - <context kind="class">SmartTags</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--Class::SubForm--> - <element type="class"> - <source id="Access.SubForm"> - <name>SubForm</name> - </source> - <destination designation="identity" /> - </element> - <!--property::SubForm.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accChild"> - <context kind="class">SubForm</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accChildCount"> - <context kind="class">SubForm</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::SubForm.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accDefaultAction"> - <context kind="class">SubForm</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accDescription"> - <context kind="class">SubForm</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::SubForm.accDoDefaultAction--> - <element type="method"> - <source id="Access.SubForm.accDoDefaultAction"> - <context kind="class">SubForm</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accFocus"> - <context kind="class">SubForm</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::SubForm.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accHelp"> - <context kind="class">SubForm</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accHelpTopic"> - <context kind="class">SubForm</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::SubForm.accHitTest--> - <element type="method"> - <source id="Access.SubForm.accHitTest"> - <context kind="class">SubForm</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accKeyboardShortcut"> - <context kind="class">SubForm</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::SubForm.accLocation--> - <element type="method"> - <source id="Access.SubForm.accLocation"> - <context kind="class">SubForm</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accName--> - <element type="property"> - <source id="Access.SubForm.accName"> - <context kind="class">SubForm</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::SubForm.accNavigate--> - <element type="method"> - <source id="Access.SubForm.accNavigate"> - <context kind="class">SubForm</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accParent"> - <context kind="class">SubForm</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::SubForm.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accRole"> - <context kind="class">SubForm</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::SubForm.accSelect--> - <element type="method"> - <source id="Access.SubForm.accSelect"> - <context kind="class">SubForm</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accSelection"> - <context kind="class">SubForm</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::SubForm.accState {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.accState"> - <context kind="class">SubForm</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.accValue--> - <element type="property"> - <source id="Access.SubForm.accValue"> - <context kind="class">SubForm</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.AddColon--> - <element type="property"> - <source id="Access.SubForm.AddColon"> - <context kind="class">SubForm</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Application"> - <context kind="class">SubForm</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::SubForm.AutoLabel--> - <element type="property"> - <source id="Access.SubForm.AutoLabel"> - <context kind="class">SubForm</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.BorderColor--> - <element type="property"> - <source id="Access.SubForm.BorderColor"> - <context kind="class">SubForm</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::SubForm.BorderLineStyle--> - <element type="property"> - <source id="Access.SubForm.BorderLineStyle"> - <context kind="class">SubForm</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.BorderStyle--> - <element type="property"> - <source id="Access.SubForm.BorderStyle"> - <context kind="class">SubForm</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.BorderWidth--> - <element type="property"> - <source id="Access.SubForm.BorderWidth"> - <context kind="class">SubForm</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.CanGrow--> - <element type="property"> - <source id="Access.SubForm.CanGrow"> - <context kind="class">SubForm</context> - <name>CanGrow</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.CanShrink--> - <element type="property"> - <source id="Access.SubForm.CanShrink"> - <context kind="class">SubForm</context> - <name>CanShrink</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.ControlName--> - <element type="property"> - <source id="Access.SubForm.ControlName"> - <context kind="class">SubForm</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.Controls {Default} {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Controls"> - <context kind="class">SubForm</context> - <name default="true">Controls</name> - <type>Controls</type> - </source> - </element> - <!--property::SubForm.ControlType--> - <element type="property"> - <source id="Access.SubForm.ControlType"> - <context kind="class">SubForm</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.DisplayWhen--> - <element type="property"> - <source id="Access.SubForm.DisplayWhen"> - <context kind="class">SubForm</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.Enabled--> - <element type="property"> - <source id="Access.SubForm.Enabled"> - <context kind="class">SubForm</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.EventProcPrefix--> - <element type="property"> - <source id="Access.SubForm.EventProcPrefix"> - <context kind="class">SubForm</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.Form {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Form"> - <context kind="class">SubForm</context> - <name>Form</name> - <type>Form</type> - </source> - </element> - <!--method::SubForm.Goto--> - <element type="method"> - <source id="Access.SubForm.Goto"> - <context kind="class">SubForm</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::SubForm.Height--> - <element type="property"> - <source id="Access.SubForm.Height"> - <context kind="class">SubForm</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.InSelection--> - <element type="property"> - <source id="Access.SubForm.InSelection"> - <context kind="class">SubForm</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::SubForm.IsMemberSafe--> - <element type="method"> - <source id="Access.SubForm.IsMemberSafe"> - <context kind="class">SubForm</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.IsVisible--> - <element type="property"> - <source id="Access.SubForm.IsVisible"> - <context kind="class">SubForm</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.LabelAlign--> - <element type="property"> - <source id="Access.SubForm.LabelAlign"> - <context kind="class">SubForm</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.LabelX--> - <element type="property"> - <source id="Access.SubForm.LabelX"> - <context kind="class">SubForm</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.LabelY--> - <element type="property"> - <source id="Access.SubForm.LabelY"> - <context kind="class">SubForm</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.Left--> - <element type="property"> - <source id="Access.SubForm.Left"> - <context kind="class">SubForm</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.LinkChildFields--> - <element type="property"> - <source id="Access.SubForm.LinkChildFields"> - <context kind="class">SubForm</context> - <name>LinkChildFields</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.LinkMasterFields--> - <element type="property"> - <source id="Access.SubForm.LinkMasterFields"> - <context kind="class">SubForm</context> - <name>LinkMasterFields</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.Locked--> - <element type="property"> - <source id="Access.SubForm.Locked"> - <context kind="class">SubForm</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::SubForm.Move--> - <element type="method"> - <source id="Access.SubForm.Move"> - <context kind="class">SubForm</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubForm.Name--> - <element type="property"> - <source id="Access.SubForm.Name"> - <context kind="class">SubForm</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.OldBorderStyle--> - <element type="property"> - <source id="Access.SubForm.OldBorderStyle"> - <context kind="class">SubForm</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.OnEnter--> - <element type="property"> - <source id="Access.SubForm.OnEnter"> - <context kind="class">SubForm</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.OnExit--> - <element type="property"> - <source id="Access.SubForm.OnExit"> - <context kind="class">SubForm</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Parent"> - <context kind="class">SubForm</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::SubForm.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Properties"> - <context kind="class">SubForm</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::SubForm.Report {ReadOnly}--> - <element type="property"> - <source id="Access.SubForm.Report"> - <context kind="class">SubForm</context> - <name>Report</name> - <type>Report</type> - </source> - </element> - <!--method::SubForm.Requery--> - <element type="method"> - <source id="Access.SubForm.Requery"> - <context kind="class">SubForm</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::SubForm.Section--> - <element type="property"> - <source id="Access.SubForm.Section"> - <context kind="class">SubForm</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::SubForm.SetFocus--> - <element type="method"> - <source id="Access.SubForm.SetFocus"> - <context kind="class">SubForm</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--method::SubForm.SizeToFit--> - <element type="method"> - <source id="Access.SubForm.SizeToFit"> - <context kind="class">SubForm</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::SubForm.SourceObject--> - <element type="property"> - <source id="Access.SubForm.SourceObject"> - <context kind="class">SubForm</context> - <name>SourceObject</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.SpecialEffect--> - <element type="property"> - <source id="Access.SubForm.SpecialEffect"> - <context kind="class">SubForm</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::SubForm.StatusBarText--> - <element type="property"> - <source id="Access.SubForm.StatusBarText"> - <context kind="class">SubForm</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.TabIndex--> - <element type="property"> - <source id="Access.SubForm.TabIndex"> - <context kind="class">SubForm</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.TabStop--> - <element type="property"> - <source id="Access.SubForm.TabStop"> - <context kind="class">SubForm</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.Tag--> - <element type="property"> - <source id="Access.SubForm.Tag"> - <context kind="class">SubForm</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::SubForm.Top--> - <element type="property"> - <source id="Access.SubForm.Top"> - <context kind="class">SubForm</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::SubForm.Visible--> - <element type="property"> - <source id="Access.SubForm.Visible"> - <context kind="class">SubForm</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::SubForm.Width--> - <element type="property"> - <source id="Access.SubForm.Width"> - <context kind="class">SubForm</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::SubReport--> - <element type="class"> - <source id="Access.SubReport"> - <name>SubReport</name> - </source> - <destination designation="identity" /> - </element> - <!--property::SubReport.Application {ReadOnly}--> - <element type="property"> - <source id="Access.SubReport.Application"> - <context kind="class">SubReport</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::SubReport.Form {ReadOnly}--> - <element type="property"> - <source id="Access.SubReport.Form"> - <context kind="class">SubReport</context> - <name>Form</name> - <type>Form</type> - </source> - </element> - <!--method::SubReport.IsMemberSafe--> - <element type="method"> - <source id="Access.SubReport.IsMemberSafe"> - <context kind="class">SubReport</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::SubReport.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.SubReport.Parent"> - <context kind="class">SubReport</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::SubReport.Report {ReadOnly}--> - <element type="property"> - <source id="Access.SubReport.Report"> - <context kind="class">SubReport</context> - <name>Report</name> - <type>Report</type> - </source> - </element> - <!--property::SYSCMD_ACCESSDIR--> - <element type="property"> - <source id="Access.SYSCMD_ACCESSDIR"> - <name>SYSCMD_ACCESSDIR</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_ACCESSVER--> - <element type="property"> - <source id="Access.SYSCMD_ACCESSVER"> - <name>SYSCMD_ACCESSVER</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_CLEARHELPTOPIC--> - <element type="property"> - <source id="Access.SYSCMD_CLEARHELPTOPIC"> - <name>SYSCMD_CLEARHELPTOPIC</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_CLEARSTATUS--> - <element type="property"> - <source id="Access.SYSCMD_CLEARSTATUS"> - <name>SYSCMD_CLEARSTATUS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_GETOBJECTSTATE--> - <element type="property"> - <source id="Access.SYSCMD_GETOBJECTSTATE"> - <name>SYSCMD_GETOBJECTSTATE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_INIFILE--> - <element type="property"> - <source id="Access.SYSCMD_INIFILE"> - <name>SYSCMD_INIFILE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_INITMETER--> - <element type="property"> - <source id="Access.SYSCMD_INITMETER"> - <name>SYSCMD_INITMETER</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_REMOVEMETER--> - <element type="property"> - <source id="Access.SYSCMD_REMOVEMETER"> - <name>SYSCMD_REMOVEMETER</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_RUNTIME--> - <element type="property"> - <source id="Access.SYSCMD_RUNTIME"> - <name>SYSCMD_RUNTIME</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_SETSTATUS--> - <element type="property"> - <source id="Access.SYSCMD_SETSTATUS"> - <name>SYSCMD_SETSTATUS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::SYSCMD_UPDATEMETER--> - <element type="property"> - <source id="Access.SYSCMD_UPDATEMETER"> - <name>SYSCMD_UPDATEMETER</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::TabControl--> - <element type="class"> - <source id="Access.TabControl"> - <name>TabControl</name> - </source> - <destination designation="identity" /> - </element> - <!--property::TabControl.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accChild"> - <context kind="class">TabControl</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accChildCount"> - <context kind="class">TabControl</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::TabControl.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accDefaultAction"> - <context kind="class">TabControl</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accDescription"> - <context kind="class">TabControl</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TabControl.accDoDefaultAction--> - <element type="method"> - <source id="Access.TabControl.accDoDefaultAction"> - <context kind="class">TabControl</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accFocus"> - <context kind="class">TabControl</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::TabControl.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accHelp"> - <context kind="class">TabControl</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accHelpTopic"> - <context kind="class">TabControl</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TabControl.accHitTest--> - <element type="method"> - <source id="Access.TabControl.accHitTest"> - <context kind="class">TabControl</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accKeyboardShortcut"> - <context kind="class">TabControl</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TabControl.accLocation--> - <element type="method"> - <source id="Access.TabControl.accLocation"> - <context kind="class">TabControl</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accName--> - <element type="property"> - <source id="Access.TabControl.accName"> - <context kind="class">TabControl</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TabControl.accNavigate--> - <element type="method"> - <source id="Access.TabControl.accNavigate"> - <context kind="class">TabControl</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accParent"> - <context kind="class">TabControl</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::TabControl.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accRole"> - <context kind="class">TabControl</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TabControl.accSelect--> - <element type="method"> - <source id="Access.TabControl.accSelect"> - <context kind="class">TabControl</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accSelection"> - <context kind="class">TabControl</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::TabControl.accState {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.accState"> - <context kind="class">TabControl</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.accValue--> - <element type="property"> - <source id="Access.TabControl.accValue"> - <context kind="class">TabControl</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.Application {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.Application"> - <context kind="class">TabControl</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::TabControl.BackStyle--> - <element type="property"> - <source id="Access.TabControl.BackStyle"> - <context kind="class">TabControl</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::TabControl.ControlName--> - <element type="property"> - <source id="Access.TabControl.ControlName"> - <context kind="class">TabControl</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.ControlType--> - <element type="property"> - <source id="Access.TabControl.ControlType"> - <context kind="class">TabControl</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::TabControl.DisplayWhen--> - <element type="property"> - <source id="Access.TabControl.DisplayWhen"> - <context kind="class">TabControl</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::TabControl.Enabled--> - <element type="property"> - <source id="Access.TabControl.Enabled"> - <context kind="class">TabControl</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.EventProcPrefix--> - <element type="property"> - <source id="Access.TabControl.EventProcPrefix"> - <context kind="class">TabControl</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.FontBold--> - <element type="property"> - <source id="Access.TabControl.FontBold"> - <context kind="class">TabControl</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.FontItalic--> - <element type="property"> - <source id="Access.TabControl.FontItalic"> - <context kind="class">TabControl</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.FontName--> - <element type="property"> - <source id="Access.TabControl.FontName"> - <context kind="class">TabControl</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.FontSize--> - <element type="property"> - <source id="Access.TabControl.FontSize"> - <context kind="class">TabControl</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.FontUnderline--> - <element type="property"> - <source id="Access.TabControl.FontUnderline"> - <context kind="class">TabControl</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.FontWeight--> - <element type="property"> - <source id="Access.TabControl.FontWeight"> - <context kind="class">TabControl</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.Height--> - <element type="property"> - <source id="Access.TabControl.Height"> - <context kind="class">TabControl</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.HelpContextId--> - <element type="property"> - <source id="Access.TabControl.HelpContextId"> - <context kind="class">TabControl</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::TabControl.InSelection--> - <element type="property"> - <source id="Access.TabControl.InSelection"> - <context kind="class">TabControl</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::TabControl.IsMemberSafe--> - <element type="method"> - <source id="Access.TabControl.IsMemberSafe"> - <context kind="class">TabControl</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.IsVisible--> - <element type="property"> - <source id="Access.TabControl.IsVisible"> - <context kind="class">TabControl</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.Left--> - <element type="property"> - <source id="Access.TabControl.Left"> - <context kind="class">TabControl</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--method::TabControl.Move--> - <element type="method"> - <source id="Access.TabControl.Move"> - <context kind="class">TabControl</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TabControl.MultiRow--> - <element type="property"> - <source id="Access.TabControl.MultiRow"> - <context kind="class">TabControl</context> - <name>MultiRow</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.Name--> - <element type="property"> - <source id="Access.TabControl.Name"> - <context kind="class">TabControl</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.OldValue"> - <context kind="class">TabControl</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::TabControl.OnChange--> - <element type="property"> - <source id="Access.TabControl.OnChange"> - <context kind="class">TabControl</context> - <name>OnChange</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnClick--> - <element type="property"> - <source id="Access.TabControl.OnClick"> - <context kind="class">TabControl</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnDblClick--> - <element type="property"> - <source id="Access.TabControl.OnDblClick"> - <context kind="class">TabControl</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnKeyDown--> - <element type="property"> - <source id="Access.TabControl.OnKeyDown"> - <context kind="class">TabControl</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnKeyPress--> - <element type="property"> - <source id="Access.TabControl.OnKeyPress"> - <context kind="class">TabControl</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnKeyUp--> - <element type="property"> - <source id="Access.TabControl.OnKeyUp"> - <context kind="class">TabControl</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnMouseDown--> - <element type="property"> - <source id="Access.TabControl.OnMouseDown"> - <context kind="class">TabControl</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnMouseMove--> - <element type="property"> - <source id="Access.TabControl.OnMouseMove"> - <context kind="class">TabControl</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.OnMouseUp--> - <element type="property"> - <source id="Access.TabControl.OnMouseUp"> - <context kind="class">TabControl</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.Pages {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.Pages"> - <context kind="class">TabControl</context> - <name>Pages</name> - <type>Pages</type> - </source> - </element> - <!--property::TabControl.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.Parent"> - <context kind="class">TabControl</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::TabControl.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.TabControl.Properties"> - <context kind="class">TabControl</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::TabControl.Section--> - <element type="property"> - <source id="Access.TabControl.Section"> - <context kind="class">TabControl</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.ShortcutMenuBar--> - <element type="property"> - <source id="Access.TabControl.ShortcutMenuBar"> - <context kind="class">TabControl</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::TabControl.SizeToFit--> - <element type="method"> - <source id="Access.TabControl.SizeToFit"> - <context kind="class">TabControl</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::TabControl.StatusBarText--> - <element type="property"> - <source id="Access.TabControl.StatusBarText"> - <context kind="class">TabControl</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.Style--> - <element type="property"> - <source id="Access.TabControl.Style"> - <context kind="class">TabControl</context> - <name>Style</name> - <type>byte</type> - </source> - </element> - <!--property::TabControl.TabFixedHeight--> - <element type="property"> - <source id="Access.TabControl.TabFixedHeight"> - <context kind="class">TabControl</context> - <name>TabFixedHeight</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.TabFixedWidth--> - <element type="property"> - <source id="Access.TabControl.TabFixedWidth"> - <context kind="class">TabControl</context> - <name>TabFixedWidth</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.TabIndex--> - <element type="property"> - <source id="Access.TabControl.TabIndex"> - <context kind="class">TabControl</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.TabStop--> - <element type="property"> - <source id="Access.TabControl.TabStop"> - <context kind="class">TabControl</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.Tag--> - <element type="property"> - <source id="Access.TabControl.Tag"> - <context kind="class">TabControl</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::TabControl.TextFontCharSet--> - <element type="property"> - <source id="Access.TabControl.TextFontCharSet"> - <context kind="class">TabControl</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::TabControl.Top--> - <element type="property"> - <source id="Access.TabControl.Top"> - <context kind="class">TabControl</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::TabControl.Value {Default}--> - <element type="property"> - <source id="Access.TabControl.Value"> - <context kind="class">TabControl</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::TabControl.Visible--> - <element type="property"> - <source id="Access.TabControl.Visible"> - <context kind="class">TabControl</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::TabControl.Width--> - <element type="property"> - <source id="Access.TabControl.Width"> - <context kind="class">TabControl</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::TextBox--> - <element type="class"> - <source id="Access.TextBox"> - <name>TextBox</name> - </source> - <destination designation="identity" /> - </element> - <!--property::TextBox.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accChild"> - <context kind="class">TextBox</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accChildCount"> - <context kind="class">TextBox</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accDefaultAction"> - <context kind="class">TextBox</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accDescription"> - <context kind="class">TextBox</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TextBox.accDoDefaultAction--> - <element type="method"> - <source id="Access.TextBox.accDoDefaultAction"> - <context kind="class">TextBox</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accFocus"> - <context kind="class">TextBox</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::TextBox.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accHelp"> - <context kind="class">TextBox</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accHelpTopic"> - <context kind="class">TextBox</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TextBox.accHitTest--> - <element type="method"> - <source id="Access.TextBox.accHitTest"> - <context kind="class">TextBox</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accKeyboardShortcut"> - <context kind="class">TextBox</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TextBox.accLocation--> - <element type="method"> - <source id="Access.TextBox.accLocation"> - <context kind="class">TextBox</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accName--> - <element type="property"> - <source id="Access.TextBox.accName"> - <context kind="class">TextBox</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TextBox.accNavigate--> - <element type="method"> - <source id="Access.TextBox.accNavigate"> - <context kind="class">TextBox</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accParent"> - <context kind="class">TextBox</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::TextBox.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accRole"> - <context kind="class">TextBox</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::TextBox.accSelect--> - <element type="method"> - <source id="Access.TextBox.accSelect"> - <context kind="class">TextBox</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accSelection"> - <context kind="class">TextBox</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::TextBox.accState {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.accState"> - <context kind="class">TextBox</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.accValue--> - <element type="property"> - <source id="Access.TextBox.accValue"> - <context kind="class">TextBox</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.AddColon--> - <element type="property"> - <source id="Access.TextBox.AddColon"> - <context kind="class">TextBox</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.AfterUpdate--> - <element type="property"> - <source id="Access.TextBox.AfterUpdate"> - <context kind="class">TextBox</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.AllowAutoCorrect--> - <element type="property"> - <source id="Access.TextBox.AllowAutoCorrect"> - <context kind="class">TextBox</context> - <name>AllowAutoCorrect</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.AllowedText--> - <element type="property"> - <source id="Access.TextBox.AllowedText"> - <context kind="class">TextBox</context> - <name>AllowedText</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.Application {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.Application"> - <context kind="class">TextBox</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::TextBox.AsianLineBreak--> - <element type="property"> - <source id="Access.TextBox.AsianLineBreak"> - <context kind="class">TextBox</context> - <name>AsianLineBreak</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.AutoLabel--> - <element type="property"> - <source id="Access.TextBox.AutoLabel"> - <context kind="class">TextBox</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.AutoTab--> - <element type="property"> - <source id="Access.TextBox.AutoTab"> - <context kind="class">TextBox</context> - <name>AutoTab</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.BackColor--> - <element type="property"> - <source id="Access.TextBox.BackColor"> - <context kind="class">TextBox</context> - <name>BackColor</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.BackStyle--> - <element type="property"> - <source id="Access.TextBox.BackStyle"> - <context kind="class">TextBox</context> - <name>BackStyle</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.BeforeUpdate--> - <element type="property"> - <source id="Access.TextBox.BeforeUpdate"> - <context kind="class">TextBox</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.BorderColor--> - <element type="property"> - <source id="Access.TextBox.BorderColor"> - <context kind="class">TextBox</context> - <name>BorderColor</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.BorderLineStyle--> - <element type="property"> - <source id="Access.TextBox.BorderLineStyle"> - <context kind="class">TextBox</context> - <name>BorderLineStyle</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.BorderStyle--> - <element type="property"> - <source id="Access.TextBox.BorderStyle"> - <context kind="class">TextBox</context> - <name>BorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.BorderWidth--> - <element type="property"> - <source id="Access.TextBox.BorderWidth"> - <context kind="class">TextBox</context> - <name>BorderWidth</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.BottomMargin--> - <element type="property"> - <source id="Access.TextBox.BottomMargin"> - <context kind="class">TextBox</context> - <name>BottomMargin</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.CanGrow--> - <element type="property"> - <source id="Access.TextBox.CanGrow"> - <context kind="class">TextBox</context> - <name>CanGrow</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.CanShrink--> - <element type="property"> - <source id="Access.TextBox.CanShrink"> - <context kind="class">TextBox</context> - <name>CanShrink</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.Coltyp--> - <element type="property"> - <source id="Access.TextBox.Coltyp"> - <context kind="class">TextBox</context> - <name>Coltyp</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.ColumnHidden--> - <element type="property"> - <source id="Access.TextBox.ColumnHidden"> - <context kind="class">TextBox</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.ColumnOrder--> - <element type="property"> - <source id="Access.TextBox.ColumnOrder"> - <context kind="class">TextBox</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.ColumnWidth--> - <element type="property"> - <source id="Access.TextBox.ColumnWidth"> - <context kind="class">TextBox</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.ControlName--> - <element type="property"> - <source id="Access.TextBox.ControlName"> - <context kind="class">TextBox</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.Controls"> - <context kind="class">TextBox</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::TextBox.ControlSource--> - <element type="property"> - <source id="Access.TextBox.ControlSource"> - <context kind="class">TextBox</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.ControlTipText--> - <element type="property"> - <source id="Access.TextBox.ControlTipText"> - <context kind="class">TextBox</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.ControlType--> - <element type="property"> - <source id="Access.TextBox.ControlType"> - <context kind="class">TextBox</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.DecimalPlaces--> - <element type="property"> - <source id="Access.TextBox.DecimalPlaces"> - <context kind="class">TextBox</context> - <name>DecimalPlaces</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.DefaultValue--> - <element type="property"> - <source id="Access.TextBox.DefaultValue"> - <context kind="class">TextBox</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.DisplayWhen--> - <element type="property"> - <source id="Access.TextBox.DisplayWhen"> - <context kind="class">TextBox</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.Enabled--> - <element type="property"> - <source id="Access.TextBox.Enabled"> - <context kind="class">TextBox</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.EnterKeyBehavior--> - <element type="property"> - <source id="Access.TextBox.EnterKeyBehavior"> - <context kind="class">TextBox</context> - <name>EnterKeyBehavior</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.EventProcPrefix--> - <element type="property"> - <source id="Access.TextBox.EventProcPrefix"> - <context kind="class">TextBox</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.FELineBreak--> - <element type="property"> - <source id="Access.TextBox.FELineBreak"> - <context kind="class">TextBox</context> - <name>FELineBreak</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.FilterLookup--> - <element type="property"> - <source id="Access.TextBox.FilterLookup"> - <context kind="class">TextBox</context> - <name>FilterLookup</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.FontBold--> - <element type="property"> - <source id="Access.TextBox.FontBold"> - <context kind="class">TextBox</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.FontItalic--> - <element type="property"> - <source id="Access.TextBox.FontItalic"> - <context kind="class">TextBox</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.FontName--> - <element type="property"> - <source id="Access.TextBox.FontName"> - <context kind="class">TextBox</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.FontSize--> - <element type="property"> - <source id="Access.TextBox.FontSize"> - <context kind="class">TextBox</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.FontUnderline--> - <element type="property"> - <source id="Access.TextBox.FontUnderline"> - <context kind="class">TextBox</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.FontWeight--> - <element type="property"> - <source id="Access.TextBox.FontWeight"> - <context kind="class">TextBox</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.ForeColor--> - <element type="property"> - <source id="Access.TextBox.ForeColor"> - <context kind="class">TextBox</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.Format--> - <element type="property"> - <source id="Access.TextBox.Format"> - <context kind="class">TextBox</context> - <name>Format</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.FormatConditions {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.FormatConditions"> - <context kind="class">TextBox</context> - <name>FormatConditions</name> - <type>FormatConditions</type> - </source> - </element> - <!--property::TextBox.FormatPictureText--> - <element type="property"> - <source id="Access.TextBox.FormatPictureText"> - <context kind="class">TextBox</context> - <name>FormatPictureText</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.FuriganaControl--> - <element type="property"> - <source id="Access.TextBox.FuriganaControl"> - <context kind="class">TextBox</context> - <name>FuriganaControl</name> - <type>String</type> - </source> - </element> - <!--method::TextBox.Goto--> - <element type="method"> - <source id="Access.TextBox.Goto"> - <context kind="class">TextBox</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::TextBox.Height--> - <element type="property"> - <source id="Access.TextBox.Height"> - <context kind="class">TextBox</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.HelpContextId--> - <element type="property"> - <source id="Access.TextBox.HelpContextId"> - <context kind="class">TextBox</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.HideDuplicates--> - <element type="property"> - <source id="Access.TextBox.HideDuplicates"> - <context kind="class">TextBox</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.Hyperlink {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.Hyperlink"> - <context kind="class">TextBox</context> - <name>Hyperlink</name> - <type>_Hyperlink</type> - </source> - </element> - <!--property::TextBox.IMEHold--> - <element type="property"> - <source id="Access.TextBox.IMEHold"> - <context kind="class">TextBox</context> - <name>IMEHold</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.IMEMode--> - <element type="property"> - <source id="Access.TextBox.IMEMode"> - <context kind="class">TextBox</context> - <name>IMEMode</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.IMESentenceMode--> - <element type="property"> - <source id="Access.TextBox.IMESentenceMode"> - <context kind="class">TextBox</context> - <name>IMESentenceMode</name> - <type>Integer</type> - </source> - </element> - <!--property::TextBox.InputMask--> - <element type="property"> - <source id="Access.TextBox.InputMask"> - <context kind="class">TextBox</context> - <name>InputMask</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.InSelection--> - <element type="property"> - <source id="Access.TextBox.InSelection"> - <context kind="class">TextBox</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.IsHyperlink--> - <element type="property"> - <source id="Access.TextBox.IsHyperlink"> - <context kind="class">TextBox</context> - <name>IsHyperlink</name> - <type>boolean</type> - </source> - </element> - <!--method::TextBox.IsMemberSafe--> - <element type="method"> - <source id="Access.TextBox.IsMemberSafe"> - <context kind="class">TextBox</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.IsVisible--> - <element type="property"> - <source id="Access.TextBox.IsVisible"> - <context kind="class">TextBox</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.KeyboardLanguage--> - <element type="property"> - <source id="Access.TextBox.KeyboardLanguage"> - <context kind="class">TextBox</context> - <name>KeyboardLanguage</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.LabelAlign--> - <element type="property"> - <source id="Access.TextBox.LabelAlign"> - <context kind="class">TextBox</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.LabelX--> - <element type="property"> - <source id="Access.TextBox.LabelX"> - <context kind="class">TextBox</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.LabelY--> - <element type="property"> - <source id="Access.TextBox.LabelY"> - <context kind="class">TextBox</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.Left--> - <element type="property"> - <source id="Access.TextBox.Left"> - <context kind="class">TextBox</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.LeftMargin--> - <element type="property"> - <source id="Access.TextBox.LeftMargin"> - <context kind="class">TextBox</context> - <name>LeftMargin</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.LineSpacing--> - <element type="property"> - <source id="Access.TextBox.LineSpacing"> - <context kind="class">TextBox</context> - <name>LineSpacing</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.Locked--> - <element type="property"> - <source id="Access.TextBox.Locked"> - <context kind="class">TextBox</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::TextBox.Move--> - <element type="method"> - <source id="Access.TextBox.Move"> - <context kind="class">TextBox</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::TextBox.Name--> - <element type="property"> - <source id="Access.TextBox.Name"> - <context kind="class">TextBox</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.NumeralShapes--> - <element type="property"> - <source id="Access.TextBox.NumeralShapes"> - <context kind="class">TextBox</context> - <name>NumeralShapes</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.OldBorderStyle--> - <element type="property"> - <source id="Access.TextBox.OldBorderStyle"> - <context kind="class">TextBox</context> - <name>OldBorderStyle</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.OldValue"> - <context kind="class">TextBox</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::TextBox.OnChange--> - <element type="property"> - <source id="Access.TextBox.OnChange"> - <context kind="class">TextBox</context> - <name>OnChange</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnClick--> - <element type="property"> - <source id="Access.TextBox.OnClick"> - <context kind="class">TextBox</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnDblClick--> - <element type="property"> - <source id="Access.TextBox.OnDblClick"> - <context kind="class">TextBox</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnDirty--> - <element type="property"> - <source id="Access.TextBox.OnDirty"> - <context kind="class">TextBox</context> - <name>OnDirty</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnEnter--> - <element type="property"> - <source id="Access.TextBox.OnEnter"> - <context kind="class">TextBox</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnExit--> - <element type="property"> - <source id="Access.TextBox.OnExit"> - <context kind="class">TextBox</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnGotFocus--> - <element type="property"> - <source id="Access.TextBox.OnGotFocus"> - <context kind="class">TextBox</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnKeyDown--> - <element type="property"> - <source id="Access.TextBox.OnKeyDown"> - <context kind="class">TextBox</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnKeyPress--> - <element type="property"> - <source id="Access.TextBox.OnKeyPress"> - <context kind="class">TextBox</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnKeyUp--> - <element type="property"> - <source id="Access.TextBox.OnKeyUp"> - <context kind="class">TextBox</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnLostFocus--> - <element type="property"> - <source id="Access.TextBox.OnLostFocus"> - <context kind="class">TextBox</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnMouseDown--> - <element type="property"> - <source id="Access.TextBox.OnMouseDown"> - <context kind="class">TextBox</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnMouseMove--> - <element type="property"> - <source id="Access.TextBox.OnMouseMove"> - <context kind="class">TextBox</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnMouseUp--> - <element type="property"> - <source id="Access.TextBox.OnMouseUp"> - <context kind="class">TextBox</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.OnUndo--> - <element type="property"> - <source id="Access.TextBox.OnUndo"> - <context kind="class">TextBox</context> - <name>OnUndo</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.Parent"> - <context kind="class">TextBox</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::TextBox.PostalAddress--> - <element type="property"> - <source id="Access.TextBox.PostalAddress"> - <context kind="class">TextBox</context> - <name>PostalAddress</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.Properties"> - <context kind="class">TextBox</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::TextBox.ReadingOrder--> - <element type="property"> - <source id="Access.TextBox.ReadingOrder"> - <context kind="class">TextBox</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--method::TextBox.Requery--> - <element type="method"> - <source id="Access.TextBox.Requery"> - <context kind="class">TextBox</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::TextBox.RightMargin--> - <element type="property"> - <source id="Access.TextBox.RightMargin"> - <context kind="class">TextBox</context> - <name>RightMargin</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.RunningSum--> - <element type="property"> - <source id="Access.TextBox.RunningSum"> - <context kind="class">TextBox</context> - <name>RunningSum</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.ScrollBarAlign--> - <element type="property"> - <source id="Access.TextBox.ScrollBarAlign"> - <context kind="class">TextBox</context> - <name>ScrollBarAlign</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.ScrollBars--> - <element type="property"> - <source id="Access.TextBox.ScrollBars"> - <context kind="class">TextBox</context> - <name>ScrollBars</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.Section--> - <element type="property"> - <source id="Access.TextBox.Section"> - <context kind="class">TextBox</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.SelLength--> - <element type="property"> - <source id="Access.TextBox.SelLength"> - <context kind="class">TextBox</context> - <name>SelLength</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.SelStart--> - <element type="property"> - <source id="Access.TextBox.SelStart"> - <context kind="class">TextBox</context> - <name>SelStart</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.SelText--> - <element type="property"> - <source id="Access.TextBox.SelText"> - <context kind="class">TextBox</context> - <name>SelText</name> - <type>String</type> - </source> - </element> - <!--method::TextBox.SetFocus--> - <element type="method"> - <source id="Access.TextBox.SetFocus"> - <context kind="class">TextBox</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::TextBox.ShortcutMenuBar--> - <element type="property"> - <source id="Access.TextBox.ShortcutMenuBar"> - <context kind="class">TextBox</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::TextBox.SizeToFit--> - <element type="method"> - <source id="Access.TextBox.SizeToFit"> - <context kind="class">TextBox</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::TextBox.SmartTags {ReadOnly}--> - <element type="property"> - <source id="Access.TextBox.SmartTags"> - <context kind="class">TextBox</context> - <name>SmartTags</name> - <type>_SmartTags</type> - </source> - </element> - <!--property::TextBox.SpecialEffect--> - <element type="property"> - <source id="Access.TextBox.SpecialEffect"> - <context kind="class">TextBox</context> - <name>SpecialEffect</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.StatusBarText--> - <element type="property"> - <source id="Access.TextBox.StatusBarText"> - <context kind="class">TextBox</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.TabIndex--> - <element type="property"> - <source id="Access.TextBox.TabIndex"> - <context kind="class">TextBox</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.TabStop--> - <element type="property"> - <source id="Access.TextBox.TabStop"> - <context kind="class">TextBox</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.Tag--> - <element type="property"> - <source id="Access.TextBox.Tag"> - <context kind="class">TextBox</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.Text--> - <element type="property"> - <source id="Access.TextBox.Text"> - <context kind="class">TextBox</context> - <name>Text</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.TextAlign--> - <element type="property"> - <source id="Access.TextBox.TextAlign"> - <context kind="class">TextBox</context> - <name>TextAlign</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.TextAlignGeneral--> - <element type="property"> - <source id="Access.TextBox.TextAlignGeneral"> - <context kind="class">TextBox</context> - <name>TextAlignGeneral</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.TextFontCharSet--> - <element type="property"> - <source id="Access.TextBox.TextFontCharSet"> - <context kind="class">TextBox</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::TextBox.Top--> - <element type="property"> - <source id="Access.TextBox.Top"> - <context kind="class">TextBox</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::TextBox.TopMargin--> - <element type="property"> - <source id="Access.TextBox.TopMargin"> - <context kind="class">TextBox</context> - <name>TopMargin</name> - <type>short</type> - </source> - </element> - <!--method::TextBox.Undo--> - <element type="method"> - <source id="Access.TextBox.Undo"> - <context kind="class">TextBox</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::TextBox.ValidationRule--> - <element type="property"> - <source id="Access.TextBox.ValidationRule"> - <context kind="class">TextBox</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.ValidationText--> - <element type="property"> - <source id="Access.TextBox.ValidationText"> - <context kind="class">TextBox</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::TextBox.Value {Default}--> - <element type="property"> - <source id="Access.TextBox.Value"> - <context kind="class">TextBox</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::TextBox.Vertical--> - <element type="property"> - <source id="Access.TextBox.Vertical"> - <context kind="class">TextBox</context> - <name>Vertical</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.Visible--> - <element type="property"> - <source id="Access.TextBox.Visible"> - <context kind="class">TextBox</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::TextBox.Width--> - <element type="property"> - <source id="Access.TextBox.Width"> - <context kind="class">TextBox</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--Class::ToggleButton--> - <element type="class"> - <source id="Access.ToggleButton"> - <name>ToggleButton</name> - </source> - <destination designation="identity" /> - </element> - <!--property::ToggleButton.accChild {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accChild"> - <context kind="class">ToggleButton</context> - <name>accChild</name> - <type>Object</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accChildCount {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accChildCount"> - <context kind="class">ToggleButton</context> - <name>accChildCount</name> - <type>Integer</type> - </source> - </element> - <!--property::ToggleButton.accDefaultAction {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accDefaultAction"> - <context kind="class">ToggleButton</context> - <name>accDefaultAction</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accDescription {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accDescription"> - <context kind="class">ToggleButton</context> - <name>accDescription</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ToggleButton.accDoDefaultAction--> - <element type="method"> - <source id="Access.ToggleButton.accDoDefaultAction"> - <context kind="class">ToggleButton</context> - <name>accDoDefaultAction</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accFocus {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accFocus"> - <context kind="class">ToggleButton</context> - <name>accFocus</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.accHelp {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accHelp"> - <context kind="class">ToggleButton</context> - <name>accHelp</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accHelpTopic {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accHelpTopic"> - <context kind="class">ToggleButton</context> - <name>accHelpTopic</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pszHelpFile</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ToggleButton.accHitTest--> - <element type="method"> - <source id="Access.ToggleButton.accHitTest"> - <context kind="class">ToggleButton</context> - <name>accHitTest</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>xLeft</name> - </parameter> - <parameter> - <type>Integer</type> - <name>yTop</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accKeyboardShortcut {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accKeyboardShortcut"> - <context kind="class">ToggleButton</context> - <name>accKeyboardShortcut</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ToggleButton.accLocation--> - <element type="method"> - <source id="Access.ToggleButton.accLocation"> - <context kind="class">ToggleButton</context> - <name>accLocation</name> - <type>void</type> - <parameter-list> - <parameter> - <type>int[]</type> - <name>pxLeft</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pyTop</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcxWidth</name> - </parameter> - <parameter> - <type>int[]</type> - <name>pcyHeight</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accName--> - <element type="property"> - <source id="Access.ToggleButton.accName"> - <context kind="class">ToggleButton</context> - <name>accName</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ToggleButton.accNavigate--> - <element type="method"> - <source id="Access.ToggleButton.accNavigate"> - <context kind="class">ToggleButton</context> - <name>accNavigate</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>navDir</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accParent {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accParent"> - <context kind="class">ToggleButton</context> - <name>accParent</name> - <type>Object</type> - </source> - </element> - <!--property::ToggleButton.accRole {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accRole"> - <context kind="class">ToggleButton</context> - <name>accRole</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::ToggleButton.accSelect--> - <element type="method"> - <source id="Access.ToggleButton.accSelect"> - <context kind="class">ToggleButton</context> - <name>accSelect</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>flagsSelect</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accSelection {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accSelection"> - <context kind="class">ToggleButton</context> - <name>accSelection</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.accState {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.accState"> - <context kind="class">ToggleButton</context> - <name>accState</name> - <type>Variant</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.accValue--> - <element type="property"> - <source id="Access.ToggleButton.accValue"> - <context kind="class">ToggleButton</context> - <name>accValue</name> - <type>String</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>varChild</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.AddColon--> - <element type="property"> - <source id="Access.ToggleButton.AddColon"> - <context kind="class">ToggleButton</context> - <name>AddColon</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.AfterUpdate--> - <element type="property"> - <source id="Access.ToggleButton.AfterUpdate"> - <context kind="class">ToggleButton</context> - <name>AfterUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.Application {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.Application"> - <context kind="class">ToggleButton</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::ToggleButton.AutoLabel--> - <element type="property"> - <source id="Access.ToggleButton.AutoLabel"> - <context kind="class">ToggleButton</context> - <name>AutoLabel</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.BeforeUpdate--> - <element type="property"> - <source id="Access.ToggleButton.BeforeUpdate"> - <context kind="class">ToggleButton</context> - <name>BeforeUpdate</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.Caption--> - <element type="property"> - <source id="Access.ToggleButton.Caption"> - <context kind="class">ToggleButton</context> - <name>Caption</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.ColumnHidden--> - <element type="property"> - <source id="Access.ToggleButton.ColumnHidden"> - <context kind="class">ToggleButton</context> - <name>ColumnHidden</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.ColumnOrder--> - <element type="property"> - <source id="Access.ToggleButton.ColumnOrder"> - <context kind="class">ToggleButton</context> - <name>ColumnOrder</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.ColumnWidth--> - <element type="property"> - <source id="Access.ToggleButton.ColumnWidth"> - <context kind="class">ToggleButton</context> - <name>ColumnWidth</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.ControlName--> - <element type="property"> - <source id="Access.ToggleButton.ControlName"> - <context kind="class">ToggleButton</context> - <name>ControlName</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.Controls {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.Controls"> - <context kind="class">ToggleButton</context> - <name>Controls</name> - <type>Children</type> - </source> - </element> - <!--property::ToggleButton.ControlSource--> - <element type="property"> - <source id="Access.ToggleButton.ControlSource"> - <context kind="class">ToggleButton</context> - <name>ControlSource</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.ControlTipText--> - <element type="property"> - <source id="Access.ToggleButton.ControlTipText"> - <context kind="class">ToggleButton</context> - <name>ControlTipText</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.ControlType--> - <element type="property"> - <source id="Access.ToggleButton.ControlType"> - <context kind="class">ToggleButton</context> - <name>ControlType</name> - <type>byte</type> - </source> - </element> - <!--property::ToggleButton.DefaultValue--> - <element type="property"> - <source id="Access.ToggleButton.DefaultValue"> - <context kind="class">ToggleButton</context> - <name>DefaultValue</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.DisplayWhen--> - <element type="property"> - <source id="Access.ToggleButton.DisplayWhen"> - <context kind="class">ToggleButton</context> - <name>DisplayWhen</name> - <type>byte</type> - </source> - </element> - <!--property::ToggleButton.Enabled--> - <element type="property"> - <source id="Access.ToggleButton.Enabled"> - <context kind="class">ToggleButton</context> - <name>Enabled</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.EventProcPrefix--> - <element type="property"> - <source id="Access.ToggleButton.EventProcPrefix"> - <context kind="class">ToggleButton</context> - <name>EventProcPrefix</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.FontBold--> - <element type="property"> - <source id="Access.ToggleButton.FontBold"> - <context kind="class">ToggleButton</context> - <name>FontBold</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.FontItalic--> - <element type="property"> - <source id="Access.ToggleButton.FontItalic"> - <context kind="class">ToggleButton</context> - <name>FontItalic</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.FontName--> - <element type="property"> - <source id="Access.ToggleButton.FontName"> - <context kind="class">ToggleButton</context> - <name>FontName</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.FontSize--> - <element type="property"> - <source id="Access.ToggleButton.FontSize"> - <context kind="class">ToggleButton</context> - <name>FontSize</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.FontUnderline--> - <element type="property"> - <source id="Access.ToggleButton.FontUnderline"> - <context kind="class">ToggleButton</context> - <name>FontUnderline</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.FontWeight--> - <element type="property"> - <source id="Access.ToggleButton.FontWeight"> - <context kind="class">ToggleButton</context> - <name>FontWeight</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.ForeColor--> - <element type="property"> - <source id="Access.ToggleButton.ForeColor"> - <context kind="class">ToggleButton</context> - <name>ForeColor</name> - <type>Integer</type> - </source> - </element> - <!--method::ToggleButton.Goto--> - <element type="method"> - <source id="Access.ToggleButton.Goto"> - <context kind="class">ToggleButton</context> - <name>Goto</name> - <type>void</type> - </source> - </element> - <!--property::ToggleButton.Height--> - <element type="property"> - <source id="Access.ToggleButton.Height"> - <context kind="class">ToggleButton</context> - <name>Height</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.HelpContextId--> - <element type="property"> - <source id="Access.ToggleButton.HelpContextId"> - <context kind="class">ToggleButton</context> - <name>HelpContextId</name> - <type>Integer</type> - </source> - </element> - <!--property::ToggleButton.HideDuplicates--> - <element type="property"> - <source id="Access.ToggleButton.HideDuplicates"> - <context kind="class">ToggleButton</context> - <name>HideDuplicates</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.InSelection--> - <element type="property"> - <source id="Access.ToggleButton.InSelection"> - <context kind="class">ToggleButton</context> - <name>InSelection</name> - <type>boolean</type> - </source> - </element> - <!--method::ToggleButton.IsMemberSafe--> - <element type="method"> - <source id="Access.ToggleButton.IsMemberSafe"> - <context kind="class">ToggleButton</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.IsVisible--> - <element type="property"> - <source id="Access.ToggleButton.IsVisible"> - <context kind="class">ToggleButton</context> - <name>IsVisible</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.LabelAlign--> - <element type="property"> - <source id="Access.ToggleButton.LabelAlign"> - <context kind="class">ToggleButton</context> - <name>LabelAlign</name> - <type>byte</type> - </source> - </element> - <!--property::ToggleButton.LabelX--> - <element type="property"> - <source id="Access.ToggleButton.LabelX"> - <context kind="class">ToggleButton</context> - <name>LabelX</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.LabelY--> - <element type="property"> - <source id="Access.ToggleButton.LabelY"> - <context kind="class">ToggleButton</context> - <name>LabelY</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.Left--> - <element type="property"> - <source id="Access.ToggleButton.Left"> - <context kind="class">ToggleButton</context> - <name>Left</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.Locked--> - <element type="property"> - <source id="Access.ToggleButton.Locked"> - <context kind="class">ToggleButton</context> - <name>Locked</name> - <type>boolean</type> - </source> - </element> - <!--method::ToggleButton.Move--> - <element type="method"> - <source id="Access.ToggleButton.Move"> - <context kind="class">ToggleButton</context> - <name>Move</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Variant</type> - <name>Left</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Top</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Width</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Height</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::ToggleButton.Name--> - <element type="property"> - <source id="Access.ToggleButton.Name"> - <context kind="class">ToggleButton</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.ObjectPalette--> - <element type="property"> - <source id="Access.ToggleButton.ObjectPalette"> - <context kind="class">ToggleButton</context> - <name>ObjectPalette</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.OldValue {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.OldValue"> - <context kind="class">ToggleButton</context> - <name>OldValue</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.OnClick--> - <element type="property"> - <source id="Access.ToggleButton.OnClick"> - <context kind="class">ToggleButton</context> - <name>OnClick</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnDblClick--> - <element type="property"> - <source id="Access.ToggleButton.OnDblClick"> - <context kind="class">ToggleButton</context> - <name>OnDblClick</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnEnter--> - <element type="property"> - <source id="Access.ToggleButton.OnEnter"> - <context kind="class">ToggleButton</context> - <name>OnEnter</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnExit--> - <element type="property"> - <source id="Access.ToggleButton.OnExit"> - <context kind="class">ToggleButton</context> - <name>OnExit</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnGotFocus--> - <element type="property"> - <source id="Access.ToggleButton.OnGotFocus"> - <context kind="class">ToggleButton</context> - <name>OnGotFocus</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnKeyDown--> - <element type="property"> - <source id="Access.ToggleButton.OnKeyDown"> - <context kind="class">ToggleButton</context> - <name>OnKeyDown</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnKeyPress--> - <element type="property"> - <source id="Access.ToggleButton.OnKeyPress"> - <context kind="class">ToggleButton</context> - <name>OnKeyPress</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnKeyUp--> - <element type="property"> - <source id="Access.ToggleButton.OnKeyUp"> - <context kind="class">ToggleButton</context> - <name>OnKeyUp</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnLostFocus--> - <element type="property"> - <source id="Access.ToggleButton.OnLostFocus"> - <context kind="class">ToggleButton</context> - <name>OnLostFocus</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnMouseDown--> - <element type="property"> - <source id="Access.ToggleButton.OnMouseDown"> - <context kind="class">ToggleButton</context> - <name>OnMouseDown</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnMouseMove--> - <element type="property"> - <source id="Access.ToggleButton.OnMouseMove"> - <context kind="class">ToggleButton</context> - <name>OnMouseMove</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OnMouseUp--> - <element type="property"> - <source id="Access.ToggleButton.OnMouseUp"> - <context kind="class">ToggleButton</context> - <name>OnMouseUp</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.OptionValue--> - <element type="property"> - <source id="Access.ToggleButton.OptionValue"> - <context kind="class">ToggleButton</context> - <name>OptionValue</name> - <type>Integer</type> - </source> - </element> - <!--property::ToggleButton.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.Parent"> - <context kind="class">ToggleButton</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::ToggleButton.Picture--> - <element type="property"> - <source id="Access.ToggleButton.Picture"> - <context kind="class">ToggleButton</context> - <name>Picture</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.PictureData--> - <element type="property"> - <source id="Access.ToggleButton.PictureData"> - <context kind="class">ToggleButton</context> - <name>PictureData</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.PictureType--> - <element type="property"> - <source id="Access.ToggleButton.PictureType"> - <context kind="class">ToggleButton</context> - <name>PictureType</name> - <type>byte</type> - </source> - </element> - <!--property::ToggleButton.Properties {ReadOnly}--> - <element type="property"> - <source id="Access.ToggleButton.Properties"> - <context kind="class">ToggleButton</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::ToggleButton.ReadingOrder--> - <element type="property"> - <source id="Access.ToggleButton.ReadingOrder"> - <context kind="class">ToggleButton</context> - <name>ReadingOrder</name> - <type>byte</type> - </source> - </element> - <!--method::ToggleButton.Requery--> - <element type="method"> - <source id="Access.ToggleButton.Requery"> - <context kind="class">ToggleButton</context> - <name>Requery</name> - <type>void</type> - </source> - </element> - <!--property::ToggleButton.Section--> - <element type="property"> - <source id="Access.ToggleButton.Section"> - <context kind="class">ToggleButton</context> - <name>Section</name> - <type>short</type> - </source> - </element> - <!--method::ToggleButton.SetFocus--> - <element type="method"> - <source id="Access.ToggleButton.SetFocus"> - <context kind="class">ToggleButton</context> - <name>SetFocus</name> - <type>void</type> - </source> - </element> - <!--property::ToggleButton.ShortcutMenuBar--> - <element type="property"> - <source id="Access.ToggleButton.ShortcutMenuBar"> - <context kind="class">ToggleButton</context> - <name>ShortcutMenuBar</name> - <type>String</type> - </source> - </element> - <!--method::ToggleButton.SizeToFit--> - <element type="method"> - <source id="Access.ToggleButton.SizeToFit"> - <context kind="class">ToggleButton</context> - <name>SizeToFit</name> - <type>void</type> - </source> - </element> - <!--property::ToggleButton.StatusBarText--> - <element type="property"> - <source id="Access.ToggleButton.StatusBarText"> - <context kind="class">ToggleButton</context> - <name>StatusBarText</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.TabIndex--> - <element type="property"> - <source id="Access.ToggleButton.TabIndex"> - <context kind="class">ToggleButton</context> - <name>TabIndex</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.TabStop--> - <element type="property"> - <source id="Access.ToggleButton.TabStop"> - <context kind="class">ToggleButton</context> - <name>TabStop</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.Tag--> - <element type="property"> - <source id="Access.ToggleButton.Tag"> - <context kind="class">ToggleButton</context> - <name>Tag</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.TextFontCharSet--> - <element type="property"> - <source id="Access.ToggleButton.TextFontCharSet"> - <context kind="class">ToggleButton</context> - <name>TextFontCharSet</name> - <type>byte</type> - </source> - </element> - <!--property::ToggleButton.Top--> - <element type="property"> - <source id="Access.ToggleButton.Top"> - <context kind="class">ToggleButton</context> - <name>Top</name> - <type>short</type> - </source> - </element> - <!--property::ToggleButton.TripleState--> - <element type="property"> - <source id="Access.ToggleButton.TripleState"> - <context kind="class">ToggleButton</context> - <name>TripleState</name> - <type>boolean</type> - </source> - </element> - <!--method::ToggleButton.Undo--> - <element type="method"> - <source id="Access.ToggleButton.Undo"> - <context kind="class">ToggleButton</context> - <name>Undo</name> - <type>void</type> - </source> - </element> - <!--property::ToggleButton.ValidationRule--> - <element type="property"> - <source id="Access.ToggleButton.ValidationRule"> - <context kind="class">ToggleButton</context> - <name>ValidationRule</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.ValidationText--> - <element type="property"> - <source id="Access.ToggleButton.ValidationText"> - <context kind="class">ToggleButton</context> - <name>ValidationText</name> - <type>String</type> - </source> - </element> - <!--property::ToggleButton.Value {Default}--> - <element type="property"> - <source id="Access.ToggleButton.Value"> - <context kind="class">ToggleButton</context> - <name default="true">Value</name> - <type>Variant</type> - </source> - </element> - <!--property::ToggleButton.Visible--> - <element type="property"> - <source id="Access.ToggleButton.Visible"> - <context kind="class">ToggleButton</context> - <name>Visible</name> - <type>boolean</type> - </source> - </element> - <!--property::ToggleButton.Width--> - <element type="property"> - <source id="Access.ToggleButton.Width"> - <context kind="class">ToggleButton</context> - <name>Width</name> - <type>short</type> - </source> - </element> - <!--property::V_CURRENCY--> - <element type="property"> - <source id="Access.V_CURRENCY"> - <name>V_CURRENCY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_DATE--> - <element type="property"> - <source id="Access.V_DATE"> - <name>V_DATE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_DOUBLE--> - <element type="property"> - <source id="Access.V_DOUBLE"> - <name>V_DOUBLE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_EMPTY--> - <element type="property"> - <source id="Access.V_EMPTY"> - <name>V_EMPTY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_INTEGER--> - <element type="property"> - <source id="Access.V_INTEGER"> - <name>V_INTEGER</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_LONG--> - <element type="property"> - <source id="Access.V_LONG"> - <name>V_LONG</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_NULL--> - <element type="property"> - <source id="Access.V_NULL"> - <name>V_NULL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_SINGLE--> - <element type="property"> - <source id="Access.V_SINGLE"> - <name>V_SINGLE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::V_STRING--> - <element type="property"> - <source id="Access.V_STRING"> - <name>V_STRING</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey0--> - <element type="property"> - <source id="Access.vbKey0"> - <name>vbKey0</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey1--> - <element type="property"> - <source id="Access.vbKey1"> - <name>vbKey1</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey2--> - <element type="property"> - <source id="Access.vbKey2"> - <name>vbKey2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey3--> - <element type="property"> - <source id="Access.vbKey3"> - <name>vbKey3</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey4--> - <element type="property"> - <source id="Access.vbKey4"> - <name>vbKey4</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey5--> - <element type="property"> - <source id="Access.vbKey5"> - <name>vbKey5</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey6--> - <element type="property"> - <source id="Access.vbKey6"> - <name>vbKey6</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey7--> - <element type="property"> - <source id="Access.vbKey7"> - <name>vbKey7</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey8--> - <element type="property"> - <source id="Access.vbKey8"> - <name>vbKey8</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKey9--> - <element type="property"> - <source id="Access.vbKey9"> - <name>vbKey9</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyA--> - <element type="property"> - <source id="Access.vbKeyA"> - <name>vbKeyA</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyAdd--> - <element type="property"> - <source id="Access.vbKeyAdd"> - <name>vbKeyAdd</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyB--> - <element type="property"> - <source id="Access.vbKeyB"> - <name>vbKeyB</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyBack--> - <element type="property"> - <source id="Access.vbKeyBack"> - <name>vbKeyBack</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyC--> - <element type="property"> - <source id="Access.vbKeyC"> - <name>vbKeyC</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyCancel--> - <element type="property"> - <source id="Access.vbKeyCancel"> - <name>vbKeyCancel</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyCapital--> - <element type="property"> - <source id="Access.vbKeyCapital"> - <name>vbKeyCapital</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyClear--> - <element type="property"> - <source id="Access.vbKeyClear"> - <name>vbKeyClear</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyControl--> - <element type="property"> - <source id="Access.vbKeyControl"> - <name>vbKeyControl</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyD--> - <element type="property"> - <source id="Access.vbKeyD"> - <name>vbKeyD</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyDecimal--> - <element type="property"> - <source id="Access.vbKeyDecimal"> - <name>vbKeyDecimal</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyDelete--> - <element type="property"> - <source id="Access.vbKeyDelete"> - <name>vbKeyDelete</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyDivide--> - <element type="property"> - <source id="Access.vbKeyDivide"> - <name>vbKeyDivide</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyDown--> - <element type="property"> - <source id="Access.vbKeyDown"> - <name>vbKeyDown</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyE--> - <element type="property"> - <source id="Access.vbKeyE"> - <name>vbKeyE</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyEnd--> - <element type="property"> - <source id="Access.vbKeyEnd"> - <name>vbKeyEnd</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyEscape--> - <element type="property"> - <source id="Access.vbKeyEscape"> - <name>vbKeyEscape</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyExecute--> - <element type="property"> - <source id="Access.vbKeyExecute"> - <name>vbKeyExecute</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF--> - <element type="property"> - <source id="Access.vbKeyF"> - <name>vbKeyF</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF1--> - <element type="property"> - <source id="Access.vbKeyF1"> - <name>vbKeyF1</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF10--> - <element type="property"> - <source id="Access.vbKeyF10"> - <name>vbKeyF10</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF11--> - <element type="property"> - <source id="Access.vbKeyF11"> - <name>vbKeyF11</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF12--> - <element type="property"> - <source id="Access.vbKeyF12"> - <name>vbKeyF12</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF13--> - <element type="property"> - <source id="Access.vbKeyF13"> - <name>vbKeyF13</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF14--> - <element type="property"> - <source id="Access.vbKeyF14"> - <name>vbKeyF14</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF15--> - <element type="property"> - <source id="Access.vbKeyF15"> - <name>vbKeyF15</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF16--> - <element type="property"> - <source id="Access.vbKeyF16"> - <name>vbKeyF16</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF2--> - <element type="property"> - <source id="Access.vbKeyF2"> - <name>vbKeyF2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF3--> - <element type="property"> - <source id="Access.vbKeyF3"> - <name>vbKeyF3</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF4--> - <element type="property"> - <source id="Access.vbKeyF4"> - <name>vbKeyF4</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF5--> - <element type="property"> - <source id="Access.vbKeyF5"> - <name>vbKeyF5</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF6--> - <element type="property"> - <source id="Access.vbKeyF6"> - <name>vbKeyF6</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF7--> - <element type="property"> - <source id="Access.vbKeyF7"> - <name>vbKeyF7</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF8--> - <element type="property"> - <source id="Access.vbKeyF8"> - <name>vbKeyF8</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyF9--> - <element type="property"> - <source id="Access.vbKeyF9"> - <name>vbKeyF9</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyG--> - <element type="property"> - <source id="Access.vbKeyG"> - <name>vbKeyG</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyH--> - <element type="property"> - <source id="Access.vbKeyH"> - <name>vbKeyH</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyHelp--> - <element type="property"> - <source id="Access.vbKeyHelp"> - <name>vbKeyHelp</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyHome--> - <element type="property"> - <source id="Access.vbKeyHome"> - <name>vbKeyHome</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyI--> - <element type="property"> - <source id="Access.vbKeyI"> - <name>vbKeyI</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyInsert--> - <element type="property"> - <source id="Access.vbKeyInsert"> - <name>vbKeyInsert</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyJ--> - <element type="property"> - <source id="Access.vbKeyJ"> - <name>vbKeyJ</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyK--> - <element type="property"> - <source id="Access.vbKeyK"> - <name>vbKeyK</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyL--> - <element type="property"> - <source id="Access.vbKeyL"> - <name>vbKeyL</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyLButton--> - <element type="property"> - <source id="Access.vbKeyLButton"> - <name>vbKeyLButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyLeft--> - <element type="property"> - <source id="Access.vbKeyLeft"> - <name>vbKeyLeft</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyM--> - <element type="property"> - <source id="Access.vbKeyM"> - <name>vbKeyM</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyMButton--> - <element type="property"> - <source id="Access.vbKeyMButton"> - <name>vbKeyMButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyMenu--> - <element type="property"> - <source id="Access.vbKeyMenu"> - <name>vbKeyMenu</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyMultiply--> - <element type="property"> - <source id="Access.vbKeyMultiply"> - <name>vbKeyMultiply</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyN--> - <element type="property"> - <source id="Access.vbKeyN"> - <name>vbKeyN</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumlock--> - <element type="property"> - <source id="Access.vbKeyNumlock"> - <name>vbKeyNumlock</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad0--> - <element type="property"> - <source id="Access.vbKeyNumpad0"> - <name>vbKeyNumpad0</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad1--> - <element type="property"> - <source id="Access.vbKeyNumpad1"> - <name>vbKeyNumpad1</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad2--> - <element type="property"> - <source id="Access.vbKeyNumpad2"> - <name>vbKeyNumpad2</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad3--> - <element type="property"> - <source id="Access.vbKeyNumpad3"> - <name>vbKeyNumpad3</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad4--> - <element type="property"> - <source id="Access.vbKeyNumpad4"> - <name>vbKeyNumpad4</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad5--> - <element type="property"> - <source id="Access.vbKeyNumpad5"> - <name>vbKeyNumpad5</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad6--> - <element type="property"> - <source id="Access.vbKeyNumpad6"> - <name>vbKeyNumpad6</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad7--> - <element type="property"> - <source id="Access.vbKeyNumpad7"> - <name>vbKeyNumpad7</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad8--> - <element type="property"> - <source id="Access.vbKeyNumpad8"> - <name>vbKeyNumpad8</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyNumpad9--> - <element type="property"> - <source id="Access.vbKeyNumpad9"> - <name>vbKeyNumpad9</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyO--> - <element type="property"> - <source id="Access.vbKeyO"> - <name>vbKeyO</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyP--> - <element type="property"> - <source id="Access.vbKeyP"> - <name>vbKeyP</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyPageDown--> - <element type="property"> - <source id="Access.vbKeyPageDown"> - <name>vbKeyPageDown</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyPageUp--> - <element type="property"> - <source id="Access.vbKeyPageUp"> - <name>vbKeyPageUp</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyPause--> - <element type="property"> - <source id="Access.vbKeyPause"> - <name>vbKeyPause</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyPrint--> - <element type="property"> - <source id="Access.vbKeyPrint"> - <name>vbKeyPrint</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyQ--> - <element type="property"> - <source id="Access.vbKeyQ"> - <name>vbKeyQ</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyR--> - <element type="property"> - <source id="Access.vbKeyR"> - <name>vbKeyR</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyRButton--> - <element type="property"> - <source id="Access.vbKeyRButton"> - <name>vbKeyRButton</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyReturn--> - <element type="property"> - <source id="Access.vbKeyReturn"> - <name>vbKeyReturn</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyRight--> - <element type="property"> - <source id="Access.vbKeyRight"> - <name>vbKeyRight</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyS--> - <element type="property"> - <source id="Access.vbKeyS"> - <name>vbKeyS</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeySelect--> - <element type="property"> - <source id="Access.vbKeySelect"> - <name>vbKeySelect</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeySeparator--> - <element type="property"> - <source id="Access.vbKeySeparator"> - <name>vbKeySeparator</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyShift--> - <element type="property"> - <source id="Access.vbKeyShift"> - <name>vbKeyShift</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeySnapshot--> - <element type="property"> - <source id="Access.vbKeySnapshot"> - <name>vbKeySnapshot</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeySpace--> - <element type="property"> - <source id="Access.vbKeySpace"> - <name>vbKeySpace</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeySubtract--> - <element type="property"> - <source id="Access.vbKeySubtract"> - <name>vbKeySubtract</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyT--> - <element type="property"> - <source id="Access.vbKeyT"> - <name>vbKeyT</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyTab--> - <element type="property"> - <source id="Access.vbKeyTab"> - <name>vbKeyTab</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyU--> - <element type="property"> - <source id="Access.vbKeyU"> - <name>vbKeyU</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyUp--> - <element type="property"> - <source id="Access.vbKeyUp"> - <name>vbKeyUp</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyV--> - <element type="property"> - <source id="Access.vbKeyV"> - <name>vbKeyV</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyW--> - <element type="property"> - <source id="Access.vbKeyW"> - <name>vbKeyW</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyX--> - <element type="property"> - <source id="Access.vbKeyX"> - <name>vbKeyX</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyY--> - <element type="property"> - <source id="Access.vbKeyY"> - <name>vbKeyY</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--property::vbKeyZ--> - <element type="property"> - <source id="Access.vbKeyZ"> - <name>vbKeyZ</name> - <type>short</type> - </source> - <destination designation="identity" /> - </element> - <!--Class::WebOptions--> - <element type="class"> - <source id="Access.WebOptions"> - <name>WebOptions</name> - </source> - <destination designation="identity" /> - </element> - <!--property::WebOptions.Application {ReadOnly}--> - <element type="property"> - <source id="Access.WebOptions.Application"> - <context kind="class">WebOptions</context> - <name>Application</name> - <type>Application</type> - </source> - </element> - <!--property::WebOptions.DownloadComponents--> - <element type="property"> - <source id="Access.WebOptions.DownloadComponents"> - <context kind="class">WebOptions</context> - <name>DownloadComponents</name> - <type>boolean</type> - </source> - </element> - <!--property::WebOptions.Encoding--> - <element type="property"> - <source id="Access.WebOptions.Encoding"> - <context kind="class">WebOptions</context> - <name>Encoding</name> - <type>Integer</type> - </source> - </element> - <!--property::WebOptions.FolderSuffix {ReadOnly}--> - <element type="property"> - <source id="Access.WebOptions.FolderSuffix"> - <context kind="class">WebOptions</context> - <name>FolderSuffix</name> - <type>String</type> - </source> - </element> - <!--method::WebOptions.IsMemberSafe--> - <element type="method"> - <source id="Access.WebOptions.IsMemberSafe"> - <context kind="class">WebOptions</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::WebOptions.LocationOfComponents--> - <element type="property"> - <source id="Access.WebOptions.LocationOfComponents"> - <context kind="class">WebOptions</context> - <name>LocationOfComponents</name> - <type>String</type> - </source> - </element> - <!--property::WebOptions.OrganizeInFolder--> - <element type="property"> - <source id="Access.WebOptions.OrganizeInFolder"> - <context kind="class">WebOptions</context> - <name>OrganizeInFolder</name> - <type>boolean</type> - </source> - </element> - <!--property::WebOptions.Parent {ReadOnly}--> - <element type="property"> - <source id="Access.WebOptions.Parent"> - <context kind="class">WebOptions</context> - <name>Parent</name> - <type>Object</type> - </source> - </element> - <!--property::WebOptions.TargetBrowser--> - <element type="property"> - <source id="Access.WebOptions.TargetBrowser"> - <context kind="class">WebOptions</context> - <name>TargetBrowser</name> - <type>Integer</type> - </source> - </element> - <!--method::WebOptions.UseDefaultFolderSuffix--> - <element type="method"> - <source id="Access.WebOptions.UseDefaultFolderSuffix"> - <context kind="class">WebOptions</context> - <name>UseDefaultFolderSuffix</name> - <type>void</type> - </source> - </element> - <!--property::WebOptions.UseLongFileNames--> - <element type="property"> - <source id="Access.WebOptions.UseLongFileNames"> - <context kind="class">WebOptions</context> - <name>UseLongFileNames</name> - <type>boolean</type> - </source> - </element> - <!--Class::WizHook--> - <element type="class"> - <source id="Access.WizHook"> - <name>WizHook</name> - </source> - <destination designation="identity" /> - </element> - <!--method::WizHook.AccessUserDataDir--> - <element type="method"> - <source id="Access.WizHook.AccessUserDataDir"> - <context kind="class">WizHook</context> - <name>AccessUserDataDir</name> - <type>String</type> - </source> - </element> - <!--method::WizHook.AccessWizFilePath--> - <element type="method"> - <source id="Access.WizHook.AccessWizFilePath"> - <context kind="class">WizHook</context> - <name>AccessWizFilePath</name> - <type>String</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrWhich</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.AdpUIDPwd--> - <element type="method"> - <source id="Access.WizHook.AdpUIDPwd"> - <context kind="class">WizHook</context> - <name>AdpUIDPwd</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>pbstrUID</name> - </parameter> - <parameter> - <type>String[]</type> - <name>pbstrPwd</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.AnalyzeQuery--> - <element type="method"> - <source id="Access.WizHook.AnalyzeQuery"> - <context kind="class">WizHook</context> - <name>AnalyzeQuery</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Workspace</type> - <name>Workspace</name> - </parameter> - <parameter> - <type>Database</type> - <name>Database</name> - </parameter> - <parameter> - <type>String</type> - <name>Query</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Results</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.AnalyzeTable--> - <element type="method"> - <source id="Access.WizHook.AnalyzeTable"> - <context kind="class">WizHook</context> - <name>AnalyzeTable</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Workspace</type> - <name>Workspace</name> - </parameter> - <parameter> - <type>Database</type> - <name>Database</name> - </parameter> - <parameter> - <type>String</type> - <name>Table</name> - </parameter> - <parameter> - <type>boolean</type> - <name>ReturnDebugInfo</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Results</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.ArgsOfActid--> - <element type="method"> - <source id="Access.WizHook.ArgsOfActid"> - <context kind="class">WizHook</context> - <name>ArgsOfActid</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Actid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.BracketString--> - <element type="method"> - <source id="Access.WizHook.BracketString"> - <context kind="class">WizHook</context> - <name>BracketString</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>String</name> - </parameter> - <parameter> - <type>Integer</type> - <name>flags</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.CloseCurrentDatabase--> - <element type="method"> - <source id="Access.WizHook.CloseCurrentDatabase"> - <context kind="class">WizHook</context> - <name>CloseCurrentDatabase</name> - <type>boolean</type> - </source> - </element> - <!--method::WizHook.CreateDataPageControl--> - <element type="method"> - <source id="Access.WizHook.CreateDataPageControl"> - <context kind="class">WizHook</context> - <name>CreateDataPageControl</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>DpName</name> - </parameter> - <parameter> - <type>String</type> - <name>CtlName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Typ</name> - </parameter> - <parameter> - <type>String</type> - <name>Section</name> - </parameter> - <parameter> - <type>Integer</type> - <name>SectionType</name> - </parameter> - <parameter> - <type>String</type> - <name>AppletCode</name> - </parameter> - <parameter> - <type>Integer</type> - <name>X</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Y</name> - </parameter> - <parameter> - <type>Integer</type> - <name>dx</name> - </parameter> - <parameter> - <type>Integer</type> - <name>dy</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.CurrentLangID--> - <element type="method"> - <source id="Access.WizHook.CurrentLangID"> - <context kind="class">WizHook</context> - <name>CurrentLangID</name> - <type>Integer</type> - </source> - </element> - <!--property::WizHook.DbcVbProject {ReadOnly}--> - <element type="property"> - <source id="Access.WizHook.DbcVbProject"> - <context kind="class">WizHook</context> - <name>DbcVbProject</name> - <type>_VBProject</type> - </source> - </element> - <!--method::WizHook.EmbedFileOnDataPage--> - <element type="method"> - <source id="Access.WizHook.EmbedFileOnDataPage"> - <context kind="class">WizHook</context> - <name>EmbedFileOnDataPage</name> - <type>String</type> - <parameter-list> - <parameter> - <type>String</type> - <name>DpName</name> - </parameter> - <parameter> - <type>String</type> - <name>FileToInsert</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.EnglishPictToLocal--> - <element type="method"> - <source id="Access.WizHook.EnglishPictToLocal"> - <context kind="class">WizHook</context> - <name>EnglishPictToLocal</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>In</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Out</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FCreateNameMap--> - <element type="method"> - <source id="Access.WizHook.FCreateNameMap"> - <context kind="class">WizHook</context> - <name>FCreateNameMap</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>short</type> - <name>objtyp</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrObjName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FGetMSDE--> - <element type="method"> - <source id="Access.WizHook.FGetMSDE"> - <context kind="class">WizHook</context> - <name>FGetMSDE</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>boolean</type> - <name>fBlockKeys</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FileExists--> - <element type="method"> - <source id="Access.WizHook.FileExists"> - <context kind="class">WizHook</context> - <name>FileExists</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>File</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FirstDbcDataObject--> - <element type="method"> - <source id="Access.WizHook.FirstDbcDataObject"> - <context kind="class">WizHook</context> - <name>FirstDbcDataObject</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>Name</name> - </parameter> - <parameter> - <type>AcObjectType</type> - <name>ObjType</name> - </parameter> - <parameter> - <type>int[]</type> - <name>Attribs</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FIsFEWch--> - <element type="method"> - <source id="Access.WizHook.FIsFEWch"> - <context kind="class">WizHook</context> - <name>FIsFEWch</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>wch</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.FullPath--> - <element type="method"> - <source id="Access.WizHook.FullPath"> - <context kind="class">WizHook</context> - <name>FullPath</name> - <type>short</type> - <parameter-list> - <parameter> - <type>String</type> - <name>RelativePath</name> - </parameter> - <parameter> - <type>String[]</type> - <name>FullPath</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetAccWizRCPath--> - <element type="method"> - <source id="Access.WizHook.GetAccWizRCPath"> - <context kind="class">WizHook</context> - <name>GetAccWizRCPath</name> - <type>String</type> - </source> - </element> - <!--method::WizHook.GetColumns--> - <element type="method"> - <source id="Access.WizHook.GetColumns"> - <context kind="class">WizHook</context> - <name>GetColumns</name> - <type>String</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrBase</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetCurrentView--> - <element type="method"> - <source id="Access.WizHook.GetCurrentView"> - <context kind="class">WizHook</context> - <name>GetCurrentView</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrTableName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetFileName--> - <element type="method"> - <source id="Access.WizHook.GetFileName"> - <context kind="class">WizHook</context> - <name>GetFileName</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>hwndOwner</name> - </parameter> - <parameter> - <type>String</type> - <name>AppName</name> - </parameter> - <parameter> - <type>String</type> - <name>DlgTitle</name> - </parameter> - <parameter> - <type>String</type> - <name>OpenTitle</name> - </parameter> - <parameter> - <type>String[]</type> - <name>File</name> - </parameter> - <parameter> - <type>String</type> - <name>InitialDir</name> - </parameter> - <parameter> - <type>String</type> - <name>Filter</name> - </parameter> - <parameter> - <type>Integer</type> - <name>FilterIndex</name> - </parameter> - <parameter> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter> - <type>Integer</type> - <name>flags</name> - </parameter> - <parameter> - <type>boolean</type> - <name>fOpen</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetFileName2--> - <element type="method"> - <source id="Access.WizHook.GetFileName2"> - <context kind="class">WizHook</context> - <name>GetFileName2</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>hwndOwner</name> - </parameter> - <parameter> - <type>String</type> - <name>AppName</name> - </parameter> - <parameter> - <type>String</type> - <name>DlgTitle</name> - </parameter> - <parameter> - <type>String</type> - <name>OpenTitle</name> - </parameter> - <parameter> - <type>String[]</type> - <name>File</name> - </parameter> - <parameter> - <type>String</type> - <name>InitialDir</name> - </parameter> - <parameter> - <type>String</type> - <name>Filter</name> - </parameter> - <parameter> - <type>Integer</type> - <name>FilterIndex</name> - </parameter> - <parameter> - <type>Integer</type> - <name>View</name> - </parameter> - <parameter> - <type>Integer</type> - <name>flags</name> - </parameter> - <parameter> - <type>boolean</type> - <name>fOpen</name> - </parameter> - <parameter> - <type>Variant</type> - <name>fFileSystem</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetFileOdso--> - <element type="method"> - <source id="Access.WizHook.GetFileOdso"> - <context kind="class">WizHook</context> - <name>GetFileOdso</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrExt</name> - </parameter> - <parameter> - <type>String[]</type> - <name>bstrFilename</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetInfoForColumns--> - <element type="method"> - <source id="Access.WizHook.GetInfoForColumns"> - <context kind="class">WizHook</context> - <name>GetInfoForColumns</name> - <type>String</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrBase</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetScriptString--> - <element type="method"> - <source id="Access.WizHook.GetScriptString"> - <context kind="class">WizHook</context> - <name>GetScriptString</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>HScr</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ScriptColumn</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GetWizGlob--> - <element type="method"> - <source id="Access.WizHook.GetWizGlob"> - <context kind="class">WizHook</context> - <name>GetWizGlob</name> - <type>Variant</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>lWhich</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.GlobalProcExists--> - <element type="method"> - <source id="Access.WizHook.GlobalProcExists"> - <context kind="class">WizHook</context> - <name>GlobalProcExists</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Name</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.HideDates--> - <element type="method"> - <source id="Access.WizHook.HideDates"> - <context kind="class">WizHook</context> - <name>HideDates</name> - <type>boolean</type> - </source> - </element> - <!--property::WizHook.IsMatchToDbcConnectString {ReadOnly}--> - <element type="property"> - <source id="Access.WizHook.IsMatchToDbcConnectString"> - <context kind="class">WizHook</context> - <name>IsMatchToDbcConnectString</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrConnectionString</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.IsMemberSafe--> - <element type="method"> - <source id="Access.WizHook.IsMemberSafe"> - <context kind="class">WizHook</context> - <name>IsMemberSafe</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>dispid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.IsValidIdent--> - <element type="method"> - <source id="Access.WizHook.IsValidIdent"> - <context kind="class">WizHook</context> - <name>IsValidIdent</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Identifier</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.KeyboardLangID--> - <element type="method"> - <source id="Access.WizHook.KeyboardLangID"> - <context kind="class">WizHook</context> - <name>KeyboardLangID</name> - <type>Integer</type> - </source> - </element> - <!--method::WizHook.KnownWizLeaks--> - <element type="method"> - <source id="Access.WizHook.KnownWizLeaks"> - <context kind="class">WizHook</context> - <name>KnownWizLeaks</name> - <type>void</type> - <parameter-list> - <parameter> - <type>boolean</type> - <name>fStart</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.LoadImexSpecSolution--> - <element type="method"> - <source id="Access.WizHook.LoadImexSpecSolution"> - <context kind="class">WizHook</context> - <name>LoadImexSpecSolution</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrFilename</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.LocalFont--> - <element type="method"> - <source id="Access.WizHook.LocalFont"> - <context kind="class">WizHook</context> - <name>LocalFont</name> - <type>String</type> - </source> - </element> - <!--method::WizHook.NameFromActid--> - <element type="method"> - <source id="Access.WizHook.NameFromActid"> - <context kind="class">WizHook</context> - <name>NameFromActid</name> - <type>String</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Actid</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.ObjTypOfRecordSource--> - <element type="method"> - <source id="Access.WizHook.ObjTypOfRecordSource"> - <context kind="class">WizHook</context> - <name>ObjTypOfRecordSource</name> - <type>short</type> - <parameter-list> - <parameter> - <type>String</type> - <name>RecordSource</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.OfficeAddInDir--> - <element type="method"> - <source id="Access.WizHook.OfficeAddInDir"> - <context kind="class">WizHook</context> - <name>OfficeAddInDir</name> - <type>String</type> - </source> - </element> - <!--method::WizHook.OpenPictureFile--> - <element type="method"> - <source id="Access.WizHook.OpenPictureFile"> - <context kind="class">WizHook</context> - <name>OpenPictureFile</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>File</name> - </parameter> - <parameter> - <type>boolean[]</type> - <name>Cancelled</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.OpenScript--> - <element type="method"> - <source id="Access.WizHook.OpenScript"> - <context kind="class">WizHook</context> - <name>OpenScript</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Script</name> - </parameter> - <parameter> - <type>String</type> - <name>Label</name> - </parameter> - <parameter> - <type>Integer</type> - <name>OpenMode</name> - </parameter> - <parameter> - <type>VT_PTR+VT_INT</type> - <name>Extra</name> - </parameter> - <parameter> - <type>int[]</type> - <name>Version</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.ReportLeaksToFile--> - <element type="method"> - <source id="Access.WizHook.ReportLeaksToFile"> - <context kind="class">WizHook</context> - <name>ReportLeaksToFile</name> - <type>void</type> - <parameter-list> - <parameter> - <type>boolean</type> - <name>fRptToFile</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrFileOut</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SaveObject--> - <element type="method"> - <source id="Access.WizHook.SaveObject"> - <context kind="class">WizHook</context> - <name>SaveObject</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrName</name> - </parameter> - <parameter> - <type>short</type> - <name>objtyp</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SaveScriptString--> - <element type="method"> - <source id="Access.WizHook.SaveScriptString"> - <context kind="class">WizHook</context> - <name>SaveScriptString</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>HScr</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ScriptColumn</name> - </parameter> - <parameter> - <type>String</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SetDpBlockKeyInput--> - <element type="method"> - <source id="Access.WizHook.SetDpBlockKeyInput"> - <context kind="class">WizHook</context> - <name>SetDpBlockKeyInput</name> - <type>void</type> - <parameter-list> - <parameter> - <type>boolean</type> - <name>fBlockKeys</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SetVbaPassword--> - <element type="method"> - <source id="Access.WizHook.SetVbaPassword"> - <context kind="class">WizHook</context> - <name>SetVbaPassword</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrDbName</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrConnect</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrPasswd</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SetWizGlob--> - <element type="method"> - <source id="Access.WizHook.SetWizGlob"> - <context kind="class">WizHook</context> - <name>SetWizGlob</name> - <type>void</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>lWhich</name> - </parameter> - <parameter> - <type>Variant</type> - <name>vValue</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SortStringArray--> - <element type="method"> - <source id="Access.WizHook.SortStringArray"> - <context kind="class">WizHook</context> - <name>SortStringArray</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>Array</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.SplitPath--> - <element type="method"> - <source id="Access.WizHook.SplitPath"> - <context kind="class">WizHook</context> - <name>SplitPath</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Path</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Drive</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Dir</name> - </parameter> - <parameter> - <type>String[]</type> - <name>File</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Ext</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.TableFieldHasUniqueIndex--> - <element type="method"> - <source id="Access.WizHook.TableFieldHasUniqueIndex"> - <context kind="class">WizHook</context> - <name>TableFieldHasUniqueIndex</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>Table</name> - </parameter> - <parameter> - <type>String</type> - <name>Columns</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.TranslateExpression--> - <element type="method"> - <source id="Access.WizHook.TranslateExpression"> - <context kind="class">WizHook</context> - <name>TranslateExpression</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>In</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Out</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ParseFlags</name> - </parameter> - <parameter> - <type>Integer</type> - <name>TranslateFlags</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.TwipsFromFont--> - <element type="method"> - <source id="Access.WizHook.TwipsFromFont"> - <context kind="class">WizHook</context> - <name>TwipsFromFont</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>FontName</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Size</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Weight</name> - </parameter> - <parameter> - <type>boolean</type> - <name>Italic</name> - </parameter> - <parameter> - <type>boolean</type> - <name>Underline</name> - </parameter> - <parameter> - <type>Integer</type> - <name>Cch</name> - </parameter> - <parameter> - <type>String</type> - <name>Caption</name> - </parameter> - <parameter> - <type>Integer</type> - <name>MaxWidthCch</name> - </parameter> - <parameter> - <type>int[]</type> - <name>dx</name> - </parameter> - <parameter> - <type>int[]</type> - <name>dy</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.WizCopyCmdbars--> - <element type="method"> - <source id="Access.WizHook.WizCopyCmdbars"> - <context kind="class">WizHook</context> - <name>WizCopyCmdbars</name> - <type>void</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrADPName</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.WizHelp--> - <element type="method"> - <source id="Access.WizHook.WizHelp"> - <context kind="class">WizHook</context> - <name>WizHelp</name> - <type>boolean</type> - <parameter-list> - <parameter> - <type>String</type> - <name>HelpFile</name> - </parameter> - <parameter> - <type>Integer</type> - <name>wCmd</name> - </parameter> - <parameter> - <type>Integer</type> - <name>ContextID</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::WizHook.WizMsgBox--> - <element type="method"> - <source id="Access.WizHook.WizMsgBox"> - <context kind="class">WizHook</context> - <name>WizMsgBox</name> - <type>Integer</type> - <parameter-list> - <parameter> - <type>String</type> - <name>bstrText</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrCaption</name> - </parameter> - <parameter> - <type>Integer</type> - <name>wStyle</name> - </parameter> - <parameter> - <type>Integer</type> - <name>idHelpID</name> - </parameter> - <parameter> - <type>String</type> - <name>bstrHelpFileName</name> - </parameter> - </parameter-list> - </source> - </element> -</api> diff --git a/oovbaapi/genconstidl/adodb.api b/oovbaapi/genconstidl/adodb.api deleted file mode 100755 index e36a2cb40d40..000000000000 --- a/oovbaapi/genconstidl/adodb.api +++ /dev/null @@ -1,6604 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- ===================================================================== - - DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - - Copyright 2000, 2010 Oracle and/or its affiliates. - - OpenOffice.org - a multi-platform office productivity suite - - This file is part of OpenOffice.org. - - OpenOffice.org is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License version 3 - only, as published by the Free Software Foundation. - - OpenOffice.org is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License version 3 for more details - (a copy is included in the LICENSE file that accompanied this code). - - You should have received a copy of the GNU Lesser General Public License - version 3 along with OpenOffice.org. If not, see - <http://www.openoffice.org/license.html> - for a copy of the LGPLv3 License. - -====================================================================== --> - -<!-- *** Do not edit, this file will be generated *** --> -<!DOCTYPE api SYSTEM "ApiSymbols.dtd"> -<api library-identifier="Microsoft ActiveX Data Objects 2.1 Library" library-name="ADODB" library-minorversion="1" library-majorversion="2" author="Sun Microsystems" date-created="20050331"> - <!--enum::ADCPROP_ASYNCTHREADPRIORITY_ENUM {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM"> - <name>ADCPROP_ASYNCTHREADPRIORITY_ENUM</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adPriorityAboveNormal {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM.adPriorityAboveNormal"> - <context kind="enumeration">ADCPROP_ASYNCTHREADPRIORITY_ENUM</context> - <name>adPriorityAboveNormal</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adPriorityBelowNormal {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM.adPriorityBelowNormal"> - <context kind="enumeration">ADCPROP_ASYNCTHREADPRIORITY_ENUM</context> - <name>adPriorityBelowNormal</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adPriorityHighest {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM.adPriorityHighest"> - <context kind="enumeration">ADCPROP_ASYNCTHREADPRIORITY_ENUM</context> - <name>adPriorityHighest</name> - <value>5</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adPriorityLowest {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM.adPriorityLowest"> - <context kind="enumeration">ADCPROP_ASYNCTHREADPRIORITY_ENUM</context> - <name>adPriorityLowest</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adPriorityNormal {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_ASYNCTHREADPRIORITY_ENUM.adPriorityNormal"> - <context kind="enumeration">ADCPROP_ASYNCTHREADPRIORITY_ENUM</context> - <name>adPriorityNormal</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::ADCPROP_AUTORECALC_ENUM {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.ADCPROP_AUTORECALC_ENUM"> - <name>ADCPROP_AUTORECALC_ENUM</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adRecalcAlways {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_AUTORECALC_ENUM.adRecalcAlways"> - <context kind="enumeration">ADCPROP_AUTORECALC_ENUM</context> - <name>adRecalcAlways</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adRecalcUpFront {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_AUTORECALC_ENUM.adRecalcUpFront"> - <context kind="enumeration">ADCPROP_AUTORECALC_ENUM</context> - <name>adRecalcUpFront</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::ADCPROP_UPDATECRITERIA_ENUM {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.ADCPROP_UPDATECRITERIA_ENUM"> - <name>ADCPROP_UPDATECRITERIA_ENUM</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCriteriaAllCols {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_UPDATECRITERIA_ENUM.adCriteriaAllCols"> - <context kind="enumeration">ADCPROP_UPDATECRITERIA_ENUM</context> - <name>adCriteriaAllCols</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCriteriaKey {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_UPDATECRITERIA_ENUM.adCriteriaKey"> - <context kind="enumeration">ADCPROP_UPDATECRITERIA_ENUM</context> - <name>adCriteriaKey</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCriteriaTimeStamp {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_UPDATECRITERIA_ENUM.adCriteriaTimeStamp"> - <context kind="enumeration">ADCPROP_UPDATECRITERIA_ENUM</context> - <name>adCriteriaTimeStamp</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCriteriaUpdCols {Constant}--> - <element type="constant"> - <source id="ADODB.ADCPROP_UPDATECRITERIA_ENUM.adCriteriaUpdCols"> - <context kind="enumeration">ADCPROP_UPDATECRITERIA_ENUM</context> - <name>adCriteriaUpdCols</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::AffectEnum {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.AffectEnum"> - <name>AffectEnum</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adAffectAll {Constant}--> - <element type="constant"> - <source id="ADODB.AffectEnum.adAffectAll"> - <context kind="enumeration">AffectEnum</context> - <name>adAffectAll</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adAffectAllChapters {Constant}--> - <element type="constant"> - <source id="ADODB.AffectEnum.adAffectAllChapters"> - <context kind="enumeration">AffectEnum</context> - <name>adAffectAllChapters</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adAffectCurrent {Constant}--> - <element type="constant"> - <source id="ADODB.AffectEnum.adAffectCurrent"> - <context kind="enumeration">AffectEnum</context> - <name>adAffectCurrent</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adAffectGroup {Constant}--> - <element type="constant"> - <source id="ADODB.AffectEnum.adAffectGroup"> - <context kind="enumeration">AffectEnum</context> - <name>adAffectGroup</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::BookmarkEnum {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.BookmarkEnum"> - <name>BookmarkEnum</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adBookmarkCurrent {Constant}--> - <element type="constant"> - <source id="ADODB.BookmarkEnum.adBookmarkCurrent"> - <context kind="enumeration">BookmarkEnum</context> - <name>adBookmarkCurrent</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adBookmarkFirst {Constant}--> - <element type="constant"> - <source id="ADODB.BookmarkEnum.adBookmarkFirst"> - <context kind="enumeration">BookmarkEnum</context> - <name>adBookmarkFirst</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adBookmarkLast {Constant}--> - <element type="constant"> - <source id="ADODB.BookmarkEnum.adBookmarkLast"> - <context kind="enumeration">BookmarkEnum</context> - <name>adBookmarkLast</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::CEResyncEnum {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.CEResyncEnum"> - <name>CEResyncEnum</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncAll {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncAll"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncAll</name> - <value>15</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncAutoIncrement {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncAutoIncrement"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncAutoIncrement</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncConflicts {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncConflicts"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncConflicts</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncInserts {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncInserts"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncInserts</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncNone {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncNone"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncNone</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adResyncUpdates {Constant}--> - <element type="constant"> - <source id="ADODB.CEResyncEnum.adResyncUpdates"> - <context kind="enumeration">CEResyncEnum</context> - <name>adResyncUpdates</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--Class::Command--> - <element type="class"> - <source id="ADODB.Command"> - <name>Command</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Command.ActiveConnection--> - <element type="property"> - <source id="ADODB.Command.ActiveConnection"> - <context kind="class">Command</context> - <name>ActiveConnection</name> - <type>_Connection</type> - </source> - </element> - <!--method::Command.Cancel--> - <element type="method"> - <source id="ADODB.Command.Cancel"> - <context kind="class">Command</context> - <name>Cancel</name> - <type>void</type> - </source> - </element> - <!--property::Command.CommandText--> - <element type="property"> - <source id="ADODB.Command.CommandText"> - <context kind="class">Command</context> - <name>CommandText</name> - <type>String</type> - </source> - </element> - <!--property::Command.CommandTimeout--> - <element type="property"> - <source id="ADODB.Command.CommandTimeout"> - <context kind="class">Command</context> - <name>CommandTimeout</name> - <type>Integer</type> - </source> - </element> - <!--property::Command.CommandType--> - <element type="property"> - <source id="ADODB.Command.CommandType"> - <context kind="class">Command</context> - <name>CommandType</name> - <type>Integer</type> - </source> - </element> - <!--method::Command.CreateParameter--> - <element type="method"> - <source id="ADODB.Command.CreateParameter"> - <context kind="class">Command</context> - <name>CreateParameter</name> - <type>_Parameter</type> - <parameter-list> - <parameter optional="true"> - <type>String</type> - <name>Name</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Type</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Direction</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Size</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Command.Execute--> - <element type="method"> - <source id="ADODB.Command.Execute"> - <context kind="class">Command</context> - <name>Execute</name> - <type>_Recordset</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>RecordsAffected</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Parameters</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Command.Name--> - <element type="property"> - <source id="ADODB.Command.Name"> - <context kind="class">Command</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Command.Parameters {Default} {ReadOnly}--> - <element type="property"> - <source id="ADODB.Command.Parameters"> - <context kind="class">Command</context> - <name default="true">Parameters</name> - <type>Parameters</type> - </source> - </element> - <!--property::Command.Prepared--> - <element type="property"> - <source id="ADODB.Command.Prepared"> - <context kind="class">Command</context> - <name>Prepared</name> - <type>boolean</type> - </source> - </element> - <!--property::Command.Properties {ReadOnly}--> - <element type="property"> - <source id="ADODB.Command.Properties"> - <context kind="class">Command</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Command.State {ReadOnly}--> - <element type="property"> - <source id="ADODB.Command.State"> - <context kind="class">Command</context> - <name>State</name> - <type>Integer</type> - </source> - </element> - <!--Class::Command15--> - <element type="class"> - <source id="ADODB.Command15"> - <name>Command15</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Command15.ActiveConnection--> - <element type="property"> - <source id="ADODB.Command15.ActiveConnection"> - <context kind="class">Command15</context> - <name>ActiveConnection</name> - <type>_Connection</type> - </source> - </element> - <!--property::Command15.CommandText--> - <element type="property"> - <source id="ADODB.Command15.CommandText"> - <context kind="class">Command15</context> - <name>CommandText</name> - <type>String</type> - </source> - </element> - <!--property::Command15.CommandTimeout--> - <element type="property"> - <source id="ADODB.Command15.CommandTimeout"> - <context kind="class">Command15</context> - <name>CommandTimeout</name> - <type>Integer</type> - </source> - </element> - <!--property::Command15.CommandType--> - <element type="property"> - <source id="ADODB.Command15.CommandType"> - <context kind="class">Command15</context> - <name>CommandType</name> - <type>Integer</type> - </source> - </element> - <!--method::Command15.CreateParameter--> - <element type="method"> - <source id="ADODB.Command15.CreateParameter"> - <context kind="class">Command15</context> - <name>CreateParameter</name> - <type>_Parameter</type> - <parameter-list> - <parameter optional="true"> - <type>String</type> - <name>Name</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Type</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Direction</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Size</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Value</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Command15.Execute--> - <element type="method"> - <source id="ADODB.Command15.Execute"> - <context kind="class">Command15</context> - <name>Execute</name> - <type>_Recordset</type> - <parameter-list> - <parameter optional="true"> - <type>Variant</type> - <name>RecordsAffected</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Parameters</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Command15.Name--> - <element type="property"> - <source id="ADODB.Command15.Name"> - <context kind="class">Command15</context> - <name>Name</name> - <type>String</type> - </source> - </element> - <!--property::Command15.Parameters {Default} {ReadOnly}--> - <element type="property"> - <source id="ADODB.Command15.Parameters"> - <context kind="class">Command15</context> - <name default="true">Parameters</name> - <type>Parameters</type> - </source> - </element> - <!--property::Command15.Prepared--> - <element type="property"> - <source id="ADODB.Command15.Prepared"> - <context kind="class">Command15</context> - <name>Prepared</name> - <type>boolean</type> - </source> - </element> - <!--property::Command15.Properties {ReadOnly}--> - <element type="property"> - <source id="ADODB.Command15.Properties"> - <context kind="class">Command15</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--enum::CommandTypeEnum {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.CommandTypeEnum"> - <name>CommandTypeEnum</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdFile {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdFile"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdFile</name> - <value>256</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdStoredProc {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdStoredProc"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdStoredProc</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdTable {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdTable"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdTable</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdTableDirect {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdTableDirect"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdTableDirect</name> - <value>512</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdText {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdText"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdText</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdUnknown {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdUnknown"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdUnknown</name> - <value>8</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCmdUnspecified {Constant}--> - <element type="constant"> - <source id="ADODB.CommandTypeEnum.adCmdUnspecified"> - <context kind="enumeration">CommandTypeEnum</context> - <name>adCmdUnspecified</name> - <value>-1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::CompareEnum {Enumeration}--> - <element type="enumeration"> - <source id="ADODB.CompareEnum"> - <name>CompareEnum</name> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCompareEqual {Constant}--> - <element type="constant"> - <source id="ADODB.CompareEnum.adCompareEqual"> - <context kind="enumeration">CompareEnum</context> - <name>adCompareEqual</name> - <value>1</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCompareGreaterThan {Constant}--> - <element type="constant"> - <source id="ADODB.CompareEnum.adCompareGreaterThan"> - <context kind="enumeration">CompareEnum</context> - <name>adCompareGreaterThan</name> - <value>2</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCompareLessThan {Constant}--> - <element type="constant"> - <source id="ADODB.CompareEnum.adCompareLessThan"> - <context kind="enumeration">CompareEnum</context> - <name>adCompareLessThan</name> - <value>0</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCompareNotComparable {Constant}--> - <element type="constant"> - <source id="ADODB.CompareEnum.adCompareNotComparable"> - <context kind="enumeration">CompareEnum</context> - <name>adCompareNotComparable</name> - <value>4</value> - </source> - <destination designation="identity" /> - </element> - <!--enum::adCompareNotEqual {Constant}--> - <element type="constant"> - <source id="ADODB.CompareEnum.adCompareNotEqual"> - <context kind="enumeration">CompareEnum</context> - <name>adCompareNotEqual</name> - <value>3</value> - </source> - <destination designation="identity" /> - </element> - <!--Class::Connection--> - <element type="class"> - <source id="ADODB.Connection"> - <name>Connection</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Connection.Attributes--> - <element type="property"> - <source id="ADODB.Connection.Attributes"> - <context kind="class">Connection</context> - <name>Attributes</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection.BeginTrans--> - <element type="method"> - <source id="ADODB.Connection.BeginTrans"> - <context kind="class">Connection</context> - <name>BeginTrans</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection.BeginTransComplete--> - <element type="method"> - <source id="ADODB.Connection.BeginTransComplete"> - <context kind="class">Connection</context> - <name>BeginTransComplete</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>TransactionLevel</name> - </parameter> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.Cancel--> - <element type="method"> - <source id="ADODB.Connection.Cancel"> - <context kind="class">Connection</context> - <name>Cancel</name> - <type>void</type> - </source> - </element> - <!--method::Connection.Close--> - <element type="method"> - <source id="ADODB.Connection.Close"> - <context kind="class">Connection</context> - <name>Close</name> - <type>void</type> - </source> - </element> - <!--property::Connection.CommandTimeout--> - <element type="property"> - <source id="ADODB.Connection.CommandTimeout"> - <context kind="class">Connection</context> - <name>CommandTimeout</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection.CommitTrans--> - <element type="method"> - <source id="ADODB.Connection.CommitTrans"> - <context kind="class">Connection</context> - <name>CommitTrans</name> - <type>void</type> - </source> - </element> - <!--method::Connection.CommitTransComplete--> - <element type="method"> - <source id="ADODB.Connection.CommitTransComplete"> - <context kind="class">Connection</context> - <name>CommitTransComplete</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.ConnectComplete--> - <element type="method"> - <source id="ADODB.Connection.ConnectComplete"> - <context kind="class">Connection</context> - <name>ConnectComplete</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection.ConnectionString {Default}--> - <element type="property"> - <source id="ADODB.Connection.ConnectionString"> - <context kind="class">Connection</context> - <name default="true">ConnectionString</name> - <type>String</type> - </source> - </element> - <!--property::Connection.ConnectionTimeout--> - <element type="property"> - <source id="ADODB.Connection.ConnectionTimeout"> - <context kind="class">Connection</context> - <name>ConnectionTimeout</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection.CursorLocation--> - <element type="property"> - <source id="ADODB.Connection.CursorLocation"> - <context kind="class">Connection</context> - <name>CursorLocation</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection.DefaultDatabase--> - <element type="property"> - <source id="ADODB.Connection.DefaultDatabase"> - <context kind="class">Connection</context> - <name>DefaultDatabase</name> - <type>String</type> - </source> - </element> - <!--method::Connection.Disconnect--> - <element type="method"> - <source id="ADODB.Connection.Disconnect"> - <context kind="class">Connection</context> - <name>Disconnect</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection.Errors {ReadOnly}--> - <element type="property"> - <source id="ADODB.Connection.Errors"> - <context kind="class">Connection</context> - <name>Errors</name> - <type>Errors</type> - </source> - </element> - <!--method::Connection.Execute--> - <element type="method"> - <source id="ADODB.Connection.Execute"> - <context kind="class">Connection</context> - <name>Execute</name> - <type>_Recordset</type> - <parameter-list> - <parameter> - <type>String</type> - <name>CommandText</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>RecordsAffected</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.ExecuteComplete--> - <element type="method"> - <source id="ADODB.Connection.ExecuteComplete"> - <context kind="class">Connection</context> - <name>ExecuteComplete</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>RecordsAffected</name> - </parameter> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Command</type> - <name>pCommand</name> - </parameter> - <parameter> - <type>_Recordset</type> - <name>pRecordset</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.InfoMessage {Default}--> - <element type="method"> - <source id="ADODB.Connection.InfoMessage"> - <context kind="class">Connection</context> - <name default="true">InfoMessage</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection.IsolationLevel--> - <element type="property"> - <source id="ADODB.Connection.IsolationLevel"> - <context kind="class">Connection</context> - <name>IsolationLevel</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection.Mode--> - <element type="property"> - <source id="ADODB.Connection.Mode"> - <context kind="class">Connection</context> - <name>Mode</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection.Open--> - <element type="method"> - <source id="ADODB.Connection.Open"> - <context kind="class">Connection</context> - <name>Open</name> - <type>void</type> - <parameter-list> - <parameter optional="true"> - <type>String</type> - <name>ConnectionString</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>UserID</name> - </parameter> - <parameter optional="true"> - <type>String</type> - <name>Password</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.OpenSchema--> - <element type="method"> - <source id="ADODB.Connection.OpenSchema"> - <context kind="class">Connection</context> - <name>OpenSchema</name> - <type>_Recordset</type> - <parameter-list> - <parameter> - <type>Integer</type> - <name>Schema</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>Restrictions</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>SchemaID</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection.Properties {ReadOnly}--> - <element type="property"> - <source id="ADODB.Connection.Properties"> - <context kind="class">Connection</context> - <name>Properties</name> - <type>Properties</type> - </source> - </element> - <!--property::Connection.Provider--> - <element type="property"> - <source id="ADODB.Connection.Provider"> - <context kind="class">Connection</context> - <name>Provider</name> - <type>String</type> - </source> - </element> - <!--method::Connection.RollbackTrans--> - <element type="method"> - <source id="ADODB.Connection.RollbackTrans"> - <context kind="class">Connection</context> - <name>RollbackTrans</name> - <type>void</type> - </source> - </element> - <!--method::Connection.RollbackTransComplete--> - <element type="method"> - <source id="ADODB.Connection.RollbackTransComplete"> - <context kind="class">Connection</context> - <name>RollbackTransComplete</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>Error</type> - <name>pError</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection.State {ReadOnly}--> - <element type="property"> - <source id="ADODB.Connection.State"> - <context kind="class">Connection</context> - <name>State</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection.Version {ReadOnly}--> - <element type="property"> - <source id="ADODB.Connection.Version"> - <context kind="class">Connection</context> - <name>Version</name> - <type>String</type> - </source> - </element> - <!--method::Connection.WillConnect--> - <element type="method"> - <source id="ADODB.Connection.WillConnect"> - <context kind="class">Connection</context> - <name>WillConnect</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>ConnectionString</name> - </parameter> - <parameter> - <type>String[]</type> - <name>UserID</name> - </parameter> - <parameter> - <type>String[]</type> - <name>Password</name> - </parameter> - <parameter> - <type>int[]</type> - <name>Options</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--method::Connection.WillExecute--> - <element type="method"> - <source id="ADODB.Connection.WillExecute"> - <context kind="class">Connection</context> - <name>WillExecute</name> - <type>HRESULT</type> - <parameter-list> - <parameter> - <type>String[]</type> - <name>Source</name> - </parameter> - <parameter> - <type>CursorTypeEnum</type> - <name>CursorType</name> - </parameter> - <parameter> - <type>LockTypeEnum</type> - <name>LockType</name> - </parameter> - <parameter> - <type>int[]</type> - <name>Options</name> - </parameter> - <parameter> - <type>EventStatusEnum</type> - <name>adStatus</name> - </parameter> - <parameter> - <type>_Command</type> - <name>pCommand</name> - </parameter> - <parameter> - <type>_Recordset</type> - <name>pRecordset</name> - </parameter> - <parameter> - <type>_Connection</type> - <name>pConnection</name> - </parameter> - </parameter-list> - </source> - </element> - <!--Class::Connection15--> - <element type="class"> - <source id="ADODB.Connection15"> - <name>Connection15</name> - </source> - <destination designation="identity" /> - </element> - <!--property::Connection15.Attributes--> - <element type="property"> - <source id="ADODB.Connection15.Attributes"> - <context kind="class">Connection15</context> - <name>Attributes</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection15.BeginTrans--> - <element type="method"> - <source id="ADODB.Connection15.BeginTrans"> - <context kind="class">Connection15</context> - <name>BeginTrans</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection15.Close--> - <element type="method"> - <source id="ADODB.Connection15.Close"> - <context kind="class">Connection15</context> - <name>Close</name> - <type>void</type> - </source> - </element> - <!--property::Connection15.CommandTimeout--> - <element type="property"> - <source id="ADODB.Connection15.CommandTimeout"> - <context kind="class">Connection15</context> - <name>CommandTimeout</name> - <type>Integer</type> - </source> - </element> - <!--method::Connection15.CommitTrans--> - <element type="method"> - <source id="ADODB.Connection15.CommitTrans"> - <context kind="class">Connection15</context> - <name>CommitTrans</name> - <type>void</type> - </source> - </element> - <!--property::Connection15.ConnectionString {Default}--> - <element type="property"> - <source id="ADODB.Connection15.ConnectionString"> - <context kind="class">Connection15</context> - <name default="true">ConnectionString</name> - <type>String</type> - </source> - </element> - <!--property::Connection15.ConnectionTimeout--> - <element type="property"> - <source id="ADODB.Connection15.ConnectionTimeout"> - <context kind="class">Connection15</context> - <name>ConnectionTimeout</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection15.CursorLocation--> - <element type="property"> - <source id="ADODB.Connection15.CursorLocation"> - <context kind="class">Connection15</context> - <name>CursorLocation</name> - <type>Integer</type> - </source> - </element> - <!--property::Connection15.DefaultDatabase--> - <element type="property"> - <source id="ADODB.Connection15.DefaultDatabase"> - <context kind="class">Connection15</context> - <name>DefaultDatabase</name> - <type>String</type> - </source> - </element> - <!--property::Connection15.Errors {ReadOnly}--> - <element type="property"> - <source id="ADODB.Connection15.Errors"> - <context kind="class">Connection15</context> - <name>Errors</name> - <type>Errors</type> - </source> - </element> - <!--method::Connection15.Execute--> - <element type="method"> - <source id="ADODB.Connection15.Execute"> - <context kind="class">Connection15</context> - <name>Execute</name> - <type>_Recordset</type> - <parameter-list> - <parameter> - <type>String</type> - <name>CommandText</name> - </parameter> - <parameter optional="true"> - <type>Variant</type> - <name>RecordsAffected</name> - </parameter> - <parameter optional="true"> - <type>Integer</type> - <name>Options</name> - </parameter> - </parameter-list> - </source> - </element> - <!--property::Connection15.IsolationLevel--> - <element type="property"> - <source id="ADODB.Connection15.IsolationLevel"> - <context kind="class">Connection15</context> - <name>IsolationLevel</name> - <type |