27 #include "../../se/Mark.h"
28 #include "../../xml/Reader.h"
29 #include "../../xml/Writer.h"
30 #include "../xlink/SimpleLink.h"
77 return mark.release();
101 const std::string* format = mark->
getFormat();
Support for Fill serialization.
Support for Stroke serialization.
A Mark specifies a geometric shape and applies coloring to it.
TESERIALIZATIONEXPORT te::se::InlineContent * ReadInlineContent(te::xml::Reader &reader)
InlineContent * getInlineContent() const
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)
const Fill * getFill() const
This class models a XML reader object.
const std::string * getWellKnownName() const
TESERIALIZATIONEXPORT te::xl::SimpleLink * ReadSimpleLink(te::xml::Reader &reader)
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::Mark * ReadMark(te::xml::Reader &reader)
TESERIALIZATIONEXPORT te::se::Stroke * ReadStroke(te::xml::Reader &reader)
virtual void writeElement(const std::string &qName, const std::string &value)
const Stroke * getStroke() const
const std::string * getFormat() const
Support for InlineContent serialization.
const te::xl::SimpleLink * getOnlineResource() const
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.
TESERIALIZATIONEXPORT te::se::Fill * ReadFill(te::xml::Reader &reader)
This class models a XML writer object.
A Mark specifies a geometric shape and applies coloring to it.