LibreOffice Module forms (master) 1
|
#include <urltransformer.hxx>
Public Member Functions | |
UrlTransformer (const css::uno::Reference< css::uno::XComponentContext > &_rxORB) | |
css::util::URL | getStrictURL (const OUString &_rURL) const |
returns a URL object for the given URL string More... | |
css::util::URL | getStrictURLFromAscii (const char *_pAsciiURL) const |
returns a URL object for the given URL ASCII string More... | |
void | parseSmartWithProtocol (css::util::URL &_rURL, const OUString &_rProtocol) const |
parses a given URL smartly, with a given protocol More... | |
Private Member Functions | |
bool | implEnsureTransformer () const |
ensures that we have a URLTransformer instance in <member>m_xTransformer</member> More... | |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xORB |
css::uno::Reference< css::util::XURLTransformer > | m_xTransformer |
bool | m_bTriedToCreateTransformer |
Definition at line 30 of file urltransformer.hxx.
frm::UrlTransformer::UrlTransformer | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxORB | ) |
Definition at line 34 of file urltransformer.cxx.
References DBG_ASSERT.
URL frm::UrlTransformer::getStrictURL | ( | const OUString & | _rURL | ) | const |
returns a URL object for the given URL string
Definition at line 58 of file urltransformer.cxx.
References implEnsureTransformer(), m_xTransformer, and URL.
Referenced by getStrictURLFromAscii().
URL frm::UrlTransformer::getStrictURLFromAscii | ( | const char * | _pAsciiURL | ) | const |
returns a URL object for the given URL ASCII string
Definition at line 68 of file urltransformer.cxx.
References getStrictURL(), and URL.
|
private |
ensures that we have a URLTransformer instance in <member>m_xTransformer</member>
Definition at line 42 of file urltransformer.cxx.
References m_bTriedToCreateTransformer, m_xORB, and m_xTransformer.
Referenced by getStrictURL(), and parseSmartWithProtocol().
void frm::UrlTransformer::parseSmartWithProtocol | ( | css::util::URL & | _rURL, |
const OUString & | _rProtocol | ||
) | const |
parses a given URL smartly, with a given protocol
Definition at line 74 of file urltransformer.cxx.
References implEnsureTransformer(), and m_xTransformer.
|
mutableprivate |
Definition at line 37 of file urltransformer.hxx.
Referenced by implEnsureTransformer().
|
private |
Definition at line 34 of file urltransformer.hxx.
Referenced by implEnsureTransformer().
|
mutableprivate |
Definition at line 36 of file urltransformer.hxx.
Referenced by getStrictURL(), implEnsureTransformer(), and parseSmartWithProtocol().