LibreOffice Module unotools (master) 1
Namespaces | Functions
configpaths.hxx File Reference
#include <unotools/unotoolsdllapi.h>
#include <rtl/ustring.hxx>
Include dependency graph for configpaths.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  utl
 

Functions

bool utl::splitLastFromConfigurationPath (std::u16string_view _sInPath, OUString &_rsOutPath, OUString &_rsLocalName)
 extract the local nodename and the parent nodepath from a configuration path. More...
 
OUString utl::extractFirstFromConfigurationPath (OUString const &_sInPath, OUString *_sOutPath=nullptr)
 extract the first nodename from a configuration path. More...
 
bool utl::isPrefixOfConfigurationPath (std::u16string_view _sNestedPath, std::u16string_view _sPrefixPath)
 check whether a path is to a nested node with respect to a parent path. More...
 
OUString utl::dropPrefixFromConfigurationPath (OUString const &_sNestedPath, std::u16string_view _sPrefixPath)
 get the relative path to a nested node with respect to a parent path. More...
 
OUString utl::wrapConfigurationElementName (std::u16string_view _sElementName)
 Create a one-level relative configuration path from a set element name without a known set element type. More...
 
OUString utl::wrapConfigurationElementName (std::u16string_view _sElementName, OUString const &_sTypeName)
 Create a one-level relative configuration path from a set element name and a known set element type. More...