libvisio Namespace Reference documentation

libvisio Namespace Reference

## Classes
struct | VSDDummyDeleter
class | EndOfStreamException
class | XmlParserException
class | GenericException
class | XMLErrorWatcher
class | VDXParser
class | VSD5Parser
class | VSD6Parser
class | VSDCharacterListElement
class | VSDCharIX
class | VSDCharacterList
class | VSDCollector
class | VSDContentCollector
class | VSDFieldListElement
class | VSDTextField
class | VSDNumericField
class | VSDFieldList
class | VSDGeometry
class | VSDEmpty
class | VSDMoveTo
class | VSDLineTo
class | VSDArcTo
class | VSDEllipse
class | VSDEllipticalArcTo
class | VSDNURBSTo1
class | VSDNURBSTo2
class | VSDNURBSTo3
class | VSDPolylineTo1
class | VSDPolylineTo2
class | VSDPolylineTo3
class | VSDSplineStart
class | VSDSplineKnot
class | VSDInfiniteLine
class | VSDRelCubBezTo
class | VSDRelEllipticalArcTo
class | VSDRelMoveTo
class | VSDRelLineTo
class | VSDRelQuadBezTo
class | VSDGeometryListElement
class | VSDGeometryList
struct | VSDLayer
class | VSDLayerList
class | VSDMetaData
class | VSDOutputElement
class | VSDStyleOutputElement
class | VSDPathOutputElement
class | VSDGraphicObjectOutputElement
class | VSDStartTextObjectOutputElement
class | VSDOpenParagraphOutputElement
class | VSDStartLayerOutputElement
class | VSDEndLayerOutputElement
class | VSDOpenSpanOutputElement
class | VSDInsertTextOutputElement
class | VSDInsertLineBreakOutputElement
class | VSDInsertTabOutputElement
class | VSDCloseSpanOutputElement
class | VSDCloseParagraphOutputElement
class | VSDEndTextObjectOutputElement
class | VSDOpenListElementOutputElement
class | VSDCloseListElementOutputElement
class | VSDOpenUnorderedListLevelOutputElement
class | VSDCloseUnorderedListLevelOutputElement
class | VSDOutputElementList
class | VSDPage
class | VSDPages
class | VSDParagraphListElement
class | VSDParaIX
class | VSDParagraphList
struct | Pointer
class | VSDParser
class | VSDShapeList
class | VSDShape
class | VSDStencil
class | VSDStencils
struct | VSDOptionalLineStyle
struct | VSDLineStyle
struct | VSDOptionalFillStyle
struct | VSDFillStyle
struct | VSDOptionalCharStyle
struct | VSDCharStyle
struct | VSDOptionalParaStyle
struct | VSDParaStyle
struct | VSDOptionalTextBlockStyle
struct | VSDTextBlockStyle
class | VSDStyles
class | VSDStylesCollector
struct | XForm
struct | XForm1D
struct | ChunkHeader
struct | Colour
struct | NURBSData
struct | PolylineData
struct | ForeignData
class | VSDName
struct | VSDFont
struct | VSDMisc
struct | VSDTabStop
struct | VSDTabSet
struct | VSDBullet
class | VSDXMetaData
| Parses docProps/core.xml stream of a VSDX file. More...
class | VSDXRelationship
class | VSDXRelationships
class | VSDXMLParserBase
class | VSDXMLTokenMap
class | VSDXParser
struct | VSDXVariationClrScheme
struct | VSDXClrScheme
struct | VSDXFont
struct | VSDXFontScheme
struct | VSDXVariationStyleScheme
class | VSDXTheme
class | VisioDocument

## Typedefs
typedef std::shared_ptr< librevenge::RVNGInputStream > | RVNGInputStreamPtr_t

## Enumerations
enum | TextFormat { VSD_TEXT_ANSI = 0 , VSD_TEXT_SYMBOL , VSD_TEXT_GREEK , VSD_TEXT_TURKISH , VSD_TEXT_VIETNAMESE , VSD_TEXT_HEBREW , VSD_TEXT_ARABIC , VSD_TEXT_BALTIC , VSD_TEXT_RUSSIAN , VSD_TEXT_THAI , VSD_TEXT_CENTRAL_EUROPE , VSD_TEXT_JAPANESE , VSD_TEXT_KOREAN , VSD_TEXT_CHINESE_SIMPLIFIED , VSD_TEXT_CHINESE_TRADITIONAL , VSD_TEXT_UTF8 , VSD_TEXT_UTF16 }

## Functions
template<typename T>
std::unique_ptr< T > | clone (const std::unique_ptr< T > &other)
uint8_t | readU8 (librevenge::RVNGInputStream *input)
uint16_t | readU16 (librevenge::RVNGInputStream *input)
int16_t | readS16 (librevenge::RVNGInputStream *input)
uint32_t | readU32 (librevenge::RVNGInputStream *input)
int32_t | readS32 (librevenge::RVNGInputStream *input)
uint64_t | readU64 (librevenge::RVNGInputStream *input)
double | readDouble (librevenge::RVNGInputStream *input)
const librevenge::RVNGString | getColourString (const Colour &c)
unsigned long | getRemainingLength (librevenge::RVNGInputStream *input)
void | appendUCS4 (librevenge::RVNGString &text, UChar32 ucs4Character)
void | debugPrint (const char *format,...) VSD_ATTRIBUTE_PRINTF(1
std::unique_ptr< xmlTextReader, void(*)(xmlTextReaderPtr)> | xmlReaderForStream (librevenge::RVNGInputStream *input, XMLErrorWatcher *const watcher, bool recover)
Colour | xmlStringToColour (const xmlChar *s)
Colour | xmlStringToColour (const std::shared_ptr< xmlChar > &s)
long | xmlStringToLong (const xmlChar *s)
long | xmlStringToLong (const std::shared_ptr< xmlChar > &s)
double | xmlStringToDouble (const xmlChar *s)
double | xmlStringToDouble (const std::shared_ptr< xmlChar > &s)
bool | xmlStringToBool (const xmlChar *s)
bool | xmlStringToBool (const std::shared_ptr< xmlChar > &s)

## Typedef Documentation

## ◆ RVNGInputStreamPtr_t

typedef std::shared_ptr<librevenge::RVNGInputStream> libvisio::RVNGInputStreamPtr_t

## Enumeration Type Documentation

## ◆ TextFormat

enum libvisio::TextFormat

Enumerator
VSD_TEXT_ANSI |
VSD_TEXT_SYMBOL |
VSD_TEXT_GREEK |
VSD_TEXT_TURKISH |
VSD_TEXT_VIETNAMESE |
VSD_TEXT_HEBREW |
VSD_TEXT_ARABIC |
VSD_TEXT_BALTIC |
VSD_TEXT_RUSSIAN |
VSD_TEXT_THAI |
VSD_TEXT_CENTRAL_EUROPE |
VSD_TEXT_JAPANESE |
VSD_TEXT_KOREAN |
VSD_TEXT_CHINESE_SIMPLIFIED |
VSD_TEXT_CHINESE_TRADITIONAL |
VSD_TEXT_UTF8 |
VSD_TEXT_UTF16 |

## Function Documentation

## ◆ appendUCS4()

void libvisio::appendUCS4 | ( | librevenge::RVNGString & | text,
|  | UChar32 | ucs4Character )

Referenced by libvisio::VSDContentCollector::_bulletFromParaFormat(), libvisio::VSDContentCollector::appendCharacters(), libvisio::VSDContentCollector::appendCharacters(), and libvisio::VSDMetaData::readCodePageString().

## ◆ clone()

template<typename T>

std::unique_ptr< T > libvisio::clone | ( | const std::unique_ptr< T > & | other | ) |

Referenced by libvisio::VSDOutputElementList::append(), libvisio::VSDCharacterList::operator=(), libvisio::VSDFieldList::operator=(), libvisio::VSDGeometryList::operator=(), libvisio::VSDOutputElementList::operator=(), libvisio::VSDParagraphList::operator=(), libvisio::VSDCharacterList::VSDCharacterList(), libvisio::VSDFieldList::VSDFieldList(), libvisio::VSDGeometryList::VSDGeometryList(), libvisio::VSDOutputElementList::VSDOutputElementList(), and libvisio::VSDParagraphList::VSDParagraphList().

## ◆ debugPrint()

void libvisio::debugPrint | ( | const char * | format,
|  |  | ... )

## ◆ getColourString()

const librevenge::RVNGString libvisio::getColourString | ( | const Colour & | c | ) |

Referenced by libvisio::VSDContentCollector::_fillAndShadowProperties(), libvisio::VSDContentCollector::_fillCharProperties(), libvisio::VSDContentCollector::_flushText(), and libvisio::VSDContentCollector::_lineProperties().

## ◆ getRemainingLength()

unsigned long libvisio::getRemainingLength | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSDParser::readCharList(), libvisio::VSDMetaData::readCodePageString(), libvisio::VSDParser::readFieldList(), libvisio::VSDParser::readGeomList(), libvisio::VSDParser::readLayerList(), libvisio::VSD5Parser::readNameIDX(), libvisio::VSDParser::readNameIDX(), libvisio::VSDParser::readParaList(), libvisio::VSDMetaData::readPropertySet(), libvisio::VSDParser::readShapeData(), libvisio::VSDParser::readShapeList(), and libvisio::VSDParser::readTabsDataList().

## ◆ readDouble()

double libvisio::readDouble | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSDParser::readArcTo(), libvisio::VSD5Parser::readCharIX(), libvisio::VSD6Parser::readCharIX(), libvisio::VSDParser::readCharIX(), libvisio::VSDParser::readEllipse(), libvisio::VSDParser::readEllipticalArcTo(), libvisio::VSDParser::readFillAndShadow(), libvisio::VSDParser::readForeignDataType(), libvisio::VSDParser::readInfiniteLine(), libvisio::VSD5Parser::readLine(), libvisio::VSDParser::readLine(), libvisio::VSDParser::readLineTo(), libvisio::VSDParser::readMoveTo(), libvisio::VSDParser::readNURBSTo(), libvisio::VSDParser::readPageProps(), libvisio::VSD5Parser::readParaIX(), libvisio::VSD6Parser::readParaIX(), libvisio::VSDParser::readParaIX(), libvisio::VSDParser::readPolylineTo(), libvisio::VSDParser::readShapeData(), libvisio::VSDParser::readSplineKnot(), libvisio::VSDParser::readSplineStart(), libvisio::VSDParser::readTabsData(), libvisio::VSD5Parser::readTextBlock(), libvisio::VSDParser::readTextBlock(), libvisio::VSD5Parser::readTextField(), libvisio::VSD6Parser::readTextField(), libvisio::VSDParser::readTextField(), libvisio::VSDParser::readTxtXForm(), libvisio::VSD5Parser::readXForm1D(), libvisio::VSDParser::readXForm1D(), and libvisio::VSDParser::readXFormData().

## ◆ readS16()

int16_t libvisio::readS16 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSD5Parser::getInt(), libvisio::VSD5Parser::getUInt(), libvisio::VSD5Parser::readPointerInfo(), and libvisio::VSD5Parser::readTextField().

## ◆ readS32()

int32_t libvisio::readS32 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSDParser::getInt(), libvisio::VSDParser::readPointerInfo(), libvisio::VSD6Parser::readTextField(), and libvisio::VSDParser::readTextField().

## ◆ readU16()

uint16_t libvisio::readU16 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSD6Parser::getChunkHeader(), libvisio::VSDParser::getChunkHeader(), libvisio::VSD5Parser::handleChunkRecords(), libvisio::VSDMetaData::parseTimes(), libvisio::VSD5Parser::readCharIX(), libvisio::VSD6Parser::readCharIX(), libvisio::VSDParser::readCharIX(), libvisio::VSDParser::readForeignDataType(), libvisio::VSDParser::readName2(), libvisio::VSD5Parser::readNameIDX(), libvisio::VSDParser::readNURBSTo(), libvisio::VSD5Parser::readParaIX(), libvisio::VSDParser::readParaIX(), libvisio::VSD5Parser::readPointer(), libvisio::VSDParser::readPointer(), libvisio::VSDParser::readPolylineTo(), libvisio::VSDMetaData::readPropertySetStream(), readS16(), libvisio::VSDParser::readShapeData(), libvisio::VSD6Parser::readTextField(), libvisio::VSDParser::readTextField(), and libvisio::VSDMetaData::readTypedPropertyValue().

## ◆ readU32()

uint32_t libvisio::readU32 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSD5Parser::getChunkHeader(), libvisio::VSD6Parser::getChunkHeader(), libvisio::VSDParser::getChunkHeader(), libvisio::VSDParser::getUInt(), libvisio::VSDParser::handleStreams(), libvisio::VSDMetaData::parseTimes(), libvisio::VSD6Parser::readCharIX(), libvisio::VSDParser::readCharIX(), libvisio::VSDParser::readCharList(), libvisio::VSDMetaData::readCodePageString(), libvisio::VSDParser::readFieldList(), libvisio::VSDParser::readForeignDataType(), libvisio::VSDParser::readGeomList(), libvisio::VSDParser::readLayerList(), libvisio::VSD6Parser::readMisc(), libvisio::VSDParser::readMisc(), libvisio::VSDParser::readNameIDX(), libvisio::VSDParser::readNURBSTo(), libvisio::VSDParser::readPage(), libvisio::VSD6Parser::readParaIX(), libvisio::VSDParser::readParaIX(), libvisio::VSDParser::readParaList(), libvisio::VSD5Parser::readPointer(), libvisio::VSDParser::readPointer(), libvisio::VSDParser::readPointerInfo(), libvisio::VSDParser::readPolylineTo(), libvisio::VSDMetaData::readPropertyIdentifierAndOffset(), libvisio::VSDMetaData::readPropertySet(), libvisio::VSDMetaData::readPropertySetStream(), readS32(), libvisio::VSDParser::readShape(), libvisio::VSDParser::readShapeData(), libvisio::VSDParser::readShapeList(), libvisio::VSDParser::readStyleSheet(), libvisio::VSDParser::readTabsDataList(), libvisio::VSD6Parser::readTextField(), and libvisio::VSDParser::readTextField().

## ◆ readU64()

uint64_t libvisio::readU64 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSDMetaData::parseTimes(), and readDouble().

## ◆ readU8()

uint8_t libvisio::readU8 | ( | librevenge::RVNGInputStream * | input | ) |

Referenced by libvisio::VSD5Parser::getChunkHeader(), libvisio::VSD6Parser::getChunkHeader(), libvisio::VSDParser::getChunkHeader(), getRemainingLength(), libvisio::VSD5Parser::readCharIX(), libvisio::VSD6Parser::readCharIX(), libvisio::VSDParser::readCharIX(), libvisio::VSDMetaData::readCodePageString(), libvisio::VSDParser::readColours(), libvisio::VSD5Parser::readFillAndShadow(), libvisio::VSD6Parser::readFillAndShadow(), libvisio::VSDParser::readFillAndShadow(), libvisio::VSDParser::readFont(), libvisio::VSDParser::readFontIX(), libvisio::VSDParser::readGeometry(), libvisio::VSDParser::readLayer(), libvisio::VSD6Parser::readLayerMem(), libvisio::VSDParser::readLayerMem(), libvisio::VSD5Parser::readLine(), libvisio::VSDParser::readLine(), libvisio::VSD5Parser::readMisc(), libvisio::VSD6Parser::readMisc(), libvisio::VSDParser::readMisc(), libvisio::VSD6Parser::readName2(), libvisio::VSDParser::readNURBSTo(), libvisio::VSDParser::readPageProps(), libvisio::VSD5Parser::readParaIX(), libvisio::VSD6Parser::readParaIX(), libvisio::VSDParser::readParaIX(), libvisio::VSDParser::readPolylineTo(), libvisio::VSDMetaData::readPropertySetStream(), libvisio::VSDParser::readShapeData(), libvisio::VSDParser::readSplineStart(), libvisio::VSDParser::readTabsData(), libvisio::VSD5Parser::readTextBlock(), libvisio::VSDParser::readTextBlock(), libvisio::VSD5Parser::readTextField(), libvisio::VSD6Parser::readTextField(), libvisio::VSDParser::readTextField(), and libvisio::VSDParser::readXFormData().

## ◆ xmlReaderForStream()

std::unique_ptr< xmlTextReader, void(*)(xmlTextReaderPtr)> libvisio::xmlReaderForStream | ( | librevenge::RVNGInputStream * | input,
|  | XMLErrorWatcher *const | watcher,
|  | bool | recover )

Referenced by libvisio::VSDXMetaData::parse(), libvisio::VSDXTheme::parse(), libvisio::VDXParser::processXmlDocument(), libvisio::VSDXParser::processXmlDocument(), and libvisio::VSDXRelationships::VSDXRelationships().

## ◆ xmlStringToBool() [1/2]

bool libvisio::xmlStringToBool | ( | const std::shared_ptr< xmlChar > & | s | ) |

## ◆ xmlStringToBool() [2/2]

bool libvisio::xmlStringToBool | ( | const xmlChar * | s | ) |

Referenced by libvisio::VSDXMLParserBase::readArcTo(), libvisio::VSDXMLParserBase::readBoolData(), libvisio::VSDXMLParserBase::readBoolData(), libvisio::VSDXMLParserBase::readEllipse(), libvisio::VSDXMLParserBase::readEllipticalArcTo(), libvisio::VSDXMLParserBase::readGeometry(), libvisio::VSDXMLParserBase::readInfiniteLine(), libvisio::VSDXMLParserBase::readLineTo(), libvisio::VSDXMLParserBase::readMoveTo(), libvisio::VSDXMLParserBase::readNURBSTo(), libvisio::VSDXMLParserBase::readPage(), libvisio::VSDXMLParserBase::readPolylineTo(), libvisio::VSDXMLParserBase::readRelCubBezTo(), libvisio::VSDXMLParserBase::readRelEllipticalArcTo(), libvisio::VSDXMLParserBase::readRelLineTo(), libvisio::VSDXMLParserBase::readRelMoveTo(), libvisio::VSDXMLParserBase::readRelQuadBezTo(), libvisio::VSDXMLParserBase::readSplineKnot(), libvisio::VSDXMLParserBase::readSplineStart(), and xmlStringToBool().

## ◆ xmlStringToColour() [1/2]

Colour libvisio::xmlStringToColour | ( | const std::shared_ptr< xmlChar > & | s | ) |

## ◆ xmlStringToColour() [2/2]

Colour libvisio::xmlStringToColour | ( | const xmlChar * | s | ) |

Referenced by libvisio::VSDXMLParserBase::readColourOrColourIndex(), libvisio::VSDXMLParserBase::readColours(), libvisio::VSDXMLParserBase::readExtendedColourData(), libvisio::VSDXTheme::readSrgbClr(), libvisio::VSDXTheme::readSysClr(), and xmlStringToColour().

## ◆ xmlStringToDouble() [1/2]

double libvisio::xmlStringToDouble | ( | const std::shared_ptr< xmlChar > & | s | ) |

## ◆ xmlStringToDouble() [2/2]

double libvisio::xmlStringToDouble | ( | const xmlChar * | s | ) |

Referenced by libvisio::VSDXMLParserBase::readDoubleData(), libvisio::VSDXMLParserBase::readDoubleData(), and xmlStringToDouble().

## ◆ xmlStringToLong() [1/2]

long libvisio::xmlStringToLong | ( | const std::shared_ptr< xmlChar > & | s | ) |

## ◆ xmlStringToLong() [2/2]

long libvisio::xmlStringToLong | ( | const xmlChar * | s | ) |

Referenced by libvisio::VSDXMLParserBase::getIX(), libvisio::VSDXMLParserBase::readCharIX(), libvisio::VSDXMLParserBase::readColourOrColourIndex(), libvisio::VSDXMLParserBase::readExtendedColourData(), libvisio::VDXParser::readFonts(), libvisio::VSDXMLParserBase::readLongData(), libvisio::VSDXMLParserBase::readLongData(), libvisio::VSDXMLParserBase::readPage(), libvisio::VSDXMLParserBase::readParaIX(), libvisio::VSDXMLParserBase::readShape(), libvisio::VSDXMLParserBase::readStencil(), libvisio::VSDXMLParserBase::readStyleSheet(), libvisio::VSDXParser::readTabRow(), libvisio::VSDXTheme::readVarIdx(), and xmlStringToLong().