Long text fpdf

Asked

Viewed 174 times

0

Hello,

I am trying to create a service contract within the Dolibar CRM.

He works with fpdf, and since I don’t understand almost anything, I’m here.

Since every contract is great, I thought of attaching a file contrato.php with the contract, and call on the pdf_strato.modules.php, So I think it would be easier.

My doubts are:

  1. It is possible to do this?
  2. It’s worth calling contrato.php?
  3. How to do this?

In case anyone has another idea, I’m accepting.

Thank you;

Kako.

  • Is this contract generated? a giant string?

  • this contract is predefined in a file I need to make to generate pdf. The information of the services and qualification of the parties is already solved. What I need is only text formatted with articles and paragraphs

  • I even thought of inserting an already formatted.doc contract file

  • can be the insertion of an external html file (contract.html)

  • The "big", you mean, more than one A4 page, that?

  • Yeah, it’s four A4 sheets. I’ve already been able to make tcpdf to do the pages dynamically, but the problem is to format contract clauses that are fixed without variables. If I divide the articles into Cell() or Multicell() the problem is to continue the text as a paragraph with the first indented line and the other lines accompanying the text of the paragraph.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.