namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usage More...
Namespaces | |
namespace | Debug |
debugging tools | |
Classes | |
class | DebugFile |
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is not defined, does nothing) More... | |
class | FileException |
class | GenericException |
class | ParseException |
struct | PrinterInfo |
the AppleŠ printer information : TPrint More... | |
struct | PrinterInfoData |
internal structure used to keep TPrint content More... | |
struct | PrinterJob |
Internal: structure used to keep a printer job. More... | |
struct | PrinterRect |
the AppleŠ rectangle : Rect More... | |
struct | PrinterRectResolution |
Internal: structure used to keep a rectangle with its resolution. More... | |
struct | PrinterStyle |
Internal: structure used to keep the printer style information. More... | |
class | VersionException |
class | WrongPasswordException |
Typedefs | |
typedef std::stringstream | DebugStream |
a basic stream (if debug_with_files is not defined, does nothing) | |
Enumerations | |
enum | Position { Left = 0 , Right = 1 , Top = 2 , Bottom = 3 , HMiddle = 4 , VMiddle = 5 } |
basic position enum More... | |
enum | { LeftBit = 0x01 , RightBit = 0x02 , TopBit =0x4 , BottomBit = 0x08 , HMiddleBit = 0x10 , VMiddleBit = 0x20 } |
basic position enum bits More... | |
enum | NumberingType { NONE , BULLET , ARABIC , LOWERCASE , UPPERCASE , LOWERCASE_ROMAN , UPPERCASE_ROMAN } |
enum | WritingMode { WritingLeftTop , WritingLeftBottom , WritingRightTop , WritingRightBottom , WritingInherited } |
the different writing mode More... | |
enum | SubDocumentType { DOC_NONE , DOC_CHART , DOC_CHART_ZONE , DOC_COMMENT_ANNOTATION , DOC_GRAPHIC_GROUP , DOC_HEADER_FOOTER , DOC_NOTE , DOC_SHEET , DOC_TABLE , DOC_TEXT_BOX } |
Functions | |
uint8_t | readU8 (librevenge::RVNGInputStream *input) |
void | appendUnicode (uint32_t val, librevenge::RVNGString &buffer) |
adds an unicode character to a string | |
std::string | numberingTypeToString (NumberingType type) |
std::string | numberingValueToString (NumberingType type, int value) |
std::string | writingModeToString (WritingMode mode) |
a function to convert a writing mode in string lt-rb, ... | |
bool | convertDTFormat (std::string const &dtFormat, librevenge::RVNGPropertyListVector &propVect) |
convert a DTFormat in a propertyList | |
MWAWVec2f | rotatePointAroundCenter (MWAWVec2f const &point, MWAWVec2f const ¢er, float angle) |
rotate a point around center, angle is given in degree | |
MWAWBox2f | rotateBoxFromCenter (MWAWBox2f const &box, float angle) |
rotate a bdox and returns the final bdbox, angle is given in degree | |
template<typename T > | |
bool | checkAddOverflow (T x, T y) |
checks whether addition of x and y would overflow | |
std::ostream & | operator<< (std::ostream &o, PrinterInfo const &r) |
operator<< for a PrinterInfo | |
Variables | |
static uint32_t const | s_SJIS_encoding [] |
SJIS conversion table: c,unicode[c]. | |
static uint32_t const | s_SJIS_encoding2 [] |
SJIS conversion table for code with 2 entries(actually, ignored): c,unicode[c],unicode[c1]. | |
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usage
some basic tools
typedef std::stringstream libmwaw::DebugStream |
a basic stream (if debug_with_files is not defined, does nothing)
anonymous enum |
enum libmwaw::Position |
enum libmwaw::WritingMode |
void libmwaw::appendUnicode | ( | uint32_t | val, |
librevenge::RVNGString & | buffer | ||
) |
adds an unicode character to a string
Referenced by MWAWTabStop::addTo(), ActaParser::getMainList(), MWAWCellContent::FormulaInstruction::getPropertyList(), MWAWGraphicListener::insertUnicode(), MWAWPresentationListener::insertUnicode(), MWAWSpreadsheetListener::insertUnicode(), MWAWTextListener::insertUnicode(), MoreText::readCustomListLevel(), MsWrdParser::readDocSum(), ClarisWksDocument::readDSUM(), RagTime5StructManager::readField(), Canvas5Parser::readFileRSRCs(), RagTime5Formula::readFormula(), MultiplanParser::readFormula(), StudentWritingCParser::readFrame(), MindWrtParser::readHeadingCustom(), Canvas5Parser::readLayers(), MacDrawProParser::readLayersInfo(), MacDraft5Parser::readLayoutDefinitions(), ClarisDrawParser::readLayouts(), MacDrawProParser::readLibrariesInfo(), MacDraft5Parser::readLibraryFooter(), ClarisDrawParser::readLibraryNames(), MultiplanParser::readLink(), MultiplanParser::readLinkFilename(), MsWks4Text::readParagraph(), PowerPoint3Parser::readParagraph(), MarinerWrtText::readRulers(), Canvas5Parser::readString(), CanvasParser::readString(), JazzWriterParser::readString(), MWAWOLEParser::readSummaryPropertyString(), PowerPoint7Text::readTextZone(), RagTime5StructManager::readUnicodeString(), ClarisWksPresentation::readZone1(), Canvas5Graph::sendCurveText(), CanvasGraph::sendDimension(), Canvas5Graph::sendDimension(), ClarisWksText::sendText(), MindWrtParserInternal::ZoneInfo::updateListId(), ClarisDrawTextInternal::Paragraph::updateListLevel(), ClarisWksTextInternal::Paragraph::updateListLevel(), and MoreTextInternal::Paragraph::updateToFinalState().
bool libmwaw::checkAddOverflow | ( | T | x, |
T | y | ||
) |
checks whether addition of x
and y
would overflow
Referenced by MWAWVec2< T >::add(), and MWAWVec2< T >::operator-=().
bool libmwaw::convertDTFormat | ( | std::string const & | dtFormat, |
librevenge::RVNGPropertyListVector & | propVect | ||
) |
convert a DTFormat in a propertyList
Referenced by MWAWField::addTo(), and MWAWCell::Format::getNumberingProperties().
std::string libmwaw::numberingTypeToString | ( | NumberingType | type | ) |
std::string libmwaw::numberingValueToString | ( | NumberingType | type, |
int | value | ||
) |
Referenced by NisusWrtParser::getReferenceData().
std::ostream & libmwaw::operator<< | ( | std::ostream & | o, |
PrinterInfo const & | r | ||
) |
operator<< for a PrinterInfo
uint8_t libmwaw::readU8 | ( | librevenge::RVNGInputStream * | input | ) |
rotate a bdox and returns the final bdbox, angle is given in degree
Referenced by MacDrawProParserInternal::Shape::getBdBox(), BeagleWksDRParser::sendPictures(), and GreatWksGraph::sendTextboxAsGraphic().
MWAWVec2f libmwaw::rotatePointAroundCenter | ( | MWAWVec2f const & | point, |
MWAWVec2f const & | center, | ||
float | angle | ||
) |
rotate a point around center, angle is given in degree
Referenced by MacDraft5Parser::readObject(), and rotateBoxFromCenter().
std::string libmwaw::writingModeToString | ( | WritingMode | mode | ) |
a function to convert a writing mode in string lt-rb, ...
Referenced by MWAWParagraph::addTo().
|
static |
SJIS conversion table: c,unicode[c].
Referenced by MWAWFontSJISConverter::initMap().
|
static |
SJIS conversion table for code with 2 entries(actually, ignored): c,unicode[c],unicode[c1].
Referenced by MWAWFontSJISConverter::initMap().