- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Macros | Typedefs | Enumerations | Functions | Variables
libwpd_internal.h File Reference
`#include <stdio.h>`
`#include <string>`
`#include <algorithm>`
`#include <librevenge/librevenge.h>`
`#include <librevenge-stream/librevenge-stream.h>`
`#include <libwpd/libwpd.h>`
`#include "WPXEncryption.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

## Macros
#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) if (v != num_elements) { WPD_DEBUG_MSG(("X_CheckFileReadElementError: %d\n", __LINE__)); throw FileException(); }
#define | DELETEP(m) if (m) { delete m; m = 0; }
#define | WPD_DEBUG_MSG(M)
#define | WPD_NUM_ELEMENTS(array) sizeof(array)/sizeof(array[0])
#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 | WPXHeaderFooterOccurrence { 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
unsigned char | readU8 (librevenge::RVNGInputStream *input, WPXEncryption *encryption)
unsigned short | readU16 (librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian=false)
signed short | readS16 (librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian=false)
unsigned | readU32 (librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian=false)
librevenge::RVNGString | readPascalString (librevenge::RVNGInputStream *input, WPXEncryption *encryption)
librevenge::RVNGString | readCString (librevenge::RVNGInputStream *input, WPXEncryption *encryption)
void | appendUCS4 (librevenge::RVNGString &str, unsigned ucs4)
int | extendedCharacterWP6ToUCS4 (unsigned char character, unsigned char characterSet, const unsigned **chars)
int | extendedCharacterWP5ToUCS4 (unsigned char character, unsigned char characterSet, const unsigned **chars)
int | appleWorldScriptToUCS4 (unsigned short character, const unsigned **chars)
int | extendedCharacterWP42ToUCS4 (unsigned char character, const unsigned **chars)
unsigned short | fixedPointToWPUs (const unsigned fixedPointNumber)
double | fixedPointToDouble (const unsigned fixedPointNumber)
double | wpuToFontPointSize (const unsigned short wpuNumber)
int | _extractNumericValueFromRoman (const char romanChar)
int | _extractDisplayReferenceNumberFromBuf (const librevenge::RVNGString &buf, const WPXNumberingType listType)
WPXNumberingType | _extractWPXNumberingTypeFromBuf (const librevenge::RVNGString &buf, const WPXNumberingType putativeWPXNumberingType)
librevenge::RVNGString | _numberingTypeToString (WPXNumberingType t)
librevenge::RVNGString | doubleToString (const double value)

## Variables
const unsigned char | WPX_TABLE_CELL_LEFT_BORDER_OFF = 0x01
const unsigned char | WPX_TABLE_CELL_RIGHT_BORDER_OFF = 0x02
const unsigned char | WPX_TABLE_CELL_TOP_BORDER_OFF = 0x04
const unsigned char | WPX_TABLE_CELL_BOTTOM_BORDER_OFF = 0x08
const unsigned | macRomanCharacterMap []

## Macro Definition Documentation

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

Referenced by WP5Parser::getPrefixData(), WP6Parser::getPrefixData(), WP3Parser::getResourceFork(), WP6ContentListener::highlightChange(), WP3ContentListener::insertCell(), libwpd::WPDocument::isFileFormatSupported(), libwpd::WPDocument::parse(), WP42Parser::parseDocument(), WP5Parser::parseDocument(), WP3Parser::parseDocument(), WP1Parser::parseDocument(), WP6Parser::parseDocument(), libwpd::WPDocument::parseSubDocument(), WP3ContentListener::setTableCellFillColor(), libwpd::WPDocument::verifyPassword(), _WP3ContentParsingState::~_WP3ContentParsingState(), _WPXContentParsingState::~_WPXContentParsingState(), WP6EOLGroup::~WP6EOLGroup(), WP6ExtendedDocumentSummaryPacket::~WP6ExtendedDocumentSummaryPacket(), and WPXContentListener::~WPXContentListener().

#define LIBWPD_MAX std::max

Referenced by libwpd::WPDocument::isFileFormatSupported(), and libwpd::WPDocument::verifyPassword().

#define LIBWPD_MIN std::min

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

#define WPD_CHECK_FILE_READ_ERROR | ( |  | v,
|  |  | num_elements
| ) |  | if (v != num_elements) { WPD_DEBUG_MSG(("X_CheckFileReadElementError: %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_DEBUG_MSG | ( |  | M | ) |

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

Referenced by appleWorldScriptToUCS4(), extendedCharacterWP42ToUCS4(), extendedCharacterWP5ToUCS4(), extendedCharacterWP6ToUCS4(), and findComplexMap().

#define WPX_BLINK_BIT 65536

Referenced by WPXContentListener::_openSpan(), and WP6ContentListener::attributeChange().

#define WPX_BOLD_BIT 4096

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_BOTTOM 0x04

Referenced by WP3StylesListener::pageMarginChange(), WP5StylesListener::pageMarginChange(), WP6StylesListener::pageMarginChange(), WP6PageGroup::parse(), WP5PageFormatGroup::parse(), and WP3PageFormatGroup::parse().

#define WPX_CENTER 0x02

#define WPX_COLUMN_BREAK 0x02

Referenced by WPXContentListener::insertBreak(), WP3EndOfLinePageGroup::parse(), WP6EOLGroup::parse(), WP6EOCFunction::parse(), and WP6TableRowAtEOCFunction::parse().

#define WPX_DOUBLE_UNDERLINE_BIT 2048

Referenced by WPXContentListener::_openSpan(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_EXTRA_LARGE_BIT 1

Referenced by WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_FINE_PRINT_BIT 16

Referenced by WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_ITALICS_BIT 256

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_LARGE_BIT 4

Referenced by WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_LEFT 0x00

Referenced by WP5ContentListener::_handleSubDocument(), WP3ContentListener::_handleSubDocument(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP3ContentListener::marginChange(), WP5ContentListener::marginChange(), WP6StylesListener::marginChange(), WP6ContentListener::marginChange(), WP6ContentListener::paragraphMarginChange(), WP5PageFormatGroup::parse(), WP3PageFormatGroup::parse(), WP6ColumnGroup::parse(), and WP6ParagraphGroup_LeftMarginAdjustmentSubGroup::parse().

#define WPX_OUTLINE_BIT 128

Referenced by WPXContentListener::_openSpan(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_PAGE_BREAK 0x00

Referenced by WP42StylesListener::insertBreak(), WP3StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), WP6StylesListener::insertBreak(), WPXContentListener::insertBreak(), WP3EndOfLinePageGroup::parse(), WP6EOLGroup::parse(), WP3EOPFunction::parse(), WP6EOPFunction::parse(), WP6TableRowAtEOPFunction::parse(), WP42Parser::parseDocument(), WP5Parser::parseDocument(), and WP1Parser::parseDocument().

#define WPX_PARAGRAPH_JUSTIFICATION_CENTER 0x02

Referenced by WPXContentListener::_appendJustification(), WP1ContentListener::centerOn(), WP5ContentListener::insertTab(), WP3ContentListener::insertTab(), WP6ContentListener::insertTab(), WP1ContentListener::justificationChange(), WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_PARAGRAPH_JUSTIFICATION_DECIMAL_ALIGNED 0x05

Referenced by WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_PARAGRAPH_JUSTIFICATION_FULL 0x01

Referenced by WPXContentListener::_appendJustification(), WP1ContentListener::justificationChange(), WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_PARAGRAPH_JUSTIFICATION_FULL_ALL_LINES 0x04

Referenced by WPXContentListener::_appendJustification(), WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_PARAGRAPH_JUSTIFICATION_LEFT 0x00

Referenced by WPXContentListener::_appendJustification(), WP1ContentListener::justificationChange(), WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_PARAGRAPH_JUSTIFICATION_RIGHT 0x03

Referenced by WPXContentListener::_appendJustification(), WP1ContentListener::flushRightOn(), WP5ContentListener::insertTab(), WP3ContentListener::insertTab(), WP6ContentListener::insertTab(), WP1ContentListener::justificationChange(), WP3ContentListener::justificationChange(), and WPXContentListener::justificationChange().

#define WPX_REDLINE_BIT 1024

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_REVERSEVIDEO_BIT 131072

#define WPX_RIGHT 0x01

Referenced by WP5ContentListener::_handleSubDocument(), WP3ContentListener::_handleSubDocument(), WP3StylesListener::marginChange(), WP5StylesListener::marginChange(), WP3ContentListener::marginChange(), WP5ContentListener::marginChange(), WP6StylesListener::marginChange(), WP6ContentListener::marginChange(), WP6ContentListener::paragraphMarginChange(), WP5PageFormatGroup::parse(), WP3PageFormatGroup::parse(), WP6ColumnGroup::parse(), and WP6ParagraphGroup_RightMarginAdjustmentSubGroup::parse().

#define WPX_SHADOW_BIT 512

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_SMALL_CAPS_BIT 32768

Referenced by WPXContentListener::_openSpan(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_SMALL_PRINT_BIT 8

Referenced by WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_SOFT_PAGE_BREAK 0x01

Referenced by WP42StylesListener::endDocument(), WP3StylesListener::endDocument(), WP5StylesListener::endDocument(), WP1StylesListener::endDocument(), WP6StylesListener::endDocument(), WP42StylesListener::endSubDocument(), WP3StylesListener::endSubDocument(), WP5StylesListener::endSubDocument(), WP1StylesListener::endSubDocument(), WP6StylesListener::endSubDocument(), WP42StylesListener::insertBreak(), WP3StylesListener::insertBreak(), WP1StylesListener::insertBreak(), WP5StylesListener::insertBreak(), WP6StylesListener::insertBreak(), WPXContentListener::insertBreak(), WP3EndOfLinePageGroup::parse(), WP6EOLGroup::parse(), WP6SoftEOPFunction::parse(), WP6TableOffAtSoftEOPFunction::parse(), WP6TableRowAtSoftEOPFunction::parse(), WP42Parser::parseDocument(), WP5Parser::parseDocument(), and WP1Parser::parseDocument().

#define WPX_STRIKEOUT_BIT 8192

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_SUBSCRIPT_BIT 64

Referenced by WPXContentListener::_openSpan(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_SUPERSCRIPT_BIT 32

Referenced by WPXContentListener::_openSpan(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_TABLE_POSITION_ABSOLUTE_FROM_LEFT_MARGIN 0x04

Referenced by WPXContentListener::_openTable(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), and WP6ContentListener::defineTable().

#define WPX_TABLE_POSITION_ALIGN_WITH_LEFT_MARGIN 0x00

Referenced by WPXContentListener::_openTable(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), and WP6ContentListener::defineTable().

#define WPX_TABLE_POSITION_ALIGN_WITH_RIGHT_MARGIN 0x01

Referenced by WPXContentListener::_openTable(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), and WP6ContentListener::defineTable().

#define WPX_TABLE_POSITION_CENTER_BETWEEN_MARGINS 0x02

Referenced by WPXContentListener::_openTable(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), and WP6ContentListener::defineTable().

#define WPX_TABLE_POSITION_FULL 0x03

Referenced by WPXContentListener::_openTable(), WP3ContentListener::defineTable(), WP5ContentListener::defineTable(), and WP6ContentListener::defineTable().

#define WPX_TOP 0x03

Referenced by WP3StylesListener::pageMarginChange(), WP5StylesListener::pageMarginChange(), WP6StylesListener::pageMarginChange(), WP6PageGroup::parse(), WP5PageFormatGroup::parse(), and WP3PageFormatGroup::parse().

#define WPX_UNDERLINE_BIT 16384

Referenced by WPXContentListener::_openSpan(), WP42ContentListener::attributeChange(), WP1ContentListener::attributeChange(), WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

#define WPX_VERY_LARGE_BIT 2

Referenced by WP3ContentListener::attributeChange(), WP5ContentListener::attributeChange(), and WP6ContentListener::attributeChange().

## Typedef Documentation

typedef struct _RGBSColor RGBSColor

typedef struct _WPXColumnDefinition WPXColumnDefinition

typedef struct _WPXColumnProperties WPXColumnProperties

typedef struct _WPXTabStop WPXTabStop

## Enumeration Type Documentation

enum WPXFileType

Enumerator
WP6_DOCUMENT |
WP5_DOCUMENT |
WP42_DOCUMENT |
OTHER |

enum WPXFormOrientation

Enumerator
PORTRAIT |
LANDSCAPE |

enum WPXHeaderFooterInternalType

Enumerator
HEADER_A |
HEADER_B |
FOOTER_A |
FOOTER_B |
DUMMY |

enum WPXHeaderFooterOccurrence

Enumerator
ODD |
EVEN |
ALL |
NEVER |

enum WPXHeaderFooterType

Enumerator
HEADER |
FOOTER |

enum WPXNoteType

Enumerator
FOOTNOTE |
ENDNOTE |

enum WPXNumberingType

Enumerator
ARABIC |
LOWERCASE |
UPPERCASE |
LOWERCASE_ROMAN |
UPPERCASE_ROMAN |

enum WPXPageNumberPosition

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 |

enum WPXSubDocumentType

Enumerator
WPX_SUBDOCUMENT_NONE |
WPX_SUBDOCUMENT_HEADER_FOOTER |
WPX_SUBDOCUMENT_NOTE |
WPX_SUBDOCUMENT_TEXT_BOX |
WPX_SUBDOCUMENT_COMMENT_ANNOTATION |

enum WPXTabAlignment

Enumerator
LEFT |
RIGHT |
CENTER |
DECIMAL |
BAR |

enum WPXTextColumnType

Enumerator
NEWSPAPER |
NEWSPAPER_VERTICAL_BALANCE |
PARALLEL |
PARALLEL_PROTECT |

enum WPXVerticalAlignment

Enumerator
TOP |
MIDDLE |
BOTTOM |
FULL |

## Function Documentation

int _extractDisplayReferenceNumberFromBuf | ( | const librevenge::RVNGString & | buf,
|  | const WPXNumberingType | listType
| ) |  |

Referenced by WP6ContentListener::_handleListChange(), WP5ContentListener::insertNote(), WP3ContentListener::insertNote(), and WP6ContentListener::noteOff().

int _extractNumericValueFromRoman | ( | const char | romanChar | ) |

Referenced by _extractDisplayReferenceNumberFromBuf().

WPXNumberingType _extractWPXNumberingTypeFromBuf | ( | const librevenge::RVNGString & | buf,
|  | const WPXNumberingType | putativeWPXNumberingType
| ) |  |

Referenced by WP6ContentListener::_handleListChange(), WP5ContentListener::insertNote(), WP3ContentListener::insertNote(), and WP6ContentListener::noteOff().

librevenge::RVNGString _numberingTypeToString | ( | WPXNumberingType | t | ) |

Referenced by WP6ContentListener::_handleListChange(), WPXContentListener::_insertPageNumberParagraph(), and WP6ContentListener::displayNumberReferenceGroupOff().

void appendUCS4 | ( | librevenge::RVNGString & | str,
|  | unsigned | ucs4
| ) |  |

Referenced by WP6GraphicsBoxStylePacket::_readContents(), WP6FontDescriptorPacket::_readFontName(), WP42ContentListener::insertCharacter(), WP1ContentListener::insertCharacter(), WP3ContentListener::insertCharacter(), WP5ContentListener::insertCharacter(), WP6ContentListener::insertCharacter(), WP1ContentListener::insertExtendedCharacter(), WP6ExtendedDocumentSummaryPacket::parse(), and readPascalString().

int appleWorldScriptToUCS4 | ( | unsigned short | character,
|  | const unsigned ** | chars
| ) |  |

Referenced by WP3DoubleByteScriptCharacterGroup::parse(), and readPascalString().

librevenge::RVNGString doubleToString | ( | const double | value | ) |

Referenced by WPXContentListener::_openSpan(), and addBorderProps().

int extendedCharacterWP42ToUCS4 | ( | unsigned char | character,
|  | const unsigned ** | chars
| ) |  |

Referenced by WP42ExtendedCharacterGroup::parse().

int extendedCharacterWP5ToUCS4 | ( | unsigned char | character,
|  | unsigned char | characterSet,
|  | const unsigned ** | chars
| ) |  |

Referenced by WP3ExtendedCharacterGroup::parse(), and WP5ExtendedCharacterGroup::parse().

int extendedCharacterWP6ToUCS4 | ( | unsigned char | character,
|  | unsigned char | characterSet,
|  | const unsigned ** | chars
| ) |  |

Referenced by WP6GraphicsBoxStylePacket::_readContents(), WP6FontDescriptorPacket::_readFontName(), WP6CharacterGroup_SetAlignmentCharacterSubGroup::parse(), WP6ExtendedCharacterGroup::parse(), WP6ExtendedDocumentSummaryPacket::parse(), and WP6CharacterGroup_SetDotLeaderCharactersSubGroup::parse().

double fixedPointToDouble | ( | const unsigned | fixedPointNumber | ) |

Referenced by WP3IndentGroup::_readContents(), WP3TabGroup::_readContents(), WP3PageFormatGroup::_readContents(), WP3WindowGroup::_readContents(), and WP3PageFormatGroup::parse().

unsigned short fixedPointToWPUs | ( | const unsigned | fixedPointNumber | ) |

Referenced by WP3MiscellaneousGroup::_readContents(), WP3DefinitionGroup::_readContents(), WP3TablesGroup::parse(), and WP3PageFormatGroup::parse().

librevenge::RVNGString readCString | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption
| ) |  |

Referenced by WP5FontNameStringPoolPacket::_readContents().

librevenge::RVNGString readPascalString | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption
| ) |  |

Referenced by WP3FontGroup::_readContents(), WP3DisplayGroup::_readContents(), and WP3ResourceFork::WP3ResourceFork().

signed short readS16 | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption,
|  | bool | bigendian = `false`
| ) |  |

Referenced by WP6FillStylePacket::_readContents().

unsigned short readU16 | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption,
|  | bool | bigendian = `false`
| ) |  |

Referenced by WP3VariableLengthGroup::_read(), WP5VariableLengthGroup::_read(), WP6VariableLengthGroup::_read(), WP5SpecialHeaderIndex::_read(), WP5GeneralPacketIndex::_read(), WP6PrefixIndice::_read(), WP6SetNumberGroup::_readContents(), WP6DefaultInitialFontPacket::_readContents(), WP1MarginReleaseGroup::_readContents(), WP1LeftRightIndentGroup::_readContents(), WP1BottomMarginGroup::_readContents(), WP1SetTabsGroup::_readContents(), WP1FontIdGroup::_readContents(), WP1TopMarginGroup::_readContents(), WP1LeftIndentGroup::_readContents(), WP3FontGroup::_readContents(), WP6PageGroup::_readContents(), WP5ListFontsUsedPacket::_readContents(), WP6TabGroup::_readContents(), WP3HeaderFooterGroup::_readContents(), WP5TableEOLGroup::_readContents(), WP6CommentAnnotationPacket::_readContents(), WP6EOLGroup::_readContents(), WP6OutlineStylePacket::_readContents(), WP3FootnoteEndnoteGroup::_readContents(), WP3TablesGroup::_readContents(), WP5FontGroup::_readContents(), WP1FootnoteEndnoteGroup::_readContents(), WP5PageFormatGroup::_readContents(), WP5FootnoteEndnoteGroup::_readContents(), WP5IndentGroup::_readContents(), WP6UndoGroup::_readContents(), WP3MiscellaneousGroup::_readContents(), WP5TabGroup::_readContents(), WP6BoxGroup::_readContents(), WP1MarginResetGroup::_readContents(), WP1PictureGroup::_readContents(), WP5BoxGroup::_readContents(), WP6FontDescriptorPacket::_readContents(), WP6GraphicsBoxStylePacket::_readContents(), WP6GraphicsFilenamePacket::_readContents(), WP5GraphicsInformationPacket::_readContents(), WP3PageFormatGroup::_readContents(), WP3UndoGroup::_readContents(), WP6GeneralTextPacket::_readContents(), WP3DefinitionGroup::_readContents(), WP6ColumnGroup::_readContents(), WP3WindowGroup::_readContents(), WP6FillStylePacket::_readContents(), WP3DoubleByteScriptCharacterGroup::_readContents(), WP6FontDescriptorPacket::_readFontName(), WP6Header::_readIndexInformation(), WPXHeader::constructHeader(), WP3VariableLengthGroup::isGroupConsistent(), WP6VariableLengthGroup::isGroupConsistent(), WP5VariableLengthGroup::isGroupConsistent(), WP1Heuristics::isWP1FileFormat(), WP42Heuristics::isWP42FileFormat(), WP6ExtendedDocumentSummaryPacket::parse(), readS16(), 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().

unsigned readU32 | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption,
|  | bool | bigendian = `false`
| ) |  |

Referenced by WP1VariableLengthGroup::_read(), WP5SpecialHeaderIndex::_read(), WP5GeneralPacketIndex::_read(), WP6PrefixIndice::_read(), WP3TablesGroup::_readContents(), WP3TabGroup::_readContents(), WP3IndentGroup::_readContents(), WP3MiscellaneousGroup::_readContents(), WP6GeneralTextPacket::_readContents(), WP3DefinitionGroup::_readContents(), WP5GraphicsInformationPacket::_readContents(), WP3PageFormatGroup::_readContents(), WP6ColumnGroup::_readContents(), WP3WindowGroup::_readContents(), WPXHeader::constructHeader(), WP1VariableLengthGroup::isGroupConsistent(), WP1Heuristics::isWP1FileFormat(), WP3ResourceFork::WP3ResourceFork(), WP61Header::WP61Header(), WP6CharacterGroup_TableColumnSubGroup::WP6CharacterGroup_TableColumnSubGroup(), WP6ParagraphGroup_LineSpacingSubGroup::WP6ParagraphGroup_LineSpacingSubGroup(), and WP6ParagraphGroup_SpacingAfterParagraphSubGroup::WP6ParagraphGroup_SpacingAfterParagraphSubGroup().

unsigned char readU8 | ( | librevenge::RVNGInputStream * | input,
|  | WPXEncryption * | encryption
| ) |  |

Referenced by WP1FixedLengthGroup::_read(), WP42MultiByteFunctionGroup::_read(), WP1VariableLengthGroup::_read(), WP3VariableLengthGroup::_read(), WP6FixedLengthGroup::_read(), WP5FixedLengthGroup::_read(), WP3FixedLengthGroup::_read(), WP6VariableLengthGroup::_read(), WP5VariableLengthGroup::_read(), WP6PrefixIndice::_read(), WP6NumberingMethodGroup::_readContents(), WP6SetNumberGroup::_readContents(), WP1ExtendedCharacterGroup::_readContents(), WP1JustificationGroup::_readContents(), WP42ExtendedCharacterGroup::_readContents(), WP6DisplayNumberReferenceGroup::_readContents(), WP6HeaderFooterGroup::_readContents(), WP42SuppressPageCharacteristicsGroup::_readContents(), WP1PointSizeGroup::_readContents(), WP1SetTabsGroup::_readContents(), WP1SpacingResetGroup::_readContents(), WP1SuppressPageCharacteristicsGroup::_readContents(), WP6CommentAnnotationPacket::_readContents(), WP42DefineColumnsGroup::_readContents(), WP6EOLGroup::_readContents(), WP42HeaderFooterGroup::_readContents(), WP42MarginResetGroup::_readContents(), WP6PageGroup::_readContents(), WP3HeaderFooterGroup::_readContents(), WP5HeaderFooterGroup::_readContents(), WP5TableEOLGroup::_readContents(), WP6GraphicsCachedFileDataPacket::_readContents(), WP6OutlineStylePacket::_readContents(), WP5FontGroup::_readContents(), WP1HeaderFooterGroup::_readContents(), WP3TablesGroup::_readContents(), WP3AttributeGroup::_readContents(), WP6ExtendedDocumentSummaryPacket::_readContents(), WP6GraphicsBoxStylePacket::_readContents(), WP1PictureGroup::_readContents(), WP5BoxGroup::_readContents(), WP1FootnoteEndnoteGroup::_readContents(), WP6UndoGroup::_readContents(), WP6FontDescriptorPacket::_readContents(), WP3IndentGroup::_readContents(), WP5FootnoteEndnoteGroup::_readContents(), WP5IndentGroup::_readContents(), WP5PageFormatGroup::_readContents(), WP5TabGroup::_readContents(), WP3TabGroup::_readContents(), WP6BoxGroup::_readContents(), WP6ExtendedCharacterGroup::_readContents(), WP3DefinitionGroup::_readContents(), WP6GeneralTextPacket::_readContents(), WP3PageFormatGroup::_readContents(), WP5GraphicsInformationPacket::_readContents(), WP3UndoGroup::_readContents(), WP3WindowGroup::_readContents(), WP6ColumnGroup::_readContents(), WP6FillStylePacket::_readContents(), WP5ExtendedCharacterGroup::_readContents(), WP3ExtendedCharacterGroup::_readContents(), WP6AttributeGroup::_readContents(), WP6HighlightGroup::_readContents(), WP5AttributeGroup::_readContents(), WPXHeader::constructHeader(), WP6FixedLengthGroup::isGroupConsistent(), WP5FixedLengthGroup::isGroupConsistent(), WP3FixedLengthGroup::isGroupConsistent(), WP1VariableLengthGroup::isGroupConsistent(), WP3VariableLengthGroup::isGroupConsistent(), WP6VariableLengthGroup::isGroupConsistent(), WP5VariableLengthGroup::isGroupConsistent(), WP1Heuristics::isWP1FileFormat(), WP42Heuristics::isWP42FileFormat(), WP42SubDocument::parse(), WP6ExtendedDocumentSummaryPacket::parse(), WP42Parser::parseDocument(), WP5Parser::parseDocument(), WP3Parser::parseDocument(), WP1Parser::parseDocument(), WP6Parser::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 unsigned short | wpuNumber | ) |

Referenced by WP6ContentListener::fontChange(), and WP6StylesListener::pageNumberingChange().

## Variable Documentation

const unsigned macRomanCharacterMap[]

Referenced by WP1ContentListener::insertExtendedCharacter(), and WP3ExtendedCharacterGroup::parse().

const unsigned char WPX_TABLE_CELL_BOTTOM_BORDER_OFF = 0x08

Referenced by WPXContentListener::_openTableCell(), and WPXTable::makeBordersConsistent().

const unsigned char WPX_TABLE_CELL_LEFT_BORDER_OFF = 0x01

Referenced by WPXContentListener::_openTableCell(), and WPXTable::makeBordersConsistent().

const unsigned char WPX_TABLE_CELL_RIGHT_BORDER_OFF = 0x02

Referenced by WPXContentListener::_openTableCell(), and WPXTable::makeBordersConsistent().

const unsigned char WPX_TABLE_CELL_TOP_BORDER_OFF = 0x04

Referenced by WPXContentListener::_openTableCell(), and WPXTable::makeBordersConsistent().