Summary:
Width and height in custom type master page are affected by Orientation. This
is wrong. Revised source codes to fix this problem.
Bugzilla Bug (s) Resolved: 124443
Description:
1.
Modified MasterPageHandle
and MasterPage for the algorithm to get width/height of master pages’.
2.
Threw exception if the user
set height/width when the page type is NOT custom.
3.
Added property visibility logics
in PropertyHandle so that the user cannot set height/width on UI if the page
type is not custom.
4.
Updated test cases.
Tests Description : Unit Tests.
Files Edited:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/validators/MasterPageTypeValidatorTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/MasterPageParseTest_7.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/ReportDesignHandleTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/MasterPageTypeValidator.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/i18n/input/input.txt"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyCommand.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/MasterPage.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/MasterPageParseTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/MasterPageHandleTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/MasterPageParseTest_6.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/MasterPageHandle.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/GroupElementHandleTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/StyleParseTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/GroupPropertyHandleTest.java"
Files Added:
Notes to Build Team:
Notes
to Developers:
Notes to QA:
Quotes
to Documentation:
Rick Lu
Actuate Software
Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx