LibreOffice Module ucb (master) 1
|
#include <hierarchydata.hxx>
Classes | |
class | iterator |
Public Member Functions | |
HierarchyEntry (css::uno::Reference< css::uno::XComponentContext > xContext, HierarchyContentProvider *pProvider, const OUString &rURL) | |
bool | hasData () |
bool | getData (HierarchyEntryData &rData) |
bool | setData (const HierarchyEntryData &rData) |
bool | move (const OUString &rNewURL, const HierarchyEntryData &rData) |
bool | remove () |
bool | first (iterator &it) |
bool | next (iterator &it) |
Private Member Functions | |
css::uno::Reference< css::container::XHierarchicalNameAccess > | getRootReadAccess () |
Static Private Member Functions | |
static OUString | createPathFromHierarchyURL (const HierarchyUri &rURI) |
Private Attributes | |
OUString | m_aServiceSpecifier |
OUString | m_aName |
OUString | m_aPath |
std::mutex | m_aMutex |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::lang::XMultiServiceFactory > | m_xConfigProvider |
css::uno::Reference< css::container::XHierarchicalNameAccess > | m_xRootReadAccess |
css::uno::Reference< css::util::XOfficeInstallationDirectories > | m_xOfficeInstDirs |
bool | m_bTriedToGetRootReadAccess |
Definition at line 75 of file hierarchydata.hxx.
hierarchy_ucp::HierarchyEntry::HierarchyEntry | ( | css::uno::Reference< css::uno::XComponentContext > | xContext, |
HierarchyContentProvider * | pProvider, | ||
const OUString & | rURL | ||
) |
Definition at line 96 of file hierarchydata.cxx.
References createPathFromHierarchyURL(), hierarchy_ucp::HierarchyContentProvider::getConfigProvider(), hierarchy_ucp::HierarchyContentProvider::getRootConfigReadNameAccess(), hierarchy_ucp::HierarchyUri::getService(), HIERARCHY_URL_SCHEME_LENGTH, m_aName, m_aPath, m_aServiceSpecifier, m_xConfigProvider, m_xContext, m_xOfficeInstDirs, m_xRootReadAccess, and nPos.
|
staticprivate |
Definition at line 920 of file hierarchydata.cxx.
References hierarchy_ucp::HierarchyUri::getPath(), and hierarchy_ucp::makeXMLName().
Referenced by HierarchyEntry(), and move().
bool hierarchy_ucp::HierarchyEntry::first | ( | iterator & | it | ) |
Definition at line 843 of file hierarchydata.cxx.
References hierarchy_ucp::HierarchyEntry::iterator::dir, getRootReadAccess(), m_aPath, m_xOfficeInstDirs, hierarchy_ucp::HierarchyEntry::iterator::names, hierarchy_ucp::HierarchyEntry::iterator::officeDirs, hierarchy_ucp::HierarchyEntry::iterator::pos, and TOOLS_WARN_EXCEPTION.
Referenced by next().
bool hierarchy_ucp::HierarchyEntry::getData | ( | HierarchyEntryData & | rData | ) |
Definition at line 139 of file hierarchydata.cxx.
References hierarchy_ucp::HierarchyEntryData::FOLDER, getRootReadAccess(), hierarchy_ucp::HierarchyEntryData::LINK, m_aName, m_aPath, m_xOfficeInstDirs, nType, hierarchy_ucp::HierarchyEntryData::setName(), hierarchy_ucp::HierarchyEntryData::setTargetURL(), hierarchy_ucp::HierarchyEntryData::setTitle(), hierarchy_ucp::HierarchyEntryData::setType(), and TOOLS_WARN_EXCEPTION.
Referenced by hierarchy_ucp::HierarchyContent::loadData().
|
private |
Definition at line 964 of file hierarchydata.cxx.
References aArguments, hierarchy_ucp::CFGPROPERTY_NODEPATH, comphelper::InitAnyPropertySequence(), m_aMutex, m_aServiceSpecifier, m_bTriedToGetRootReadAccess, m_xConfigProvider, m_xContext, m_xRootReadAccess, hierarchy_ucp::READ_SERVICE_NAME, and TOOLS_WARN_EXCEPTION.
bool hierarchy_ucp::HierarchyEntry::hasData | ( | ) |
Definition at line 125 of file hierarchydata.cxx.
References getRootReadAccess(), and m_aPath.
bool hierarchy_ucp::HierarchyEntry::move | ( | const OUString & | rNewURL, |
const HierarchyEntryData & | rData | ||
) |
Definition at line 452 of file hierarchydata.cxx.
References aArguments, hierarchy_ucp::CFGPROPERTY_NODEPATH, createPathFromHierarchyURL(), hierarchy_ucp::HierarchyEntryData::getTargetURL(), hierarchy_ucp::HierarchyEntryData::getTitle(), hierarchy_ucp::HierarchyEntryData::getType(), HIERARCHY_URL_SCHEME_LENGTH, comphelper::InitAnyPropertySequence(), hierarchy_ucp::HierarchyEntryData::LINK, m_aMutex, m_aName, m_aPath, m_aServiceSpecifier, m_xConfigProvider, m_xContext, m_xOfficeInstDirs, nPos, nType, hierarchy_ucp::READWRITE_SERVICE_NAME, and TOOLS_WARN_EXCEPTION.
Referenced by hierarchy_ucp::HierarchyContent::renameData().
bool hierarchy_ucp::HierarchyEntry::next | ( | iterator & | it | ) |
Definition at line 909 of file hierarchydata.cxx.
References first(), hierarchy_ucp::HierarchyEntry::iterator::names, and hierarchy_ucp::HierarchyEntry::iterator::pos.
Referenced by hierarchy_ucp::HierarchyResultSetDataSupplier::getResultImpl(), hierarchy_ucp::HierarchyResultSetDataSupplier::totalCount(), and hierarchy_ucp::HierarchyContent::transfer().
bool hierarchy_ucp::HierarchyEntry::remove | ( | ) |
Definition at line 733 of file hierarchydata.cxx.
References aArguments, hierarchy_ucp::CFGPROPERTY_NODEPATH, comphelper::InitAnyPropertySequence(), m_aMutex, m_aName, m_aPath, m_aServiceSpecifier, m_xConfigProvider, m_xContext, nPos, hierarchy_ucp::READWRITE_SERVICE_NAME, and TOOLS_WARN_EXCEPTION.
Referenced by hierarchy_ucp::HierarchyContent::removeData().
bool hierarchy_ucp::HierarchyEntry::setData | ( | const HierarchyEntryData & | rData | ) |
Definition at line 239 of file hierarchydata.cxx.
References aArguments, hierarchy_ucp::CFGPROPERTY_NODEPATH, hierarchy_ucp::HierarchyEntryData::getTargetURL(), hierarchy_ucp::HierarchyEntryData::getTitle(), hierarchy_ucp::HierarchyEntryData::getType(), comphelper::InitAnyPropertySequence(), hierarchy_ucp::HierarchyEntryData::LINK, m_aMutex, m_aName, m_aPath, m_aServiceSpecifier, m_xConfigProvider, m_xContext, m_xOfficeInstDirs, nPos, nType, hierarchy_ucp::READWRITE_SERVICE_NAME, and TOOLS_WARN_EXCEPTION.
Referenced by hierarchy_ucp::HierarchyContent::storeData().
|
private |
Definition at line 80 of file hierarchydata.hxx.
Referenced by getRootReadAccess(), move(), remove(), and setData().
|
private |
Definition at line 78 of file hierarchydata.hxx.
Referenced by getData(), HierarchyEntry(), move(), remove(), and setData().
|
private |
Definition at line 79 of file hierarchydata.hxx.
Referenced by first(), getData(), hasData(), HierarchyEntry(), move(), remove(), and setData().
|
private |
Definition at line 77 of file hierarchydata.hxx.
Referenced by getRootReadAccess(), HierarchyEntry(), move(), remove(), and setData().
|
private |
Definition at line 87 of file hierarchydata.hxx.
Referenced by getRootReadAccess().
|
private |
Definition at line 82 of file hierarchydata.hxx.
Referenced by getRootReadAccess(), HierarchyEntry(), move(), remove(), and setData().
|
private |
Definition at line 81 of file hierarchydata.hxx.
Referenced by getRootReadAccess(), move(), remove(), and setData().
|
private |
|
private |
Definition at line 84 of file hierarchydata.hxx.
Referenced by getRootReadAccess(), and HierarchyEntry().