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
super( context );
		this.cached = cached;
	}
	public void startContent( IContent content, IContentEmitter emitter,
			boolean visible ) throws BirtException
	{
		if ( !cached )
		{
			super.startContent( content, emitter, visible );
			return;
		}
		LeafBufferNode leafNode = new LeafBufferNode( content, emitter,
				generator, visible );
		setup( leafNode, true );
	}
	public void endContainer( IContent content, boolean finished,
			IContentEmitter emitter, boolean visible ) throws BirtException
	{
		if ( !cached )
		{
			super.endContainer( content, finished, emitter, visible );
			return;
		}
		int type = content.getContentType( );
		switch ( type )
		{
			case IContent.TABLE_BAND_CONTENT :
			case IContent.LIST_BAND_CONTENT :
				boolean isFinished = finished && !isRepeated;
				_endContainer( content, isFinished, emitter, visible );