Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/libxslt
File: numbersInternals.h
/*
[0] Fix | Delete
* Summary: Implementation of the XSLT number functions
[1] Fix | Delete
* Description: Implementation of the XSLT number functions
[2] Fix | Delete
*
[3] Fix | Delete
* Copy: See Copyright for the status of this software.
[4] Fix | Delete
*
[5] Fix | Delete
* Author: Bjorn Reese <breese@users.sourceforge.net> and Daniel Veillard
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef __XML_XSLT_NUMBERSINTERNALS_H__
[9] Fix | Delete
#define __XML_XSLT_NUMBERSINTERNALS_H__
[10] Fix | Delete
[11] Fix | Delete
#include <libxml/tree.h>
[12] Fix | Delete
#include "xsltexports.h"
[13] Fix | Delete
[14] Fix | Delete
#ifdef __cplusplus
[15] Fix | Delete
extern "C" {
[16] Fix | Delete
#endif
[17] Fix | Delete
[18] Fix | Delete
struct _xsltCompMatch;
[19] Fix | Delete
[20] Fix | Delete
/**
[21] Fix | Delete
* xsltNumberData:
[22] Fix | Delete
*
[23] Fix | Delete
* This data structure is just a wrapper to pass xsl:number data in.
[24] Fix | Delete
*/
[25] Fix | Delete
typedef struct _xsltNumberData xsltNumberData;
[26] Fix | Delete
typedef xsltNumberData *xsltNumberDataPtr;
[27] Fix | Delete
[28] Fix | Delete
struct _xsltNumberData {
[29] Fix | Delete
const xmlChar *level;
[30] Fix | Delete
const xmlChar *count;
[31] Fix | Delete
const xmlChar *from;
[32] Fix | Delete
const xmlChar *value;
[33] Fix | Delete
const xmlChar *format;
[34] Fix | Delete
int has_format;
[35] Fix | Delete
int digitsPerGroup;
[36] Fix | Delete
int groupingCharacter;
[37] Fix | Delete
int groupingCharacterLen;
[38] Fix | Delete
xmlDocPtr doc;
[39] Fix | Delete
xmlNodePtr node;
[40] Fix | Delete
struct _xsltCompMatch *countPat;
[41] Fix | Delete
struct _xsltCompMatch *fromPat;
[42] Fix | Delete
[43] Fix | Delete
/*
[44] Fix | Delete
* accelerators
[45] Fix | Delete
*/
[46] Fix | Delete
};
[47] Fix | Delete
[48] Fix | Delete
/**
[49] Fix | Delete
* xsltFormatNumberInfo,:
[50] Fix | Delete
*
[51] Fix | Delete
* This data structure lists the various parameters needed to format numbers.
[52] Fix | Delete
*/
[53] Fix | Delete
typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo;
[54] Fix | Delete
typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr;
[55] Fix | Delete
[56] Fix | Delete
struct _xsltFormatNumberInfo {
[57] Fix | Delete
int integer_hash; /* Number of '#' in integer part */
[58] Fix | Delete
int integer_digits; /* Number of '0' in integer part */
[59] Fix | Delete
int frac_digits; /* Number of '0' in fractional part */
[60] Fix | Delete
int frac_hash; /* Number of '#' in fractional part */
[61] Fix | Delete
int group; /* Number of chars per display 'group' */
[62] Fix | Delete
int multiplier; /* Scaling for percent or permille */
[63] Fix | Delete
char add_decimal; /* Flag for whether decimal point appears in pattern */
[64] Fix | Delete
char is_multiplier_set; /* Flag to catch multiple occurences of percent/permille */
[65] Fix | Delete
char is_negative_pattern;/* Flag for processing -ve prefix/suffix */
[66] Fix | Delete
};
[67] Fix | Delete
[68] Fix | Delete
#ifdef __cplusplus
[69] Fix | Delete
}
[70] Fix | Delete
#endif
[71] Fix | Delete
#endif /* __XML_XSLT_NUMBERSINTERNALS_H__ */
[72] Fix | Delete
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function