| @@ 201-232 (lines=32) @@ | ||
| 198 | * @param string|null $textAlign The text alignment. |
|
| 199 | * @return $this The current instance for a fluent interface. |
|
| 200 | */ |
|
| 201 | public function setReferenceNumberRightAttr( |
|
| 202 | $posX = null, |
|
| 203 | $posY = null, |
|
| 204 | $width = null, |
|
| 205 | $height = null, |
|
| 206 | $background = null, |
|
| 207 | $fontFamily = null, |
|
| 208 | $fontSize = null, |
|
| 209 | $fontColor = null, |
|
| 210 | $lineHeight = null, |
|
| 211 | $textAlign = null |
|
| 212 | ) { |
|
| 213 | if ($textAlign === null) { |
|
| 214 | $textAlign = 'R'; |
|
| 215 | } |
|
| 216 | ||
| 217 | $this->setAttributes( |
|
| 218 | $this->referenceNumberRightAttr, |
|
| 219 | $posX, |
|
| 220 | $posY, |
|
| 221 | $width, |
|
| 222 | $height, |
|
| 223 | $background, |
|
| 224 | $fontFamily, |
|
| 225 | $fontSize, |
|
| 226 | $fontColor, |
|
| 227 | $lineHeight, |
|
| 228 | $textAlign |
|
| 229 | ); |
|
| 230 | ||
| 231 | return $this; |
|
| 232 | } |
|
| 233 | ||
| 234 | /** |
|
| 235 | * Set the code line attributes |
|
| @@ 249-280 (lines=32) @@ | ||
| 246 | * @param string|null $textAlign The text alignment. |
|
| 247 | * @return $this The current instance for a fluent interface. |
|
| 248 | */ |
|
| 249 | public function setCodeLineAttr( |
|
| 250 | $posX = null, |
|
| 251 | $posY = null, |
|
| 252 | $width = null, |
|
| 253 | $height = null, |
|
| 254 | $background = null, |
|
| 255 | $fontFamily = null, |
|
| 256 | $fontSize = null, |
|
| 257 | $fontColor = null, |
|
| 258 | $lineHeight = null, |
|
| 259 | $textAlign = null |
|
| 260 | ) { |
|
| 261 | if ($textAlign === null) { |
|
| 262 | $textAlign = 'R'; |
|
| 263 | } |
|
| 264 | ||
| 265 | $this->setAttributes( |
|
| 266 | $this->codeLineAttr, |
|
| 267 | $posX, |
|
| 268 | $posY, |
|
| 269 | $width, |
|
| 270 | $height, |
|
| 271 | $background, |
|
| 272 | $fontFamily, |
|
| 273 | $fontSize, |
|
| 274 | $fontColor, |
|
| 275 | $lineHeight, |
|
| 276 | $textAlign |
|
| 277 | ); |
|
| 278 | ||
| 279 | return $this; |
|
| 280 | } |
|
| 281 | ||
| 282 | /** |
|
| 283 | * Get the attributes of the left reference number element |
|
| @@ 764-795 (lines=32) @@ | ||
| 761 | * @param string|null $textAlign The text alignment. |
|
| 762 | * @return $this The current instance for a fluent interface. |
|
| 763 | */ |
|
| 764 | public function setAmountFrancsLeftAttr( |
|
| 765 | $posX = null, |
|
| 766 | $posY = null, |
|
| 767 | $width = null, |
|
| 768 | $height = null, |
|
| 769 | $background = null, |
|
| 770 | $fontFamily = null, |
|
| 771 | $fontSize = null, |
|
| 772 | $fontColor = null, |
|
| 773 | $lineHeight = null, |
|
| 774 | $textAlign = null |
|
| 775 | ) { |
|
| 776 | if ($textAlign === null) { |
|
| 777 | $textAlign = 'R'; |
|
| 778 | } |
|
| 779 | ||
| 780 | $this->setAttributes( |
|
| 781 | $this->amountFrancsLeftAttr, |
|
| 782 | $posX, |
|
| 783 | $posY, |
|
| 784 | $width, |
|
| 785 | $height, |
|
| 786 | $background, |
|
| 787 | $fontFamily, |
|
| 788 | $fontSize, |
|
| 789 | $fontColor, |
|
| 790 | $lineHeight, |
|
| 791 | $textAlign |
|
| 792 | ); |
|
| 793 | ||
| 794 | return $this; |
|
| 795 | } |
|
| 796 | ||
| 797 | /** |
|
| 798 | * Set the right francs amount attributes |
|
| @@ 812-843 (lines=32) @@ | ||
| 809 | * @param string|null $textAlign The text alignment. |
|
| 810 | * @return $this The current instance for a fluent interface. |
|
| 811 | */ |
|
| 812 | public function setAmountFrancsRightAttr( |
|
| 813 | $posX = null, |
|
| 814 | $posY = null, |
|
| 815 | $width = null, |
|
| 816 | $height = null, |
|
| 817 | $background = null, |
|
| 818 | $fontFamily = null, |
|
| 819 | $fontSize = null, |
|
| 820 | $fontColor = null, |
|
| 821 | $lineHeight = null, |
|
| 822 | $textAlign = null |
|
| 823 | ) { |
|
| 824 | if ($textAlign === null) { |
|
| 825 | $textAlign = 'R'; |
|
| 826 | } |
|
| 827 | ||
| 828 | $this->setAttributes( |
|
| 829 | $this->amountFrancsRightAttr, |
|
| 830 | $posX, |
|
| 831 | $posY, |
|
| 832 | $width, |
|
| 833 | $height, |
|
| 834 | $background, |
|
| 835 | $fontFamily, |
|
| 836 | $fontSize, |
|
| 837 | $fontColor, |
|
| 838 | $lineHeight, |
|
| 839 | $textAlign |
|
| 840 | ); |
|
| 841 | ||
| 842 | return $this; |
|
| 843 | } |
|
| 844 | ||
| 845 | /** |
|
| 846 | * Set the left cents amount attributes |
|