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
/***********************************************************************
 * Copyright (c) 2008 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Actuate Corporation - initial API and implementation
 ***********************************************************************/
package org.eclipse.birt.report.engine.layout.html.buffer;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.content.IPageContent;
import org.eclipse.birt.report.engine.emitter.IContentEmitter;
import org.eclipse.birt.report.engine.layout.ILayoutPageHandler;
import org.eclipse.birt.report.engine.layout.html.HTMLLayoutContext;
import org.eclipse.birt.report.engine.presentation.TableColumnHint;
public class CachedHTMLPageBuffer extends HTMLPageBuffer implements IPageBuffer
{
	protected boolean cached = true;
	protected PageNode page = null;
	public CachedHTMLPageBuffer( HTMLLayoutContext context, boolean cached )
	{