public class MasterPageMultiColumnValidator
extends org.eclipse.birt.report.model.validators.AbstractElementValidator
MasterPageTypeValidator and
MasterPageSizeValidator.
column spacing width = (COLUMNS_PROP - 1) * COLUMN_SPACING_PROP
content width = WIDTH_PROP - LEFT_MARGIN_PROP - RIGHT_MARGIN_PROP
column spacing width < content width
GraphicMasterPage.| 构造器和说明 |
|---|
MasterPageMultiColumnValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static MasterPageMultiColumnValidator |
getInstance()
Returns the singleton validator instance.
|
java.util.List<SemanticException> |
validate(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Validates whether multiple columns and content width are consistent.
|
public static MasterPageMultiColumnValidator getInstance()
public java.util.List<SemanticException> validate(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
validate 在类中 org.eclipse.birt.report.model.validators.AbstractElementValidatormodule - the moduleelement - the graphic master page to validateSemanticException.Copyright © 2008 Actuate Corp. All rights reserved.