main/sfx2/source/doc/DocumentMetadataAccess.cxx
/** import a metadata file into repository */
import a metadata file into repository
import a metadata file into repository
static void
importFile(struct DocumentMetadataAccess_Impl & i_rImpl,
    uno::Reference<embed::XStorage> const & i_xStorage,
    ::rtl::OUString const & i_rBaseURI,
    uno::Reference<task::XInteractionHandler> const & i_xHandler,
    ::rtl::OUString i_rPath)
{
retry:
    try {
        readStream(i_rImpl, i_xStorage, i_rPath, i_rBaseURI);
    } catch (ucb::InteractiveAugmentedIOException & e) {
        if (handleError(e, i_xHandler)) goto retry;
    } catch (uno::RuntimeException &) {
        throw;
    } catch (uno::Exception & e) {
        throw lang::WrappedTargetRuntimeException(
            ::rtl::OUString::createFromAscii("importFile: exception"),
            0, uno::makeAny(e));
    }
}
static void importFile ( struct DocumentMetadataAccess_Impl & i_rImpl , uno :: Reference < embed :: XStorage > const & i_xStorage , :: rtl :: OUString const & i_rBaseURI , uno :: Reference < task :: XInteractionHandler > const & i_xHandler , :: rtl :: OUString i_rPath ) { retry : try { readStream ( i_rImpl , i_xStorage , i_rPath , i_rBaseURI ) ; } catch ( ucb :: InteractiveAugmentedIOException & e ) { if ( handleError ( e , i_xHandler ) ) goto retry ; } catch ( uno :: RuntimeException & ) { throw ; } catch ( uno :: Exception & e ) { throw lang :: WrappedTargetRuntimeException ( :: rtl :: OUString :: createFromAscii ( " " ) , 0 , uno :: makeAny ( e ) ) ; } }
import a metadata file into repository
import a metadata file into repository