Lines Matching refs:this

50         $this->stack [$this->size] = new ODTElementRoot();
51 $this->size++;
62 return $this->findClosestWithClass ('list-item');
73 return $this->findClosestWithClass ('frame');
84 return $this->findClosestWithClass ('list');
99 if ($this->getInParagraph()) {
100 return $this->findClosestWithClass ('paragraph');
113 return $this->findClosestWithClass ('table');
130 if ( !isset($this->element_counter [$name]) ) {
131 $this->element_counter [$name] = 1;
133 $this->element_counter [$name]++;
135 $element->setCount($this->element_counter [$name]);
138 $previous = $this->stack [$this->size-1];
141 $this->stack [$this->size] = $element;
142 $this->size++;
145 if (isset($this->document)) {
146 $styleObj = $this->document->getStyle($element->getStyleName());
160 return $this->stack [$this->size-1];
169 if ($this->size > 1) {
170 unset ($this->stack [$this->size-1]);
171 $this->size--;
182 for ($reset = 1 ; $reset < $this->size ; $reset++) {
183 unset ($this->stack [$reset]);
185 $this->size = 1;
195 for ($search = $this->size-1 ; $search > 0 ; $search--) {
196 if ($this->stack [$search]->getClass() == $clazz) {
197 return $this->stack [$search];
213 for ($search = $this->size-1 ; $search > 0 ; $search--) {
214 if ($this->stack [$search]->getClass() == $clazz) {
216 return $this->stack [$search];
231 for ($search = 0 ; $search < $this->size ; $search++) {
232 $string .= $indent . $this->stack [$search]->getElementName().";\n";
246 for ($search = $this->size-1 ; $search > 0 ; $search--) {
247 if ($this->stack [$search]->getClass() == $clazz) {
261 for ($search = $this->size-1 ; $search > 0 ; $search--) {
262 if ($this->stack [$search]->getElementName() == $name) {
263 return $this->stack [$search];
276 $this->findClosestWithClassGetIndex('table-row', $tableRowIndex);
277 $this->findClosestWithClassGetIndex('table', $tableIndex);
290 $this->findClosestWithClassGetIndex('table-cell', $tableCellIndex);
291 $this->findClosestWithClassGetIndex('table-row', $tableRowIndex);
304 $this->findClosestWithClassGetIndex('list-item', $listItemIndex);
305 $this->findClosestWithClassGetIndex('list', $listIndex);
320 return $this->getInParagraph();
330 if ($this->size > 0) {
331 return $this->stack [$this->size-1]->getInParagraph();
343 $this->document = $doc;
348 if ($this->size > 0) {
349 return $this->stack [$this->size-1]->getHTMLElement();
356 return $this->element_counter [$element]++;