#include <assert.h>
#include <cmath>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include <librevenge-stream/librevenge-stream.h>
#include <librevenge/librevenge.h>
#include <inttypes.h>
#include <boost/shared_ptr.hpp>
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 shared_ptr More... | |
class | libwps::VersionException |
class | libwps::FileException |
class | libwps::ParseException |
class | libwps::GenericException |
struct | WPSColumnDefinition |
struct | WPSColumnProperties |
struct | WPSColor |
the class to store a color More... | |
struct | WPSBorder |
a border list More... | |
struct | WPSEmbeddedObject |
small class use to define a embedded object 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 | Box2< T > |
small class which defines a 2D Box More... | |
struct | Box2< T >::PosSizeLt |
internal struct used to create sorted map, sorted first min then max More... | |
Namespaces | |
namespace | libwps |
Defines | |
#define | WPS_ATTRIBUTE_PRINTF(fmt, arg) |
#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 shared_ptr < librevenge::RVNGInputStream > | RVNGInputStreamPtr |
shared pointer to librevenge::RVNGInputStream | |
typedef shared_ptr< WPSCell > | WPSCellPtr |
shared pointer to WPSCell | |
typedef shared_ptr< WPSListener > | WPSListenerPtr |
shared pointer to WPSListener | |
typedef shared_ptr < WPSContentListener > | WPSContentListenerPtr |
shared pointer to WPSContentListener | |
typedef shared_ptr< WPSHeader > | WPSHeaderPtr |
shared pointer to WPSHeader | |
typedef shared_ptr < WPSSubDocument > | WPSSubDocumentPtr |
shared pointer to WPSSubDocument | |
typedef shared_ptr < WKSContentListener > | WKSContentListenerPtr |
shared pointer to WKSContentListener | |
typedef shared_ptr < WKSSubDocument > | WKSSubDocumentPtr |
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 Box2< int > | Box2i |
Box2 of int. | |
typedef Box2< float > | Box2f |
Box2 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 } |
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 &input) |
uint16_t | libwps::readU16 (RVNGInputStreamPtr &input) |
uint32_t | libwps::readU32 (RVNGInputStreamPtr &input) |
int8_t | libwps::read8 (RVNGInputStreamPtr &input) |
int16_t | libwps::read16 (RVNGInputStreamPtr &input) |
int32_t | libwps::read32 (RVNGInputStreamPtr &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) |
#define WPS_ALL_CAPS_BIT 0x40000L |
Referenced by WPSFont::addTo(), operator<<(), and WPS8TextStyle::readFont().
#define WPS_ATTRIBUTE_PRINTF | ( | fmt, | |
arg | |||
) |
#define WPS_BLINK_BIT 0x10000L |
Referenced by WPSFont::addTo().
#define WPS_BOLD_BIT 0x1000 |
Referenced by WPSFont::addTo(), operator<<(), QuattroSpreadsheet::readCellStyle(), MSWriteParser::readCHP(), WPS8TextStyle::readFont(), WKS4Parser::readFont(), WPS4Text::readFont(), LotusStyleManager::readFontStyle(), WKS4Spreadsheet::readMsWorksDOSCellProperty(), WKS4Spreadsheet::readMsWorksDOSFieldProperty(), LotusSpreadsheet::readRowFormat(), QuattroParser::readUserFonts(), QuattroSpreadsheet::readUserStyle(), and LotusGraph::sendTextBox().
#define WPS_BOTTOM 0x04 |
#define WPS_CENTER 0x02 |
#define WPS_COLUMN_BREAK 0x02 |
Referenced by WPSContentListener::insertBreak(), WKSContentListener::insertBreak(), and WPS8Text::readText().
#define WPS_DEBUG_MSG | ( | M | ) |
Referenced by WPSContentListener::_changeList(), WPSContentListener::_closeFrame(), WKSContentListener::_closeFrame(), WPSPageSpan::_getHeaderFooterPosition(), WKSContentListener::_handleFrameParameters(), WPSPageSpan::_insertPageNumberParagraph(), WPSContentListener::_openFrame(), WKSContentListener::_openFrame(), WPSContentListener::_openPageSpan(), WKSContentListener::_openPageSpan(), WPSContentListener::_openParagraph(), WKSContentListener::_openParagraph(), WPSContentListener::_openSection(), WPSContentListener::_popParsingState(), WKSContentListener::_popParsingState(), QuattroSpreadsheetInternal::StyleManager::add(), WPSContentListener::addEmptyTableCell(), WPSGraphicStyle::addFrameTo(), WPSList::addLevelTo(), WPSList::Level::addTo(), WPSParagraph::addTo(), WPSCellFormat::addTo(), WPSGraphicShape::addTo(), WPSGraphicStyle::addTo(), WPSBorder::addTo(), WPSEmbeddedObject::addTo(), libwps::appendUnicode(), WPS4Text::bkmkDataParser(), WPS8Text::bmktEndDataParser(), WPSTable::buildStructures(), QuattroParser::checkHeader(), WKS4Parser::checkHeader(), LotusParser::checkHeader(), WPS4Parser::checkHeader(), WPSContentListener::closeSection(), WKSContentListener::closeSheet(), WKSContentListener::closeSheetCell(), WKSContentListener::closeSheetRow(), WPSContentListener::closeTable(), WPSContentListener::closeTableCell(), WPSContentListener::closeTableRow(), WPSHeader::constructHeader(), WPSCellFormat::convertDTFormat(), WPS4Parser::createDocument(), WPS8Text::createNotesCorrespondance(), WPS8Parser::createOLEStructures(), WPS4Parser::createOLEStructures(), WPS4Text::dttmDataParser(), WPSContentListener::endDocument(), WKSContentListener::endDocument(), WPS8TextStyle::findFDPStructuresByHand(), WPS4Text::findFDPStructuresByHand(), WPS4Parser::findZones(), WPS4Text::flushExtra(), WPS4Text::footNotesDataParser(), WPS8TextStyle::FontData::format(), WPSGraphicShape::PathData::get(), QuattroSpreadsheetInternal::StyleManager::get(), WKS4SpreadsheetInternal::StyleManager::get(), WPSGraphicStyle::Pattern::getBinary(), WPSTable::getCell(), WPS4Parser::getColor(), QuattroParserInternal::State::getColor(), WKS4ParserInternal::State::getColor(), LotusStyleManagerInternal::State::getColor(), WPS4TextInternal::FontName::getDosName(), LotusParser::getFont(), QuattroParser::getFont(), WKS4Parser::getFont(), WPSGraphicShape::getPath(), LotusStyleManagerInternal::State::getPattern(), WKSContentListener::FormulaInstruction::getPropertyList(), WPSPosition::getScaleFactor(), LotusSpreadsheetInternal::State::getSheet(), WPS8Parser::getTableSTRSId(), WPS8Text::getTextZoneType(), libwps_tools_win::Font::getTypeForOEM(), libwps_tools_win::Font::getTypeForString(), WPSContentListener::handleSubDocument(), WKSContentListener::handleSubDocument(), WPSContentListener::insertComment(), WKSContentListener::insertComment(), WPSContentListener::insertDateTimeField(), WKSContentListener::insertDateTimeField(), WPSContentListener::insertField(), WKSContentListener::insertField(), WPSContentListener::insertLabelNote(), WPSContentListener::insertNote(), WKSContentListener::insertPicture(), libwps::WPSDocument::isFileFormatSupported(), WPSList::isNumeric(), MSWriteParser::MSWriteParser(), WPSList::mustSendLevel(), libwps::numberingTypeToString(), WPS4Text::objectDataParser(), WPS8Text::objectDataParser(), WPSList::openElement(), WPSContentListener::openSection(), WKSContentListener::openSheet(), WKSContentListener::openSheetCell(), WKSContentListener::openSheetRow(), WPSContentListener::openTable(), WPSContentListener::openTableCell(), WPSContentListener::openTableRow(), operator<<(), WPSPageSpan::operator==(), MSWriteParser::parse(), QuattroParser::parse(), WKS4Parser::parse(), LotusParser::parse(), MSWriteParserInternal::SubDocument::parse(), WPS4Parser::parse(), WPS8Parser::parse(), WPS4ParserInternal::SubDocument::parse(), WPS8ParserInternal::SubDocument::parse(), QuattroParserInternal::SubDocument::parse(), WKS4ParserInternal::SubDocument::parse(), LotusParserInternal::SubDocument::parse(), libwps::WPSDocument::parse(), WPSOLEParser::parse(), LotusGraphInternal::SubDocument::parse(), WPS8TextInternal::SubDocument::parse(), WPS8Parser::parseHeaderIndex(), WPS8Parser::parseHeaderIndexEntry(), WPS8Parser::parseHeaderIndexEntryEnd(), WKS4SpreadsheetInternal::State::popSheet(), QuattroSpreadsheetInternal::State::popSheet(), QuattroSpreadsheetInternal::StyleManager::print(), WKS4SpreadsheetInternal::StyleManager::print(), MSWriteParser::processDDB(), MSWriteParser::processDIB(), MSWriteParser::processEmbeddedOLE(), MSWriteParser::processObject(), MSWriteParser::processStaticOLE(), MSWriteParser::processWMF(), WKS4SpreadsheetInternal::State::pushNewSheet(), QuattroSpreadsheetInternal::State::pushNewSheet(), WPS8Graph::readBDR(), QuattroSpreadsheet::readCell(), WKS4Spreadsheet::readCell(), LotusSpreadsheet::readCell(), QuattroSpreadsheet::readCellFormulaResult(), WKS4Spreadsheet::readCellFormulaResult(), LotusSpreadsheet::readCellName(), QuattroSpreadsheet::readCellProperty(), LotusStyleManager::readCellStyle(), QuattroSpreadsheet::readCellStyle(), WKS4Parser::readChart2Font(), QuattroParser::readChartDef(), WKS4Parser::readChartDef(), LotusParser::readChartDefinition(), WKS4Parser::readChartFont(), WKS4Parser::readChartLimit(), WKS4Parser::readChartList(), QuattroParser::readChartName(), LotusParser::readChartName(), WKS4Parser::readChartName(), WKS4Parser::readChartUnknown(), MSWriteParser::readCHP(), LotusStyleManager::readColorStyle(), LotusSpreadsheet::readColumnDefinition(), QuattroSpreadsheet::readColumnSize(), WKS4Spreadsheet::readColumnSize(), LotusSpreadsheet::readColumnSizes(), WPSOLEParser::readCompObj(), WPSOLEParser::readContents(), WPSOLEParser::readCONTENTS(), LotusParser::readDataZone(), WPS4Parser::readDocDim(), WPS8Parser::readDocProperties(), LotusParser::readDocumentInfoMac(), WPS4Parser::readDocWindowsInfo(), WPS4Text::readDosLink(), libwps::readDouble10(), libwps::readDouble2Inv(), libwps::readDouble4(), libwps::readDouble4Inv(), libwps::readDouble8(), WPS4Text::readEntries(), WPSTextParser::readFDP(), MSWriteParser::readFFNTB(), MSWriteParser::readFIB(), QuattroParser::readFieldName(), WKS4Parser::readFieldName(), WKS4Spreadsheet::readFilterClose(), WKS4Spreadsheet::readFilterOpen(), LotusParser::readFMTFontName(), WPS8TextStyle::readFont(), WKS4Parser::readFont(), WPS4Text::readFont(), WPS8TextStyle::readFontNames(), WPS4Text::readFontNames(), LotusStyleManager::readFontStyle(), WPS4Text::readFootNotes(), LotusStyleManager::readFormatStyle(), LotusSpreadsheet::readFormula(), QuattroSpreadsheet::readFormula(), WKS4Spreadsheet::readFormula(), WPS8Parser::readFRAM(), LotusStyleManager::readGraphicStyle(), QuattroParser::readHeaderFooter(), WKS4Parser::readHeaderFooter(), QuattroSpreadsheet::readHiddenColumns(), WKS4Spreadsheet::readHiddenColumns(), WPS8Graph::readIBGF(), LotusStyleManager::readLineStyle(), LotusParser::readLinkZone(), LotusParser::readMacFontName(), WPS8Table::readMCLD(), WPS8Graph::readMetaFile(), WPSOLEParser::readMM(), WKS4Spreadsheet::readMsWorksColumnSize(), WKS4Spreadsheet::readMsWorksDOSCellExtraProperty(), WKS4Spreadsheet::readMsWorksDOSCellProperty(), WKS4Spreadsheet::readMsWorksDOSFieldProperty(), WKS4Spreadsheet::readMsWorksDOSPageBreak(), WKS4Spreadsheet::readMsWorksPageBreak(), WKS4Spreadsheet::readMsWorksRowSize(), WKS4Spreadsheet::readMsWorksStyle(), WPS8Text::readNotes(), WPS4Graph::readObject(), MSWriteParser::readPAP(), WPS8TextStyle::readParagraph(), WPS4Text::readParagraph(), WPS8Graph::readPICT(), LotusGraph::readPictureData(), LotusGraph::readPictureDefinition(), WPS4Text::readPLC(), WPS8Text::readPLC(), WKS4Parser::readPrn2(), WKS4Parser::readPrnt(), WPS4Parser::readPrnt(), WKS4Spreadsheet::readReportClose(), WKS4Spreadsheet::readReportOpen(), LotusSpreadsheet::readRowFormat(), LotusSpreadsheet::readRowFormats(), QuattroSpreadsheet::readRowSize(), LotusSpreadsheet::readRowSizes(), MSWriteParser::readSECT(), WPS8TextStyle::readSGP(), LotusSpreadsheet::readSheetName(), QuattroSpreadsheet::readSheetSize(), WKS4Spreadsheet::readSheetSize(), QuattroSpreadsheet::readSpreadsheetClose(), QuattroSpreadsheet::readSpreadsheetName(), QuattroSpreadsheet::readSpreadsheetOpen(), MSWriteParser::readString(), WPS8TextStyle::readStructures(), WPS8Text::readStructures(), WPS4Text::readStructures(), WPS8TextStyle::readSTSH(), WPS8Parser::readSYID(), MSWriteParser::readText(), WPS8Text::readText(), WPS4Text::readText(), LotusGraph::readTextBoxData(), libwps::readU8(), QuattroParser::readUnknown1(), WKS4Parser::readUnknown1(), QuattroParser::readUserFonts(), QuattroSpreadsheet::readUserStyle(), WPS8Text::readUTF16LE(), QuattroParser::readWindowRecord(), WKS4Parser::readWindowRecord(), WPS8Parser::readWNPR(), QuattroParser::readZone(), WKS4Parser::readZone(), LotusParser::readZone(), LotusGraph::readZoneBegin(), LotusGraph::readZoneData(), QuattroParser::readZones(), WKS4Parser::readZones(), WPS8TableInternal::Cell::send(), WPS4Parser::send(), LotusSpreadsheetInternal::Cell::send(), QuattroSpreadsheetInternal::Cell::send(), WKS4SpreadsheetInternal::Cell::send(), QuattroSpreadsheet::sendCellContent(), WKS4Spreadsheet::sendCellContent(), LotusSpreadsheet::sendCellContent(), LotusSpreadsheetInternal::Cell::sendContent(), QuattroSpreadsheetInternal::Cell::sendContent(), WKS4SpreadsheetInternal::Cell::sendContent(), WPS8TextStyle::sendFont(), LotusGraph::sendGraphics(), QuattroParser::sendHeaderFooter(), WKS4Parser::sendHeaderFooter(), WPSPageSpan::sendHeaderFooters(), WPS8Graph::sendIBGF(), WPS8Graph::sendObject(), WPS4Graph::sendObject(), WPS8Graph::sendObjects(), WPS4Graph::sendObjects(), WPS8Parser::sendPageFrames(), WPS8TextStyle::sendParagraph(), LotusGraph::sendPicture(), WKS4Spreadsheet::sendSpreadsheet(), QuattroSpreadsheet::sendSpreadsheet(), LotusSpreadsheet::sendSpreadsheet(), WPSTable::sendTable(), WPS8Table::sendTable(), WPS8Parser::sendTable(), LotusGraph::sendTextBox(), WPS8Parser::sendTextBox(), WPSList::set(), WPSCellFormat::setBorders(), WPSGraphicStyle::setBorders(), LotusSpreadsheetInternal::Spreadsheet::setColumnWidthInChar(), WPSPageSpan::setHeaderFooter(), LotusSpreadsheet::setLastSpreadsheetId(), WPSList::setLevel(), WPSContentListener::startDocument(), WKSContentListener::startDocument(), WPS4Graph::storeObjects(), WPS8Graph::storeObjects(), WPS8Text::textZonesDataParser(), WPS8Text::tokenEndDataParser(), libwps_tools_win::Font::unicode(), libwps_tools_win::unicodeFromCP932(), libwps_tools_win::unicodeFromCP950(), LotusStyleManager::updateCellStyle(), LotusStyleManager::updateFontStyle(), QuattroSpreadsheetInternal::Cell::updateFormat(), LotusStyleManager::updateGraphicStyle(), LotusStyleManager::updateLineStyle(), LotusStyleManager::updateShadowStyle(), LotusSpreadsheet::updateState(), and LotusStyleManager::updateSurfaceStyle().
#define WPS_DOUBLE_UNDERLINE_BIT 0x800 |
Referenced by WPSFont::addTo(), operator<<(), and WPS8TextStyle::readFont().
#define WPS_EMBOSS_BIT 0x80000L |
Referenced by WPSFont::addTo(), operator<<(), and WPS8TextStyle::readFont().
#define WPS_ENGRAVE_BIT 0x100000L |
Referenced by WPSFont::addTo(), and WPS8TextStyle::readFont().
#define WPS_EXTRA_LARGE_BIT 1 |
#define WPS_FINE_PRINT_BIT 0x10 |
#define WPS_HIDDEN_BIT 0x800000L |
#define WPS_ITALICS_BIT 0x100 |
Referenced by WPSFont::addTo(), operator<<(), QuattroSpreadsheet::readCellStyle(), MSWriteParser::readCHP(), WPS8TextStyle::readFont(), WKS4Parser::readFont(), WPS4Text::readFont(), LotusStyleManager::readFontStyle(), WKS4Spreadsheet::readMsWorksDOSCellProperty(), WKS4Spreadsheet::readMsWorksDOSFieldProperty(), LotusSpreadsheet::readRowFormat(), QuattroParser::readUserFonts(), QuattroSpreadsheet::readUserStyle(), and LotusGraph::sendTextBox().
#define WPS_LARGE_BIT 4 |
Referenced by operator<<().
#define WPS_LE_GET_GUINT16 | ( | p | ) |
(uint16_t)((((uint8_t const *)(p))[0] << 0) | \ (((uint8_t const *)(p))[1] << 8))
Referenced by MSWriteParser::processDIB(), and MSWriteParser::readPAP().
#define WPS_LE_GET_GUINT32 | ( | p | ) |
(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 MSWriteParser::processDIB().
#define WPS_LE_PUT_GUINT16 | ( | p, | |
v | |||
) |
*((uint8_t*)(p)) = uint8_t(v); \ *(((uint8_t*)(p)) + 1) = uint8_t((v) >> 8)
Referenced by MSWriteParser::readPAP().
#define WPS_LE_PUT_GUINT32 | ( | p, | |
v | |||
) |
*((uint8_t*)(p)) = uint8_t(v); \ *(((uint8_t*)(p)) + 1) = uint8_t((v) >> 8); \ *(((uint8_t*)(p)) + 2) = uint8_t((v) >> 16); \ *(((uint8_t*)(p)) + 3) = uint8_t((v) >> 24)
#define WPS_LEFT 0x00 |
#define WPS_OUTLINE_BIT 0x80 |
#define WPS_OVERLINE_BIT 0x400000L |
#define WPS_PAGE_BREAK 0x00 |
#define WPS_REDLINE_BIT 0x400 |
#define WPS_REVERSEVIDEO_BIT 0x20000L |
#define WPS_RIGHT 0x01 |
#define WPS_SHADOW_BIT 0x200 |
#define WPS_SMALL_CAPS_BIT 0x8000 |
Referenced by WPSFont::addTo(), operator<<(), and WPS8TextStyle::readFont().
#define WPS_SMALL_PRINT_BIT 8 |
Referenced by operator<<().
#define WPS_SOFT_PAGE_BREAK 0x01 |
Referenced by WPSContentListener::insertBreak().
#define WPS_STRIKEOUT_BIT 0x2000 |
Referenced by WPSFont::addTo(), operator<<(), WPS8TextStyle::readFont(), WKS4Parser::readFont(), and WPS4Text::readFont().
#define WPS_SUBSCRIPT_BIT 0x40 |
#define WPS_SUPERSCRIPT_BIT 0x20 |
#define WPS_TOP 0x03 |
#define WPS_UNDERLINE_BIT 0x4000 |
Referenced by WPSContentListener::_flushDeferredTabs(), WKSContentListener::_flushDeferredTabs(), WPSFont::addTo(), operator<<(), QuattroSpreadsheet::readCellStyle(), MSWriteParser::readCHP(), WPS8TextStyle::readFont(), WPS4Text::readFont(), LotusStyleManager::readFontStyle(), WKS4Spreadsheet::readMsWorksDOSCellProperty(), WKS4Spreadsheet::readMsWorksDOSFieldProperty(), QuattroParser::readUserFonts(), QuattroSpreadsheet::readUserStyle(), and LotusGraph::sendTextBox().
#define WPS_VERY_LARGE_BIT 2 |
typedef shared_ptr<librevenge::RVNGInputStream> RVNGInputStreamPtr |
shared pointer to librevenge::RVNGInputStream
typedef shared_ptr<WKSContentListener> WKSContentListenerPtr |
shared pointer to WKSContentListener
typedef shared_ptr<WKSSubDocument> WKSSubDocumentPtr |
shared pointer to WKSSubDocument
typedef shared_ptr<WPSCell> WPSCellPtr |
shared pointer to WPSCell
typedef shared_ptr<WPSContentListener> WPSContentListenerPtr |
shared pointer to WPSContentListener
typedef shared_ptr<WPSHeader> WPSHeaderPtr |
shared pointer to WPSHeader
typedef shared_ptr<WPSListener> WPSListenerPtr |
shared pointer to WPSListener
typedef shared_ptr<WPSSubDocument> WPSSubDocumentPtr |
shared pointer to WPSSubDocument