Skip to main content


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 11:29 Go to next message
Raffaele Gambelli is currently offline Raffaele GambelliFriend
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 06:08 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
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 06:08 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
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 24 22:19:39 GMT 2024

Powered by FUDForum. Page generated in 0.03382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top