Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Paperclips] is possible a Print composed by a TextPrint and GridPrint
[Paperclips] is possible a Print composed by a TextPrint and GridPrint [message #552749] Fri, 13 August 2010 07:29 Go to next message
Raffaele Gambelli is currently offline Raffaele Gambelli
Messages: 27
Registered: July 2009
Junior Member
Hi all,

I would like to print a page where I have a GridPrint and above it a TextPrint where put some text describing a table of results

Looking at API it seems to be not possible, is there some trick to do that?

Thanks in advance and best regards
Raffaele
Re: [Paperclips] is possible a Print composed by a TextPrint and GridPrint [message #554086 is a reply to message #552749] Fri, 20 August 2010 02:08 Go to previous message
Matthew Hall is currently offline Matthew Hall
Messages: 368
Registered: July 2009
Senior Member
On 08/13/2010 05:29 AM, Raffaele Gambelli wrote:
> Hi all,
>
> I would like to print a page where I have a GridPrint and above it a
> TextPrint where put some text describing a table of results
>
> Looking at API it seems to be not possible, is there some trick to do that?
>
> Thanks in advance and best regards
> Raffaele

Raffaele, you can nest the text and the GridPrint inside another GridPrint:

TextPrint text = ...
GridPrint grid = ...

GridPrint outerGrid = new GridPrint("d:g");
outerGrid.add(text);
outerGrid.add(grid);

It's turtles all the way down... :)

Hope this helps,

Matthew
Re: [Paperclips] is possible a Print composed by a TextPrint and GridPrint [message #600139 is a reply to message #552749] Fri, 20 August 2010 02:08 Go to previous message
Matthew Hall is currently offline Matthew Hall
Messages: 368
Registered: July 2009
Senior Member
On 08/13/2010 05:29 AM, Raffaele Gambelli wrote:
> Hi all,
>
> I would like to print a page where I have a GridPrint and above it a
> TextPrint where put some text describing a table of results
>
> Looking at API it seems to be not possible, is there some trick to do that?
>
> Thanks in advance and best regards
> Raffaele

Raffaele, you can nest the text and the GridPrint inside another GridPrint:

TextPrint text = ...
GridPrint grid = ...

GridPrint outerGrid = new GridPrint("d:g");
outerGrid.add(text);
outerGrid.add(grid);

It's turtles all the way down... :)

Hope this helps,

Matthew
Previous Topic:Are Gallery Items adaptable?
Next Topic:CDateTime editing behaviour
Goto Forum:
  


Current Time: Wed Apr 16 03:26:43 EDT 2014

Powered by FUDForum. Page generated in 0.01950 seconds