Bug 157259 In PDF <li> effect is incorrect when page break happens.
Description: In PDF <li> effect is incorrect when page break happens. Steps to reproduce: 1. Open attached report and preview in pdf, pay attention to the first <li>text in the beginning of second page. Expected result: Correct <li> effect. Actual result: text after <li> is displayed at the second line instead of the same line as dot. See screenshot.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
import org.eclipse.birt.report.engine.content.impl.LabelContent;
import org.eclipse.birt.report.engine.content.impl.ReportContent;
import org.eclipse.birt.report.engine.content.impl.TextContent;
import org.eclipse.birt.report.engine.css.dom.StyleDeclaration;
import org.eclipse.birt.report.engine.css.engine.value.css.CSSValueConstants;
import org.eclipse.birt.report.engine.ir.DimensionType;
import org.eclipse.birt.report.engine.parser.TextParser;
import org.eclipse.birt.report.engine.util.FileUtil;
import org.eclipse.birt.report.model.api.IResourceLocator;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public class HTML2Content
{
	protected static final HashMap tag2Style = new HashMap( );
	
	protected static final HashSet htmlDisplayMode = new HashSet( );
	
	protected static final HashSet supportedHTMLElementTags = new HashSet();
	
	protected static final HashMap textTypeMapping = new HashMap( );
	
	protected ActionContent action = null;
	
	protected Stack inlineContainerStack = new Stack();
	protected ReportDesignHandle report;
	
	static
	{