function reopenObject($id) {
		//Helpers::dompdf_debug("trace", "Enter My_TCPDF.reopenObject($id)");

		if ($this->state == 2) {
			$curr_buffer = $this->getPageBuffer($this->page);
		}
		else {
			$curr_buffer = $this->getBuffer();
		}

		$this->dompdf_num_stack++;
		$this->dompdf_stack[$this->dompdf_num_stack] = array('c' => $curr_buffer, 'p' => $this->page, 'g' => $this->getGraphicVars());

		if ($this->state == 2) {
			$this->setPageBuffer($this->page, $this->dompdf_objects[$id]['c']);
		}
		else {
			$this->buffer = $this->dompdf_objects[$id]['c'];
			$this->bufferlen = strlen($this->buffer);
		}
		$this->page = 1;

		//$this->page = $this->dompdf_objects[$id]['p'];

		$this->setGraphicVars($this->dompdf_objects[$id]['g']);
	}
function reopenObject($id) {
		//Helpers::dompdf_debug("trace", "Enter My_TCPDF.reopenObject($id)");

		if ($this->state == 2) {
			$curr_buffer = $this->getPageBuffer($this->page);
		}
		else {
			$curr_buffer = $this->getBuffer();
		}

		$this->dompdf_num_stack++;
		$this->dompdf_stack[$this->dompdf_num_stack] = array('c' => $curr_buffer, 'p' => $this->page, 'g' => $this->getGraphicVars());

		if ($this->state == 2) {
			$this->setPageBuffer($this->page, $this->dompdf_objects[$id]['c']);
		}
		else {
			$this->buffer = $this->dompdf_objects[$id]['c'];
			$this->bufferlen = strlen($this->buffer);
		}
		$this->page = 1;

		//$this->page = $this->dompdf_objects[$id]['p'];

		$this->setGraphicVars($this->dompdf_objects[$id]['g']);
	}
function reopenObject ( $ id ) { //Helpers::dompdf_debug("trace", "Enter My_TCPDF.reopenObject($id)"); if ( $ this -> state == 2 ) { $ curr_buffer = $ this -> getPageBuffer ( $ this -> page ) ; } else { $ curr_buffer = $ this -> getBuffer ( ) ; } $ this -> dompdf_num_stack ++ ; $ this -> dompdf_stack [ $ this -> dompdf_num_stack ] = array ( 'c' => $ curr_buffer , 'p' => $ this -> page , 'g' => $ this -> getGraphicVars ( ) ) ; if ( $ this -> state == 2 ) { $ this -> setPageBuffer ( $ this -> page , $ this -> dompdf_objects [ $ id ] [ 'c' ] ) ; } else { $ this -> buffer = $ this -> dompdf_objects [ $ id ] [ 'c' ] ; $ this -> bufferlen = strlen ( $ this -> buffer ) ; } $ this -> page = 1 ; //$this->page = $this->dompdf_objects[$id]['p']; $ this -> setGraphicVars ( $ this -> dompdf_objects [ $ id ] [ 'g' ] ) ; }
reopen an existing object for editing
save the TCPDF output buffer content in the stack and initialize it with the contents of the object being reopened
reopen an existing object for editing save the TCPDF output buffer content in the stack and initialize it with the contents of the object being reopened