setAttribute(REQUESTOUTPUTPLOTFONT_NAME, $fontName); } public function getFontName() { return $this->getAttribute(REQUESTOUTPUTPLOTFONT_NAME); } public function setSize($size) { $this->setAttribute(REQUESTOUTPUTPLOTFONT_SIZE, $size); } public function getSize() { return $this->getAttribute(REQUESTOUTPUTPLOTFONT_SIZE); } public function setStyle($style) { $this->setAttribute(REQUESTOUTPUTPLOTFONT_STYLE, $style); } public function getStyle() { return $this->getAttribute(REQUESTOUTPUTPLOTFONT_STYLE); } public function setWeight($weight) { $this->setAttribute(REQUESTOUTPUTPLOTFONT_WEIGHT, $weight); } public function getWeight() { return $this->getAttribute(REQUESTOUTPUTPLOTFONT_WEIGHT); } public function loadFromNode($xmlNode) { $this->setFontName($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTFONT_NAME)); $this->setSize($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTFONT_SIZE)); $this->setStyle($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTFONT_STYLE)); $this->setWeight($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTFONT_WEIGHT)); } } ?>