private Pagesheet(ResizableContainer rules, Map itemGroupsPerName, Map itemGroupsPerElement) {
this.pageRules = rules;
this.itemGroupsPerName = itemGroupsPerName;
this.itemGroupsPerElement = itemGroupsPerElement;
this.pages = new ResizableContainer(5);
if ((this.itemGroupsPerName != null) && (this.itemGroupsPerElement != null)) {
this.itemListsPerName = new HashMap(itemGroupsPerName.size());
this.itemListsPerElement = new HashMap(itemGroupsPerName.size());