On 11/22/2011 03:49 PM, Ken MacDonald wrote:
> Hi,
> We are looking for a solution for a client to be able to display some 
> arbitrary html in our qooxdoo app; specifically some html that may 
> turn out to be too tall for the window or for the computer screen. I 
> can get scroll bars which allow me to view the html all of the way to 
> the bottom, but if I use the File->Print to print, all we are getting 
> is the portion of the html that is visible on the screen. We would 
> like to have the entire document print, even if it takes several 
> pages. I 've tried a number of combinations, trying to set the Root's 
> height, with or without a Scroll container, etc. but in all case my 
> printout is only the visible portion on the screen, not the entire html.


The issue relates to the way layouts are handled in qooxdoo. The 
enclosing Div's of your, say, embed.Html element have fixed dimensions. 
If you then invoke File->Print the browser has no other chance then to 
print just this visible part. A solution could be to implement an own 
"Print" button, and on press open a new browser window, and setting your 
HTML string as the body's innerHtml. Then let the user print *this* window.

T.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to