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
.MasterPageTypeValidator
,
MasterPageSizeValidator
Constructor and Description |
---|
MasterPageMultiColumnValidator() |
Modifier and Type | Method and Description |
---|---|
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
in class org.eclipse.birt.report.model.validators.AbstractElementValidator
module
- the moduleelement
- the graphic master page to validateSemanticException
.Copyright © 2008 Actuate Corp. All rights reserved.