Task #1986
Multicell style inheritance
Start date:
04/24/2022
Due date:
% Done:
0%
Estimated time:
Description
In a text pattern like this:
<strong><u>Text</u></strong>
$multicell->setStyle('strong', 11, '', [0, 0, 77], 'helvetica');
$multicell->setStyle('u', null, 'U');
The u
should inherit all styles from strong
except to what is extra "overwritten".
Eg:
<p><red>Red Text </red><yellow><u>Yellow Underline</u><yellow></p>
$multicell->setStyle('p', 11, '', [0, 0, 77], 'helvetica'); $multicell->setStyle('u', null, 'U'); $multicell->setStyle('red', null, null, [255,0,0]); $multicell->setStyle('yellow', null, null , [255,255,0]);
Updated by Andrei Bintintan about 2 years ago
- Subject changed from Multicell to Multicell style inheritance