Categories > [old] TbsOoo & TinyDoc >

New release of tbsOOo plugin, now it's tinyDoc plugin

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Olivier Loynet
Date: 2009-04-22
Time: 12:15

New release of tbsOOo plugin, now it's tinyDoc plugin


I release a new version of tbsOOo plugin.
The new name : tinyDoc

See the web site

And it works with the symfony framework

By: Olivier Loynet
Date: 2009-05-04
Time: 19:06

Re: New release of tbsOOo plugin, now it's tinyDoc plugin

Hi all,

I've update the tinyDoc class to the 1.0.2 version

and to see examples

to download

By: nathangray
Date: 2009-05-15
Time: 20:56

tinyDoc images with parameters

I'm switching over to tinyDoc, and having trouble with dynamically generated images, in that the path is a command with parameters, which causes file_exists() to fail.

Example filename:
/path/barcode.php --code=1234567890 --encoding=UPCA

Any way this can be made to work, either with extra parameters:
(probably a bad idea)

or some kind of escaping on the file_exists() path to skip parameters?
By: Olivier Loynet
Date: 2009-05-16
Time: 09:44

Re: tinyDoc images with parameters


I understand what you want.
As now, the method to merge image don't support any dynamic parameter. The image file have to exists.

You could

1/ prepare the image files before and store them

2/ add in your data the image path
$data[] = array('barcode_img' => 'your-dir/barcode-xxxxx.png', ...)

3/ and then you merge with the parameter


Hope that could help


By: nathangray
Date: 2009-05-19
Time: 16:24

Re: tinyDoc images with parameters

This works just fine, I just need to come up with a good way to clean them up automatically afterwards.

Thank you.