namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usage More...
Namespaces | |
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) More... | |
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 More... | |
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, ... More... | |
bool | convertDTFormat (std::string const &dtFormat, librevenge::RVNGPropertyListVector &propVect) |
convert a DTFormat in a propertyList More... | |
MWAWVec2f | rotatePointAroundCenter (MWAWVec2f const &point, MWAWVec2f const ¢er, float angle) |
rotate a point around center, angle is given in degree More... | |
MWAWBox2f | rotateBoxFromCenter (MWAWBox2f const &box, float angle) |
rotate a bdox and returns the final bdbox, angle is given in degree More... | |
template<typename T > | |
bool | checkAddOverflow (T x, T y) |
checks whether addition of x and y would overflow More... | |
std::ostream & | operator<< (std::ostream &o, PrinterInfo const &r) |
operator<< for a PrinterInfo More... | |
Variables | |
static uint32_t const | s_SJIS_encoding [] |
SJIS conversion table: c,unicode[c]. More... | |
static uint32_t const | s_SJIS_encoding2 [] |
SJIS conversion table for code with 2 entries(actually, ignored): c,unicode[c],unicode[c1]. More... | |
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(), MWAWTextListener::insertUnicode(), MWAWPresentationListener::insertUnicode(), MWAWGraphicListener::insertUnicode(), MWAWSpreadsheetListener::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(), PowerPoint3Parser::readParagraph(), MsWks4Text::readParagraph(), MarinerWrtText::readRulers(), JazzWriterParser::readString(), Canvas5Parser::readString(), CanvasParser::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< bool >::add(), and MWAWVec2< bool >::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 | ) |
Referenced by MWAWField::addTo(), and NisusWrtParserInternal::operator<<().
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(), and operator<<().
|
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().