Working version of pdfInclude for multiline field

I have managed to download an older version of pdfinclude, because I want to use pre-defined fields (using OpenOffice) in a template pdf and fill them programmatically.

I cannot seem to get the multiline replacement to work.

Just looking for a working version.

Thnx in advance,

Karin


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alonb's picture

Everything is so fixed page

Everything is so fixed page and rigid in PDFInclude.

It would be very easy to do in word ...

You could easily insert multi-line values.

If the field was in a table cell the rows would expand to adjust.

You could also use Word paging options like keeping several rows together when the table spills over to another page, repeat header rows like column labels etc.

Word has been around for quite a while so it has alot of paging options you could use.

http://www.oehive.org/project/libooxml

Download and try the samples.

You can either lock the file or convert it to PDF, HTML etc.

100% 4GL, works on UNIX/Linux and Windows just put it on the propath.

We even support HTML and RTF values instead of plain text.


@Alonb: pdfinclude has

@Alonb:
pdfinclude has benefits over libooxml just as libooxml has over pdfinclude.
e.g. if you want full control over your pdf file, then I think pdfinclude is more flexible...
Multi-line just works, it was a bug that has been fixed for this user, and will be open sourcely published.
You might come in this forum to publicize liboooxml - whereas I'd prefer messages in order to help the users, but please do not come to speak ill or polemicize on pdfinclude.
Thanks in advance.


alonb's picture

Hi Jice,No harm intended

Hi Jice,

No harm intended and I command you for work, I really do.

I've spilled over the PDFInclude source over many of nights :)

It's my opinion but PDF as a file format is very limited.

I'd really like to know ? can you do pivot tables, charts, gauges, filters etc. ?

Can you even do basic tables with rows that expand if you have multi-line values in the new version of PDFInclude ?

are there any paging options like none breakable parts, repeatable header rows ? there are just so many options in Word and Excel.

The version I had could only use fixed pages. There's not really alot you can do with just that, right ?

I did the whole Hebrew support. By the way for just one lousy font since you need to set all the sizes manually.

What about Chinese, Turkish etc. etc. you know how many fonts you could so easily use in Word ? it's all unicode, there's nothing to it.

Just the amount of templates you can download off the internet is huge !!

Of course we also support creating PDF, HTML etc. files and also printing directly from UNIX/Linux tray managing features etc.

You can also use Open Office, Google docs etc. to design your templates.

Just my 2 cents


Why an older version?

Why an older version? The last version has been optimized to fill OOo forms... See the changelog.

I did not test multiline in filling forms.
By the way:
* what do you mean exactly by "multiline replacement"?
* in the last parameter of pdf_fill_text, you can put "multiline" and test.


Thanks for your reply,

Thanks for your reply, Jice.

The last version I downloaded from the repository did not have any possibility of replacing fields. So I grabbed an older one, but that one is not working properly.

With multiline replacement I mean I define a multiline field and try to fill this field with data.
I know you use "multiline" as last parameter. I my version that just doesn't work.
Adobe does not understand the pdf that is created.

Please enlighten me how to download the last version?


you can try the development

you can try the development version: http://websvn.oehive.org/dl.php?repname=pdfinclude&path=%2Ftrunk%2F&rev=...

this version *can* fill openoffice.org generated forms. however I did not test multiline, and I'd be glad to hear whether it works or not. Can you please also test "single line", i.e. align=left or right or center?

++
JC


Thanks again. I am currently

Thanks again.

I am currently at home, but I will test this version first thing in the morning. Let you know.

Karin


Multiline

Hi,

I can not get multiline to work.

But I do not manage to produce a working .pdf from OpenOffice. I can see the empty form with adobe, but when I try to fill the fields (single line, multiline, the result is the same) the new .pdf is unreadable.

If I create a pdf online (with PDFescape), there is no problem using a single line field. Multiline does not work there either.

Karin


Hi Karin, I had the same

Hi Karin,

I had the same problem!
Try to use an older version of OpenOffice, like OpenOffice 3.2.
It resolved my problem!!!

Leandro Silva


It might be the problem as I

It might be the problem as I did test it with OOo 3.1... You're right !

There is a new version coming, with support for any pdf as input (rewrite of pdfextract) but I'm missing time (and thus money ;) in order to publidh it. This will work with forms created with the last version of OOo, and Acrobat.


Thanks Leandro, I will.

Thanks Leandro,

I will.