Dia
class Dia extends XMLWriter (View source)
This Class inherits the XMLwriter class and helps in developing structure of DIA Schema Export
Methods
__construct()
Upon instantiation This starts writing the Dia XML document
void
startDiaDoc(string $paper, float $topMargin, float $bottomMargin, float $leftMargin, float $rightMargin, string $orientation)
Starts Dia Document
void
endDiaDoc()
Ends Dia Document
string
getOutputData()
No description
Details
__construct()
Upon instantiation This starts writing the Dia XML document
void
startDiaDoc(string $paper, float $topMargin, float $bottomMargin, float $leftMargin, float $rightMargin, string $orientation)
Starts Dia Document
dia document starts by first initializing dia:diagram tag then dia:diagramdata contains all the attributes that needed to define the document, then finally a Layer starts which holds all the objects.
void
endDiaDoc()
Ends Dia Document
string
getOutputData()
No description