It is currently Sun Feb 12, 2012 7:51 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: report-openoffice - empty image
PostPosted: Thu Mar 04, 2010 12:39 pm 
Offline

Joined: Sat Sep 17, 2005 7:51 pm
Posts: 648
How to best handle emtpy o.image ?

image: asimage(o.image,0)

fails if no image is stored

where to put
if test = o.image

/if

around the frame ?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2010 7:03 am 
Offline

Joined: Wed May 21, 2008 5:45 am
Posts: 83
Location: Indonesia - Surabaya
Hi ferdinand,

Have you been successfully using report_openoffice?

would you please to tell me how the exactly procedure to put image on report? and also for barcode

I've try, but fail :

Code:
<asimage(objects[0].photo)>

result :
Code:
<StringIO.StringIO instance at 0x55c08c0>image/png1.17708333333in1.78125in


Code:
<image:asimage(objects[0].photo)>

an error :
Code:
TemplateSyntaxError: invalid syntax in expression "image:asimage(objects[0].photo)" of "replace" directive (/tmp/openoffice-report-Iz_068.odt, line 1)


thansk
Opix


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2010 7:23 am 
Offline

Joined: Wed May 21, 2008 5:45 am
Posts: 83
Location: Indonesia - Surabaya
Yess.... I've done about image. I have to read manual carefully.
Now, I'm going about barcode

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2010 12:16 pm 
Offline

Joined: Sat Sep 17, 2005 7:51 pm
Posts: 648
We didn't use barcode yet - sorry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP