libwps_internal.h File Reference
#include <assert.h>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <librevenge-stream/librevenge-stream.h>
#include <librevenge/librevenge.h>
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  WPS_shared_ptr_noop_deleter< T >
 a noop deleter used to transform a librevenge pointer in a false std::shared_ptr More...
class  libwps::VersionException
class  libwps::FileException
class  libwps::ParseException
class  libwps::PasswordException
class  libwps::GenericException
struct  WPSColumnDefinition
struct  WPSColumnProperties
struct  WPSColor
 the class to store a color More...
struct  WPSBorder
 a border list More...
struct  WPSField
 a field More...
class  Vec2< T >
 small class which defines a vector with 2 elements More...
struct  Vec2< T >::PosSizeLtX
 internal struct used to create sorted map, sorted by X More...
struct  Vec2< T >::PosSizeLtY
 internal struct used to create sorted map, sorted by Y More...
class  WPSBox2< T >
 small class which defines a 2D WPSBox More...
struct  WPSBox2< T >::PosSizeLt
 internal struct used to create sorted map, sorted first min then max More...
class  WPSVec3< T >
 small class which defines a vector with 3 elements More...
struct  WPSVec3< T >::PosSizeLt
 internal struct used to create sorted map, sorted by X, Y, Z More...
struct  WPSEmbeddedObject
 small class use to define a embedded object More...
class  WPSTransformation
 a transformation which stored the first row of a 3x3 perspective matrix More...

Namespaces

namespace  libwps

Macros

#define M_PI   3.14159265358979323846
#define WPS_FALLTHROUGH   ((void) 0)
 fall through attributes
#define WPS_ATTRIBUTE_PRINTF(fmt, arg)
#define WPS_N_ELEMENTS(m)
#define WPS_DEBUG_MSG(M)
#define WPS_LE_GET_GUINT16(p)
#define WPS_LE_GET_GUINT32(p)
#define WPS_LE_PUT_GUINT16(p, v)
#define WPS_LE_PUT_GUINT32(p, v)
#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   0x10
#define WPS_SUPERSCRIPT_BIT   0x20
#define WPS_SUBSCRIPT_BIT   0x40
#define WPS_OUTLINE_BIT   0x80
#define WPS_ITALICS_BIT   0x100
#define WPS_SHADOW_BIT   0x200
#define WPS_REDLINE_BIT   0x400
#define WPS_DOUBLE_UNDERLINE_BIT   0x800
#define WPS_BOLD_BIT   0x1000
#define WPS_STRIKEOUT_BIT   0x2000
#define WPS_UNDERLINE_BIT   0x4000
#define WPS_SMALL_CAPS_BIT   0x8000
#define WPS_BLINK_BIT   0x10000L
#define WPS_REVERSEVIDEO_BIT   0x20000L
#define WPS_ALL_CAPS_BIT   0x40000L
#define WPS_EMBOSS_BIT   0x80000L
#define WPS_ENGRAVE_BIT   0x100000L
#define WPS_OVERLINE_BIT   0x400000L
#define WPS_HIDDEN_BIT   0x800000L
#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

Typedefs

typedef std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
 shared pointer to librevenge::RVNGInputStream
typedef std::shared_ptr< WPSCellWPSCellPtr
 shared pointer to WPSCell
typedef std::shared_ptr< WPSListenerWPSListenerPtr
 shared pointer to WPSListener
typedef std::shared_ptr< WPSContentListenerWPSContentListenerPtr
 shared pointer to WPSContentListener
typedef std::shared_ptr< WPSHeaderWPSHeaderPtr
 shared pointer to WPSHeader
typedef std::shared_ptr< WPSSubDocumentWPSSubDocumentPtr
 shared pointer to WPSSubDocument
typedef std::shared_ptr< WKSContentListenerWKSContentListenerPtr
 shared pointer to WKSContentListener
typedef std::shared_ptr< WKSSubDocumentWKSSubDocumentPtr
 shared pointer to WKSSubDocument
typedef Vec2< bool > Vec2b
 Vec2 of bool.
typedef Vec2< int > Vec2i
 Vec2 of int.
typedef Vec2< float > Vec2f
 Vec2 of float.
typedef WPSBox2< int > WPSBox2i
 WPSBox2 of int.
typedef WPSBox2< float > WPSBox2f
 WPSBox2 of float.
typedef WPSVec3< unsigned char > WPSVec3uc
 WPSVec3 of unsigned char.
typedef WPSVec3< int > WPSVec3i
 WPSVec3 of int.
typedef WPSVec3< float > WPSVec3f
 WPSVec3 of float.

Enumerations

enum  libwps::NumberingType {
  libwps::NONE , libwps::BULLET , libwps::ARABIC , libwps::LOWERCASE ,
  libwps::UPPERCASE , libwps::LOWERCASE_ROMAN , libwps::UPPERCASE_ROMAN
}
enum  libwps::SubDocumentType {
  libwps::DOC_NONE , libwps::DOC_HEADER_FOOTER , libwps::DOC_NOTE , libwps::DOC_TABLE ,
  libwps::DOC_TEXT_BOX , libwps::DOC_COMMENT_ANNOTATION , libwps::DOC_CHART_ZONE
}
enum  libwps::Justification {
  libwps::JustificationLeft , libwps::JustificationFull , libwps::JustificationCenter , libwps::JustificationRight ,
  libwps::JustificationFullAllLines
}
enum  { libwps::NoBreakBit = 0x1 , libwps::NoBreakWithNextBit =0x2 }

Functions

uint8_t libwps::readU8 (librevenge::RVNGInputStream *input)
uint16_t libwps::readU16 (librevenge::RVNGInputStream *input)
uint32_t libwps::readU32 (librevenge::RVNGInputStream *input)
int8_t libwps::read8 (librevenge::RVNGInputStream *input)
int16_t libwps::read16 (librevenge::RVNGInputStream *input)
int32_t libwps::read32 (librevenge::RVNGInputStream *input)
uint8_t libwps::readU8 (RVNGInputStreamPtr const &input)
uint16_t libwps::readU16 (RVNGInputStreamPtr const &input)
uint32_t libwps::readU32 (RVNGInputStreamPtr const &input)
int8_t libwps::read8 (RVNGInputStreamPtr const &input)
int16_t libwps::read16 (RVNGInputStreamPtr const &input)
int32_t libwps::read32 (RVNGInputStreamPtr const &input)
bool libwps::readDouble4 (RVNGInputStreamPtr &input, double &res, bool &isNaN)
 read a double store with 4 bytes: mantisse 2.5 bytes, exponent 1.5 bytes
bool libwps::readDouble8 (RVNGInputStreamPtr &input, double &res, bool &isNaN)
 read a double store with 8 bytes: mantisse 6.5 bytes, exponent 1.5 bytes
bool libwps::readDouble10 (RVNGInputStreamPtr &input, double &res, bool &isNaN)
 read a double store with 10 bytes: mantisse 8 bytes, exponent 2 bytes
bool libwps::readDouble2Inv (RVNGInputStreamPtr &input, double &res, bool &isNaN)
 read a double store with 2 bytes: exponent 1.5 bytes, kind of mantisse 0.5 bytes
bool libwps::readDouble4Inv (RVNGInputStreamPtr &input, double &res, bool &isNaN)
 read a double store with 4 bytes: exponent 3.5 bytes, mantisse 0.5 bytes
bool libwps::readData (RVNGInputStreamPtr &input, unsigned long sz, librevenge::RVNGBinaryData &data)
 try to read sz bytes from input and store them in a librevenge::RVNGBinaryData
bool libwps::readDataToEnd (RVNGInputStreamPtr &input, librevenge::RVNGBinaryData &data)
 try to read the last bytes from input and store them in a librevenge::RVNGBinaryData
void libwps::appendUnicode (uint32_t val, librevenge::RVNGString &buffer)
 adds an unicode character to a string ( with correct encoding ).
std::string libwps::numberingTypeToString (NumberingType type)
std::string libwps::getCellName (Vec2i const &cellPos, Vec2b const &relative=Vec2b(true, true))
 returns the cell name corresponding to a cell's position
bool libwps::encodeLotusPassword (char const *password, uint16_t &key, std::vector< uint8_t > &keys, uint8_t const (&defValues)[16])
 returns the checksum and the keys (to encode a lotus file) given a password file

Macro Definition Documentation

◆ M_PI

◆ WPS_ALL_CAPS_BIT

◆ WPS_ATTRIBUTE_PRINTF

#define WPS_ATTRIBUTE_PRINTF ( fmt,
arg )

◆ WPS_BLINK_BIT

#define WPS_BLINK_BIT   0x10000L

Referenced by WPSFont::addTo().

◆ WPS_BOLD_BIT

◆ WPS_BOTTOM

#define WPS_BOTTOM   0x04

◆ WPS_CENTER

#define WPS_CENTER   0x02

◆ WPS_COLUMN_BREAK

◆ WPS_DEBUG_MSG

#define WPS_DEBUG_MSG ( M)

Referenced by WPSContentListener::_changeList(), WKSContentListener::_closeFrame(), WPSContentListener::_closeFrame(), WPSPageSpan::_getHeaderFooterPosition(), WKSContentListener::_handleFrameParameters(), WPSPageSpan::_insertPageNumberParagraph(), WKSContentListener::_openFrame(), WPSContentListener::_openFrame(), WKSContentListener::_openPageSpan(), WPSContentListener::_openPageSpan(), WKSContentListener::_openParagraph(), WPSContentListener::_openParagraph(), WPSContentListener::_openSection(), WKSContentListener::_popParsingState(), WPSContentListener::_popParsingState(), Quattro9SpreadsheetInternal::Column::add(), Quattro9SpreadsheetInternal::Column::add(), QuattroDosSpreadsheetInternal::StyleManager::add(), LotusSpreadsheetInternal::Table123Styles::addCellStyle(), LotusSpreadsheetInternal::Table123Styles::addCellStyle(), WKSChart::TextZone::addContentTo(), QuattroFormulaManager::addDLLIdName(), Quattro9Spreadsheet::addDocumentStrings(), WPSContentListener::addEmptyTableCell(), WPSGraphicStyle::addFrameTo(), WPSList::addLevelTo(), libwps_OLE::OStorage::addStream(), WPSBorder::addTo(), WPSCellFormat::addTo(), WPSEmbeddedObject::addTo(), WPSGraphicShape::addTo(), WPSGraphicStyle::addTo(), WPSList::Level::addTo(), WPSParagraph::addTo(), Quattro9Spreadsheet::addUserFormat(), QuattroSpreadsheet::addUserFormat(), libwps::appendUnicode(), WPS4Text::bkmkDataParser(), WPS8Text::bmktEndDataParser(), WPSTable::buildStructures(), DosWordParser::checkHeader(), libwps::MultiplanParser::checkHeader(), LotusParser::checkHeader(), PocketWordParser::checkHeader(), Quattro9Parser::checkHeader(), QuattroDosParser::checkHeader(), QuattroParser::checkHeader(), WKS4Format::checkHeader(), WKS4Parser::checkHeader(), WPS4Parser::checkHeader(), XYWriteParser::checkHeader(), libwps::MultiplanParser::checkPassword(), WKSContentListener::closeGroup(), WPSContentListener::closeGroup(), WPSContentListener::closeSection(), WKSContentListener::closeSheet(), WKSContentListener::closeSheetCell(), WKSContentListener::closeSheetRow(), WPSContentListener::closeTable(), WPSContentListener::closeTableCell(), WPSContentListener::closeTableRow(), WPSHeader::constructHeader(), libwps::convertDTFormat(), WPSCellFormat::convertDTFormat(), WPS4Parser::createDocument(), libwps_OLE::OStorage::createEntry(), XYWriteParser::createFormatChildren(), PocketWordParser::createListener(), XYWriteParser::createListener(), WPS8Text::createNotesCorrespondance(), libwps_OLE::IStream::createOleFromDirectory(), WPS4Parser::createOLEStructures(), WPS8Parser::createOLEStructures(), XYWriteParser::createTable(), LotusParser::createZones(), PocketWordParser::createZones(), WPSOLE1Parser::createZones(), libwps::MultiplanParser::decodeStream(), LotusParser::decodeStream(), Quattro9Parser::decodeStream(), QuattroParser::decodeStream(), WKS4Parser::decodeStream(), WPSTransformation::decompose(), WKSContentListener::CellContent::double2Date(), WPS4Text::dttmDataParser(), libwps::encodeLotusPassword(), WKSContentListener::endDocument(), WPSContentListener::endDocument(), XYWriteParser::findAllZones(), WPS4Text::findFDPStructuresByHand(), WPS8TextStyle::findFDPStructuresByHand(), WPS4Parser::findZones(), WPS4Text::flushExtra(), WPS4Text::footNotesDataParser(), WPS8TextStyle::FontData::format(), QuattroDosSpreadsheetInternal::StyleManager::get(), WKS4SpreadsheetInternal::StyleManager::get(), WPSGraphicShape::PathData::get(), WKSChart::getAxis(), WKSChart::getAxis(), Quattro9GraphInternal::Shape::getBdBox(), WPSGraphicStyle::Pattern::getBinary(), QuattroSpreadsheetInternal::Spreadsheet::getCell(), WPSTable::getCell(), libwps::getCellName(), WKSChart::Position::getCellName(), LotusChartInternal::State::getChart(), Quattro9GraphInternal::State::getColor(), QuattroDosParserInternal::State::getColor(), QuattroParserInternal::State::getColor(), WKS4ChartInternal::State::getColor(), WKS4ParserInternal::State::getColor(), WPS4Parser::getColor(), LotusStyleManagerInternal::State::getColor16(), LotusStyleManagerInternal::State::getColor256(), LotusStyleManagerInternal::State::getColor8(), Quattro9SpreadsheetInternal::Spreadsheet::getColumn(), LotusParserInternal::State::getDataZoneIdToSheetIdMap(), LotusSpreadsheet::getDebugStringForText(), WPS4TextInternal::FontName::getDosName(), Quattro9SpreadsheetInternal::CellData::getDouble(), PocketWordParserInternal::State::getEntry(), Quattro9Parser::getExternalFileName(), QuattroParser::getExternalFileName(), Quattro9Parser::getField(), QuattroParser::getField(), DosWordParser::getFileEncoding(), QuattroDosParser::getFileName(), Quattro9SpreadsheetInternal::CellData::getFlag(), LotusParser::getFont(), Quattro9Parser::getFont(), QuattroDosParser::getFont(), QuattroParser::getFont(), WKS4Parser::getFont(), LotusGraphInternal::ZonePc::getGraphicShape(), MSWriteParser::getHeaderFooters(), WPSOLEParser::getIdFromDirectory(), Quattro9SpreadsheetInternal::CellData::getInt(), LotusSpreadsheet::getLeftTopPosition(), libwps::MultiplanParserInternal::Zone::getName(), QuattroDosChart::getNumSpreadsheets(), MSWriteParser::getPageStyle(), WPSGraphicShape::getPath(), QuattroDosChartInternal::State::getPattern(), QuattroGraphInternal::State::getPattern(), WKS4ChartInternal::State::getPattern(), Quattro9GraphInternal::State::getPattern24(), Quattro9GraphInternal::State::getPattern32(), LotusStyleManagerInternal::State::getPattern48(), LotusStyleManagerInternal::State::getPattern64(), Quattro9Spreadsheet::getPosition(), QuattroSpreadsheet::getPosition(), WKSContentListener::FormulaInstruction::getPropertyList(), WPSPosition::getScaleFactor(), LotusSpreadsheetInternal::State::getSheet(), QuattroSpreadsheetInternal::State::getSheet(), WPSOLE1Parser::getStream(), WPSOLE1Parser::getStreamForId(), WPSOLE1Parser::getStreamForName(), Quattro9ParserInternal::TextEntry::getString(), LotusSpreadsheetInternal::State::getTablesStyle(), WPS8Parser::getTableSTRSId(), WPS8Text::getTextZoneType(), libwps_tools_win::Font::getTypeForOEM(), libwps_tools_win::Font::getTypeForString(), Quattro9SpreadsheetInternal::Spreadsheet::getWidths(), WKSContentListener::handleSubDocument(), WPSContentListener::handleSubDocument(), WKSContentListener::insertChart(), WKSContentListener::insertComment(), WPSContentListener::insertComment(), DosWordParser::insertControl(), libwps_OLE::OStorage::insertData(), WKSContentListener::insertField(), WPSContentListener::insertField(), WPSContentListener::insertLabelNote(), MSWriteParser::insertNote(), WPSContentListener::insertNote(), WKSContentListener::insertPicture(), DosWordParser::insertSpecial(), libwps::WPSDocument::isFileFormatSupported(), WPSList::isNumeric(), libwps_OLE::IStream::IStream(), libwps_OLE::DirEntry::load(), MSWriteParser::MSWriteParser(), WPSList::mustSendLevel(), libwps::numberingTypeToString(), WPS4Text::numPages(), WPS4Text::objectDataParser(), WPS8Text::objectDataParser(), WPSList::openElement(), WKSContentListener::openGroup(), WPSContentListener::openGroup(), WPSContentListener::openSection(), WKSContentListener::openSheet(), WKSContentListener::openSheetCell(), WKSContentListener::openSheetRow(), WPSContentListener::openTable(), WPSContentListener::openTableCell(), WPSContentListener::openTableRow(), WKSChart::Axis::operator<<, WKSChart::Serie::operator<<, WKSChart::TextZone::operator<<, WPSBorder::operator<<, WPSBorder::operator<<, WPSParagraph::operator<<, WPSPageSpan::operator==(), libwps::MultiplanParser::parse(), libwps::WPSDocument::parse(), libwps::WPSDocument::parse(), LotusGraphInternal::SubDocument::parse(), LotusParser::parse(), LotusSpreadsheetInternal::SubDocument::parse(), MSWriteParser::parse(), MSWriteParserInternal::SubDocument::parse(), PocketWordParser::parse(), Quattro9GraphInternal::SubDocument::parse(), Quattro9Parser::parse(), Quattro9ParserInternal::SubDocument::parse(), QuattroDosParser::parse(), QuattroDosParserInternal::SubDocument::parse(), QuattroGraphInternal::SubDocument::parse(), QuattroParser::parse(), QuattroParserInternal::SubDocument::parse(), WKS4Format::parse(), WKS4Parser::parse(), WKS4ParserInternal::SubDocument::parse(), WKSChartInternal::SubDocument::parse(), WPS4Parser::parse(), WPS4ParserInternal::SubDocument::parse(), WPS8Parser::parse(), WPS8ParserInternal::SubDocument::parse(), WPS8TextInternal::SubDocument::parse(), WPSOLEParser::parse(), XYWriteParser::parse(), XYWriteParserInternal::SubDocument::parse(), XYWriteParser::parseFormat(), LotusParser::parseFormatStream(), WKS4Parser::parseFormatStream(), XYWriteParser::parseFrameZone(), WPS8Parser::parseHeaderIndex(), WPS8Parser::parseHeaderIndexEntry(), WPS8Parser::parseHeaderIndexEntryEnd(), XYWriteParser::parseMetaData(), Quattro9Parser::parseOLEStream(), QuattroParser::parseOLEStream(), XYWriteParser::parsePictureZone(), XYWriteParser::parseTextZone(), LotusSpreadsheet::parseVariable(), QuattroDosSpreadsheetInternal::State::popSheet(), WKS4SpreadsheetInternal::State::popSheet(), QuattroDosSpreadsheetInternal::StyleManager::print(), WKS4SpreadsheetInternal::StyleManager::print(), MSWriteParser::processDDB(), MSWriteParser::processDIB(), MSWriteParser::processEmbeddedOLE(), MSWriteParser::processObject(), MSWriteParser::processStaticOLE(), MSWriteParser::processWMF(), QuattroDosSpreadsheetInternal::State::pushNewSheet(), WKS4SpreadsheetInternal::State::pushNewSheet(), WPS8Graph::readBDR(), Quattro9Spreadsheet::readBeginColumn(), Quattro9Graph::readBeginEnd(), QuattroGraph::readBeginEnd(), QuattroSpreadsheet::readBeginEndSheet(), Quattro9Graph::readBeginEndZone(), Quattro9Spreadsheet::readBeginSheet(), QuattroGraph::readBitmap(), QuattroParser::readBlockList(), QuattroGraph::readButton(), LotusSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), QuattroDosSpreadsheet::readCell(), QuattroSpreadsheet::readCell(), QuattroSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), WKS4Spreadsheet::readCell(), libwps::MultiplanParser::readCellDataPosition(), QuattroDosSpreadsheet::readCellFormulaResult(), WKS4Spreadsheet::readCellFormulaResult(), Quattro9Spreadsheet::readCellList(), LotusSpreadsheet::readCellName(), QuattroParser::readCellPosition(), QuattroDosSpreadsheet::readCellProperty(), Quattro9Spreadsheet::readCellReference(), QuattroSpreadsheet::readCellReference(), Quattro9Spreadsheet::readCellResult(), LotusSpreadsheet::readCellsFormat801(), QuattroDosSpreadsheet::readCellStyle(), QuattroSpreadsheet::readCellStyle(), LotusStyleManager::readCellStyleD2(), LotusStyleManager::readCellStyleD2Data(), LotusStyleManager::readCellStyleE6(), Quattro9Spreadsheet::readCellStyles(), LotusChart::readChart(), QuattroDosChart::readChart(), QuattroGraph::readChart(), WKS4Chart::readChart(), WKS4Chart::readChart2Font(), WKS4Chart::readChart3D(), WKS4Chart::readChartAxis(), WKS4Chart::readChartDim(), WKS4Chart::readChartFont(), WKS4Chart::readChartLimit(), LotusChart::readChartName(), QuattroDosChart::readChartName(), WKS4Chart::readChartName(), WKS4Chart::readChartSeries(), WKS4Chart::readChartSeriesColorMap(), WKS4Chart::readChartSeriesStyles(), QuattroDosChart::readChartSetType(), LotusParser::readChartZone(), DosWordParser::readCHP(), MSWriteParser::readCHP(), XYWriteParserInternal::Format::readColor(), QuattroParser::readColorList(), LotusStyleManager::readColorStyle(), Quattro9Spreadsheet::readColRowDefault(), Quattro9Spreadsheet::readColRowDimension(), Quattro9Spreadsheet::readColRowDimensions(), LotusSpreadsheet::readColumnDefinition(), QuattroSpreadsheet::readColumnRowDefaultSize(), QuattroDosSpreadsheet::readColumnSize(), QuattroSpreadsheet::readColumnSize(), WKS4Spreadsheet::readColumnSize(), LotusSpreadsheet::readColumnSizes(), libwps::MultiplanParser::readColumnsWidth(), WPSOLEParser::readCompObj(), WPSOLEParser::readCONTENTS(), WPSOLEParser::readContents(), QuattroParser::readCString(), WKS4Parser::readCString(), LotusParser::readDataZone(), QuattroGraph::readDialog(), QuattroGraph::readDialogUnknown(), WPS4Parser::readDocDim(), WPS8Parser::readDocProperties(), Quattro9Parser::readDocumentFields(), Quattro9Spreadsheet::readDocumentFormulas(), LotusParser::readDocumentInfoMac(), Quattro9Parser::readDocumentStrings(), WPS4Parser::readDocWindowsInfo(), WPS4Text::readDosLink(), libwps::MultiplanParser::readDouble(), libwps::readDouble10(), libwps::readDouble2Inv(), libwps::readDouble4(), libwps::readDouble4Inv(), libwps::readDouble8(), WPSOLEObject::readEmbeddedOLE(), Quattro9Spreadsheet::readEndColumn(), Quattro9Spreadsheet::readEndSheet(), WPS4Text::readEntries(), QuattroParser::readExternalData(), LotusSpreadsheet::readExtraRowFormats(), WPSTextParser::readFDP(), DosWordParser::readFFNTB(), MSWriteParser::readFFNTB(), MSWriteParser::readFIB(), QuattroDosParser::readFieldName(), QuattroParser::readFieldName(), WKS4Parser::readFieldName(), QuattroDosParser::readFileName(), libwps::MultiplanParser::readFilename(), Quattro9Parser::readFilePositions(), QuattroGraph::readFillData(), WKS4Spreadsheet::readFilterClose(), WKS4Spreadsheet::readFilterOpen(), LotusStyleManager::readFMTFontId(), LotusStyleManager::readFMTFontName(), LotusStyleManager::readFMTFontSize(), LotusGraph::readFMTPictName(), LotusParser::readFMTStyleName(), DosWordParser::readFNTB(), MSWriteParser::readFOD(), QuattroDosParser::readFont(), WKS4Parser::readFont(), WPS4Text::readFont(), WPS8TextStyle::readFont(), QuattroParser::readFontDef(), WKS4Format::readFontId(), WKS4Format::readFontName(), PocketWordParser::readFontNames(), Quattro9Parser::readFontNames(), WPS4Text::readFontNames(), WPS8TextStyle::readFontNames(), WKS4Format::readFontSize(), LotusChart::readFontsStyle(), LotusStyleManager::readFontStyleA0(), LotusStyleManager::readFontStyleF0(), Quattro9Parser::readFontStyles(), WPS4Text::readFootNotes(), LotusStyleManager::readFormatStyle(), libwps::MultiplanParser::readFormula(), LotusSpreadsheet::readFormula(), QuattroDosSpreadsheet::readFormula(), QuattroFormulaManager::readFormula(), WKS4Spreadsheet::readFormula(), libwps::MultiplanParser::readFormulaV2(), WPS8Parser::readFRAM(), LotusGraph::readFrame(), QuattroGraph::readFrame(), Quattro9Graph::readFrameHeader(), QuattroGraph::readFrameOLE(), Quattro9Graph::readFramePattern(), LotusChart::readFramesStyle(), Quattro9Graph::readFrameStyle(), WPS8Parser::readFRCD(), LotusGraph::readGraphDataZone(), Quattro9Graph::readGraphHeader(), LotusGraph::readGraphic(), LotusStyleManager::readGraphicStyle(), LotusStyleManager::readGraphicStyleC9(), LotusGraph::readGraphZone(), QuattroGraph::readHeader(), QuattroGraph::readHeader(), QuattroDosParser::readHeaderFooter(), QuattroParser::readHeaderFooter(), WKS4Parser::readHeaderFooter(), QuattroDosSpreadsheet::readHiddenColumns(), WKS4Spreadsheet::readHiddenColumns(), WPS8Graph::readIBGF(), QuattroGraph::readImage(), QuattroGraph::readLine(), LotusStyleManager::readLineStyle(), libwps::MultiplanParser::readLink(), LotusParser::readLinkZone(), LotusChart::readMacAxis(), LotusChart::readMacFloor(), LotusParser::readMacFontName(), LotusChart::readMacHeader(), LotusChart::readMacLegend(), LotusChart::readMacPlacement(), LotusChart::readMacPlotArea(), LotusChart::readMacPosition(), LotusChart::readMacSerie(), WPS8Table::readMCLD(), LotusStyleManager::readMenuStyleE7(), Quattro9Spreadsheet::readMergedCells(), WPSOLEObject::readMetafile(), WPSOLEParser::readMM(), WKS4Spreadsheet::readMsWorksColumnSize(), WKS4Spreadsheet::readMsWorksDOSCellExtraProperty(), WKS4Spreadsheet::readMsWorksDOSCellProperty(), WKS4Spreadsheet::readMsWorksDOSFieldProperty(), WKS4Spreadsheet::readMsWorksDOSPageBreak(), WKS4Spreadsheet::readMsWorksPageBreak(), WKS4Spreadsheet::readMsWorksRowSize(), WKS4Spreadsheet::readMsWorksStyle(), libwps::MultiplanParser::readName(), LotusSpreadsheet::readNote(), WPS8Text::readNotes(), XYWriteParserInternal::Format::readNumber(), WPS4Graph::readObject(), WPSOLEObject::readOLE(), Quattro9Parser::readOleBOlePart(), QuattroParser::readOleBOlePart(), QuattroGraph::readOLEData(), Quattro9Parser::readOleLinkInfo(), QuattroParser::readOleLinkInfo(), Quattro9Graph::readOLEName(), QuattroParser::readOLEZones(), QuattroParser::readOptimizer(), Quattro9Spreadsheet::readPageBreak(), PocketWordParser::readPageDims(), QuattroParser::readPaneAttribute(), DosWordParser::readPAP(), MSWriteParser::readPAP(), WPS4Text::readParagraph(), WPS8TextStyle::readParagraph(), PocketWordParser::readParagraphDims(), PocketWordParser::readParagraphList(), PocketWordParser::readParagraphUnkn(), WPS8Graph::readPICT(), LotusGraph::readPictureData(), LotusGraph::readPictureDefinition(), WPS4Text::readPLC(), WPS8Text::readPLC(), LotusChart::readPlotArea(), QuattroGraph::readPolygon(), WKS4Parser::readPrn2(), WKS4Parser::readPrnt(), WPS4Parser::readPrnt(), Quattro9Parser::readPString(), QuattroDosParser::readPString(), QuattroParser::readQueryCommand(), QuattroGraph::readRect(), LotusParser::readRefZone(), WKS4Spreadsheet::readReportClose(), WKS4Spreadsheet::readReportOpen(), LotusSpreadsheet::readRowFormat(), LotusSpreadsheet::readRowFormats(), QuattroSpreadsheet::readRowRangeSize(), QuattroDosSpreadsheet::readRowSize(), QuattroSpreadsheet::readRowSize(), LotusSpreadsheet::readRowSizes(), DosWordParser::readSECT(), DosWordParser::readSED(), MSWriteParser::readSED(), LotusChart::readSerie(), QuattroParser::readSerieExtension(), LotusChart::readSerieName(), LotusChart::readSerieWidth(), WPS8TextStyle::readSGP(), Quattro9Graph::readShape(), QuattroGraph::readShape(), QuattroGraph::readShapeHeader(), Quattro9Graph::readShapeRec(), libwps::MultiplanParser::readSharedData(), LotusSpreadsheet::readSheetHeader(), LotusSpreadsheet::readSheetName(), QuattroSpreadsheet::readSheetName(), LotusSpreadsheet::readSheetName1B(), QuattroDosSpreadsheet::readSheetSize(), QuattroSpreadsheet::readSheetSize(), WKS4Spreadsheet::readSheetSize(), LotusParser::readSheetZone(), PocketWordParser::readSound(), PocketWordParser::readSoundData(), QuattroDosSpreadsheet::readSpreadsheetClose(), QuattroDosSpreadsheet::readSpreadsheetName(), QuattroDosSpreadsheet::readSpreadsheetOpen(), WPSOLEObject::readStaticOLE(), MSWriteParser::readString(), WPSOLEObject::readString(), MSWriteParser::readStructures(), WPS4Text::readStructures(), WPS8Text::readStructures(), WPS8TextStyle::readStructures(), WPS8TextStyle::readSTSH(), LotusStyleManager::readStyleE6(), QuattroParser::readStyleName(), DosWordParser::readSUMD(), WPSOLEParser::readSummaryInformation(), WPSOLEParser::readSummaryPropertyString(), WPS8Parser::readSYID(), MSWriteParser::readText(), WPS4Text::readText(), WPS8Text::readText(), QuattroGraph::readTextBox(), LotusGraph::readTextBoxData(), LotusGraph::readTextBoxDataD1(), Quattro9Graph::readTextboxStyle(), Quattro9Graph::readTextboxText(), Quattro9Parser::readTextFontStyles(), Quattro9Parser::readTextStyles(), libwps::readU8(), XYWriteParserInternal::Format::readUnit(), PocketWordParser::readUnkn2021(), PocketWordParser::readUnkn8(), QuattroDosParser::readUnknown1(), WKS4Parser::readUnknown1(), QuattroDosParser::readUserFonts(), QuattroDosSpreadsheet::readUserStyle(), WPS8Text::readUTF16LE(), QuattroSpreadsheet::readViewInfo(), QuattroDosParser::readWindowRecord(), WKS4Parser::readWindowRecord(), WPS8Parser::readWNPR(), LotusParser::readZone(), Quattro9Parser::readZone(), QuattroDosParser::readZone(), QuattroParser::readZone(), WKS4Format::readZone(), WKS4Parser::readZone(), LotusParser::readZone1(), QuattroParser::readZone341(), LotusParser::readZone4(), LotusParser::readZone7(), LotusParser::readZone8(), libwps::MultiplanParser::readZoneB(), LotusGraph::readZoneBegin(), LotusGraph::readZoneBeginC9(), LotusGraph::readZoneData(), libwps::MultiplanParser::readZones(), LotusParser::readZones(), Quattro9Parser::readZones(), QuattroDosParser::readZones(), QuattroParser::readZones(), WKS4Format::readZones(), WKS4Parser::readZones(), libwps::MultiplanParser::readZonesList(), libwps::MultiplanParser::readZonesListV2(), LotusParser::retrievePasswordKeys(), libwps::MultiplanParserInternal::Cell::send(), LotusSpreadsheetInternal::Cell::send(), Quattro9ParserInternal::TextEntry::send(), Quattro9SpreadsheetInternal::Cell::send(), QuattroDosSpreadsheetInternal::Cell::send(), QuattroGraph::send(), QuattroSpreadsheetInternal::Cell::send(), WKS4SpreadsheetInternal::Cell::send(), WPS4Parser::send(), WPS8TableInternal::Cell::send(), XYWriteParserInternal::Cell::send(), libwps::MultiplanParser::sendCell(), LotusSpreadsheet::sendCellContent(), Quattro9Spreadsheet::sendCellContent(), QuattroDosSpreadsheet::sendCellContent(), QuattroSpreadsheet::sendCellContent(), WKS4Spreadsheet::sendCellContent(), LotusChart::sendChart(), QuattroDosChart::sendChart(), WKSChart::sendChart(), LotusChart::sendCharts(), WKS4Chart::sendCharts(), libwps::MultiplanParserInternal::Cell::sendContent(), LotusChartInternal::Chart::sendContent(), LotusSpreadsheetInternal::Cell::sendContent(), Quattro9SpreadsheetInternal::Cell::sendContent(), QuattroDosChartInternal::Chart::sendContent(), QuattroDosSpreadsheetInternal::Cell::sendContent(), QuattroSpreadsheetInternal::Cell::sendContent(), WKS4ChartInternal::Chart::sendContent(), WKS4SpreadsheetInternal::Cell::sendContent(), XYWriteParserInternal::Cell::sendContent(), PocketWordParser::sendData(), WPS8TextStyle::sendFont(), QuattroGraph::sendGraphic(), LotusGraph::sendGraphics(), QuattroGraph::sendGraphics(), Quattro9Parser::sendHeaderFooter(), QuattroDosParser::sendHeaderFooter(), QuattroParser::sendHeaderFooter(), WKS4Parser::sendHeaderFooter(), WPSPageSpan::sendHeaderFooters(), WPSPageSpan::sendHeaderFooters(), WPS8Graph::sendIBGF(), WPS4Graph::sendObject(), WPS8Graph::sendObject(), WPS4Graph::sendObjects(), WPS8Graph::sendObjects(), Quattro9Graph::sendOLE(), WPS8Parser::sendPageFrames(), PocketWordParser::sendParagraph(), WPS8TextStyle::sendParagraph(), LotusGraph::sendPicture(), LotusSpreadsheet::sendRowContent(), Quattro9Graph::sendShape(), Quattro9Graph::sendShape(), Quattro9Graph::sendShape(), QuattroGraph::sendShape(), libwps::MultiplanParser::sendSpreadsheet(), LotusSpreadsheet::sendSpreadsheet(), Quattro9Spreadsheet::sendSpreadsheet(), QuattroDosSpreadsheet::sendSpreadsheet(), QuattroSpreadsheet::sendSpreadsheet(), WKS4Spreadsheet::sendSpreadsheet(), WPS8Parser::sendTable(), WPS8Table::sendTable(), WPSTable::sendTable(), LotusChart::sendText(), LotusSpreadsheet::sendText(), QuattroDosChart::sendText(), WKS4Chart::sendText(), LotusGraph::sendTextBox(), WPS8Parser::sendTextBox(), Quattro9Graph::sendTextbox(), QuattroGraph::sendTextbox(), LotusGraph::sendTextBoxWK4(), LotusSpreadsheet::sendTextNote(), WKSChart::sendTextZoneContent(), LotusGraph::sendZone(), WPSList::set(), WPSCellFormat::setBorders(), WPSGraphicStyle::setBorders(), LotusGraph::setChartId(), Quattro9SpreadsheetInternal::Spreadsheet::setColRowSize(), Quattro9SpreadsheetInternal::Spreadsheet::setColRowSizes(), LotusSpreadsheetInternal::Spreadsheet::setColumnWidth(), WPSPageSpan::setHeaderFooter(), libwps_OLE::OStorage::setInformation(), libwps_OLE::DirTree::setInRBTForm(), libwps_OLE::DirTree::setInRedBlackTreeForm(), LotusSpreadsheet::setLastSpreadsheetId(), WPSList::setLevel(), QuattroSpreadsheetInternal::Spreadsheet::setRowHeight(), QuattroSpreadsheetInternal::Spreadsheet::setRowHeights(), WKSContentListener::startDocument(), WPSContentListener::startDocument(), Quattro9GraphInternal::State::storeGraph(), QuattroGraphInternal::State::storeGraph(), WPS8Text::textZonesDataParser(), WPS8Text::tokenEndDataParser(), libwps_tools_win::Font::unicode(), libwps_tools_win::unicodeFromCP932(), libwps_tools_win::unicodeFromCP950(), libwps_tools_win::Font::unicodeString(), XYWriteParser::update(), LotusStyleManager::updateCellStyle(), QuattroSpreadsheet::updateCellWithUserFormat(), LotusChart::updateChart(), WKS4Chart::updateChart(), LotusParser::updateEmbeddedObject(), WPSOLE1Parser::updateEmbeddedObject(), XYWriteParserInternal::Format::updateFont(), LotusStyleManager::updateFontStyle(), Quattro9SpreadsheetInternal::Cell::updateFormat(), QuattroDosSpreadsheetInternal::Cell::updateFormat(), QuattroSpreadsheetInternal::Cell::updateFormat(), LotusStyleManager::updateGraphicStyle(), LotusStyleManager::updateLineStyle(), WPSOLE1Parser::updateMetaData(), XYWriteParserInternal::Format::updateParagraph(), LotusStyleManager::updateShadowStyle(), LotusSpreadsheet::updateState(), LotusStyleManager::updateSurfaceStyle(), LotusStyleManager::updateSurfaceStyle(), libwps_OLE::OStorage::updateToSave(), and WPSOLE1Parser::updateZoneNames().

◆ WPS_DOUBLE_UNDERLINE_BIT

◆ WPS_EMBOSS_BIT

#define WPS_EMBOSS_BIT   0x80000L

◆ WPS_ENGRAVE_BIT

#define WPS_ENGRAVE_BIT   0x100000L

◆ WPS_EXTRA_LARGE_BIT

#define WPS_EXTRA_LARGE_BIT   1

◆ WPS_FALLTHROUGH

◆ WPS_FINE_PRINT_BIT

#define WPS_FINE_PRINT_BIT   0x10

◆ WPS_HIDDEN_BIT

◆ WPS_ITALICS_BIT

◆ WPS_LARGE_BIT

#define WPS_LARGE_BIT   4

Referenced by WPSFont::operator<<.

◆ WPS_LE_GET_GUINT16

#define WPS_LE_GET_GUINT16 ( p)
Value:
uint16_t(((reinterpret_cast<uint8_t const *>(p))[0] << 0) | \
((reinterpret_cast<uint8_t const *>(p))[1] << 8))

Referenced by MSWriteParser::processDIB(), DosWordParser::readPAP(), and MSWriteParser::readPAP().

◆ WPS_LE_GET_GUINT32

#define WPS_LE_GET_GUINT32 ( p)
Value:
uint32_t(((reinterpret_cast<uint8_t const *>(p))[0] << 0) | \
((reinterpret_cast<uint8_t const *>(p))[1] << 8) | \
((reinterpret_cast<uint8_t const *>(p))[2] << 16) | \
((reinterpret_cast<uint8_t const *>(p))[3] << 24))

Referenced by MSWriteParser::processDIB().

◆ WPS_LE_PUT_GUINT16

#define WPS_LE_PUT_GUINT16 ( p,
v )
Value:
*(reinterpret_cast<uint8_t*>(p)) = uint8_t(v); \
*((reinterpret_cast<uint8_t*>(p)) + 1) = uint8_t((v) >> 8)

Referenced by DosWordParser::readPAP(), and MSWriteParser::readPAP().

◆ WPS_LE_PUT_GUINT32

#define WPS_LE_PUT_GUINT32 ( p,
v )
Value:
*(reinterpret_cast<uint8_t*>(p)) = uint8_t(v); \
*((reinterpret_cast<uint8_t*>(p)) + 1) = uint8_t((v) >> 8); \
*((reinterpret_cast<uint8_t*>(p)) + 2) = uint8_t((v) >> 16); \
*((reinterpret_cast<uint8_t*>(p)) + 3) = uint8_t((v) >> 24)

◆ WPS_LEFT

#define WPS_LEFT   0x00

◆ WPS_N_ELEMENTS

◆ WPS_OUTLINE_BIT

◆ WPS_OVERLINE_BIT

◆ WPS_PAGE_BREAK

◆ WPS_REDLINE_BIT

#define WPS_REDLINE_BIT   0x400

◆ WPS_REVERSEVIDEO_BIT

#define WPS_REVERSEVIDEO_BIT   0x20000L

◆ WPS_RIGHT

#define WPS_RIGHT   0x01

◆ WPS_SHADOW_BIT

◆ WPS_SMALL_CAPS_BIT

◆ WPS_SMALL_PRINT_BIT

#define WPS_SMALL_PRINT_BIT   8

Referenced by WPSFont::operator<<.

◆ WPS_SOFT_PAGE_BREAK

#define WPS_SOFT_PAGE_BREAK   0x01

◆ WPS_STRIKEOUT_BIT

◆ WPS_SUBSCRIPT_BIT

◆ WPS_SUPERSCRIPT_BIT

◆ WPS_TOP

#define WPS_TOP   0x03

◆ WPS_UNDERLINE_BIT

◆ WPS_VERY_LARGE_BIT

#define WPS_VERY_LARGE_BIT   2

Typedef Documentation

◆ RVNGInputStreamPtr

typedef std::shared_ptr<librevenge::RVNGInputStream> RVNGInputStreamPtr

shared pointer to librevenge::RVNGInputStream

◆ Vec2b

typedef Vec2<bool> Vec2b

Vec2 of bool.

◆ Vec2f

typedef Vec2<float> Vec2f

Vec2 of float.

◆ Vec2i

typedef Vec2<int> Vec2i

Vec2 of int.

◆ WKSContentListenerPtr

typedef std::shared_ptr<WKSContentListener> WKSContentListenerPtr

shared pointer to WKSContentListener

◆ WKSSubDocumentPtr

typedef std::shared_ptr<WKSSubDocument> WKSSubDocumentPtr

shared pointer to WKSSubDocument

◆ WPSBox2f

typedef WPSBox2<float> WPSBox2f

WPSBox2 of float.

◆ WPSBox2i

typedef WPSBox2<int> WPSBox2i

WPSBox2 of int.

◆ WPSCellPtr

typedef std::shared_ptr<WPSCell> WPSCellPtr

shared pointer to WPSCell

◆ WPSContentListenerPtr

typedef std::shared_ptr<WPSContentListener> WPSContentListenerPtr

shared pointer to WPSContentListener

◆ WPSHeaderPtr

typedef std::shared_ptr<WPSHeader> WPSHeaderPtr

shared pointer to WPSHeader

◆ WPSListenerPtr

typedef std::shared_ptr<WPSListener> WPSListenerPtr

shared pointer to WPSListener

◆ WPSSubDocumentPtr

typedef std::shared_ptr<WPSSubDocument> WPSSubDocumentPtr

shared pointer to WPSSubDocument

◆ WPSVec3f

typedef WPSVec3<float> WPSVec3f

WPSVec3 of float.

◆ WPSVec3i

typedef WPSVec3<int> WPSVec3i

WPSVec3 of int.

◆ WPSVec3uc

typedef WPSVec3<unsigned char> WPSVec3uc

WPSVec3 of unsigned char.


Generated on Sat Jul 19 2025 05:24:40 for libwps by doxygen 1.14.0