Lines Matching refs:_rDocument
253 ::rtl::OUString lcl_getSubDocumentDescription( const SubDocument& _rDocument ) in lcl_getSubDocumentDescription() argument
255 …::rtl::OUString sObjectName = String( MacroMigrationResId( _rDocument.eType == eForm ? STR_FORM : … in lcl_getSubDocumentDescription()
256 …::comphelper::string::searchAndReplaceAsciiI( sObjectName, "$name$", _rDocument.sHierarchicalName … in lcl_getSubDocumentDescription()
299 static OpenDocResult lcl_loadSubDocument_nothrow( SubDocument& _rDocument, in lcl_loadSubDocument_nothrow() argument
302 … OSL_PRECOND( !_rDocument.xDocument.is(), "lcl_loadSubDocument_nothrow: already loaded!" ); in lcl_loadSubDocument_nothrow()
310 … Reference< XCommandProcessor > xCommandProcessor( _rDocument.xCommandProcessor, UNO_SET_THROW ); in lcl_loadSubDocument_nothrow()
322 _rDocument.xDocument.set( xDocComponent, UNO_QUERY_THROW ); in lcl_loadSubDocument_nothrow()
329 ( _rDocument.eType == eReport ) in lcl_loadSubDocument_nothrow()
331 …&& ( lcl_getMimeType_nothrow( _rDocument.xCommandProcessor ).equalsAscii( "application/vnd.sun.xm… in lcl_loadSubDocument_nothrow()
337 lcl_getSubDocumentDescription( _rDocument ) in lcl_loadSubDocument_nothrow()
345 lcl_getSubDocumentDescription( _rDocument ), in lcl_loadSubDocument_nothrow()
350 return _rDocument.xDocument.is() ? eOpenedDoc : eFailure; in lcl_loadSubDocument_nothrow()
354 static bool lcl_unloadSubDocument_nothrow( SubDocument& _rDocument, MigrationLog& _rLogger ) in lcl_unloadSubDocument_nothrow() argument
360 … OSL_VERIFY( lcl_executeCommand_throw( _rDocument.xCommandProcessor, "close" ) >>= bSuccess ); in lcl_unloadSubDocument_nothrow()
372 lcl_getSubDocumentDescription( _rDocument ), in lcl_unloadSubDocument_nothrow()
377 _rDocument.xDocument.clear(); in lcl_unloadSubDocument_nothrow()
452 bool lcl_storeEmbeddedDocument_nothrow( const SubDocument& _rDocument ) in lcl_storeEmbeddedDocument_nothrow() argument
456 lcl_executeCommand_throw( _rDocument.xCommandProcessor, "store" ); in lcl_storeEmbeddedDocument_nothrow()
899 bool impl_handleDocument_nothrow( const SubDocument& _rDocument ) const;
907 bool impl_checkScriptStorageStructure_nothrow( const SubDocument& _rDocument ) const;
912 const SubDocument& _rDocument,
921 const SubDocument& _rDocument,
948 const SubDocument& _rDocument
954 const SubDocument& _rDocument
1128 bool MigrationEngine_Impl::impl_handleDocument_nothrow( const SubDocument& _rDocument ) const in impl_handleDocument_nothrow()
1132 …m_nCurrentDocumentID = m_rLogger.startedDocument( _rDocument.eType, _rDocument.sHierarchicalName ); in impl_handleDocument_nothrow()
1135 ::rtl::OUString sObjectName( lcl_getSubDocumentDescription( _rDocument ) ); in impl_handleDocument_nothrow()
1141 SubDocument aSubDocument( _rDocument ); in impl_handleDocument_nothrow()
1217 static ::rtl::OUString lcl_createTargetLibName( const SubDocument& _rDocument, in lcl_createTargetLibName() argument
1221 …const ::rtl::OUString sPrefix( ::rtl::OUString::createFromAscii( _rDocument.eType == eForm ? "Form… in lcl_createTargetLibName()
1223 ::rtl::OUString sBaseName( _rDocument.sHierarchicalName.copy( in lcl_createTargetLibName()
1224 _rDocument.sHierarchicalName.lastIndexOf( '/' ) + 1 ) ); in lcl_createTargetLibName()
1277 aNewLibName.append( ::rtl::OUString::valueOf( sal_Int64( _rDocument.nNumber ) ) ); in lcl_createTargetLibName()
1285 …grationEngine_Impl::impl_checkScriptStorageStructure_nothrow( const SubDocument& _rDocument ) const in impl_checkScriptStorageStructure_nothrow()
1287 …OSL_PRECOND( _rDocument.xDocument.is(), "MigrationEngine_Impl::impl_checkScriptStorageStructure_no… in impl_checkScriptStorageStructure_nothrow()
1288 if ( !_rDocument.xDocument.is() ) in impl_checkScriptStorageStructure_nothrow()
1294 ScriptsStorage aDocStorage( _rDocument.xDocument, m_rLogger ); in impl_checkScriptStorageStructure_nothrow()
1311 lcl_getSubDocumentDescription( _rDocument ), in impl_checkScriptStorageStructure_nothrow()
1321 lcl_getSubDocumentDescription( _rDocument ), in impl_checkScriptStorageStructure_nothrow()
1330 bool MigrationEngine_Impl::impl_migrateScriptStorage_nothrow( const SubDocument& _rDocument, in impl_migrateScriptStorage_nothrow() argument
1333 …OSL_PRECOND( _rDocument.xDocument.is(), "MigrationEngine_Impl::impl_migrateScriptStorage_nothrow: … in impl_migrateScriptStorage_nothrow()
1334 if ( !_rDocument.xDocument.is() ) in impl_migrateScriptStorage_nothrow()
1348 ScriptsStorage aDocStorage( _rDocument.xDocument, m_rLogger ); in impl_migrateScriptStorage_nothrow()
1382 lcl_getSubDocumentDescription( _rDocument ), in impl_migrateScriptStorage_nothrow()
1407 …::rtl::OUString sNewLibName( lcl_createTargetLibName( _rDocument, *element, xTargetStorage.getType… in impl_migrateScriptStorage_nothrow()
1425 lcl_getSubDocumentDescription( _rDocument ) in impl_migrateScriptStorage_nothrow()
1451 lcl_getSubDocumentDescription( _rDocument ), in impl_migrateScriptStorage_nothrow()
1460 … bool MigrationEngine_Impl::impl_migrateContainerLibraries_nothrow( const SubDocument& _rDocument, in impl_migrateContainerLibraries_nothrow() argument
1474 Reference< XEmbeddedScripts > xSubDocScripts( _rDocument.xDocument, UNO_QUERY ); in impl_migrateContainerLibraries_nothrow()
1531 _rDocument.sHierarchicalName, in impl_migrateContainerLibraries_nothrow()
1539 …::rtl::OUString sNewLibName( lcl_createTargetLibName( _rDocument, *pSourceLibName, xTargetLibrarie… in impl_migrateContainerLibraries_nothrow()
1572 … impl_adjustDialogEvents_nothrow( aElement, lcl_getSubDocumentDescription( _rDocument ), in impl_migrateContainerLibraries_nothrow()
1613 lcl_getSubDocumentDescription( _rDocument ), in impl_migrateContainerLibraries_nothrow()
1759 …bool MigrationEngine_Impl::impl_adjustDocumentEvents_nothrow( const SubDocument& _rDocument ) const in impl_adjustDocumentEvents_nothrow()
1763 Reference< XEventsSupplier > xSuppEvents( _rDocument.xDocument, UNO_QUERY ); in impl_adjustDocumentEvents_nothrow()
1793 lcl_getSubDocumentDescription( _rDocument ), in impl_adjustDocumentEvents_nothrow()
1899 …MigrationEngine_Impl::impl_adjustFormComponentEvents_nothrow( const SubDocument& _rDocument ) const in impl_adjustFormComponentEvents_nothrow()
1903 DrawPageIterator aPageIter( _rDocument.xDocument ); in impl_adjustFormComponentEvents_nothrow()
1915 lcl_getSubDocumentDescription( _rDocument ), in impl_adjustFormComponentEvents_nothrow()