예제 #1
0
 /**
  * @param SimpleXMLElement  $spreadConfig The <Spread> node of an InDesign Spread configuration.
  * @param SimpleXMLElement  $pageConfig   The <Page> node within the Spread configuration.
  */
 public function __construct(SimpleXMLElement $spreadConfig, $pageConfig)
 {
     parent::__construct($spreadConfig, $pageConfig);
     $this->index = $this->_getPageIndex();
     $this->colorLabel = $this->_getColorLabel();
 }
예제 #2
0
 /**
  * @param SimpleXMLElement $spreadConfig The <Spread> node of an InDesign Spread configuration.
  * @param string $textFrameConfig The <TextFrame> node within the Spread configuration.
  * @return void
  */
 public function __construct(SimpleXMLElement $spreadConfig, $textFrameConfig)
 {
     parent::__construct($spreadConfig, $textFrameConfig);
     $this->storyId = $this->_getStoryId();
 }