#include <math.h>
#include <algorithm>
#include <cmath>
#include <limits>
#include <map>
#include <memory>
#include <ostream>
#include <string>
#include <vector>
#include <librevenge-stream/librevenge-stream.h>
#include <librevenge/librevenge.h>
#include <stdint.h>
#include <inttypes.h>
Go to the source code of this file.
|
| libmwaw |
| namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usage
|
|
|
enum | libmwaw::Position {
libmwaw::Left = 0,
libmwaw::Right = 1,
libmwaw::Top = 2,
libmwaw::Bottom = 3,
libmwaw::HMiddle = 4,
libmwaw::VMiddle = 5
} |
| basic position enum More...
|
|
enum | {
libmwaw::LeftBit = 0x01,
libmwaw::RightBit = 0x02,
libmwaw::TopBit =0x4,
libmwaw::BottomBit = 0x08,
libmwaw::HMiddleBit = 0x10,
libmwaw::VMiddleBit = 0x20
} |
| basic position enum bits More...
|
|
enum | libmwaw::NumberingType {
libmwaw::NONE,
libmwaw::BULLET,
libmwaw::ARABIC,
libmwaw::LOWERCASE,
libmwaw::UPPERCASE,
libmwaw::LOWERCASE_ROMAN,
libmwaw::UPPERCASE_ROMAN
} |
|
enum | libmwaw::WritingMode {
libmwaw::WritingLeftTop,
libmwaw::WritingLeftBottom,
libmwaw::WritingRightTop,
libmwaw::WritingRightBottom,
libmwaw::WritingInherited
} |
| the different writing mode More...
|
|
enum | libmwaw::SubDocumentType {
libmwaw::DOC_NONE,
libmwaw::DOC_CHART,
libmwaw::DOC_CHART_ZONE,
libmwaw::DOC_COMMENT_ANNOTATION,
libmwaw::DOC_GRAPHIC_GROUP,
libmwaw::DOC_HEADER_FOOTER,
libmwaw::DOC_NOTE,
libmwaw::DOC_SHEET,
libmwaw::DOC_TABLE,
libmwaw::DOC_TEXT_BOX
} |
|
|
uint8_t | libmwaw::readU8 (librevenge::RVNGInputStream *input) |
|
void | libmwaw::appendUnicode (uint32_t val, librevenge::RVNGString &buffer) |
| adds an unicode character to a string More...
|
|
template<typename T > |
bool | libmwaw::checkAddOverflow (T x, T y) |
| checks whether addition of x and y would overflow More...
|
|
std::string | libmwaw::numberingTypeToString (NumberingType type) |
|
std::string | libmwaw::numberingValueToString (NumberingType type, int value) |
|
std::string | libmwaw::writingModeToString (WritingMode mode) |
| a function to convert a writing mode in string lt-rb, ... More...
|
|
bool | libmwaw::convertDTFormat (std::string const &dtFormat, librevenge::RVNGPropertyListVector &propVect) |
| convert a DTFormat in a propertyList More...
|
|
MWAWVec2f | libmwaw::rotatePointAroundCenter (MWAWVec2f const &point, MWAWVec2f const ¢er, float angle) |
| rotate a point around center, angle is given in degree More...
|
|
MWAWBox2f | libmwaw::rotateBoxFromCenter (MWAWBox2f const &box, float angle) |
| rotate a bdox and returns the final bdbox, angle is given in degree More...
|
|
◆ LIBMWAW_ATTRIBUTE_PRINTF
#define LIBMWAW_ATTRIBUTE_PRINTF |
( |
|
fmt, |
|
|
|
arg |
|
) |
| |
◆ M_PI
#define M_PI 3.14159265358979323846 |
◆ MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG |
( |
|
M | ) |
|
◆ MWAW_FALLTHROUGH
#define MWAW_FALLTHROUGH ((void) 0) |
◆ MWAW_N_ELEMENTS
#define MWAW_N_ELEMENTS |
( |
|
m | ) |
sizeof(m)/sizeof(m[0]) |
◆ MWAWBox2f
◆ MWAWBox2i
◆ MWAWBox2l
◆ MWAWFontConverterPtr
◆ MWAWFontManagerPtr
◆ MWAWGraphicListenerPtr
◆ MWAWInputStreamPtr
◆ MWAWListenerPtr
◆ MWAWListManagerPtr
◆ MWAWParserStatePtr
◆ MWAWPresentationListenerPtr
◆ MWAWRSRCParserPtr
◆ MWAWSpreadsheetListenerPtr
◆ MWAWSubDocumentPtr
◆ MWAWTextListenerPtr
◆ MWAWVec2b
◆ MWAWVec2f
◆ MWAWVec2i
◆ MWAWVec2l
◆ MWAWVec3f
◆ MWAWVec3i
◆ MWAWVec3uc