Welcome Guest Search | Active Topics | Sign In | Register

Table on Multiple pages Options
Schrocat
Posted: Thursday, March 10, 2011 4:59:00 PM
Rank: Newbie
Groups: Member

Joined: 3/10/2011
Posts: 9
Not sure if that's the right description, but here's what I'm trying to do. I'm trying to generate a pdf of bills for a customer. The bills might be on different bill stock (different background images) but the rows I'm placing in a table. The bill's lines are already generated and I just need to overlay them on the image. I'm currently using a table because for the middle of the bill I need the row height of the table to be just a little shorter than the text of the font (for tight grouping).
I can get the image and the table set up just fine for one page, but when the page spills over to multiple pages I'm not seeing how to get a "new page" for my document with the ACMContent.

I'm not sure if what I said makes sense, but if someone has an idea to help me out that would be greatly appreciated. If I need to clear things up, please let me know too.

Thanks for your time!

-Brian Abel
eo_support
Posted: Thursday, March 10, 2011 5:03:50 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

I am not sure if I understand your question correctly. AcmContent will automatically "flow" to the next page if needed (too much content). Otherwise you can force a page break by add an "AcmPageBreak" into the content tree. If you wish to re-apply the same stock image on every page, you can handle AcmRender.BeforeRenderPage event and render your stock images inside that handler. That handler is called before the "main contents" are placed on every page.

Does this answer your question?

Thanks!
Schrocat
Posted: Thursday, March 10, 2011 5:08:43 PM
Rank: Newbie
Groups: Member

Joined: 3/10/2011
Posts: 9
Ok, that makes sense, I wasn't understanding how the ACMContent was supposed to work. I'll give it a try and post again with any other questions.

Thanks for the quick reply!!
eo_support
Posted: Thursday, March 10, 2011 5:22:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Great. Please feel free to let us know if you need anything else.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.