[web2py] Re: OT PollyReports generate PDF using bands from DB

2020-11-02 Thread Clemens
This is easy to build in LaTeX. There are a lot of introductions to LaTeX and TeX is easy to learn. Furthermore you will always find templates for your purpose. I think templates for an invoice

[web2py] Re: OT PollyReports generate PDF using bands from DB

2020-11-02 Thread Clemens
Could you please provide me an example PDF to see what the result should be? On Monday, November 2, 2020 at 5:36:07 PM UTC+1 DenesL wrote: > Sounds promising. > Below is an example of a PollyReport. > Each band (B) contains a list of elements (E). > For each E you can define pos=(x,y), font=(name

[web2py] Re: OT PollyReports generate PDF using bands from DB

2020-11-02 Thread 'DenesL' via web2py-users
Sounds promising. Below is an example of a PollyReport. Each band (B) contains a list of elements (E). For each E you can define pos=(x,y), font=(name,size), text, key, align, width (among other parameters). Note that an element's x,y is relative to the containing band's x,y (top left corner). So

[web2py] Re: Upload images to folder outside web2py

2020-11-02 Thread 'Annet' via web2py-users
I forgot to say, uploading an image works, if the folder isn't there it is being created, otherwise the image is uploaded to the folder. Best, Annet Op maandag 2 november 2020 om 16:17:48 UTC+1 schreef Annet: > > To upload images to separate folders outside web2py I set the upload > folder wit

[web2py] Upload images to folder outside web2py

2020-11-02 Thread 'Annet' via web2py-users
To upload images to separate folders outside web2py I set the upload folder with the model definition: UPLOADSDIR = '/home/me/apps/static/' db.define_table('mytable', Field('image', 'upload', autodelete=True, uploadfolder=os.path.join( UPLOADSDIR, 'vertexID%s' % session.vertexID), ...)

[web2py] Re: OT PollyReports generate PDF using bands from DB

2020-11-02 Thread Clemens
Hi, you can realize absolute positioning by the TeX package texpos . But I don't know PollyReports very well, I only heard of it. Thus, do you have an example PDF on what you want to generate? Regards Clemens On Monday, November 2, 2020 at 12:51:40 AM UTC+1 DenesL