Re: [dba-dev] Image control aspect ratio

2008-09-25 Thread Frank Schönheit - Sun Microsystems Germany
Hi Marc, The proper macro has an additional oPipe.closeOutput right after writing the document into the pipe, but before passing the pipe to setBinaryStream. That does work. :) Fine. I assume blocking on giving the exact size as a limit did for the same reason, waiting for the EOF.

Re: [dba-dev] Image control aspect ratio

2008-09-19 Thread Marc Santhoff
Am Donnerstag, den 18.09.2008, 13:15 +0200 schrieb Frank Schönheit: The proper macro has an additional oPipe.closeOutput right after writing the document into the pipe, but before passing the pipe to setBinaryStream. That does work. :) I assume blocking on giving the exact size as a limit did

Re: [dba-dev] Image control aspect ratio

2008-09-18 Thread Frank Schönheit
Hi Marc, I was trying to use a css.io.Pipe to connect the two active data sources (doc.storeToUrl and XParameter.setBinaryStream). Using dbase I succeeded in writing othe train to ut a doc this way, for mysql or hsql the office hangs. Now known as issue 94027, targeted to 3.1. Now

Re: [dba-dev] Image control aspect ratio

2008-09-02 Thread Frank Schönheit - Sun Microsystems Germany
Hi Marc, I hope your workload will lower soon. In fact the statement I'll file an issue ... is part of the citation. ;) Oh ... which also means the other part of the citation wasn't mine - doh, I knew that was too profound for that ... But I'd take that task if I am sure what to write.

Re: [dba-dev] Image control aspect ratio

2008-09-02 Thread Marc Santhoff
Hello Frank, Am Dienstag, den 02.09.2008, 10:24 +0200 schrieb Frank Schönheit - Sun Microsystems Germany: Hi Marc, I hope your workload will lower soon. In fact the statement I'll file an issue ... is part of the citation. ;) Oh ... which also means the other part of the citation wasn't

Re: [dba-dev] Image control aspect ratio

2008-09-02 Thread Frank Schönheit - Sun Microsystems Germany
Hi Marc, Using dbase I succeeded in writing othe train to ut a doc this way, for mysql or hsql the office hangs. See some code below, maybe the limit-argument is the problem, which I set to 65536 as a limit and the document was anytime smaller than that on storage (~30kB). it might ... The

Re: [dba-dev] Image control aspect ratio

2008-08-28 Thread Frank Schönheit - Sun Microsystems Germany
Hi Marc, This *may* be something like the documentation bug there was talk about once upon a time. You wrote: cite Hi Matthias, The only conclusion I can draw from such an inconsistent API is that any implementation that claims to be usable can only ignore the 'Length' argument.

Re: [dba-dev] Image control aspect ratio

2008-08-25 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, A related question: Can you give me some hints to produce a minimal code (maybe no code at all :-) )to put images out of a database into a writerdoc who is the base document to run a mailmerge using the beamer(F4) In

Re: [dba-dev] Image control aspect ratio

2008-08-21 Thread Frank Schönheit - Sun Microsystems Germany
Hi Andrew, My expectation is that most images will be larger than the control size. I am scanning receipts so that I can extract the image from the database and print it if I require warranty repair on something. Okay, in this case the Scale property in its current appearance doesn't help

Re: [dba-dev] Image control aspect ratio

2008-08-20 Thread Andrew Douglas Pitonyak
Frank Schönheit - Sun Microsystems Germany wrote: Hello Andrew, Insert an image control into a form and associate the control to a field in the database. The image control has a specific size. If the control displays an image with a different aspect ratio, then the image may be severely

Re: [dba-dev] Image control aspect ratio

2008-08-20 Thread Andrew Douglas Pitonyak
Fernand Vanrie wrote: Andrew Douglas Pitonyak wrote: Hi Andrew I have some questions Insert an image control into a form and associate the control to a field in the database. Is the Image datafile stored in the database or is het just the URL of the image I store the image in the

[dba-dev] Image control aspect ratio

2008-08-19 Thread Andrew Douglas Pitonyak
Insert an image control into a form and associate the control to a field in the database. The image control has a specific size. If the control displays an image with a different aspect ratio, then the image may be severely distorted. Any thoughts on how to avoid this? My primary thought