Functions | Variables

pp_Property.cpp File Reference

#include <string.h>
#include <stdlib.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_string.h"
#include "ut_hash.h"
#include "ut_debugmsg.h"
#include "pp_Property.h"
#include "pp_AttrProp.h"
#include "pd_Document.h"
#include "pd_Style.h"

Functions

static int s_compare (const void *a, const void *b)
const PP_PropertyPP_lookupProperty (const gchar *name)
void PP_resetInitialBiDiValues (const gchar *pszValue)
void PP_setDefaultFontFamily (const char *pszFamily)
static PD_Style_getStyle (const PP_AttrProp *pAttrProp, const PD_Document *pDoc)
static const gchar * s_evalProperty (const PP_Property *pProp, const PP_AttrProp *pAttrProp, const PD_Document *pDoc, bool bExpandStyles)
const gchar * PP_evalProperty (const gchar *pszName, const PP_AttrProp *pSpanAttrProp, const PP_AttrProp *pBlockAttrProp, const PP_AttrProp *pSectionAttrProp, const PD_Document *pDoc, bool bExpandStyles)
std::unique_ptr< PP_PropertyTypePP_evalPropertyType (const gchar *pszName, const PP_AttrProp *pSpanAttrProp, const PP_AttrProp *pBlockAttrProp, const PP_AttrProp *pSectionAttrProp, tProperty_type Type, const PD_Document *pDoc, bool bExpandStyles)
UT_uint32 PP_getPropertyCount ()
const gchar * PP_getNthPropertyName (UT_uint32 n)
tPropLevel PP_getNthPropertyLevel (UT_uint32 n)

Variables

gchar def_dom_dir [] = "ltr"
gchar default_direction [] = "ltr"
gchar text_align [] = "left\0"
static PP_Property _props []

Function Documentation

static PD_Style* _getStyle ( const PP_AttrProp pAttrProp,
const PD_Document pDoc 
) [static]
const gchar* PP_evalProperty ( const gchar *  pszName,
const PP_AttrProp pSpanAttrProp,
const PP_AttrProp pBlockAttrProp,
const PP_AttrProp pSectionAttrProp,
const PD_Document pDoc,
bool  bExpandStyles 
)
std::unique_ptr<PP_PropertyType> PP_evalPropertyType ( const gchar *  pszName,
const PP_AttrProp pSpanAttrProp,
const PP_AttrProp pBlockAttrProp,
const PP_AttrProp pSectionAttrProp,
tProperty_type  Type,
const PD_Document pDoc,
bool  bExpandStyles 
)
tPropLevel PP_getNthPropertyLevel ( UT_uint32  n  ) 
const gchar* PP_getNthPropertyName ( UT_uint32  n  ) 
UT_uint32 PP_getPropertyCount (  ) 
const PP_Property* PP_lookupProperty ( const gchar *  name  ) 
void PP_resetInitialBiDiValues ( const gchar *  pszValue  ) 
void PP_setDefaultFontFamily ( const char *  pszFamily  ) 
static int s_compare ( const void *  a,
const void *  b 
) [static]
static const gchar* s_evalProperty ( const PP_Property pProp,
const PP_AttrProp pAttrProp,
const PD_Document pDoc,
bool  bExpandStyles 
) [static]

Variable Documentation

PP_Property _props[] [static]

Definitions are: Property Nme: Initial Value: Can Inherit: Pointer to class : tPropLevel tPropLevel should be set by or-ing the values defined in PP_Property.h

gchar def_dom_dir[] = "ltr"
gchar default_direction[] = "ltr"
gchar text_align[] = "left\0"