libwps_internal.h File Reference

#include <libwpd-stream/libwpd-stream.h>
#include <libwpd/libwpd.h>
#include <string>
#include <inttypes.h>

Go to the source code of this file.

Classes

class  VersionException
class  FileException
class  ParseException
class  GenericException

Defines

#define DELETEP(m)   if (m) { delete m; m = NULL; }
#define WPS_DEBUG_MSG(M)
#define WPS_LE_GET_GUINT16(p)
#define WPS_LE_GET_GUINT32(p)
#define WPS_EXTRA_LARGE_BIT   1
#define WPS_VERY_LARGE_BIT   2
#define WPS_LARGE_BIT   4
#define WPS_SMALL_PRINT_BIT   8
#define WPS_FINE_PRINT_BIT   16
#define WPS_SUPERSCRIPT_BIT   32
#define WPS_SUBSCRIPT_BIT   64
#define WPS_OUTLINE_BIT   128
#define WPS_ITALICS_BIT   256
#define WPS_SHADOW_BIT   512
#define WPS_REDLINE_BIT   1024
#define WPS_DOUBLE_UNDERLINE_BIT   2048
#define WPS_BOLD_BIT   4096
#define WPS_STRIKEOUT_BIT   8192
#define WPS_UNDERLINE_BIT   16384
#define WPS_SMALL_CAPS_BIT   32768
#define WPS_BLINK_BIT   65536
#define WPS_REVERSEVIDEO_BIT   131072
#define WPS_ALL_CAPS_BIT   262144
#define WPS_EMBOSS_BIT   524288
#define WPS_ENGRAVE_BIT   1048576
#define WPS_PARAGRAPH_JUSTIFICATION_LEFT   0x00
#define WPS_PARAGRAPH_JUSTIFICATION_FULL   0x01
#define WPS_PARAGRAPH_JUSTIFICATION_CENTER   0x02
#define WPS_PARAGRAPH_JUSTIFICATION_RIGHT   0x03
#define WPS_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES   0x04
#define WPS_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED   0x05
#define WPS_PAGE_BREAK   0x00
#define WPS_SOFT_PAGE_BREAK   0x01
#define WPS_COLUMN_BREAK   0x02
#define WPS_LEFT   0x00
#define WPS_RIGHT   0x01
#define WPS_CENTER   0x02
#define WPS_TOP   0x03
#define WPS_BOTTOM   0x04

Enumerations

enum  WPSHeaderFooterType { HEADER, FOOTER }
enum  WPSHeaderFooterInternalType {
  HEADER_A, HEADER_B, FOOTER_A, FOOTER_B,
  DUMMY
}
enum  WPSHeaderFooterOccurence { ODD, EVEN, ALL, NEVER }
enum  WPSFormOrientation { PORTRAIT, LANDSCAPE }

Functions

uint8_t readU8 (WPXInputStream *input)
uint16_t readU16 (WPXInputStream *input)
uint32_t readU32 (WPXInputStream *input)


Define Documentation

#define DELETEP (  )     if (m) { delete m; m = NULL; }

#define WPS_ALL_CAPS_BIT   262144

#define WPS_BLINK_BIT   65536

#define WPS_BOLD_BIT   4096

#define WPS_BOTTOM   0x04

#define WPS_CENTER   0x02

#define WPS_COLUMN_BREAK   0x02

#define WPS_DEBUG_MSG (  ) 

#define WPS_DOUBLE_UNDERLINE_BIT   2048

#define WPS_EMBOSS_BIT   524288

#define WPS_ENGRAVE_BIT   1048576

#define WPS_EXTRA_LARGE_BIT   1

#define WPS_FINE_PRINT_BIT   16

#define WPS_ITALICS_BIT   256

#define WPS_LARGE_BIT   4

#define WPS_LE_GET_GUINT16 (  ) 

Value:

(uint16_t)((((uint8_t const *)(p))[0] << 0)  |    \
                  (((uint8_t const *)(p))[1] << 8))

#define WPS_LE_GET_GUINT32 (  ) 

Value:

(uint32_t)((((uint8_t const *)(p))[0] << 0)  |    \
                  (((uint8_t const *)(p))[1] << 8)  |    \
                  (((uint8_t const *)(p))[2] << 16) |    \
                  (((uint8_t const *)(p))[3] << 24))

Referenced by WPS8Parser::propertyChange().

#define WPS_LEFT   0x00

#define WPS_OUTLINE_BIT   128

#define WPS_PAGE_BREAK   0x00

#define WPS_PARAGRAPH_JUSTIFICATION_CENTER   0x02

#define WPS_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED   0x05

#define WPS_PARAGRAPH_JUSTIFICATION_FULL   0x01

#define WPS_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES   0x04

#define WPS_PARAGRAPH_JUSTIFICATION_LEFT   0x00

#define WPS_PARAGRAPH_JUSTIFICATION_RIGHT   0x03

#define WPS_REDLINE_BIT   1024

#define WPS_REVERSEVIDEO_BIT   131072

#define WPS_RIGHT   0x01

#define WPS_SHADOW_BIT   512

#define WPS_SMALL_CAPS_BIT   32768

#define WPS_SMALL_PRINT_BIT   8

#define WPS_SOFT_PAGE_BREAK   0x01

#define WPS_STRIKEOUT_BIT   8192

#define WPS_SUBSCRIPT_BIT   64

#define WPS_SUPERSCRIPT_BIT   32

#define WPS_TOP   0x03

#define WPS_UNDERLINE_BIT   16384

#define WPS_VERY_LARGE_BIT   2


Enumeration Type Documentation

Enumerator:
PORTRAIT 
LANDSCAPE 

Enumerator:
HEADER_A 
HEADER_B 
FOOTER_A 
FOOTER_B 
DUMMY 

Enumerator:
ODD 
EVEN 
ALL 
NEVER 

Enumerator:
HEADER 
FOOTER 


Function Documentation

uint16_t readU16 ( WPXInputStream *  input  ) 

uint32_t readU32 ( WPXInputStream *  input  ) 

uint8_t readU8 ( WPXInputStream *  input  ) 


Generated on Fri Jul 22 08:03:19 2011 for libwps by doxygen 1.5.7.1