27 #include "../../se/ExternalGraphic.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
30 #include "../xlink/SimpleLink.h"
92 const std::string& format = eg->
getFormat();
93 assert(!format.empty());
const te::xl::SimpleLink * getOnlineResource() const
TESERIALIZATIONEXPORT te::se::InlineContent * ReadInlineContent(te::xml::Reader &reader)
InlineContent is XML- or base64-encoded encoded content in some externally-defined format that is inc...
Utility methods for Symbology serialization.
TEDATAACCESSEXPORT void Save(const std::string &fileName)
This class models a XML reader object.
TESERIALIZATIONEXPORT te::xl::SimpleLink * ReadSimpleLink(te::xml::Reader &reader)
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
virtual bool next()=0
It gets the next event to be read.
virtual void writeStartElement(const std::string &qName)
void WriteOnlineResourceHelper(const te::xl::SimpleLink *link, te::xml::Writer &writer)
virtual std::string getElementValue() const =0
It returns the element data value in the case of VALUE node.
virtual void writeEndElement(const std::string &qName)
TESERIALIZATIONEXPORT void Save(const te::fe::Filter *filter, te::xml::Writer &writer)
TESERIALIZATIONEXPORT te::se::ExternalGraphic * ReadExternalGraphic(te::xml::Reader &reader)
const std::string & getFormat() const
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
const InlineContent * getInlineContent() const
virtual void writeElement(const std::string &qName, const std::string &value)
Support for InlineContent serialization.
virtual NodeType getNodeType() const =0
It return the type of node read.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
This class models a XML writer object.