return builder.toString();
}
protected Rectangle addMapBox( Map map, int xPos, int yPos, int mapWidth, int mapHeight, Dimension paperSize ) {
Box mapBox = ModelFactory.eINSTANCE.createBox();
MapBoxPrinter mapBoxPrinter = new MapBoxPrinter();
mapBox.setID("Standard Map Box"); //$NON-NLS-1$
mapBox.setBoxPrinter(mapBoxPrinter);
mapBoxPrinter.setMap(map);
Rectangle mapBounds = new Rectangle(xPos, yPos, mapWidth, mapHeight);
mapBox.setSize(new Dimension(mapBounds.width, mapBounds.height));
mapBox.setPaperSize(paperSize);