LibreOffice Module forms (master) 1
|
helper class mapping between feature ids and feature URLs More...
#include <formnavigation.hxx>
Public Member Functions | |
OFormNavigationMapper (const css::uno::Reference< css::uno::XComponentContext > &_rxORB) | |
~OFormNavigationMapper () | |
bool | getFeatureURL (sal_Int16 _nFeatureId, css::util::URL &_rURL) |
retrieves the feature URL belonging to a feature id More... | |
Static Public Member Functions | |
static const char * | getFeatureURLAscii (sal_Int16 _nFeatureId) |
retrieves the ASCII representation of a feature URL belonging to an id More... | |
static sal_Int16 | getFeatureId (std::u16string_view _rCompleteURL) |
retrieves the feature id belonging to a feature URL More... | |
Private Member Functions | |
OFormNavigationMapper (const OFormNavigationMapper &)=delete | |
OFormNavigationMapper & | operator= (const OFormNavigationMapper &)=delete |
Private Attributes | |
::std::unique_ptr< UrlTransformer > | m_pUrlTransformer |
helper class mapping between feature ids and feature URLs
Definition at line 172 of file formnavigation.hxx.
frm::OFormNavigationMapper::OFormNavigationMapper | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxORB | ) |
frm::OFormNavigationMapper::~OFormNavigationMapper | ( | ) |
Definition at line 359 of file formnavigation.cxx.
|
privatedelete |
|
static |
retrieves the feature id belonging to a feature URL
@complexity O(n), with n being the number of all potentially known URLs
Definition at line 431 of file formnavigation.cxx.
References o3tl::equalsAscii().
bool frm::OFormNavigationMapper::getFeatureURL | ( | sal_Int16 | _nFeatureId, |
css::util::URL & | _rURL | ||
) |
retrieves the feature URL belonging to a feature id
@complexity O(log n), with n being the number of all potentially known URLs
Definition at line 364 of file formnavigation.cxx.
References getFeatureURLAscii(), m_pUrlTransformer, and pAsciiURL.
Referenced by frm::OFormNavigationHelper::initializeSupportedFeatures().
|
static |
retrieves the ASCII representation of a feature URL belonging to an id
@complexity O(log n)
Definition at line 418 of file formnavigation.cxx.
Referenced by getFeatureURL().
|
privatedelete |
|
private |
Definition at line 175 of file formnavigation.hxx.
Referenced by getFeatureURL().