LibreOffice Module xmlhelp (master) 1
|
#include <urlparameter.hxx>
Public Member Functions | |
URLParameter (const OUString &aURL, Databases *pDatabases) | |
bool | isActive () const |
bool | isQuery () const |
bool | isFile () const |
bool | isModule () const |
bool | isRoot () const |
bool | isErrorDocument () |
OUString const & | get_id () |
OUString | get_tag () |
OUString const & | get_path () |
const OUString & | get_eid () const |
OUString | get_title () |
OUString | get_jar () |
const OUString & | get_ExtensionRegistryPath () const |
const OUString & | get_module () const |
OUString const & | get_dbpar () const |
OUString const & | get_language () const |
OUString const & | get_program () |
const OUString & | get_query () const |
const OUString & | get_scope () const |
const OUString & | get_system () const |
sal_Int32 | get_hitCount () const |
OString | getByName (const char *par) |
void | open (const css::uno::Reference< css::io::XActiveDataSink > &xDataSink) |
void | open (const css::uno::Reference< css::io::XOutputStream > &xDataSink) |
Private Member Functions | |
void | init () |
OUString | get_the_tag () |
OUString | get_the_title () |
void | readHelpDataFile () |
void | parse () |
bool | scheme () |
bool | module () |
bool | name (bool modulePresent) |
bool | query () |
Private Attributes | |
Databases * | m_pDatabases |
bool | m_bHelpDataFileRead |
bool | m_bUseDB |
OUString | m_aURL |
OUString | m_aTag |
OUString | m_aId |
OUString | m_aPath |
OUString | m_aModule |
OUString | m_aTitle |
OUString | m_aJar |
OUString | m_aExtensionRegistryPath |
OUString | m_aEid |
OUString | m_aDbPar |
OUString | m_aLanguage |
OUString | m_aPrefix |
OUString | m_aProgram |
OUString | m_aSystem |
OUString | m_aActive |
OUString | m_aQuery |
OUString | m_aScope |
OUString | m_aExpr |
sal_Int32 | m_nHitCount |
Definition at line 105 of file urlparameter.hxx.
URLParameter::URLParameter | ( | const OUString & | aURL, |
Databases * | pDatabases | ||
) |
|
inline |
Definition at line 137 of file urlparameter.hxx.
References m_aDbPar, and m_aModule.
Referenced by getByName().
|
inline |
Definition at line 127 of file urlparameter.hxx.
References m_aEid.
|
inline |
Definition at line 133 of file urlparameter.hxx.
References m_aExtensionRegistryPath.
|
inline |
Definition at line 155 of file urlparameter.hxx.
References m_nHitCount.
Referenced by chelp::ResultSetForQuery::ResultSetForQuery().
OUString const & URLParameter::get_id | ( | ) |
Definition at line 109 of file urlparameter.cxx.
References chelp::StaticModuleInformation::get_id(), get_language(), get_module(), chelp::Databases::getStaticInformationForModule(), m_aId, and m_pDatabases.
Referenced by get_path(), getByName(), and readHelpDataFile().
OUString URLParameter::get_jar | ( | ) |
Definition at line 222 of file urlparameter.cxx.
References get_module(), m_aJar, m_bHelpDataFileRead, m_bUseDB, and readHelpDataFile().
Referenced by helpOpen(), and isErrorDocument().
OUString const & URLParameter::get_language | ( | ) | const |
Definition at line 151 of file urlparameter.cxx.
References m_aLanguage.
Referenced by get_id(), get_program(), get_title(), getByName(), helpOpen(), isErrorDocument(), readHelpDataFile(), chelp::ResultSetForQuery::ResultSetForQuery(), and chelp::ResultSetForRoot::ResultSetForRoot().
|
inline |
Definition at line 135 of file urlparameter.hxx.
References m_aModule.
Referenced by get_id(), get_jar(), get_program(), get_title(), getByName(), readHelpDataFile(), and chelp::ResultSetForQuery::ResultSetForQuery().
OUString const & URLParameter::get_path | ( | ) |
Definition at line 194 of file urlparameter.cxx.
References get_id(), m_aPath, m_bHelpDataFileRead, m_bUseDB, and readHelpDataFile().
Referenced by getByName(), helpOpen(), and isErrorDocument().
OUString const & URLParameter::get_program | ( | ) |
Definition at line 157 of file urlparameter.cxx.
References get_language(), get_module(), chelp::StaticModuleInformation::get_program(), chelp::Databases::getStaticInformationForModule(), m_aProgram, and m_pDatabases.
Referenced by getByName().
|
inline |
Definition at line 149 of file urlparameter.hxx.
References m_aQuery.
Referenced by chelp::ResultSetForQuery::ResultSetForQuery().
|
inline |
Definition at line 151 of file urlparameter.hxx.
References m_aScope.
Referenced by chelp::ResultSetForQuery::ResultSetForQuery().
|
inline |
Definition at line 153 of file urlparameter.hxx.
References m_aSystem.
Referenced by getByName(), chelp::ResultSetForQuery::ResultSetForQuery(), and chelp::ResultSetForRoot::ResultSetForRoot().
OUString URLParameter::get_tag | ( | ) |
Definition at line 123 of file urlparameter.cxx.
References get_the_tag(), isFile(), and m_aTag.
|
private |
Definition at line 179 of file urlparameter.cxx.
References m_aTag, m_bHelpDataFileRead, m_bUseDB, and readHelpDataFile().
Referenced by get_tag().
|
private |
Definition at line 208 of file urlparameter.cxx.
References m_aTitle, m_bHelpDataFileRead, m_bUseDB, and readHelpDataFile().
Referenced by get_title().
OUString URLParameter::get_title | ( | ) |
Definition at line 132 of file urlparameter.cxx.
References get_language(), get_module(), get_the_title(), chelp::StaticModuleInformation::get_title(), chelp::Databases::getStaticInformationForModule(), isFile(), m_aModule, m_aTitle, and m_pDatabases.
OString URLParameter::getByName | ( | const char * | par | ) |
Definition at line 84 of file urlparameter.cxx.
References get_dbpar(), get_id(), get_language(), get_module(), get_path(), get_program(), get_system(), m_aPrefix, and OUStringToOString().
|
private |
Definition at line 171 of file urlparameter.cxx.
References m_bHelpDataFileRead, m_bUseDB, and m_nHitCount.
Referenced by URLParameter().
|
inline |
Definition at line 112 of file urlparameter.hxx.
References m_aActive.
bool URLParameter::isErrorDocument | ( | ) |
Definition at line 69 of file urlparameter.cxx.
References chelp::Databases::findJarFileForPath(), get_jar(), get_language(), get_path(), isFile(), and m_pDatabases.
|
inline |
Definition at line 114 of file urlparameter.hxx.
References m_aId.
Referenced by get_tag(), get_title(), and isErrorDocument().
|
inline |
Definition at line 115 of file urlparameter.hxx.
|
inline |
Definition at line 113 of file urlparameter.hxx.
|
inline |
Definition at line 116 of file urlparameter.hxx.
References m_aModule.
|
private |
|
private |
void chelp::URLParameter::open | ( | const css::uno::Reference< css::io::XActiveDataSink > & | xDataSink | ) |
void chelp::URLParameter::open | ( | const css::uno::Reference< css::io::XOutputStream > & | xDataSink | ) |
|
private |
css::ucb::IllegalIdentifierException |
Definition at line 359 of file urlparameter.cxx.
References m_aExpr, m_aLanguage, m_aSystem, m_aURL, module(), name(), query(), and scheme().
Referenced by URLParameter().
|
private |
Definition at line 449 of file urlparameter.cxx.
References m_aActive, m_aDbPar, m_aEid, m_aExpr, m_aLanguage, m_aPrefix, m_aProgram, m_aQuery, m_aScope, m_aSystem, m_bUseDB, m_nHitCount, o3tl::trim(), and value.
Referenced by parse().
|
private |
Definition at line 236 of file urlparameter.cxx.
References get_id(), get_language(), get_module(), helpdatafileproxy::HDFData::getData(), chelp::DbtToStringConverter::getDatabase(), chelp::DbtToStringConverter::getFile(), chelp::DbtToStringConverter::getHash(), chelp::DbtToStringConverter::getTitle(), helpdatafileproxy::Hdf::getValueForKey(), m_aExtensionRegistryPath, m_aId, m_aJar, m_aPath, m_aTag, m_aTitle, m_pDatabases, chelp::DataBaseIterator::nextHdf(), OUStringToOString(), pData, and chelp::Databases::replaceName().
Referenced by get_jar(), get_path(), get_the_tag(), and get_the_title().
|
private |
|
private |
Definition at line 187 of file urlparameter.hxx.
Referenced by isActive(), and query().
|
private |
Definition at line 180 of file urlparameter.hxx.
Referenced by get_dbpar(), and query().
|
private |
Definition at line 179 of file urlparameter.hxx.
|
private |
|
private |
Definition at line 178 of file urlparameter.hxx.
Referenced by get_ExtensionRegistryPath(), and readHelpDataFile().
|
private |
Definition at line 173 of file urlparameter.hxx.
Referenced by get_id(), isFile(), isModule(), isQuery(), name(), and readHelpDataFile().
|
private |
Definition at line 177 of file urlparameter.hxx.
Referenced by get_jar(), and readHelpDataFile().
|
private |
Definition at line 182 of file urlparameter.hxx.
Referenced by get_language(), parse(), and query().
|
private |
Definition at line 175 of file urlparameter.hxx.
Referenced by get_dbpar(), get_module(), get_title(), isModule(), isRoot(), and module().
|
private |
Definition at line 174 of file urlparameter.hxx.
Referenced by get_path(), and readHelpDataFile().
|
private |
Definition at line 184 of file urlparameter.hxx.
Referenced by getByName(), and query().
|
private |
Definition at line 185 of file urlparameter.hxx.
Referenced by get_program(), and query().
|
private |
Definition at line 189 of file urlparameter.hxx.
Referenced by get_query(), isQuery(), and query().
|
private |
Definition at line 190 of file urlparameter.hxx.
Referenced by get_scope(), and query().
|
private |
Definition at line 186 of file urlparameter.hxx.
Referenced by get_system(), parse(), and query().
|
private |
Definition at line 172 of file urlparameter.hxx.
Referenced by get_tag(), get_the_tag(), and readHelpDataFile().
|
private |
Definition at line 176 of file urlparameter.hxx.
Referenced by get_the_title(), get_title(), and readHelpDataFile().
|
private |
Definition at line 170 of file urlparameter.hxx.
Referenced by parse().
|
private |
Definition at line 167 of file urlparameter.hxx.
Referenced by get_jar(), get_path(), get_the_tag(), get_the_title(), and init().
|
private |
Definition at line 168 of file urlparameter.hxx.
Referenced by get_jar(), get_path(), get_the_tag(), get_the_title(), init(), and query().
|
private |
Definition at line 194 of file urlparameter.hxx.
Referenced by get_hitCount(), init(), and query().
|
private |
Definition at line 165 of file urlparameter.hxx.
Referenced by get_id(), get_program(), get_title(), isErrorDocument(), and readHelpDataFile().