libwpd_internal.h File Reference

#include "WPXStream.h"
#include <stdio.h>
#include <string>
#include <algorithm>
#include "WPXString.h"
#include "WPXEncryption.h"
#include "libwpd_types.h"

Go to the source code of this file.

Classes

struct  _RGBSColor
struct  _WPXColumnDefinition
struct  _WPXColumnProperties
struct  _WPXTabStop
class  VersionException
class  FileException
class  ParseException
class  GenericException
class  UnsupportedEncryptionException
class  SupportedEncryptionException
class  WrongPasswordException

Defines

#define LIBWPD_MIN   std::min
#define LIBWPD_MAX   std::max
#define WPD_CHECK_FILE_ERROR(v)   if (v==EOF) { WPD_DEBUG_MSG(("X_CheckFileError: %d\n", __LINE__)); throw FileException(); }
#define WPD_CHECK_FILE_SEEK_ERROR(v)   if (v) { WPD_DEBUG_MSG(("X_CheckFileSeekError: %d\n", __LINE__)); throw FileException(); }
#define WPD_CHECK_FILE_READ_ERROR(v, num_elements)
#define DELETEP(m)   if (m) { delete m; m = 0; }
#define WPD_DEBUG_MSG(M)
#define WPD_LE_GET_GUINT8(p)   (*(uint8_t const *)(p))
#define WPD_LE_GET_GUINT16(p)
#define WPD_LE_GET_GUINT32(p)
#define WPD_BE_GET_GUINT8(p)   (*(uint8_t const *)(p))
#define WPD_BE_GET_GUINT16(p)
#define WPD_BE_GET_GUINT32(p)
#define WPX_EXTRA_LARGE_BIT   1
#define WPX_VERY_LARGE_BIT   2
#define WPX_LARGE_BIT   4
#define WPX_SMALL_PRINT_BIT   8
#define WPX_FINE_PRINT_BIT   16
#define WPX_SUPERSCRIPT_BIT   32
#define WPX_SUBSCRIPT_BIT   64
#define WPX_OUTLINE_BIT   128
#define WPX_ITALICS_BIT   256
#define WPX_SHADOW_BIT   512
#define WPX_REDLINE_BIT   1024
#define WPX_DOUBLE_UNDERLINE_BIT   2048
#define WPX_BOLD_BIT   4096
#define WPX_STRIKEOUT_BIT   8192
#define WPX_UNDERLINE_BIT   16384
#define WPX_SMALL_CAPS_BIT   32768
#define WPX_BLINK_BIT   65536
#define WPX_REVERSEVIDEO_BIT   131072
#define WPX_PARAGRAPH_JUSTIFICATION_LEFT   0x00
#define WPX_PARAGRAPH_JUSTIFICATION_FULL   0x01
#define WPX_PARAGRAPH_JUSTIFICATION_CENTER   0x02
#define WPX_PARAGRAPH_JUSTIFICATION_RIGHT   0x03
#define WPX_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES   0x04
#define WPX_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED   0x05
#define WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN   0x00
#define WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN   0x01
#define WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS   0x02
#define WPX_TABLE_POSITION_FULL   0x03
#define WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN   0x04
#define WPX_PAGE_BREAK   0x00
#define WPX_SOFT_PAGE_BREAK   0x01
#define WPX_COLUMN_BREAK   0x02
#define WPX_LEFT   0x00
#define WPX_RIGHT   0x01
#define WPX_CENTER   0x02
#define WPX_TOP   0x03
#define WPX_BOTTOM   0x04

Typedefs

typedef struct _RGBSColor RGBSColor
typedef struct _WPXColumnDefinition WPXColumnDefinition
typedef struct _WPXColumnProperties WPXColumnProperties
typedef struct _WPXTabStop WPXTabStop

Enumerations

enum  WPXFileType { WP6_DOCUMENT, WP5_DOCUMENT, WP42_DOCUMENT, OTHER }
enum  WPXNumberingType {
  ARABIC, LOWERCASE, UPPERCASE, LOWERCASE_ROMAN,
  UPPERCASE_ROMAN
}
enum  WPXNoteType { FOOTNOTE, ENDNOTE }
enum  WPXHeaderFooterType { HEADER, FOOTER }
enum  WPXHeaderFooterInternalType {
  HEADER_A, HEADER_B, FOOTER_A, FOOTER_B,
  DUMMY
}
enum  WPXHeaderFooterOccurence { ODD, EVEN, ALL, NEVER }
enum  WPXPageNumberPosition {
  PAGENUMBER_POSITION_NONE = 0, PAGENUMBER_POSITION_TOP_LEFT, PAGENUMBER_POSITION_TOP_CENTER, PAGENUMBER_POSITION_TOP_RIGHT,
  PAGENUMBER_POSITION_TOP_LEFT_AND_RIGHT, PAGENUMBER_POSITION_BOTTOM_LEFT, PAGENUMBER_POSITION_BOTTOM_CENTER, PAGENUMBER_POSITION_BOTTOM_RIGHT,
  PAGENUMBER_POSITION_BOTTOM_LEFT_AND_RIGHT, PAGENUMBER_POSITION_TOP_INSIDE_LEFT_AND_RIGHT, PAGENUMBER_POSITION_BOTTOM_INSIDE_LEFT_AND_RIGHT
}
enum  WPXFormOrientation { PORTRAIT, LANDSCAPE }
enum  WPXTabAlignment {
  LEFT, RIGHT, CENTER, DECIMAL,
  BAR
}
enum  WPXVerticalAlignment { TOP, MIDDLE, BOTTOM, FULL }
enum  WPXTextColumnType { NEWSPAPER, NEWSPAPER_VERTICAL_BALANCE, PARALLEL, PARALLEL_PROTECT }
enum  WPXSubDocumentType {
  WPX_SUBDOCUMENT_NONE, WPX_SUBDOCUMENT_HEADER_FOOTER, WPX_SUBDOCUMENT_NOTE, WPX_SUBDOCUMENT_TEXT_BOX,
  WPX_SUBDOCUMENT_COMMENT_ANNOTATION
}

Functions

uint8_t readU8 (WPXInputStream *input, WPXEncryption *encryption)
uint16_t readU16 (WPXInputStream *input, WPXEncryption *encryption, bool bigendian=false)
uint32_t readU32 (WPXInputStream *input, WPXEncryption *encryption, bool bigendian=false)
WPXString readPascalString (WPXInputStream *input, WPXEncryption *encryption)
WPXString readCString (WPXInputStream *input, WPXEncryption *encryption)
void appendUCS4 (WPXString &str, uint32_t ucs4)
int extendedCharacterWP6ToUCS2 (uint8_t character, uint8_t characterSet, const uint16_t **chars)
int extendedCharacterWP5ToUCS2 (uint8_t character, uint8_t characterSet, const uint16_t **chars)
uint16_t fixedPointToWPUs (const uint32_t fixedPointNumber)
double fixedPointToDouble (const uint32_t fixedPointNumber)
double wpuToFontPointSize (const uint16_t wpuNumber)
int _extractNumericValueFromRoman (const char romanChar)
int _extractDisplayReferenceNumberFromBuf (const WPXString &buf, const WPXNumberingType listType)
WPXNumberingType _extractWPXNumberingTypeFromBuf (const WPXString &buf, const WPXNumberingType putativeWPXNumberingType)
WPXString _numberingTypeToString (WPXNumberingType t)
WPXString doubleToString (const double value)

Variables

const uint8_t WPX_TABLE_CELL_LEFT_BORDER_OFF = 0x01
const uint8_t WPX_TABLE_CELL_RIGHT_BORDER_OFF = 0x02
const uint8_t WPX_TABLE_CELL_TOP_BORDER_OFF = 0x04
const uint8_t WPX_TABLE_CELL_BOTTOM_BORDER_OFF = 0x08
const uint16_t macintoshCharacterMap []


Define Documentation

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

#define LIBWPD_MAX   std::max

#define LIBWPD_MIN   std::min

#define WPD_BE_GET_GUINT16 (  ) 

Value:

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

Referenced by readU16().

#define WPD_BE_GET_GUINT32 (  ) 

Value:

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

Referenced by readU32().

#define WPD_BE_GET_GUINT8 (  )     (*(uint8_t const *)(p))

#define WPD_CHECK_FILE_ERROR (  )     if (v==EOF) { WPD_DEBUG_MSG(("X_CheckFileError: %d\n", __LINE__)); throw FileException(); }

#define WPD_CHECK_FILE_READ_ERROR ( v,
num_elements   ) 

Value:

if (v != num_elements) {\
 WPD_DEBUG_MSG(("X_CheckFileReadElementError: %d\n", __LINE__)); throw FileException(); }

#define WPD_CHECK_FILE_SEEK_ERROR (  )     if (v) { WPD_DEBUG_MSG(("X_CheckFileSeekError: %d\n", __LINE__)); throw FileException(); }

#define WPD_DEBUG_MSG (  ) 

Referenced by WP6ContentListener::_handleListChange(), WPXContentListener::_openPageSpan(), WP6VariableLengthGroup::_read(), WP6PrefixIndice::_read(), WP6FixedLengthGroup::_read(), WP5VariableLengthGroup::_read(), WP5SpecialHeaderIndex::_read(), WP5GeneralPacketIndex::_read(), WP5FixedLengthGroup::_read(), WP3VariableLengthGroup::_read(), WP3FixedLengthGroup::_read(), WP1VariableLengthGroup::_read(), WP1FixedLengthGroup::_read(), WP6SetNumberGroup::_readContents(), WP6PageGroup::_readContents(), WP6OutlineStylePacket::_readContents(), WP6GraphicsBoxStylePacket::_readContents(), WP6GeneralTextPacket::_readContents(), WP6FillStylePacket::_readContents(), WP6EOLGroup::_readContents(), WP6DefaultInitialFontPacket::_readContents(), WP6ColumnGroup::_readContents(), WP6BoxGroup::_readContents(), WP5PageFormatGroup::_readContents(), WP5ListFontsUsedPacket::_readContents(), WP5HeaderFooterGroup::_readContents(), WP5FontNameStringPoolPacket::_readContents(), WP42UnsupportedMultiByteFunctionGroup::_readContents(), WP42HeaderFooterGroup::_readContents(), WP3PageFormatGroup::_readContents(), WP1UnsupportedVariableLengthGroup::_readContents(), WP1UnsupportedFixedLengthGroup::_readContents(), WP1HeaderFooterGroup::_readContents(), WP1FootnoteEndnoteGroup::_readContents(), WP6FontDescriptorPacket::_readFontName(), WPXPageSpan::_removeHeaderFooter(), WP6OutlineDefinition::_updateNumberingMethods(), WPXHeader::constructHeader(), WP6Part::constructPart(), WP5Part::constructPart(), WP42Part::constructPart(), WP3Part::constructPart(), WP1Part::constructPart(), WP5VariableLengthGroup::constructVariableLengthGroup(), WP6ContentListener::displayNumberReferenceGroupOn(), WPXEncryption::getCheckSum(), WP6Parser::getPrefixData(), WP6StylesListener::headerFooterGroup(), WP5StylesListener::headerFooterGroup(), WP42StylesListener::headerFooterGroup(), WP3StylesListener::headerFooterGroup(), WP1StylesListener::headerFooterGroup(), WP6ContentListener::insertCell(), WPDocument::isFileFormatSupported(), WP1Heuristics::isWP1FileFormat(), WP42Heuristics::isWP42FileFormat(), WP1StylesListener::marginReset(), operator==(), WPDocument::parse(), WP6TabGroup::parse(), WP6StyleGroup::parse(), WP6SetNumberGroup::parse(), WP6Parser::parse(), WP6ParagraphGroup_SpacingAfterParagraphSubGroup::parse(), WP6ParagraphGroup_RightMarginAdjustmentSubGroup::parse(), WP6ParagraphGroup_LeftMarginAdjustmentSubGroup::parse(), WP6ParagraphGroup_IndentFirstLineSubGroup::parse(), WP6ParagraphGroup_TabSetSubGroup::parse(), WP6ParagraphGroup_LineSpacingSubGroup::parse(), WP6ParagraphGroup::parse(), WP6PageGroup::parse(), WP6HeaderFooterGroup::parse(), WP6FootnoteEndnoteGroup::parse(), WP6EOLGroup::parse(), WP6DisplayNumberReferenceGroup::parse(), WP6ColumnGroup::parse(), WP6CharacterGroup::parse(), WP6CharacterGroup_SetDotLeaderCharactersSubGroup::parse(), WP6CharacterGroup_FontSizeChangeSubGroup::parse(), WP6CharacterGroup_FontFaceChangeSubGroup::parse(), WP6CharacterGroup_SetAlignmentCharacterSubGroup::parse(), WP6BoxGroup::parse(), WP5TableEOPGroup::parse(), WP5TableEOLGroup::parse(), WP5Parser::parse(), WP5PageFormatGroup::parse(), WP5HeaderFooterGroup::parse(), WP5FootnoteEndnoteGroup::parse(), WP5FontGroup::parse(), WP5DefinitionGroup::parse(), WP5BoxGroup::parse(), WP42SuppressPageCharacteristicsGroup::parse(), WP42Parser::parse(), WP42MarginResetGroup::parse(), WP42HeaderFooterGroup::parse(), WP3WindowGroup::parse(), WP3TablesGroup::parse(), WP3Parser::parse(), WP3PageFormatGroup::parse(), WP3MiscellaneousGroup::parse(), WP3HeaderFooterGroup::parse(), WP3FootnoteEndnoteGroup::parse(), WP3FontGroup::parse(), WP3EndOfLinePageGroup::parse(), WP3DisplayGroup::parse(), WP3DefinitionGroup::parse(), WP1TopMarginGroup::parse(), WP1SuppressPageCharacteristicsGroup::parse(), WP1SpacingResetGroup::parse(), WP1SetTabsGroup::parse(), WP1PointSizeGroup::parse(), WP1PictureGroup::parse(), WP1Parser::parse(), WP1MarginResetGroup::parse(), WP1MarginReleaseGroup::parse(), WP1LeftRightIndentGroup::parse(), WP1LeftIndentGroup::parse(), WP1JustificationGroup::parse(), WP1HeaderFooterGroup::parse(), WP1FootnoteEndnoteGroup::parse(), WP1FontIdGroup::parse(), WP1FlushRightGroup::parse(), WP1ExtendedCharacterGroup::parse(), WP1CenterTextGroup::parse(), WP1BottomMarginGroup::parse(), WP42Parser::parseDocument(), WP1Parser::parseDocument(), WPDocument::parseSubDocument(), WP6Parser::parseSubDocument(), WP5Parser::parseSubDocument(), WP42Parser::parseSubDocument(), WP3Parser::parseSubDocument(), WP1Parser::parseSubDocument(), WPXPageSpan::setHeaderFooter(), WP6ContentListener::styleGroupOff(), WP6ContentListener::styleGroupOn(), WP3StylesListener::suppressPage(), WP6StylesListener::suppressPageCharacteristics(), WP5StylesListener::suppressPageCharacteristics(), WP6ContentListener::updateOutlineDefinition(), WPDocument::verifyPassword(), WP3ResourceFork::WP3ResourceFork(), WP3UnsupportedVariableLengthGroup::WP3UnsupportedVariableLengthGroup(), WP5PrefixData::WP5PrefixData(), WP5UnsupportedVariableLengthGroup::WP5UnsupportedVariableLengthGroup(), WP61Header::WP61Header(), WP6CharacterGroup_CharacterShadingChangeSubGroup::WP6CharacterGroup_CharacterShadingChangeSubGroup(), WP6CharacterGroup_ColorSubGroup::WP6CharacterGroup_ColorSubGroup(), WP6CharacterGroup_FontFaceChangeSubGroup::WP6CharacterGroup_FontFaceChangeSubGroup(), WP6CharacterGroup_FontSizeChangeSubGroup::WP6CharacterGroup_FontSizeChangeSubGroup(), WP6Header::WP6Header(), WP6ParagraphGroup_IndentFirstLineSubGroup::WP6ParagraphGroup_IndentFirstLineSubGroup(), WP6ParagraphGroup_LeftMarginAdjustmentSubGroup::WP6ParagraphGroup_LeftMarginAdjustmentSubGroup(), WP6ParagraphGroup_LineSpacingSubGroup::WP6ParagraphGroup_LineSpacingSubGroup(), WP6ParagraphGroup_OutlineDefineSubGroup::WP6ParagraphGroup_OutlineDefineSubGroup(), WP6ParagraphGroup_RightMarginAdjustmentSubGroup::WP6ParagraphGroup_RightMarginAdjustmentSubGroup(), WP6ParagraphGroup_SpacingAfterParagraphSubGroup::WP6ParagraphGroup_SpacingAfterParagraphSubGroup(), WP6PrefixData::WP6PrefixData(), and WP6UnsupportedVariableLengthGroup::WP6UnsupportedVariableLengthGroup().

#define WPD_LE_GET_GUINT16 (  ) 

Value:

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

Referenced by readU16().

#define WPD_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 readU32().

#define WPD_LE_GET_GUINT8 (  )     (*(uint8_t const *)(p))

Referenced by readU8().

#define WPX_BLINK_BIT   65536

#define WPX_BOLD_BIT   4096

#define WPX_BOTTOM   0x04

#define WPX_CENTER   0x02

#define WPX_COLUMN_BREAK   0x02

#define WPX_DOUBLE_UNDERLINE_BIT   2048

#define WPX_EXTRA_LARGE_BIT   1

#define WPX_FINE_PRINT_BIT   16

#define WPX_ITALICS_BIT   256

#define WPX_LARGE_BIT   4

#define WPX_LEFT   0x00

#define WPX_OUTLINE_BIT   128

#define WPX_PAGE_BREAK   0x00

#define WPX_PARAGRAPH_JUSTIFICATION_CENTER   0x02

#define WPX_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED   0x05

#define WPX_PARAGRAPH_JUSTIFICATION_FULL   0x01

#define WPX_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES   0x04

#define WPX_PARAGRAPH_JUSTIFICATION_LEFT   0x00

#define WPX_PARAGRAPH_JUSTIFICATION_RIGHT   0x03

#define WPX_REDLINE_BIT   1024

#define WPX_REVERSEVIDEO_BIT   131072

#define WPX_RIGHT   0x01

#define WPX_SHADOW_BIT   512

#define WPX_SMALL_CAPS_BIT   32768

#define WPX_SMALL_PRINT_BIT   8

#define WPX_SOFT_PAGE_BREAK   0x01

#define WPX_STRIKEOUT_BIT   8192

#define WPX_SUBSCRIPT_BIT   64

#define WPX_SUPERSCRIPT_BIT   32

#define WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN   0x04

#define WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN   0x00

#define WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN   0x01

#define WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS   0x02

#define WPX_TABLE_POSITION_FULL   0x03

#define WPX_TOP   0x03

#define WPX_UNDERLINE_BIT   16384

#define WPX_VERY_LARGE_BIT   2


Typedef Documentation

typedef struct _RGBSColor RGBSColor

typedef struct _WPXTabStop WPXTabStop


Enumeration Type Documentation

Enumerator:
WP6_DOCUMENT 
WP5_DOCUMENT 
WP42_DOCUMENT 
OTHER 

Enumerator:
PORTRAIT 
LANDSCAPE 

Enumerator:
HEADER_A 
HEADER_B 
FOOTER_A 
FOOTER_B 
DUMMY 

Enumerator:
ODD 
EVEN 
ALL 
NEVER 

Enumerator:
HEADER 
FOOTER 

Enumerator:
FOOTNOTE 
ENDNOTE 

Enumerator:
ARABIC 
LOWERCASE 
UPPERCASE 
LOWERCASE_ROMAN 
UPPERCASE_ROMAN 

Enumerator:
PAGENUMBER_POSITION_NONE 
PAGENUMBER_POSITION_TOP_LEFT 
PAGENUMBER_POSITION_TOP_CENTER 
PAGENUMBER_POSITION_TOP_RIGHT 
PAGENUMBER_POSITION_TOP_LEFT_AND_RIGHT 
PAGENUMBER_POSITION_BOTTOM_LEFT 
PAGENUMBER_POSITION_BOTTOM_CENTER 
PAGENUMBER_POSITION_BOTTOM_RIGHT 
PAGENUMBER_POSITION_BOTTOM_LEFT_AND_RIGHT 
PAGENUMBER_POSITION_TOP_INSIDE_LEFT_AND_RIGHT 
PAGENUMBER_POSITION_BOTTOM_INSIDE_LEFT_AND_RIGHT 

Enumerator:
WPX_SUBDOCUMENT_NONE 
WPX_SUBDOCUMENT_HEADER_FOOTER 
WPX_SUBDOCUMENT_NOTE 
WPX_SUBDOCUMENT_TEXT_BOX 
WPX_SUBDOCUMENT_COMMENT_ANNOTATION 

Enumerator:
LEFT 
RIGHT 
CENTER 
DECIMAL 
BAR 

Enumerator:
NEWSPAPER 
NEWSPAPER_VERTICAL_BALANCE 
PARALLEL 
PARALLEL_PROTECT 

Enumerator:
TOP 
MIDDLE 
BOTTOM 
FULL 


Function Documentation

int _extractDisplayReferenceNumberFromBuf ( const WPXString buf,
const WPXNumberingType  listType 
)

int _extractNumericValueFromRoman ( const char  romanChar  ) 

WPXNumberingType _extractWPXNumberingTypeFromBuf ( const WPXString buf,
const WPXNumberingType  putativeWPXNumberingType 
)

WPXString _numberingTypeToString ( WPXNumberingType  t  ) 

void appendUCS4 ( WPXString str,
uint32_t  ucs4 
)

WPXString doubleToString ( const double  value  ) 

int extendedCharacterWP5ToUCS2 ( uint8_t  character,
uint8_t  characterSet,
const uint16_t **  chars 
)

int extendedCharacterWP6ToUCS2 ( uint8_t  character,
uint8_t  characterSet,
const uint16_t **  chars 
)

double fixedPointToDouble ( const uint32_t  fixedPointNumber  ) 

uint16_t fixedPointToWPUs ( const uint32_t  fixedPointNumber  ) 

WPXString readCString ( WPXInputStream input,
WPXEncryption encryption 
)

WPXString readPascalString ( WPXInputStream input,
WPXEncryption encryption 
)

uint16_t readU16 ( WPXInputStream input,
WPXEncryption encryption,
bool  bigendian = false 
)

Referenced by WP6VariableLengthGroup::_read(), WP6PrefixIndice::_read(), WP5VariableLengthGroup::_read(), WP5SpecialHeaderIndex::_read(), WP5GeneralPacketIndex::_read(), WP3VariableLengthGroup::_read(), WP6UndoGroup::_readContents(), WP6TabGroup::_readContents(), WP6SetNumberGroup::_readContents(), WP6PageGroup::_readContents(), WP6OutlineStylePacket::_readContents(), WP6GraphicsFilenamePacket::_readContents(), WP6GraphicsBoxStylePacket::_readContents(), WP6GeneralTextPacket::_readContents(), WP6FontDescriptorPacket::_readContents(), WP6FillStylePacket::_readContents(), WP6EOLGroup::_readContents(), WP6DefaultInitialFontPacket::_readContents(), WP6CommentAnnotationPacket::_readContents(), WP6ColumnGroup::_readContents(), WP6BoxGroup::_readContents(), WP5TableEOLGroup::_readContents(), WP5TabGroup::_readContents(), WP5PageFormatGroup::_readContents(), WP5ListFontsUsedPacket::_readContents(), WP5IndentGroup::_readContents(), WP5GraphicsInformationPacket::_readContents(), WP5FootnoteEndnoteGroup::_readContents(), WP5FontGroup::_readContents(), WP5BoxGroup::_readContents(), WP3WindowGroup::_readContents(), WP3UndoGroup::_readContents(), WP3TablesGroup::_readContents(), WP3PageFormatGroup::_readContents(), WP3MiscellaneousGroup::_readContents(), WP3HeaderFooterGroup::_readContents(), WP3FootnoteEndnoteGroup::_readContents(), WP3FontGroup::_readContents(), WP3DefinitionGroup::_readContents(), WP1TopMarginGroup::_readContents(), WP1SetTabsGroup::_readContents(), WP1PictureGroup::_readContents(), WP1MarginResetGroup::_readContents(), WP1MarginReleaseGroup::_readContents(), WP1LeftRightIndentGroup::_readContents(), WP1LeftIndentGroup::_readContents(), WP1FootnoteEndnoteGroup::_readContents(), WP1FontIdGroup::_readContents(), WP1BottomMarginGroup::_readContents(), WP6FontDescriptorPacket::_readFontName(), WP6Header::_readIndexInformation(), WPXHeader::constructHeader(), WP6VariableLengthGroup::isGroupConsistent(), WP5VariableLengthGroup::isGroupConsistent(), WP3VariableLengthGroup::isGroupConsistent(), WP1Heuristics::isWP1FileFormat(), WP42Heuristics::isWP42FileFormat(), libwpd::DirTree::load(), libwpd::Header::load(), WP6ExtendedDocumentSummaryPacket::parse(), WP42Heuristics::verifyPassword(), WP1Heuristics::verifyPassword(), WP3ResourceFork::WP3ResourceFork(), WP5DefinitionGroup_DefineTablesSubGroup::WP5DefinitionGroup_DefineTablesSubGroup(), WP6CharacterGroup_FontFaceChangeSubGroup::WP6CharacterGroup_FontFaceChangeSubGroup(), WP6CharacterGroup_FontSizeChangeSubGroup::WP6CharacterGroup_FontSizeChangeSubGroup(), WP6CharacterGroup_ParagraphNumberOnSubGroup::WP6CharacterGroup_ParagraphNumberOnSubGroup(), WP6CharacterGroup_SetAlignmentCharacterSubGroup::WP6CharacterGroup_SetAlignmentCharacterSubGroup(), WP6CharacterGroup_SetDotLeaderCharactersSubGroup::WP6CharacterGroup_SetDotLeaderCharactersSubGroup(), WP6CharacterGroup_TableColumnSubGroup::WP6CharacterGroup_TableColumnSubGroup(), WP6CharacterGroup_TableDefinitionOnSubGroup::WP6CharacterGroup_TableDefinitionOnSubGroup(), WP6Header::WP6Header(), WP6ParagraphGroup_IndentFirstLineSubGroup::WP6ParagraphGroup_IndentFirstLineSubGroup(), WP6ParagraphGroup_LeftMarginAdjustmentSubGroup::WP6ParagraphGroup_LeftMarginAdjustmentSubGroup(), WP6ParagraphGroup_OutlineDefineSubGroup::WP6ParagraphGroup_OutlineDefineSubGroup(), WP6ParagraphGroup_RightMarginAdjustmentSubGroup::WP6ParagraphGroup_RightMarginAdjustmentSubGroup(), WP6ParagraphGroup_SpacingAfterParagraphSubGroup::WP6ParagraphGroup_SpacingAfterParagraphSubGroup(), WP6ParagraphGroup_TabSetSubGroup::WP6ParagraphGroup_TabSetSubGroup(), and WP6StyleGroup_GlobalOnSubGroup::WP6StyleGroup_GlobalOnSubGroup().

uint32_t readU32 ( WPXInputStream input,
WPXEncryption encryption,
bool  bigendian = false 
)

uint8_t readU8 ( WPXInputStream input,
WPXEncryption encryption 
)

Referenced by WP6VariableLengthGroup::_read(), WP6PrefixIndice::_read(), WP6FixedLengthGroup::_read(), WP5VariableLengthGroup::_read(), WP5FixedLengthGroup::_read(), WP42MultiByteFunctionGroup::_read(), WP3VariableLengthGroup::_read(), WP3FixedLengthGroup::_read(), WP1VariableLengthGroup::_read(), WP1FixedLengthGroup::_read(), WP6UndoGroup::_readContents(), WP6SetNumberGroup::_readContents(), WP6PageGroup::_readContents(), WP6OutlineStylePacket::_readContents(), WP6NumberingMethodGroup::_readContents(), WP6HighlightGroup::_readContents(), WP6HeaderFooterGroup::_readContents(), WP6GraphicsCachedFileDataPacket::_readContents(), WP6GraphicsBoxStylePacket::_readContents(), WP6GeneralTextPacket::_readContents(), WP6FontDescriptorPacket::_readContents(), WP6FillStylePacket::_readContents(), WP6ExtendedDocumentSummaryPacket::_readContents(), WP6ExtendedCharacterGroup::_readContents(), WP6EOLGroup::_readContents(), WP6DisplayNumberReferenceGroup::_readContents(), WP6CommentAnnotationPacket::_readContents(), WP6ColumnGroup::_readContents(), WP6BoxGroup::_readContents(), WP6AttributeGroup::_readContents(), WP5TableEOLGroup::_readContents(), WP5TabGroup::_readContents(), WP5PageFormatGroup::_readContents(), WP5IndentGroup::_readContents(), WP5HeaderFooterGroup::_readContents(), WP5GraphicsInformationPacket::_readContents(), WP5FootnoteEndnoteGroup::_readContents(), WP5FontGroup::_readContents(), WP5ExtendedCharacterGroup::_readContents(), WP5BoxGroup::_readContents(), WP5AttributeGroup::_readContents(), WP42SuppressPageCharacteristicsGroup::_readContents(), WP42MarginResetGroup::_readContents(), WP42HeaderFooterGroup::_readContents(), WP3WindowGroup::_readContents(), WP3UndoGroup::_readContents(), WP3TablesGroup::_readContents(), WP3TabGroup::_readContents(), WP3PageFormatGroup::_readContents(), WP3IndentGroup::_readContents(), WP3HeaderFooterGroup::_readContents(), WP3ExtendedCharacterGroup::_readContents(), WP3DefinitionGroup::_readContents(), WP3AttributeGroup::_readContents(), WP1SuppressPageCharacteristicsGroup::_readContents(), WP1SpacingResetGroup::_readContents(), WP1SetTabsGroup::_readContents(), WP1PointSizeGroup::_readContents(), WP1PictureGroup::_readContents(), WP1JustificationGroup::_readContents(), WP1HeaderFooterGroup::_readContents(), WP1FootnoteEndnoteGroup::_readContents(), WP1ExtendedCharacterGroup::_readContents(), WPXHeader::constructHeader(), WP6VariableLengthGroup::isGroupConsistent(), WP6FixedLengthGroup::isGroupConsistent(), WP5VariableLengthGroup::isGroupConsistent(), WP5FixedLengthGroup::isGroupConsistent(), WP3VariableLengthGroup::isGroupConsistent(), WP3FixedLengthGroup::isGroupConsistent(), WP1VariableLengthGroup::isGroupConsistent(), WP1FixedLengthGroup::isGroupConsistent(), WP1Heuristics::isWP1FileFormat(), WP42Heuristics::isWP42FileFormat(), WP6ExtendedDocumentSummaryPacket::parse(), WP42SubDocument::parse(), WP6Parser::parseDocument(), WP5Parser::parseDocument(), WP42Parser::parseDocument(), WP3Parser::parseDocument(), WP1Parser::parseDocument(), readCString(), readPascalString(), WP42Heuristics::verifyPassword(), WP1Heuristics::verifyPassword(), WP3ResourceFork::WP3ResourceFork(), WP5DefinitionGroup_DefineTablesSubGroup::WP5DefinitionGroup_DefineTablesSubGroup(), WP6CharacterGroup_CharacterShadingChangeSubGroup::WP6CharacterGroup_CharacterShadingChangeSubGroup(), WP6CharacterGroup_ColorSubGroup::WP6CharacterGroup_ColorSubGroup(), WP6CharacterGroup_ParagraphNumberOnSubGroup::WP6CharacterGroup_ParagraphNumberOnSubGroup(), WP6CharacterGroup_SetDotLeaderCharactersSubGroup::WP6CharacterGroup_SetDotLeaderCharactersSubGroup(), WP6CharacterGroup_TableColumnSubGroup::WP6CharacterGroup_TableColumnSubGroup(), WP6CharacterGroup_TableDefinitionOnSubGroup::WP6CharacterGroup_TableDefinitionOnSubGroup(), WP6ParagraphGroup_JustificationModeSubGroup::WP6ParagraphGroup_JustificationModeSubGroup(), WP6ParagraphGroup_OutlineDefineSubGroup::WP6ParagraphGroup_OutlineDefineSubGroup(), WP6ParagraphGroup_TabSetSubGroup::WP6ParagraphGroup_TabSetSubGroup(), WP6StyleGroup_GlobalOnSubGroup::WP6StyleGroup_GlobalOnSubGroup(), and WPXSubDocument::WPXSubDocument().

double wpuToFontPointSize ( const uint16_t  wpuNumber  ) 


Variable Documentation

const uint16_t macintoshCharacterMap[]

const uint8_t WPX_TABLE_CELL_BOTTOM_BORDER_OFF = 0x08

const uint8_t WPX_TABLE_CELL_LEFT_BORDER_OFF = 0x01

const uint8_t WPX_TABLE_CELL_RIGHT_BORDER_OFF = 0x02

const uint8_t WPX_TABLE_CELL_TOP_BORDER_OFF = 0x04


Generated on Sun Dec 5 16:56:05 2010 for libwpd by doxygen 1.5.9