LibreOffice Module unotools (master) 1
Namespaces | Functions
configpaths.cxx File Reference
#include <sal/config.h>
#include <cassert>
#include <string_view>
#include <unotools/configpaths.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
Include dependency graph for configpaths.cxx:

Go to the source code of this file.

Namespaces

namespace  utl
 

Functions

static void utl::lcl_resolveCharEntities (OUString &aLocalString)
 
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...
 
static sal_Int32 utl::lcl_findPrefixEnd (std::u16string_view _sNestedPath, std::u16string_view _sPrefixPath)
 
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...
 
static OUString utl::lcl_wrapName (std::u16string_view _sContent, const OUString &_sType)
 
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...