21 #include <com/sun/star/uno/XComponentContext.hpp>
22 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
24 #include <strings.hrc>
30 #include <rtl/ustring.hxx>
43 OUString StrCannotDetermineLibName() {
return DpResId(RID_STR_CANNOT_DETERMINE_LIBNAME); }
55 if (
import.
aName.isEmpty()) {
56 throw Exception( StrCannotDetermineLibName(),
57 Reference<XInterface>() );
void xml_parse(Reference< xml::sax::XDocumentHandler > const &xDocHandler,::ucbhelper::Content &ucb_content, Reference< XComponentContext > const &xContext)
static OUString get_libname(OUString const &url, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv, css::uno::Reference< css::uno::XComponentContext > const &xContext)
css::uno::Reference< css::xml::sax::XDocumentHandler > importLibrary(LibDescriptor &rLib)
static uno::Reference< css::uno::XComponentContext > xContext
OUString DpResId(TranslateId aId)