LibreOffice Module scripting (master) 1
Static Public Member Functions | List of all members
sf_misc::MiscUtils Class Reference

#include <MiscUtils.hxx>

Static Public Member Functions

static css::uno::Sequence< OUString > allOpenTDocUrls (const css::uno::Reference< css::uno::XComponentContext > &xCtx)
 
static OUString xModelToTdocUrl (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
static css::uno::Reference< css::frame::XModel > tDocUrlToModel (const OUString &url)
 
static css::uno::Any getUCBProperty (::ucbhelper::Content &content, OUString const &prop)
 

Detailed Description

Definition at line 38 of file MiscUtils.hxx.

Member Function Documentation

◆ allOpenTDocUrls()

static css::uno::Sequence< OUString > sf_misc::MiscUtils::allOpenTDocUrls ( const css::uno::Reference< css::uno::XComponentContext > &  xCtx)
inlinestatic

Definition at line 42 of file MiscUtils.hxx.

References result.

◆ getUCBProperty()

static css::uno::Any sf_misc::MiscUtils::getUCBProperty ( ::ucbhelper::Content content,
OUString const &  prop 
)
inlinestatic

Definition at line 122 of file MiscUtils.hxx.

References ucbhelper::Content::getPropertyValue(), and result.

Referenced by tDocUrlToModel().

◆ tDocUrlToModel()

static css::uno::Reference< css::frame::XModel > sf_misc::MiscUtils::tDocUrlToModel ( const OUString &  url)
inlinestatic

◆ xModelToTdocUrl()

static OUString sf_misc::MiscUtils::xModelToTdocUrl ( const css::uno::Reference< css::frame::XModel > &  xModel,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)
inlinestatic

Definition at line 60 of file MiscUtils.hxx.

References xModel.


The documentation for this class was generated from the following file: