Bug 136241 [regression]Preview template in web viewer and pdf didn't get correct effect.
Description: Preview template items in web viewer and pdf didn't get correct effect. Steps to reproduce: 1. Create template items. 2. Preview in Web Viewer and pdf. Expected result: Same effect as in html. Actual result: In web viewer, see only blank box. In pdf, blank page.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java
e = e.getExtendsElement( );
			}
		}
		return true;
	}
	/**
	 * Returns true if content in component slot of report design has
	 * descendants, otherwise false.
	 * 
	 * @param content
	 *            the content to handle
	 * @param fromSlotID
	 *            the slot that contains the element
	 * @return true if content has descendants, otherwise false.
	 */
	private boolean hasDescendents( DesignElement content, int fromSlotID )
	{
		return element instanceof ReportDesign
				&& fromSlotID == ReportDesign.COMPONENT_SLOT
				&& content.hasDerived( );
	}
	/**
	 * Does some transformation between template elements and report items or
	 * data sets. Virtually all elements must reside in a container. Containers
	 * are identified by a container ID.
	 * 
	 * @param from
	 *            the old element to replace
	 * @param to
	 *            the new element to replace