Try the following approach:

* get your widget's content by calling 
widget.getContainerElement().getDomElement().innerHTML

* open a blank HTML document (from the same domain as your app) in a 
window using qx.bom.Window.open()

* attach an onload callback function to the window that applies the 
widget's HTML to the window's body element

* call print() on the window object.

Keep in mind that ui.core.Image uses CSS background images. Some 
browsers will deactivate background images (and colors) when printing.


Regards,
Daniel

On 16.04.2013 10:29, kora wrote:
> Hi,
>
> In my Applicatkion I have placed some Images in a Window.
> has anybody a solution how to perform a print / hard copy of the Widget /
> Container content ?
>
>
> Cheers
>
> Kora
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/How-can-I-print-the-content-of-a-Widget-Container-tp7583239.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to