Jump to content
We've recently updated our Privacy Statement, available here ×

Dynamic x position of report element(s)?


Recommended Posts

By: Theo Heinrichs - theofrombonn

Dynamic x position of report element(s)?

2002-12-12 02:28

Hi,

I would like to print a table like this:

 

AAA BBB

CCC

 

The problem is: The left starting position (i.e. value of the "x" attribute of the reportElement) of BBB and CCC shall depend upon the actual length of the AAA contents. The fields shall not overlap, and AAA may contain any string from 0 to 20 characters in length. So, BBB and CCC may start from x position 1 to whatever the actual printing font needs for up to 20 characters.

 

The width of BBB and CCC shall of course be computed so that they are not cut off by the right page margin.

 

Is this "dynamic x position setting", depending upon the data length of AAA, possible?

 

I tried the <printWhenExpression> trick, but it makes the layout very complicated. Entering fields or parameters or any expression for the x attributes does not work.

 

Thanks and regards, Theo

 

 

By: Theo Heinrichs - theofrombonn

RE: Dynamic x position of report element(s)?

2002-12-12 02:30

Ups, the table got corrupted. I better draw underscores for the spaces / empty areas:

 

___AAA___BBB___

__________CCC___

 

Sorry and regards, Theo

 

 

By: Teodor Danciu - teodord

RE: Dynamic x position of report element(s)?

2002-12-12 02:37

 

Hi,

 

The x position is always fixed.

Allowing relative/dynamic x position is a very

delicate problem and I don't think it will be

implemented soon with current report fillers.

 

In fact, it is very difficult to put down some

requirements for such functionality.

 

Maybe implementing crosstab reports will one

day solve such problems.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...