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