Applying para format to top-left cell in table

Steve Rickaby srickaby at wordmongers.demon.co.uk
Fri Oct 27 11:26:35 PDT 2006


I'm struggling with context rules here.

I need to apply a specific para format in the top-left cell of a table. The tables structure is:

TableType
	|
	TableHeading
		|
		TableRow
			|
			TableCell
				|
				Para <--- context rule to fire here
			|
			TableCell
				|
				Para
	TableBody
		|
		TableRow
			|
			TableCell
				|
				Para
			|
			TableCell
				|
				Para (etc)

The problem is that there seems to be no way to formulate a context rule that identifies the para element shown above, because although it's enclosing cell would fire a unique {first} rule, the rule must actually be in the para element's rule set, and there's no way to say 'if your parent is first, then...'. Or is there?

Clearly, changing the table structure so that it used a different structure might help, but there's too much existing material for that.
 	
-- 
Steve



More information about the framers mailing list