I've got a table that splits a page with a vertical line. I'd like the table's total height to be that of the page, and in particular have the vertical line down the center extend from the midline to the bottom of the page.
Here's example code:
\documentclass[oneside,12pt]{memoir}
\begin{document}
\begin{tabularx}{\stockwidth}{X|c}
\multicolumn{2}{c}{A: Main heading - variable height} \\ \midrule%
X: (This side blank) & \textbf{B: Mid heading} \\ %
\cline{2-2} \\ [1ex]%
& C: Mid Content (may be any height) \\ [1ex] \cline{2-2} \\%
& \parbox{5cm}{D: This content may be short or long, but in any %
case the line on the left %
should go to the bottom of the page.}
\end{tabularx}
\end{document}
It looks something like this (and I'd like that middle vertical line to extend to the bottom of the page):

I'd like to use \vfil or some such to extend D to the height of the page, but I'm just not sure how to use it for that. That would seem to solve the primary problem.
Here are some of the strange constraints:
Acan be any height. It starts 1cm from the top of the page, 1cm from the margin, and there's a 1 cm margin at the bottom.Ccan be any height up to around 5cm (but it should only expand to that size if necessary).Dmight be one of two or three fixed sizes (e.g. 3cm, 6cm or 9cm)Xis the page width minus the width of D, but in any case not less than 50% of the width of the page (i.e. if D is bigger than 50% of the page, D has to wrap or some such).This is all inside a
textblock*(fromtextpos) that's beenrotatedby 90 degrees (i.e. on a landscape page in an otherwise portrait document) and sized to\stockwidth - 2cm; I've not reproduced this to try and keep this simple.
How can one extend the vertical line to the bottom of the area (in this case a textblock)?
Thanks for reading.
