fluentreports icon indicating copy to clipboard operation
fluentreports copied to clipboard

[FRG] Add a way to set exact position on page

Open beauwest opened this issue 3 years ago • 2 comments

I want to create a two-column layout, where I have my table of data generated off the data array on the left side, and then I want to have static variables printed on the right side.

Currently, through the editor I can find no way to start the left column at a position for my group header/detail/footer sections, then start the right column at the same Y coordinate.

Reports appear to only be able to be completely linear.

I can manually manipulate the JSON, remove the absoluteY, and replace it with just y, and get the result I want, but I cannot do it through the UI.

beauwest avatar Sep 24 '21 13:09 beauwest

Can you send me a image or the json that generates what you want to see. I'm not fully understanding the request.

NathanaelA avatar Oct 19 '21 04:10 NathanaelA

Sure, the attached file would be an example: receipt-rs-000001.pdf

In this case, the red and blue columns each contain a set of data. Ideally that would be done with sub-reports, but those are broken from FRG right now.

I need to print out the red dataset, and the blue dataset, each with the same starting Y coordinate so that it ends up in two columns.

I can achieve that by manipulating the JSON, or falling back to empty print functions with FR-style code and variables, (report.setCurrentY(vars.columnY)), etc. But I cannot find a way to achieve a two-column layout through the visual editor.

beauwest avatar Oct 19 '21 13:10 beauwest