LibreOffice Module xmlhelp (master) 1
|
#include <tvread.hxx>
Public Member Functions | |
TVChildTarget (const ConfigData &configData, TVDom *tvDom) | |
TVChildTarget (const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual | ~TVChildTarget () override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Any SAL_CALL | getByHierarchicalName (const OUString &aName) override |
virtual sal_Bool SAL_CALL | hasByHierarchicalName (const OUString &aName) override |
Public Member Functions inherited from treeview::TVBase | |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | addChangesListener (const css::uno::Reference< css::util::XChangesListener > &) override |
virtual void SAL_CALL | removeChangesListener (const css::uno::Reference< css::util::XChangesListener > &) override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override=0 |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override=0 |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override=0 |
virtual css::uno::Any SAL_CALL | getByHierarchicalName (const OUString &aName) override=0 |
virtual sal_Bool SAL_CALL | hasByHierarchicalName (const OUString &aName) override=0 |
Private Member Functions | |
std::unique_ptr< TVDom > | SearchAndInsert (std::unique_ptr< TVDom > p, TVDom *tvDom) |
void | Check (TVDom *tvDom) |
Static Private Member Functions | |
static ConfigData | init (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
static css::uno::Reference< css::lang::XMultiServiceFactory > | getConfiguration (const css::uno::Reference< css::uno::XComponentContext > &rxContext) |
static css::uno::Reference< css::container::XHierarchicalNameAccess > | getHierAccess (const css::uno::Reference< css::lang::XMultiServiceFactory > &rxProvider, const char *file) |
static OUString | getKey (const css::uno::Reference< css::container::XHierarchicalNameAccess > &xHierAccess, const char *key) |
static bool | getBooleanKey (const css::uno::Reference< css::container::XHierarchicalNameAccess > &xHierAccess, const char *key) |
static void | subst (OUString &instpath) |
Private Attributes | |
std::vector< rtl::Reference< TVRead > > | Elements |
Definition at line 174 of file tvread.hxx.
TVChildTarget::TVChildTarget | ( | const ConfigData & | configData, |
TVDom * | tvDom | ||
) |
Definition at line 363 of file tvread.cxx.
References treeview::TVDom::children, Elements, and i.
treeview::TVChildTarget::TVChildTarget | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
|
overridevirtual |
Definition at line 415 of file tvread.cxx.
|
private |
Definition at line 419 of file tvread.cxx.
References treeview::TVDom::children, h, i, p, and SearchAndInsert().
|
staticprivate |
|
overridevirtual |
Implements treeview::TVBase.
Definition at line 539 of file tvread.cxx.
References aName, Elements, getByName(), idx, o3tl::make_unsigned(), and o3tl::toInt32().
|
overridevirtual |
Implements treeview::TVBase.
Definition at line 503 of file tvread.cxx.
References aName, Any, Elements, idx, o3tl::make_unsigned(), p, and o3tl::toInt32().
Referenced by getByHierarchicalName().
|
staticprivate |
Definition at line 736 of file tvread.cxx.
Referenced by init().
|
overridevirtual |
|
staticprivate |
Definition at line 755 of file tvread.cxx.
Referenced by init().
|
staticprivate |
|
overridevirtual |
Implements treeview::TVBase.
Definition at line 558 of file tvread.cxx.
References aName, Elements, hasByName(), idx, o3tl::make_unsigned(), and o3tl::toInt32().
|
overridevirtual |
Implements treeview::TVBase.
Definition at line 526 of file tvread.cxx.
References aName, Elements, idx, o3tl::make_unsigned(), and o3tl::toInt32().
Referenced by hasByHierarchicalName().
|
staticprivate |
Definition at line 575 of file tvread.cxx.
References treeview::ConfigData::appendix, getBooleanKey(), getConfiguration(), getHierAccess(), getKey(), utl::ConfigManager::getProductName(), idx, comphelper::InitAnyPropertySequence(), treeview::ConfigData::locale, treeview::ConfigData::m_vAdd, treeview::ConfigData::m_vReplacement, treeview::TreeFileIterator::nextTreeFile(), subst(), treeview::ConfigData::system, treeview::ConfigData::vFileLen, and treeview::ConfigData::vFileURL.
|
private |
Definition at line 453 of file tvread.cxx.
References treeview::TVDom::children, h, i, max, p, SearchAndInsert(), and u.
Referenced by Check(), and SearchAndInsert().
|
staticprivate |
Definition at line 821 of file tvread.cxx.
References SvtPathOptions::SubstituteVariable().
Referenced by init().
|
private |
Definition at line 203 of file tvread.hxx.
Referenced by getByHierarchicalName(), getByName(), getElementNames(), hasByHierarchicalName(), hasByName(), and TVChildTarget().