// here the anonymous layout device name is being used to specifically
// identify the region as the anonymous one. This is then used when
// creating the anonymous region to allow it not to specify a name.
builder.createLayout(LayoutType.CANVAS);
builder.setAnonymous(true);
builder.pushFormat(FormatType.REGION.getTypeName(), 0);
builder.setAttribute(FormatConstants.WIDTH_ATTRIBUTE, "100");
builder.setAttribute(FormatConstants.WIDTH_UNITS_ATTRIBUTE,
FormatConstants.WIDTH_UNITS_VALUE_PERCENT);
builder.attributesRead();
builder.popFormat();