View Single Post
 
Old 08-08-2012, 08:49 AM
robrastelli robrastelli is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Aug 2012
Posts: 2
robrastelli is on a distinguished road
Default Alternate Table Column Widths on even and odd pages

I have to print content in a column based fashion, but I need the output specific for a book binding layout. So basically what I want to do is on my "Right Page" have my table render as:

Content 1 Note on Content 1 (Optional)
Content 2 Line 1 Note on Content 2 (Optional)
Content 2 Line 2
Content 2 Line 3
Content 3 Line 1 Note on Content 3 (Optional)
Content 3 Line 2
Content 3 Line 3

Where the Content and the Note are aligned to the top of the row.

Then on my "Left Page" I want the opposite:

Note on Content 1 (Optional) Content 1
Note on Content 2 (Optional) Content 2 Line 1
Content 2 Line 2
Note on Content 3 (Optional) Content 3

Is there a way to automate this as the content runs from page to page?

I should also add that I'm using the Open XML mixed with XSLT to generate these documents, so I could possible do some code pre-rendering to calculate line heights and flip the table formats being used, but I'd rather the template handle that if possible.
Reply With Quote