LibreOffice Module xmlhelp (master) 1
Classes | Namespaces | Functions | Variables
tvread.cxx File Reference
#include <string.h>
#include <rtl/character.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/string_view.hxx>
#include <osl/diagnose.h>
#include <tvread.hxx>
#include <expat.h>
#include <osl/file.hxx>
#include <unotools/configmgr.hxx>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
#include <com/sun/star/deployment/thePackageManagerFactory.hpp>
#include <com/sun/star/util/theMacroExpander.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/uri/XVndSunStarExpandUrl.hpp>
#include <i18nlangtag/languagetag.hxx>
#include <unotools/pathoptions.hxx>
#include <memory>
#include <utility>
Include dependency graph for tvread.cxx:

Go to the source code of this file.

Classes

class  treeview::TVDom
 

Namespaces

namespace  treeview
 

Functions

static void start_handler (void *userData, const XML_Char *name, const XML_Char **atts)
 
static void end_handler (void *userData, SAL_UNUSED_PARAMETER const XML_Char *)
 
static void data_handler (void *userData, const XML_Char *s, int len)
 
static bool isLetter (sal_Unicode c)
 

Variables

const char prodName [] = "%PRODUCTNAME"
 
const char vendName [] = "%VENDORNAME"
 
const char vendVersion [] = "%VENDORVERSION"
 
const char vendShort [] = "%VENDORSHORT"
 
const char prodVersion [] = "%PRODUCTVERSION"
 
const char aHelpMediaType [] = "application/vnd.sun.star.help"
 

Function Documentation

◆ data_handler()

static void data_handler ( void *  userData,
const XML_Char *  s,
int  len 
)
static

Definition at line 352 of file tvread.cxx.

References treeview::TVDom::setTitle().

◆ end_handler()

static void end_handler ( void *  userData,
SAL_UNUSED_PARAMETER const XML_Char *   
)
static

Definition at line 345 of file tvread.cxx.

References treeview::TVDom::getParent().

◆ isLetter()

static bool isLetter ( sal_Unicode  c)
static

◆ start_handler()

static void start_handler ( void *  userData,
const XML_Char *  name,
const XML_Char **  atts 
)
static

Definition at line 308 of file tvread.cxx.

References name, p, treeview::TVDom::tree_leaf, and treeview::TVDom::tree_node.

Variable Documentation

◆ aHelpMediaType

const char aHelpMediaType[] = "application/vnd.sun.star.help"

◆ prodName

const char prodName[] = "%PRODUCTNAME"

Definition at line 160 of file tvread.cxx.

Referenced by treeview::ConfigData::replaceName().

◆ prodVersion

const char prodVersion[] = "%PRODUCTVERSION"

Definition at line 164 of file tvread.cxx.

Referenced by treeview::ConfigData::replaceName().

◆ vendName

const char vendName[] = "%VENDORNAME"

Definition at line 161 of file tvread.cxx.

Referenced by treeview::ConfigData::replaceName().

◆ vendShort

const char vendShort[] = "%VENDORSHORT"

Definition at line 163 of file tvread.cxx.

Referenced by treeview::ConfigData::replaceName().

◆ vendVersion

const char vendVersion[] = "%VENDORVERSION"

Definition at line 162 of file tvread.cxx.

Referenced by treeview::ConfigData::replaceName().