|
17 | 17 | use setasign\SetaPDF2\Core\Parser\Content; |
18 | 18 | use setasign\SetaPDF2\Core\Resource\ResourceInterface; |
19 | 19 | use setasign\SetaPDF2\Core\Text\Text; |
20 | | -use setasign\SetaPDF2\Core\Text\Block; |
| 20 | +use setasign\SetaPDF2\Core\Text\TextBlock; |
21 | 21 | use setasign\SetaPDF2\Core\Type\AbstractType; |
22 | 22 | use setasign\SetaPDF2\Core\Type\Dictionary\DictionaryHelper; |
23 | 23 | use setasign\SetaPDF2\Core\Type\IndirectObjectInterface; |
|
29 | 29 | use setasign\SetaPDF2\Core\Type\PdfString; |
30 | 30 | use setasign\SetaPDF2\Core\Writer\Writer; |
31 | 31 | use setasign\SetaPDF2\Core\XObject\Form; |
32 | | -use setasign\SetaPDF2\Exception\NotImplemented; |
| 32 | +use setasign\SetaPDF2\NotImplementedException; |
33 | 33 |
|
34 | 34 | /** |
35 | 35 | * Example class representing a text field. |
@@ -164,7 +164,7 @@ public function setAppearanceFont(FontInterface $appearanceFont) |
164 | 164 | * @throws \setasign\SetaPDF2\Core\SecHandler\Exception |
165 | 165 | * @throws \setasign\SetaPDF2\Core\Type\Exception |
166 | 166 | * @throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception |
167 | | - * @throws NotImplemented |
| 167 | + * @throws NotImplementedException |
168 | 168 | */ |
169 | 169 | public function getFont() |
170 | 170 | { |
@@ -323,7 +323,7 @@ protected function _getDaValues() |
323 | 323 | * @throws \setasign\SetaPDF2\Core\SecHandler\Exception |
324 | 324 | * @throws \setasign\SetaPDF2\Core\Type\Exception |
325 | 325 | * @throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception |
326 | | - * @throws NotImplemented |
| 326 | + * @throws NotImplementedException |
327 | 327 | */ |
328 | 328 | protected function _createAppearance() |
329 | 329 | { |
@@ -496,7 +496,7 @@ protected function _createAppearance() |
496 | 496 | $daValues = $this->_getDaValues(); |
497 | 497 |
|
498 | 498 | $font = $this->_appearanceFont ?: $this->getFont(); |
499 | | - $textBlock = new Block($font, null); |
| 499 | + $textBlock = new TextBlock($font, null); |
500 | 500 | $textBlock->setAlign($this->getAlign()); |
501 | 501 |
|
502 | 502 | $borderDoubled = ( |
@@ -589,7 +589,7 @@ protected function _createAppearance() |
589 | 589 | * @throws \setasign\SetaPDF2\Core\SecHandler\Exception |
590 | 590 | * @throws \setasign\SetaPDF2\Core\Type\Exception |
591 | 591 | * @throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception |
592 | | - * @throws NotImplemented |
| 592 | + * @throws NotImplementedException |
593 | 593 | */ |
594 | 594 | public function getIndirectObject(?Document $document = null) |
595 | 595 | { |
|
0 commit comments