Bug 307321 BIRT Column page breaks do not respect page variables
When using an onPageEnd event to increment a page variable and a column page break on a table the html viewer recognizes the updated variable but if you export it to pdf the variable is not updated for every other page. See attached example.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/buffer/CachedHTMLPageBuffer.java
break;
			case IContent.PAGE_CONTENT :
				page = (PageNode) currentNode;
				_endContainer( content, finished, emitter, visible );
				this.finished = true;
				break;
			default :
				_endContainer( content, finished, emitter, visible );
				break;
		}
	}
	public void clearCache( ) throws BirtException
	{
		if ( currentNode != null )
		{
			currentNode.start( );
			cached = false;
		}
	}
	private void _endContainer( IContent content, boolean finished,
			IContentEmitter emitter, boolean visible )
	{
		( (AbstractNode) currentNode ).setFinished( finished );
		currentNode = currentNode.getParent( );
	}
	protected void pageBreakEvent( )
	{
		context.getPageHintManager( ).setPageHint( generator.getPageHint( ) );
		
		long pageNumber = context.getPageNumber( );