Hi Mark,

>I am trying to understand if Canoo supports functionality which swing
>has for using print() paintComponent() methods to render/print and if
>there is
>an equivalent of Graphics2D or Graphics object

ULC neither supports printing nor graphics.

As pointed out in previous mail, you will need to extend ULC for these
functionalities.

>Do I use the Canoo component as a data container and then render onto
>a Swing component to print?

Well, if you have extended ULC to support your PDF Renderer panel, then all
rendering will be done on the client side in your PDF Renderer.

In principle, your code should be similar to that of the Pie Chart sample,
where all rendering is done by the PieChart widget on the client side. The
ULCPieChart widget just provides a serverside remote API.

I hope this answers your question. If not please send a small snippet of
code showing how you have implemented your extension so that we can make
further suggestion.

Thanks and regards,

Janak


>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of markee
>Sent: Tuesday, June 20, 2006 3:33 PM
>To: [EMAIL PROTECTED] Com
>Subject: Re: [ULC-developer] Query on printing
>
>
>
>On 20 Jun 2006, at 10:36, Janak Mulani wrote:
>
>> Hi Mark,
>>
>> http://ulc-community.canoo.com/snipsnap/space/Contributions/
>> Utilities/Printi
>> ng
>>
>> The above ULC community contribution supports SERVER side
>> generation of PDF
>> documents.
>>
>> Such a document can be viewed and printed from a browser on the
>> client.
>>
>> ULC does NOT support client side rendering of PDF documents. To
>> achieve this
>> you will need an extension.
>
>We already have the engine to do this. It parses the PDF and converts
>it into a set of Graphics2D commands, which also lets us handle
>embedded fonts.
>
>We print or render this by drawing onto a Graphics2D object, which
>also allows us to print.
>
>I am trying to understand if Canoo supports functionality which swing
>has for using print() paintComponent() methods to render/print and if
>there is
>an equivalent of Graphics2D or Graphics object
>
>We have implemented Swing rendering copying the PieChart example.
>
>Do I use the Canoo component as a data container and then render onto
>a Swing component to print?
>
>
>
>MArk
>
>_______________________________________________
>ULC-developer mailing list
>[email protected]
>http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to