Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to set the layout of the report
How to set the layout of the report [message #706899] Mon, 01 August 2011 02:12 Go to next message
cbr125x  is currently offline cbr125x
Messages: 34
Registered: July 2011
Member
It seems a simple question, but i really don't know how to solve this, also i don't get much info from googling.

i'm new in Java an also for BIRT report.
i want to make report which the paper size is A4. i make a title in Header with center alignment.
but when i view in HTML or Viewer then the center alignment is not really center.
my question is how to make the report is really center follow the user resolution size of the user's monitor?
sorry, my English is bad.

Forgot to tell you, i can not set the width by percentage (%).

Thx Before

[Updated on: Mon, 01 August 2011 02:24]

Report message to a moderator

Re: How to set the layout of the report [message #707397 is a reply to message #706899] Mon, 01 August 2011 15:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

It should be centering it based on the A4 width setting. Put a border
around the page (in master page) and it should be centered in the middle
of it. See attached example.

Jason

On 7/31/2011 10:12 PM, cbr125x wrote:
> It seems a simple question, but i really don't know how to solve this,
> also i don't get much info from googling.
>
> i'm new in Java an also for BIRT report.
> i want to make report which the paper size is A4. i make a title in
> Header with center alignment.
> but when i view in HTML or Viewer then the center alignment is not
> really center.
> my question is how to make the report is really center follow the user
> resolution size of the user's monitor? sorry, my English is bad.
>
> Thx Before
Re: How to set the layout of the report [message #707803 is a reply to message #707397] Tue, 02 August 2011 04:18 Go to previous messageGo to next message
cbr125x  is currently offline cbr125x
Messages: 34
Registered: July 2011
Member
Jason Weathersby wrote on Mon, 01 August 2011 11:40
It should be centering it based on the A4 width setting. Put a border
around the page (in master page) and it should be centered in the middle
of it. See attached example.

Jason

On 7/31/2011 10:12 PM, cbr125x wrote:
> It seems a simple question, but i really don't know how to solve this,
> also i don't get much info from googling.
>
> i'm new in Java an also for BIRT report.
> i want to make report which the paper size is A4. i make a title in
> Header with center alignment.
> but when i view in HTML or Viewer then the center alignment is not
> really center.
> my question is how to make the report is really center follow the user
> resolution size of the user's monitor? sorry, my English is bad.
>
> Thx Before


it's not what i want. i want the border is center at our or user's monitor.
btw thx jason for ur reply
Re: How to set the layout of the report [message #708201 is a reply to message #707803] Tue, 02 August 2011 14:56 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

I do not know of an easy way to do this as the code is running on the
server and will not know what the size of the monitor is. You may be
able to use a text element containing client side javascript to resize
elements after it is rendered.

Jason

On 8/2/2011 12:18 AM, cbr125x wrote:
> Jason Weathersby wrote on Mon, 01 August 2011 11:40
>> It should be centering it based on the A4 width setting. Put a border
>> around the page (in master page) and it should be centered in the
>> middle of it. See attached example.
>>
>> Jason
>>
>> On 7/31/2011 10:12 PM, cbr125x wrote:
>> > It seems a simple question, but i really don't know how to solve this,
>> > also i don't get much info from googling.
>> >
>> > i'm new in Java an also for BIRT report.
>> > i want to make report which the paper size is A4. i make a title in
>> > Header with center alignment.
>> > but when i view in HTML or Viewer then the center alignment is not
>> > really center.
>> > my question is how to make the report is really center follow the user
>> > resolution size of the user's monitor? sorry, my English is bad.
>> >
>> > Thx Before
>
>
> it's not what i want. i want the border is center at our or user's monitor.
> btw thx jason for ur reply
>
Previous Topic:dinamical chart marker from dataset
Next Topic:how to hide empty row
Goto Forum:
  


Current Time: Thu Oct 23 14:02:25 GMT 2014

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

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