T
T
thehighhomie2018-11-30 12:28:13
PHP
thehighhomie, 2018-11-30 12:28:13

Plugin to generate PDF from JavaScript?

Advise a plugin with which I can generate a printable presentation from js to pdf, in a vector and not just convert a picture from a canvas?
I need to generate a presentation in pdf, now I've settled on pdfmake, but it doesn't have enough functionality: I can't rotate pictures or text, only the elements in the vector allocated by api.
There is also jspdf, which seems to be normal, but does not support utf8.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dave, 2015-12-19
@leha78

This is an abbreviated entry:

$entry['title'] = '';
$entry['body'] = '';
$entry['tags'] = '';

G
GreatRash, 2015-12-19
@GreatRash

$entry['title'] = '';
$entry['body'] = '';
$entry['tags'] = '';

S
Sergey, 2015-12-19
Protko @Fesor

title is equal to body, which is equal to tags, which in turn is equal to the empty string. This is how it reads roughly.

A
Alexey Skobkin, 2015-12-19
@skobkin

This is a transitive assignment, when, according to the precedence of operators, you will be chain-assigned.
This is sometimes used, for example, like this:

// Код можно сделать ещё короче, но я написал так для наглядности
if (null === ($product = $productRepository->find($id))) {
    throw new NotFoundException();
}

That is, you put the / null object in one line and in $ product and checked it right away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question