ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

numbersInternals.h
Go to the documentation of this file.
00001 /*
00002  * Summary: Implementation of the XSLT number functions
00003  * Description: Implementation of the XSLT number functions
00004  *
00005  * Copy: See Copyright for the status of this software.
00006  *
00007  * Author: Bjorn Reese <breese@users.sourceforge.net> and Daniel Veillard
00008  */
00009 
00010 #ifndef __XML_XSLT_NUMBERSINTERNALS_H__
00011 #define __XML_XSLT_NUMBERSINTERNALS_H__
00012 
00013 #include <libxml/tree.h>
00014 #include "xsltexports.h"
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00025 typedef struct _xsltNumberData xsltNumberData;
00026 typedef xsltNumberData *xsltNumberDataPtr;
00027     
00028 struct _xsltNumberData {
00029     const xmlChar *level;
00030     const xmlChar *count;
00031     const xmlChar *from;
00032     const xmlChar *value;
00033     const xmlChar *format;
00034     int has_format;
00035     int digitsPerGroup;
00036     int groupingCharacter;
00037     int groupingCharacterLen;
00038     xmlDocPtr doc;
00039     xmlNodePtr node;
00040 
00041     /*
00042      * accelerators
00043      */
00044 };
00045 
00051 typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo;
00052 typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr;
00053 
00054 struct _xsltFormatNumberInfo {
00055     int     integer_hash;   /* Number of '#' in integer part */
00056     int     integer_digits; /* Number of '0' in integer part */
00057     int     frac_digits;    /* Number of '0' in fractional part */
00058     int     frac_hash;      /* Number of '#' in fractional part */
00059     int     group;      /* Number of chars per display 'group' */
00060     int     multiplier;     /* Scaling for percent or permille */
00061     char    add_decimal;    /* Flag for whether decimal point appears in pattern */
00062     char    is_multiplier_set;  /* Flag to catch multiple occurences of percent/permille */
00063     char    is_negative_pattern;/* Flag for processing -ve prefix/suffix */
00064 };
00065 
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069 #endif /* __XML_XSLT_NUMBERSINTERNALS_H__ */

Generated on Sun May 27 2012 04:19:37 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.