diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-25 09:36:05 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-05-25 09:36:05 +0300 |
| commit | bbf8a78c35cb34237629a6745d158463451da383 (patch) | |
| tree | 9806286c7a3108a020d59bb32710949623f9b3b6 /public/app/views | |
| parent | a3dc1f0f55003ca2fb325ed2e3f974094f6cad2e (diff) | |
| download | gyraf1gov-bbf8a78c35cb34237629a6745d158463451da383.tar.gz gyraf1gov-bbf8a78c35cb34237629a6745d158463451da383.tar.bz2 gyraf1gov-bbf8a78c35cb34237629a6745d158463451da383.zip | |
another styled pdf example
Diffstat (limited to 'public/app/views')
| -rw-r--r-- | public/app/views/templates/application.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/public/app/views/templates/application.php b/public/app/views/templates/application.php index f1f45fb..475dea1 100644 --- a/public/app/views/templates/application.php +++ b/public/app/views/templates/application.php @@ -160,4 +160,44 @@ } } + + + + --- also --- + + var dd = { + content: [ + { + text: 'This is a header with style', + style: 'header' + }, + + 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Confectum ponit legam, perferendis nomine miserum, animi. Moveat nesciunt triari naturam.\n\n', + + 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Confectum ponit legam, perferendis nomine miserum, animi. Moveat nesciunt triari naturam posset, eveniunt specie deorsus efficiat sermone instituendarum fuisse veniat, eademque mutat debeo. Delectet plerique protervi diogenem dixerit logikh levius probabo adipiscuntur afficitur, factis magistra inprobitatem aliquo andriam obiecta, religionis, imitarentur studiis quam, clamat intereant vulgo admonitionem operis iudex stabilitas vacillare scriptum nixam, reperiri inveniri maestitiam istius eaque dissentias idcirco gravis, refert suscipiet recte sapiens oportet ipsam terentianus, perpauca sedatio aliena video.\n\n', + + { + text: 'It is possible to apply multiple styles, by passing an array. This paragraph uses two styles: quote and small. When multiple styles are provided, they are evaluated in the specified order which is important in case they define the same properties', + style: ['quote', 'small'] + } + ], + styles: { + header: { + fontSize: 18, + bold: true, + alignment: 'center' + }, + subheader: { + fontSize: 15, + bold: true + }, + quote: { + italics: true + }, + small: { + fontSize: 8 + } + } + +} -->
\ No newline at end of file |
