Lines Matching refs:this
59 $this->archive = new ArchiveHelperZip();
60 $this->includes = new SplQueue();
61 $this->recursionLevel = 0;
62 $this->headingLevel = 0;
66 new DecoratorIncluder($this->includes,
70 new DecoratorPersister($this->archive)))))));
93 $this->nocache();
95 if (!$this->currentPageId) {
96 $this->currentPageId = $ID;
99 $fileName = $this->texifyPageId($this->currentPageId);
101 if ($this->recursionLevel == 0) {
103 $output_filename = $this->texifyPageId($this->currentPageId, 'zip');
105 'Content-Type' => $this->archive->getContentType(),
110 p_set_metadata($this->currentPageId,array('format' => array('latexport_tex' => $headers) ));
113 $this->archive->startArchive();
120 $this->archive->startFile($fileName);
121 $this->decorator->document_start($this->currentPageId, $this->recursionLevel);
122 $this->recursionLevel++;
130 $this->decorator->header($text, $level + $this->headingLevel, $pos);
137 $this->decorator->document_end($this->recursionLevel - 1);
139 $this->archive->closeFile();
141 $this->processIncludes();
143 $this->recursionLevel--;
144 if ($this->recursionLevel == 0) {
145 $this->doc = $this->archive->closeArchive();
150 while (!$this->includes->isEmpty()) {
151 $include = $this->includes->pop();
153 $this->currentPageId = $include->getLink();
154 $this->headingLevel = $include->getHeadingLevel();