Lines Matching refs:new
165 public function addStyle(ODTStyle $new, $overwrite=false) { argument
167 ($this->styles, $this->styles_by_name, $new, $overwrite);
173 public function addAutomaticStyle(ODTStyle $new, $overwrite=false) { argument
175 ($this->auto_styles, $this->auto_styles_by_name, $new, $overwrite);
181 public function addMasterStyle(ODTStyle $new, $overwrite=false) { argument
183 ($this->master_styles, $this->master_styles_by_name, $new, $overwrite);
189 public function addStyleInternal(&$dest, &$dest_by_name, ODTStyle $new, $overwrite=false) { argument
190 if ($new->isDefault()) {
192 $family = $new->getFamily();
200 $dest [$index] = $new;
207 $dest [] = $new;
210 $name = $new->getProperty('style-name');
213 $dest [] = $new;
215 $dest_by_name [$name] = $new;
221 $dest [$index] = $new;
225 $dest_by_name [$name] = $new;