LibreOffice Module desktop (master) 1
|
Classes | |
struct | LockFileException |
struct | OptionInfo |
Functions | |
Reference< XCommandEnvironment > | createCmdEnv (Reference< XComponentContext > const &xContext, bool option_force_overwrite, bool option_verbose, bool option_suppress_license) |
OUString | toString (OptionInfo const *info) |
OptionInfo const * | getOptionInfo (OptionInfo const *list, OUString const &opt) |
bool | isOption (OptionInfo const *option_info, sal_uInt32 *pIndex) |
bool | isBootstrapVariable (sal_uInt32 *pIndex) |
checks if an argument is a bootstrap variable. More... | |
bool | readArgument (OUString *pValue, OptionInfo const *option_info, sal_uInt32 *pIndex) |
OUString const & | getExecutableDir () |
OUString const & | getProcessWorkingDir () |
OUString | makeAbsoluteFileUrl (OUString const &sys_path, OUString const &base_url) |
static void | printf_unaccepted_licenses (Reference< deployment::XPackage > const &ext) |
void | printf_packages (std::vector< Reference< deployment::XPackage > > const &allExtensions, std::vector< bool > const &vecUnaccepted, Reference< XCommandEnvironment > const &xCmdEnv, sal_Int32 level) |
static OUString | getLockFilePath () |
returns the path to the lock file used by unopkg. More... | |
Reference< XComponentContext > | getUNO (bool verbose, bool bGui, const OUString &sTempDir, Reference< XComponentContext > &out_localContext) |
bool | readOption (bool *flag, OptionInfo const *option_info, sal_uInt32 *pIndex) |
css::uno::Reference< css::ucb::XCommandEnvironment > | createCmdEnv (css::uno::Reference< css::uno::XComponentContext > const &xContext, bool option_force_overwrite, bool option_verbose, bool option_suppressLicense) |
void | printf_packages (std::vector< css::uno::Reference< css::deployment::XPackage > > const &allExtensions, std::vector< bool > const &vecUnaccepted, css::uno::Reference< css::ucb::XCommandEnvironment > const &xCmdEnv, sal_Int32 level=0) |
css::uno::Reference< css::uno::XComponentContext > | getUNO (bool verbose, bool bGui, const OUString &sTempDir, css::uno::Reference< css::uno::XComponentContext > &out_LocalComponentContext) |
css::uno::Reference< css::ucb::XCommandEnvironment > unopkg::createCmdEnv | ( | css::uno::Reference< css::uno::XComponentContext > const & | xContext, |
bool | option_force_overwrite, | ||
bool | option_verbose, | ||
bool | option_suppressLicense | ||
) |
Reference< XCommandEnvironment > unopkg::createCmdEnv | ( | Reference< XComponentContext > const & | xContext, |
bool | option_force_overwrite, | ||
bool | option_verbose, | ||
bool | option_suppress_license | ||
) |
OUString const & unopkg::getExecutableDir | ( | ) |
Definition at line 158 of file unopkg_misc.cxx.
|
static |
returns the path to the lock file used by unopkg.
Definition at line 386 of file unopkg_misc.cxx.
References SAL_CONFIGFILE.
Referenced by getUNO().
OptionInfo const * unopkg::getOptionInfo | ( | OptionInfo const * | list, |
OUString const & | opt | ||
) |
Definition at line 70 of file unopkg_misc.cxx.
References unopkg::OptionInfo::m_name, unopkg::OptionInfo::m_name_length, and SAL_WARN.
Referenced by unopkg_main().
OUString const & unopkg::getProcessWorkingDir | ( | ) |
Definition at line 173 of file unopkg_misc.cxx.
References utl::Bootstrap::getProcessWorkingDir().
Referenced by unopkg_main().
css::uno::Reference< css::uno::XComponentContext > unopkg::getUNO | ( | bool | verbose, |
bool | bGui, | ||
const OUString & | sTempDir, | ||
css::uno::Reference< css::uno::XComponentContext > & | out_LocalComponentContext | ||
) |
Reference< XComponentContext > unopkg::getUNO | ( | bool | verbose, |
bool | bGui, | ||
const OUString & | sTempDir, | ||
Reference< XComponentContext > & | out_localContext | ||
) |
Definition at line 405 of file unopkg_misc.cxx.
References Application::CreateMessageDialog(), DeInitVCL(), DpResId(), getLockFilePath(), utl::ConfigManager::getProductName(), InitVCL(), dp_misc::office_is_running(), and verbose.
Referenced by unopkg_main().
bool unopkg::isBootstrapVariable | ( | sal_uInt32 * | pIndex | ) |
checks if an argument is a bootstrap variable.
These start with -env:. For example -env:UNO_JAVA_JFW_USER_DATA=file:///d:/user
Definition at line 123 of file unopkg_misc.cxx.
Referenced by unopkg_main().
bool unopkg::isOption | ( | OptionInfo const * | option_info, |
sal_uInt32 * | pIndex | ||
) |
Definition at line 91 of file unopkg_misc.cxx.
References unopkg::OptionInfo::m_name, unopkg::OptionInfo::m_short_option, and dp_misc::TRACE().
Referenced by readArgument(), readOption(), and unopkg_main().
OUString unopkg::makeAbsoluteFileUrl | ( | OUString const & | sys_path, |
OUString const & | base_url | ||
) |
void unopkg::printf_packages | ( | std::vector< css::uno::Reference< css::deployment::XPackage > > const & | allExtensions, |
std::vector< bool > const & | vecUnaccepted, | ||
css::uno::Reference< css::ucb::XCommandEnvironment > const & | xCmdEnv, | ||
sal_Int32 | level = 0 |
||
) |
void unopkg::printf_packages | ( | std::vector< Reference< deployment::XPackage > > const & | allExtensions, |
std::vector< bool > const & | vecUnaccepted, | ||
Reference< XCommandEnvironment > const & | xCmdEnv, | ||
sal_Int32 | level | ||
) |
Definition at line 298 of file unopkg_misc.cxx.
References index, printf_unaccepted_licenses(), u, and dp_misc::writeConsole().
Referenced by unopkg_main().
|
static |
Definition at line 287 of file unopkg_misc.cxx.
References dp_misc::getIdentifier(), u, and dp_misc::writeConsole().
Referenced by printf_packages().
bool unopkg::readArgument | ( | OUString * | pValue, |
OptionInfo const * | option_info, | ||
sal_uInt32 * | pIndex | ||
) |
Definition at line 138 of file unopkg_misc.cxx.
References isOption(), and dp_misc::TRACE().
Referenced by unopkg_main().
|
inline |
OUString unopkg::toString | ( | OptionInfo const * | info | ) |
Definition at line 55 of file unopkg_misc.cxx.
References unopkg::OptionInfo::m_has_argument, unopkg::OptionInfo::m_name, and unopkg::OptionInfo::m_short_option.
Referenced by unopkg_main().